]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_core_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _core_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
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 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
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_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip swig_types[43]
253 #define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info *swig_types[116];
325
326 /* -------- TYPES TABLE (END) -------- */
327
328
329 /*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332 #define SWIG_init init_core_
333
334 #define SWIG_name "_core_"
335
336 /* Auxiliar swig macros */
337
338 #ifdef __cplusplus
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
346
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
349 #else
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
351 #endif
352
353 #else /* C case */
354
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
363
364 #endif /* __cplusplus */
365
366
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
377
378
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
381
382
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
387
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
390
391
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject* wxPyPtrTypeMap;
396 static
397 swig_type_info* wxPyFindSwigType(const wxChar* className) {
398
399 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
400
401 if (typeInfoCache == NULL)
402 typeInfoCache = new wxPyTypeInfoHashMap;
403
404 wxString name(className);
405 swig_type_info* swigType = (*typeInfoCache)[name];
406
407 if (! swigType) {
408 // it wasn't in the cache, so look it up from SWIG
409 name.Append(wxT(" *"));
410 swigType = SWIG_Python_TypeQuery(name.mb_str());
411
412 // if it still wasn't found, try looking for a mapped name
413 if (!swigType) {
414 PyObject* item;
415 name = className;
416
417 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
418 (char*)(const char*)name.mbc_str())) != NULL) {
419 name = wxString(PyString_AsString(item), *wxConvCurrent);
420 name.Append(wxT(" *"));
421 swigType = SWIG_Python_TypeQuery(name.mb_str());
422 }
423 }
424 if (swigType) {
425 // and add it to the map if found
426 (*typeInfoCache)[className] = swigType;
427 }
428 }
429 return swigType;
430 }
431
432
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar* className) {
435
436 swig_type_info* swigType = wxPyFindSwigType(className);
437 return swigType != NULL;
438 }
439
440
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
442 // object for it.
443 PyObject* wxPyConstructObject(void* ptr,
444 const wxChar* className,
445 int setThisOwn) {
446
447 swig_type_info* swigType = wxPyFindSwigType(className);
448 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
449
450 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
451 }
452
453
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
459 const wxChar* className) {
460
461 swig_type_info* swigType = wxPyFindSwigType(className);
462 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
463
464 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
465 }
466
467
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
470
471 PyObject* robj = NULL;
472
473 swig_type_info* swigType = wxPyFindSwigType(className);
474 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
475
476 #ifdef SWIG_COBJECT_TYPES
477 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
478 #else
479 {
480 char result[1024];
481 char *r = result;
482 *(r++) = '_';
483 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
484 strcpy(r, swigType->name);
485 robj = PyString_FromString(result);
486 }
487 #endif
488
489 return robj;
490 }
491
492
493
494
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx._core_ module and will then have safe access to these functions,
497 // even if they are located in another shared library.
498 static wxPyCoreAPI API = {
499
500 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
501 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
502 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
503 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
504 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
505 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
506 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
507 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
508 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
509 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
510 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
511 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
512 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
513 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
514 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
515 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
516 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
517
518 wxPyCheckSwigType,
519 wxPyConstructObject,
520 wxPyConvertSwigPtr,
521 wxPyMakeSwigPtr,
522
523 wxPyBeginAllowThreads,
524 wxPyEndAllowThreads,
525 wxPyBeginBlockThreads,
526 wxPyEndBlockThreads,
527
528 wxPy_ConvertList,
529
530 wxString_in_helper,
531 Py2wxString,
532 wx2PyString,
533
534 byte_LIST_helper,
535 int_LIST_helper,
536 long_LIST_helper,
537 string_LIST_helper,
538 wxPoint_LIST_helper,
539 wxBitmap_LIST_helper,
540 wxString_LIST_helper,
541 wxAcceleratorEntry_LIST_helper,
542
543 wxSize_helper,
544 wxPoint_helper,
545 wxRealPoint_helper,
546 wxRect_helper,
547 wxColour_helper,
548 wxPoint2D_helper,
549
550 wxPySimple_typecheck,
551 wxColour_typecheck,
552
553 wxPyCBH_setCallbackInfo,
554 wxPyCBH_findCallback,
555 wxPyCBH_callCallback,
556 wxPyCBH_callCallbackObj,
557 wxPyCBH_delete,
558
559 wxPyMake_wxObject,
560 wxPyMake_wxSizer,
561 wxPyPtrTypeMap_Add,
562 wxPy2int_seq_helper,
563 wxPy4int_seq_helper,
564 wxArrayString2PyList_helper,
565 wxArrayInt2PyList_helper,
566
567 wxPyClientData_dtor,
568 wxPyUserData_dtor,
569 wxPyOORClientData_dtor,
570
571 wxPyCBInputStream_create,
572
573 wxPyInstance_Check,
574 wxPySwigInstance_Check,
575
576 wxPyCheckForApp
577
578 };
579
580 #endif
581
582
583 #if ! wxUSE_HOTKEY
584 enum wxHotkeyModifier
585 {
586 wxMOD_NONE = 0,
587 wxMOD_ALT = 1,
588 wxMOD_CONTROL = 2,
589 wxMOD_SHIFT = 4,
590 wxMOD_WIN = 8
591 };
592 #define wxEVT_HOTKEY 9999
593 #endif
594
595 static const wxString wxPyEmptyString(wxEmptyString);
596 wxString wxObject_GetClassName(wxObject *self){
597 return self->GetClassInfo()->GetClassName();
598 }
599 void wxObject_Destroy(wxObject *self){
600 delete self;
601 }
602
603 #ifndef __WXMAC__
604 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
605 #endif
606
607
608 #include <limits.h>
609
610
611 SWIGSTATICINLINE(long)
612 SWIG_CheckLongInRange(long value, const char* type,
613 long min_value, long max_value)
614 {
615 if (!PyErr_Occurred()) {
616 if (value < min_value) {
617 PyObject *err =
618 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
619 value, type, min_value);
620
621 PyErr_SetObject(PyExc_OverflowError, err);
622 Py_DECREF(err);
623 } else if (value > max_value) {
624 PyObject *err =
625 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
626 value, type, max_value);
627 PyErr_SetObject(PyExc_OverflowError, err);
628 Py_DECREF(err);
629 }
630 }
631 return value;
632 }
633
634
635 SWIGSTATICINLINE(long)
636 SWIG_AsLong(PyObject * obj)
637 {
638 if (PyNumber_Check(obj))
639 return PyInt_AsLong(obj);
640 else {
641 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
642 obj->ob_type->tp_name);
643 PyErr_SetObject(PyExc_TypeError, errmsg);
644 Py_DECREF(errmsg);
645 return 0;
646 }
647 }
648
649
650 #if INT_MAX != LONG_MAX
651 SWIGSTATICINLINE(int)
652 SWIG_AsInt(PyObject *obj)
653 {
654 return swig_numeric_cast(int,
655 SWIG_CheckLongInRange(SWIG_AsLong(obj),
656 "int", INT_MIN, INT_MAX));
657 }
658 #else
659 #define SWIG_AsInt SWIG_AsLong
660 #endif
661
662
663 SWIGSTATICINLINE(int)
664 SWIG_CheckInt(PyObject* obj)
665 {
666 SWIG_AsInt(obj);
667 if (PyErr_Occurred()) {
668 PyErr_Clear();
669 return 0;
670 } else {
671 return 1;
672 }
673 }
674
675 PyObject *wxSize_Get(wxSize *self){
676 bool blocked = wxPyBeginBlockThreads();
677 PyObject* tup = PyTuple_New(2);
678 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
679 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
680 wxPyEndBlockThreads(blocked);
681 return tup;
682 }
683
684 SWIGSTATICINLINE(double)
685 SWIG_AsDouble(PyObject *obj)
686 {
687 if (PyNumber_Check(obj))
688 return PyFloat_AsDouble(obj);
689 else {
690 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
691 obj->ob_type->tp_name);
692 PyErr_SetObject(PyExc_TypeError, errmsg);
693 Py_DECREF(errmsg);
694 return 0;
695 }
696 }
697
698
699 SWIGSTATICINLINE(int)
700 SWIG_CheckDouble(PyObject* obj)
701 {
702 SWIG_AsDouble(obj);
703 if (PyErr_Occurred()) {
704 PyErr_Clear();
705 return 0;
706 } else {
707 return 1;
708 }
709 }
710
711 void wxRealPoint_Set(wxRealPoint *self,double x,double y){
712 self->x = x;
713 self->y = y;
714 }
715 PyObject *wxRealPoint_Get(wxRealPoint *self){
716 bool blocked = wxPyBeginBlockThreads();
717 PyObject* tup = PyTuple_New(2);
718 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
719 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
720 wxPyEndBlockThreads(blocked);
721 return tup;
722 }
723
724 SWIGSTATICINLINE(int)
725 SWIG_CheckLong(PyObject* obj)
726 {
727 SWIG_AsLong(obj);
728 if (PyErr_Occurred()) {
729 PyErr_Clear();
730 return 0;
731 } else {
732 return 1;
733 }
734 }
735
736 void wxPoint_Set(wxPoint *self,long x,long y){
737 self->x = x;
738 self->y = y;
739 }
740 PyObject *wxPoint_Get(wxPoint *self){
741 bool blocked = wxPyBeginBlockThreads();
742 PyObject* tup = PyTuple_New(2);
743 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
744 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
745 wxPyEndBlockThreads(blocked);
746 return tup;
747 }
748 void wxRect_Set(wxRect *self,int x,int y,int width,int height){
749 self->x = x;
750 self->y = y;
751 self->width = width;
752 self->height = height;
753 }
754 PyObject *wxRect_Get(wxRect *self){
755 bool blocked = wxPyBeginBlockThreads();
756 PyObject* tup = PyTuple_New(4);
757 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
758 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
759 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
760 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
761 wxPyEndBlockThreads(blocked);
762 return tup;
763 }
764
765 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
766 wxRegion reg1(*r1);
767 wxRegion reg2(*r2);
768 wxRect dest(0,0,0,0);
769 PyObject* obj;
770
771 reg1.Intersect(reg2);
772 dest = reg1.GetBox();
773
774 if (dest != wxRect(0,0,0,0)) {
775 bool blocked = wxPyBeginBlockThreads();
776 wxRect* newRect = new wxRect(dest);
777 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
778 wxPyEndBlockThreads(blocked);
779 return obj;
780 }
781 Py_INCREF(Py_None);
782 return Py_None;
783 }
784
785
786 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
787 PyObject* o2;
788 PyObject* o3;
789
790 if (!target) {
791 target = o;
792 } else if (target == Py_None) {
793 Py_DECREF(Py_None);
794 target = o;
795 } else {
796 if (!PyTuple_Check(target)) {
797 o2 = target;
798 target = PyTuple_New(1);
799 PyTuple_SetItem(target, 0, o2);
800 }
801 o3 = PyTuple_New(1);
802 PyTuple_SetItem(o3, 0, o);
803
804 o2 = target;
805 target = PySequence_Concat(o2, o3);
806 Py_DECREF(o2);
807 Py_DECREF(o3);
808 }
809 return target;
810 }
811
812 void wxPoint2D_Set(wxPoint2D *self,double x,double y){
813 self->m_x = x;
814 self->m_y = y;
815 }
816 PyObject *wxPoint2D_Get(wxPoint2D *self){
817 bool blocked = wxPyBeginBlockThreads();
818 PyObject* tup = PyTuple_New(2);
819 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
820 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
821 wxPyEndBlockThreads(blocked);
822 return tup;
823 }
824
825 #include "wx/wxPython/pyistream.h"
826
827 wxPyInputStream *new_wxPyInputStream(PyObject *p){
828 wxInputStream* wxis = wxPyCBInputStream::create(p);
829 if (wxis)
830 return new wxPyInputStream(wxis);
831 else
832 return NULL;
833 }
834
835 SWIGSTATICINLINE(PyObject*)
836 SWIG_FromChar(char c)
837 {
838 return PyString_FromStringAndSize(&c,1);
839 }
840
841
842 SWIGSTATICINLINE(PyObject* )
843 SWIG_FromUnsignedLong(unsigned long value)
844 {
845 return (value > LONG_MAX) ?
846 PyLong_FromUnsignedLong(value)
847 : PyInt_FromLong(swig_numeric_cast(long,value));
848 }
849
850
851 /* returns '1' if the input is a raw char*, '0' if is a PyString */
852 SWIGSTATIC(int)
853 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
854 {
855 static swig_type_info* pchar_info = 0;
856 int psize = 0;
857 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
858
859 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
860 PyErr_Clear();
861 PyString_AsStringAndSize(obj, cptr, &psize);
862 if (PyErr_Occurred()) {
863 PyErr_Clear();
864 PyErr_SetString(PyExc_TypeError,"a string is expected");
865 }
866 if (size) *size = psize;
867 return 0;
868 } else {
869 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
870 return 1;
871 }
872 }
873
874
875 SWIGSTATIC(void)
876 SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
877 {
878 char* cptr; size_t csize;
879 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
880 if (PyErr_Occurred()) {
881 PyErr_Clear();
882 PyObject *err =
883 PyString_FromFormat("a char array of size %d is expected", size);
884 PyErr_SetObject(PyExc_TypeError, err);
885 Py_DECREF(err);
886 } else {
887 /* in C (but not in C++) you can do:
888
889 char x[5] = "hello";
890
891 ie, assing the array using an extra '0' char.
892 */
893 #ifndef __cplusplus
894 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
895 #endif
896 if (csize > size) {
897 PyObject *err =
898 PyString_FromFormat("a char array of maximum size %d is expected",
899 size);
900 PyErr_SetObject(PyExc_TypeError, err);
901 Py_DECREF(err);
902 } else {
903 if (csize) memcpy(carray, cptr, csize);
904 if (csize < size) memset(carray + csize, 0, size - csize);
905 }
906 }
907 }
908
909
910 SWIGSTATICINLINE(char)
911 SWIG_AsChar(PyObject *obj)
912 {
913 char c = 0;
914 if (PyInt_Check(obj) || PyLong_Check(obj)) {
915 c = swig_numeric_cast(char,
916 SWIG_CheckLongInRange(SWIG_AsLong(obj),
917 "char", CHAR_MIN, CHAR_MAX));
918 } else {
919 SWIG_AsCharArray(obj, &c, 1);
920 if (PyErr_Occurred()) {
921 PyErr_Clear();
922 PyErr_SetString(PyExc_TypeError, "a char is expected");
923 }
924 }
925 return c;
926 }
927
928
929 SWIGSTATICINLINE(int)
930 SWIG_CheckChar(PyObject* obj)
931 {
932 SWIG_AsChar(obj);
933 if (PyErr_Occurred()) {
934 PyErr_Clear();
935 return 0;
936 } else {
937 return 1;
938 }
939 }
940
941 void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
942 // We use only strings for the streams, not unicode
943 PyObject* str = PyObject_Str(obj);
944 if (! str) {
945 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
946 return;
947 }
948 self->Write(PyString_AS_STRING(str),
949 PyString_GET_SIZE(str));
950 Py_DECREF(str);
951 }
952
953 #include "wx/wxPython/pyistream.h"
954
955
956 class wxPyFileSystemHandler : public wxFileSystemHandler
957 {
958 public:
959 wxPyFileSystemHandler() : wxFileSystemHandler() {}
960
961 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
962 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
963 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
964 DEC_PYCALLBACK_STRING__pure(FindNext);
965
966 wxString GetProtocol(const wxString& location) {
967 return wxFileSystemHandler::GetProtocol(location);
968 }
969
970 wxString GetLeftLocation(const wxString& location) {
971 return wxFileSystemHandler::GetLeftLocation(location);
972 }
973
974 wxString GetAnchor(const wxString& location) {
975 return wxFileSystemHandler::GetAnchor(location);
976 }
977
978 wxString GetRightLocation(const wxString& location) {
979 return wxFileSystemHandler::GetRightLocation(location);
980 }
981
982 wxString GetMimeTypeFromExt(const wxString& location) {
983 return wxFileSystemHandler::GetMimeTypeFromExt(location);
984 }
985
986 PYPRIVATE;
987 };
988
989
990 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
991 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
992 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
993 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
994
995
996 SWIGSTATICINLINE(bool)
997 SWIG_AsBool(PyObject *obj)
998 {
999 return PyObject_IsTrue(obj) ? true : false;
1000 }
1001
1002
1003 SWIGSTATICINLINE(int)
1004 SWIG_CheckBool(PyObject* obj)
1005 {
1006 SWIG_AsBool(obj);
1007 if (PyErr_Occurred()) {
1008 PyErr_Clear();
1009 return 0;
1010 } else {
1011 return 1;
1012 }
1013 }
1014
1015
1016 wxString wxFileSystem_URLToFileName(const wxString& url) {
1017 wxFileName fname = wxFileSystem::URLToFileName(url);
1018 return fname.GetFullPath();
1019 }
1020
1021
1022 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1023 wxImage& image,
1024 long type) {
1025 wxMemoryFSHandler::AddFile(filename, image, type);
1026 }
1027
1028 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1029 const wxBitmap& bitmap,
1030 long type) {
1031 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1032 }
1033
1034 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1035 PyObject* data) {
1036 wxMemoryFSHandler::AddFile(filename,
1037 // TODO: Verify data type
1038 (void*)PyString_AsString(data),
1039 (size_t)PyString_Size(data));
1040 }
1041
1042
1043 #include "wx/wxPython/pyistream.h"
1044
1045
1046 SWIGSTATICINLINE(unsigned long)
1047 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1048 unsigned long max_value)
1049 {
1050 if (!PyErr_Occurred()) {
1051 if (value > max_value) {
1052 PyObject *err =
1053 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1054 value, type, max_value);
1055 PyErr_SetObject(PyExc_OverflowError, err);
1056 Py_DECREF(err);
1057 }
1058 }
1059 return value;
1060 }
1061
1062
1063 SWIGSTATICINLINE(unsigned long)
1064 SWIG_AsUnsignedLong(PyObject * obj)
1065 {
1066 if (PyLong_Check(obj)) {
1067 return PyLong_AsUnsignedLong(obj);
1068 } else {
1069 long i = SWIG_AsLong(obj);
1070 if ( !PyErr_Occurred() && (i < 0)) {
1071 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
1072 }
1073 return i;
1074 }
1075 }
1076
1077
1078 SWIGSTATICINLINE(unsigned char)
1079 SWIG_AsUnsignedChar(PyObject *obj)
1080 {
1081 return swig_numeric_cast(unsigned char,
1082 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1083 "unsigned char", UCHAR_MAX));
1084 }
1085
1086
1087 SWIGSTATICINLINE(int)
1088 SWIG_CheckUnsignedChar(PyObject* obj)
1089 {
1090 SWIG_AsUnsignedChar(obj);
1091 if (PyErr_Occurred()) {
1092 PyErr_Clear();
1093 return 0;
1094 } else {
1095 return 1;
1096 }
1097 }
1098
1099 wxImage *new_wxImage(int width,int height,bool clear){
1100 if (width > 0 && height > 0)
1101 return new wxImage(width, height, clear);
1102 else
1103 return new wxImage;
1104 }
1105 wxImage *new_wxImage(wxBitmap const &bitmap){
1106 return new wxImage(bitmap.ConvertToImage());
1107 }
1108 wxImage *new_wxImage(int width,int height,unsigned char *data){
1109 // Copy the source data so the wxImage can clean it up later
1110 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1111 if (copy == NULL) {
1112 PyErr_NoMemory();
1113 return NULL;
1114 }
1115 memcpy(copy, data, width*height*3);
1116 return new wxImage(width, height, copy, False);
1117 }
1118 wxSize wxImage_GetSize(wxImage *self){
1119 wxSize size(self->GetWidth(), self->GetHeight());
1120 return size;
1121 }
1122 PyObject *wxImage_GetData(wxImage *self){
1123 unsigned char* data = self->GetData();
1124 int len = self->GetWidth() * self->GetHeight() * 3;
1125 PyObject* rv;
1126 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1127 return rv;
1128 }
1129 void wxImage_SetData(wxImage *self,PyObject *data){
1130 unsigned char* dataPtr;
1131
1132 if (! PyString_Check(data)) {
1133 PyErr_SetString(PyExc_TypeError, "Expected string object");
1134 return /* NULL */ ;
1135 }
1136
1137 size_t len = self->GetWidth() * self->GetHeight() * 3;
1138 dataPtr = (unsigned char*) malloc(len);
1139 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1140 self->SetData(dataPtr);
1141 // wxImage takes ownership of dataPtr...
1142 }
1143 PyObject *wxImage_GetDataBuffer(wxImage *self){
1144 unsigned char* data = self->GetData();
1145 int len = self->GetWidth() * self->GetHeight() * 3;
1146 PyObject* rv;
1147 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1148 return rv;
1149 }
1150 void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1151 unsigned char* buffer;
1152 int size;
1153
1154 bool blocked = wxPyBeginBlockThreads();
1155 if (!PyArg_Parse(data, "t#", &buffer, &size))
1156 goto done;
1157
1158 if (size != self->GetWidth() * self->GetHeight() * 3) {
1159 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1160 goto done;
1161 }
1162 self->SetData(buffer);
1163 done:
1164 wxPyEndBlockThreads(blocked);
1165 }
1166 PyObject *wxImage_GetAlphaData(wxImage *self){
1167 unsigned char* data = self->GetAlpha();
1168 if (! data) {
1169 RETURN_NONE();
1170 } else {
1171 int len = self->GetWidth() * self->GetHeight();
1172 PyObject* rv;
1173 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1174 return rv;
1175 }
1176 }
1177 void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1178 unsigned char* dataPtr;
1179
1180 if (! PyString_Check(data)) {
1181 PyErr_SetString(PyExc_TypeError, "Expected string object");
1182 return /* NULL */ ;
1183 }
1184
1185 size_t len = self->GetWidth() * self->GetHeight();
1186 dataPtr = (unsigned char*) malloc(len);
1187 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1188 self->SetAlpha(dataPtr);
1189 // wxImage takes ownership of dataPtr...
1190 }
1191 PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1192 unsigned char* data = self->GetAlpha();
1193 int len = self->GetWidth() * self->GetHeight();
1194 PyObject* rv;
1195 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1196 return rv;
1197 }
1198 void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1199 unsigned char* buffer;
1200 int size;
1201
1202 bool blocked = wxPyBeginBlockThreads();
1203 if (!PyArg_Parse(data, "t#", &buffer, &size))
1204 goto done;
1205
1206 if (size != self->GetWidth() * self->GetHeight()) {
1207 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1208 goto done;
1209 }
1210 self->SetAlpha(buffer);
1211 done:
1212 wxPyEndBlockThreads(blocked);
1213 }
1214
1215 SWIGSTATICINLINE(int)
1216 SWIG_CheckUnsignedLong(PyObject* obj)
1217 {
1218 SWIG_AsUnsignedLong(obj);
1219 if (PyErr_Occurred()) {
1220 PyErr_Clear();
1221 return 0;
1222 } else {
1223 return 1;
1224 }
1225 }
1226
1227 wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1228 wxBitmap bitmap(*self);
1229 return bitmap;
1230 }
1231 wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1232 wxImage mono = self->ConvertToMono( red, green, blue );
1233 wxBitmap bitmap( mono, 1 );
1234 return bitmap;
1235 }
1236 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1237 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1238 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1239 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1240 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1241 void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1242 if (PyCallable_Check(func)) {
1243 self->Connect(id, lastId, eventType,
1244 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1245 new wxPyCallback(func));
1246 }
1247 else if (func == Py_None) {
1248 self->Disconnect(id, lastId, eventType,
1249 (wxObjectEventFunction)
1250 &wxPyCallback::EventThunker);
1251 }
1252 else {
1253 wxPyBLOCK_THREADS(
1254 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
1255 }
1256 }
1257 bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1258 return self->Disconnect(id, lastId, eventType,
1259 (wxObjectEventFunction)
1260 &wxPyCallback::EventThunker);
1261 }
1262 void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1263 if (_self && _self != Py_None) {
1264 self->SetClientObject(new wxPyOORClientData(_self));
1265 }
1266 else {
1267 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1268 if (data) {
1269 self->SetClientObject(NULL); // This will delete it too
1270 }
1271 }
1272 }
1273 int wxKeyEvent_GetUniChar(wxKeyEvent *self){
1274 #if wxUSE_UNICODE
1275 return self->m_uniChar;
1276 #else
1277 return 0;
1278 #endif
1279 }
1280
1281 #if UINT_MAX < LONG_MAX
1282 #define SWIG_FromUnsignedInt SWIG_FromLong
1283 #else
1284 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1285 #endif
1286
1287
1288 #if UINT_MAX != ULONG_MAX
1289 SWIGSTATICINLINE(unsigned int)
1290 SWIG_AsUnsignedInt(PyObject *obj)
1291 {
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1294 "unsigned int", UINT_MAX));
1295 }
1296 #else
1297 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1298 #endif
1299
1300
1301 SWIGSTATICINLINE(int)
1302 SWIG_CheckUnsignedInt(PyObject* obj)
1303 {
1304 SWIG_AsUnsignedInt(obj);
1305 if (PyErr_Occurred()) {
1306 PyErr_Clear();
1307 return 0;
1308 } else {
1309 return 1;
1310 }
1311 }
1312
1313 void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1314 self->m_size = size;
1315 }
1316 void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1317 self->m_pos = pos;
1318 }
1319 PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1320 int count = self->GetNumberOfFiles();
1321 wxString* files = self->GetFiles();
1322 PyObject* list = PyList_New(count);
1323
1324 if (!list) {
1325 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1326 return NULL;
1327 }
1328
1329 for (int i=0; i<count; i++) {
1330 PyList_SetItem(list, i, wx2PyString(files[i]));
1331 }
1332 return list;
1333 }
1334
1335
1336 wxPyApp *new_wxPyApp(){
1337 wxPythonApp = new wxPyApp();
1338 return wxPythonApp;
1339 }
1340 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1341
1342 void wxApp_CleanUp() {
1343 __wxPyCleanup();
1344 }
1345
1346
1347 wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
1348
1349
1350
1351 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1352 wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
1353 void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
1354 PyObject *wxWindow_GetChildren(wxWindow *self){
1355 wxWindowList& list = self->GetChildren();
1356 return wxPy_ConvertList(&list);
1357 }
1358 bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
1359 #if wxUSE_HOTKEY
1360 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
1361 #else
1362 return False;
1363 #endif
1364 }
1365 bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1366
1367
1368
1369 return False;
1370
1371 }
1372 long wxWindow_GetHandle(wxWindow *self){
1373 return wxPyGetWinHandle(self);
1374 }
1375
1376 wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1377 return wxWindow::FindWindowById(id, parent);
1378 }
1379
1380 wxWindow* wxFindWindowByName( const wxString& name,
1381 const wxWindow *parent = NULL ) {
1382 return wxWindow::FindWindowByName(name, parent);
1383 }
1384
1385 wxWindow* wxFindWindowByLabel( const wxString& label,
1386 const wxWindow *parent = NULL ) {
1387 return wxWindow::FindWindowByLabel(label, parent);
1388 }
1389
1390
1391 #ifdef __WXMSW__
1392 #include <wx/msw/private.h> // to get wxGetWindowId
1393 #endif
1394
1395
1396 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1397 #ifdef __WXMSW__
1398 WXHWND hWnd = (WXHWND)_hWnd;
1399 long id = wxGetWindowId(hWnd);
1400 wxWindow* win = new wxWindow;
1401 parent->AddChild(win);
1402 win->SetEventHandler(win);
1403 win->SetHWND(hWnd);
1404 win->SetId(id);
1405 win->SubclassWin(hWnd);
1406 win->AdoptAttributesFromHWND();
1407 win->SetupColours();
1408 return win;
1409 #else
1410 wxPyRaiseNotImplemented();
1411 return NULL;
1412 #endif
1413 }
1414
1415
1416 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1418 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1419
1420 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1421
1422 void wxMenu_Destroy(wxMenu *self){ delete self; }
1423 PyObject *wxMenu_GetMenuItems(wxMenu *self){
1424 wxMenuItemList& list = self->GetMenuItems();
1425 return wxPy_ConvertList(&list);
1426 }
1427 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1428 static const wxString wxPyControlNameStr(wxControlNameStr);
1429 int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1430 if (clientData) {
1431 wxPyClientData* data = new wxPyClientData(clientData);
1432 return self->Append(item, data);
1433 } else
1434 return self->Append(item);
1435 }
1436 int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1437 if (clientData) {
1438 wxPyClientData* data = new wxPyClientData(clientData);
1439 return self->Insert(item, pos, data);
1440 } else
1441 return self->Insert(item, pos);
1442 }
1443 PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1444 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1445 if (data) {
1446 Py_INCREF(data->m_obj);
1447 return data->m_obj;
1448 } else {
1449 Py_INCREF(Py_None);
1450 return Py_None;
1451 }
1452 }
1453 void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1454 wxPyClientData* data = new wxPyClientData(clientData);
1455 self->SetClientObject(n, data);
1456 }
1457
1458
1459 wxSizerItem *new_wxSizerItem(wxWindow *window,int proportion,int flag,int border,PyObject *userData){
1460 wxPyUserData* data = NULL;
1461 if ( userData ) {
1462 bool blocked = wxPyBeginBlockThreads();
1463 data = new wxPyUserData(userData);
1464 wxPyEndBlockThreads(blocked);
1465 }
1466 return new wxSizerItem(window, proportion, flag, border, data);
1467 }
1468 wxSizerItem *new_wxSizerItem(int width,int height,int proportion,int flag,int border,PyObject *userData){
1469 wxPyUserData* data = NULL;
1470 if ( userData ) {
1471 bool blocked = wxPyBeginBlockThreads();
1472 data = new wxPyUserData(userData);
1473 wxPyEndBlockThreads(blocked);
1474 }
1475 return new wxSizerItem(width, height, proportion, flag, border, data);
1476 }
1477 wxSizerItem *new_wxSizerItem(wxSizer *sizer,int proportion,int flag,int border,PyObject *userData){
1478 wxPyUserData* data = NULL;
1479 if ( userData ) {
1480 bool blocked = wxPyBeginBlockThreads();
1481 data = new wxPyUserData(userData);
1482 wxPyEndBlockThreads(blocked);
1483 }
1484 return new wxSizerItem(sizer, proportion, flag, border, data);
1485 }
1486
1487 #include <float.h>
1488
1489 SWIGSTATIC(float)
1490 SWIG_FloatCast(double value)
1491 {
1492 float f = 0;
1493 if (!PyErr_Occurred()) {
1494 if (value < FLT_MIN) {
1495 PyObject *err =
1496 PyString_FromFormat("value %g is less than float minimum %g",
1497 value, FLT_MIN);
1498 PyErr_SetObject(PyExc_OverflowError, err);
1499 Py_DECREF(err);
1500 } else if (value > FLT_MAX) {
1501 PyObject *err =
1502 PyString_FromFormat("value %g is greater than float maximum %g",
1503 value, FLT_MAX);
1504 PyErr_SetObject(PyExc_OverflowError, err);
1505 Py_DECREF(err);
1506 } else {
1507 f = swig_numeric_cast(float, value);
1508 }
1509 }
1510 return f;
1511 }
1512
1513
1514 SWIGSTATICINLINE(float)
1515 SWIG_AsFloat(PyObject *obj)
1516 {
1517 return SWIG_FloatCast(SWIG_AsDouble(obj));
1518 }
1519
1520
1521 SWIGSTATICINLINE(int)
1522 SWIG_CheckFloat(PyObject* obj)
1523 {
1524 SWIG_AsFloat(obj);
1525 if (PyErr_Occurred()) {
1526 PyErr_Clear();
1527 return 0;
1528 } else {
1529 return 1;
1530 }
1531 }
1532
1533 PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1534 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1535 if (data) {
1536 Py_INCREF(data->m_obj);
1537 return data->m_obj;
1538 } else {
1539 Py_INCREF(Py_None);
1540 return Py_None;
1541 }
1542 }
1543
1544 // Figure out the type of the sizer item
1545
1546 struct wxPySizerItemInfo {
1547 wxPySizerItemInfo()
1548 : window(NULL), sizer(NULL), gotSize(False),
1549 size(wxDefaultSize), gotPos(False), pos(-1)
1550 {}
1551
1552 wxWindow* window;
1553 wxSizer* sizer;
1554 bool gotSize;
1555 wxSize size;
1556 bool gotPos;
1557 int pos;
1558 };
1559
1560 static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1561
1562 wxPySizerItemInfo info;
1563 wxSize size;
1564 wxSize* sizePtr = &size;
1565
1566 // Find out what the type of the item is
1567 // try wxWindow
1568 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1569 PyErr_Clear();
1570 info.window = NULL;
1571
1572 // try wxSizer
1573 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1574 PyErr_Clear();
1575 info.sizer = NULL;
1576
1577 // try wxSize or (w,h)
1578 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1579 info.size = *sizePtr;
1580 info.gotSize = True;
1581 }
1582
1583 // or a single int
1584 if (checkIdx && PyInt_Check(item)) {
1585 info.pos = PyInt_AsLong(item);
1586 info.gotPos = True;
1587 }
1588 }
1589 }
1590
1591 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1592 // no expected type, figure out what kind of error message to generate
1593 if ( !checkSize && !checkIdx )
1594 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1595 else if ( checkSize && !checkIdx )
1596 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1597 else if ( !checkSize && checkIdx)
1598 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1599 else
1600 // can this one happen?
1601 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1602 }
1603
1604 return info;
1605 }
1606
1607 void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1608 self->SetClientObject(new wxPyOORClientData(_self));
1609 }
1610 void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1611
1612 wxPyUserData* data = NULL;
1613 bool blocked = wxPyBeginBlockThreads();
1614 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1615 if ( userData && (info.window || info.sizer || info.gotSize) )
1616 data = new wxPyUserData(userData);
1617 wxPyEndBlockThreads(blocked);
1618
1619 // Now call the real Add method if a valid item type was found
1620 if ( info.window )
1621 self->Add(info.window, proportion, flag, border, data);
1622 else if ( info.sizer )
1623 self->Add(info.sizer, proportion, flag, border, data);
1624 else if (info.gotSize)
1625 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1626 proportion, flag, border, data);
1627 }
1628 void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1629
1630 wxPyUserData* data = NULL;
1631 bool blocked = wxPyBeginBlockThreads();
1632 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1633 if ( userData && (info.window || info.sizer || info.gotSize) )
1634 data = new wxPyUserData(userData);
1635 wxPyEndBlockThreads(blocked);
1636
1637 // Now call the real Insert method if a valid item type was found
1638 if ( info.window )
1639 self->Insert(before, info.window, proportion, flag, border, data);
1640 else if ( info.sizer )
1641 self->Insert(before, info.sizer, proportion, flag, border, data);
1642 else if (info.gotSize)
1643 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1644 proportion, flag, border, data);
1645 }
1646 void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1647
1648 wxPyUserData* data = NULL;
1649 bool blocked = wxPyBeginBlockThreads();
1650 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1651 if ( userData && (info.window || info.sizer || info.gotSize) )
1652 data = new wxPyUserData(userData);
1653 wxPyEndBlockThreads(blocked);
1654
1655 // Now call the real Prepend method if a valid item type was found
1656 if ( info.window )
1657 self->Prepend(info.window, proportion, flag, border, data);
1658 else if ( info.sizer )
1659 self->Prepend(info.sizer, proportion, flag, border, data);
1660 else if (info.gotSize)
1661 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1662 proportion, flag, border, data);
1663 }
1664 bool wxSizer_Remove(wxSizer *self,PyObject *item){
1665 bool blocked = wxPyBeginBlockThreads();
1666 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1667 wxPyEndBlockThreads(blocked);
1668 if ( info.window )
1669 return self->Remove(info.window);
1670 else if ( info.sizer )
1671 return self->Remove(info.sizer);
1672 else if ( info.gotPos )
1673 return self->Remove(info.pos);
1674 else
1675 return False;
1676 }
1677 bool wxSizer_Detach(wxSizer *self,PyObject *item){
1678 bool blocked = wxPyBeginBlockThreads();
1679 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1680 wxPyEndBlockThreads(blocked);
1681 if ( info.window )
1682 return self->Detach(info.window);
1683 else if ( info.sizer )
1684 return self->Detach(info.sizer);
1685 else if ( info.gotPos )
1686 return self->Detach(info.pos);
1687 else
1688 return False;
1689 }
1690 void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
1691 bool blocked = wxPyBeginBlockThreads();
1692 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1693 wxPyEndBlockThreads(blocked);
1694 if ( info.window )
1695 self->SetItemMinSize(info.window, size);
1696 else if ( info.sizer )
1697 self->SetItemMinSize(info.sizer, size);
1698 else if ( info.gotPos )
1699 self->SetItemMinSize(info.pos, size);
1700 }
1701 PyObject *wxSizer_GetChildren(wxSizer *self){
1702 wxSizerItemList& list = self->GetChildren();
1703 return wxPy_ConvertList(&list);
1704 }
1705 void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
1706 bool blocked = wxPyBeginBlockThreads();
1707 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1708 wxPyEndBlockThreads(blocked);
1709 if ( info.window )
1710 self->Show(info.window, show);
1711 else if ( info.sizer )
1712 self->Show(info.sizer, show);
1713 else if ( info.gotPos )
1714 self->Show(info.pos, show);
1715 }
1716 bool wxSizer_IsShown(wxSizer *self,PyObject *item){
1717 bool blocked = wxPyBeginBlockThreads();
1718 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1719 wxPyEndBlockThreads(blocked);
1720 if ( info.window )
1721 return self->IsShown(info.window);
1722 else if ( info.sizer )
1723 return self->IsShown(info.sizer);
1724 else if ( info.gotPos )
1725 return self->IsShown(info.pos);
1726 else
1727 return False;
1728 }
1729
1730 // See pyclasses.h
1731 IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1732 IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1733 IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1734
1735
1736
1737
1738 bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1739 {
1740 if (source == Py_None) {
1741 **obj = wxGBPosition(-1,-1);
1742 return True;
1743 }
1744 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1745 }
1746
1747 bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1748 {
1749 if (source == Py_None) {
1750 **obj = wxGBSpan(-1,-1);
1751 return True;
1752 }
1753 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1754 }
1755
1756
1757 void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1758 self->SetRow(row);
1759 self->SetCol(col);
1760 }
1761 PyObject *wxGBPosition_Get(wxGBPosition *self){
1762 bool blocked = wxPyBeginBlockThreads();
1763 PyObject* tup = PyTuple_New(2);
1764 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1765 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1766 wxPyEndBlockThreads(blocked);
1767 return tup;
1768 }
1769 void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1770 self->SetRowspan(rowspan);
1771 self->SetColspan(colspan);
1772 }
1773 PyObject *wxGBSpan_Get(wxGBSpan *self){
1774 bool blocked = wxPyBeginBlockThreads();
1775 PyObject* tup = PyTuple_New(2);
1776 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1777 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1778 wxPyEndBlockThreads(blocked);
1779 return tup;
1780 }
1781 wxGBSizerItem *new_wxGBSizerItem(wxWindow *window,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1782 wxPyUserData* data = NULL;
1783 if ( userData ) {
1784 bool blocked = wxPyBeginBlockThreads();
1785 data = new wxPyUserData(userData);
1786 wxPyEndBlockThreads(blocked);
1787 }
1788 return new wxGBSizerItem(window, pos, span, flag, border, data);
1789 }
1790 wxGBSizerItem *new_wxGBSizerItem(wxSizer *sizer,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1791 wxPyUserData* data = NULL;
1792 if ( userData ) {
1793 bool blocked = wxPyBeginBlockThreads();
1794 data = new wxPyUserData(userData);
1795 wxPyEndBlockThreads(blocked);
1796 }
1797 return new wxGBSizerItem(sizer, pos, span, flag, border, data);
1798 }
1799 wxGBSizerItem *new_wxGBSizerItem(int width,int height,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1800 wxPyUserData* data = NULL;
1801 if ( userData ) {
1802 bool blocked = wxPyBeginBlockThreads();
1803 data = new wxPyUserData(userData);
1804 wxPyEndBlockThreads(blocked);
1805 }
1806 return new wxGBSizerItem(width, height, pos, span, flag, border, data);
1807 }
1808 wxGBPosition wxGBSizerItem_GetEndPos(wxGBSizerItem *self){
1809 int row, col;
1810 self->GetEndPos(row, col);
1811 return wxGBPosition(row, col);
1812 }
1813 bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1814
1815 wxPyUserData* data = NULL;
1816 bool blocked = wxPyBeginBlockThreads();
1817 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1818 if ( userData && (info.window || info.sizer || info.gotSize) )
1819 data = new wxPyUserData(userData);
1820 wxPyEndBlockThreads(blocked);
1821
1822 // Now call the real Add method if a valid item type was found
1823 if ( info.window )
1824 return self->Add(info.window, pos, span, flag, border, data);
1825 else if ( info.sizer )
1826 return self->Add(info.sizer, pos, span, flag, border, data);
1827 else if (info.gotSize)
1828 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1829 pos, span, flag, border, data);
1830 return False;
1831 }
1832
1833
1834 #ifdef __cplusplus
1835 extern "C" {
1836 #endif
1837 static int _wrap_EmptyString_set(PyObject *_val) {
1838 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1839 return 1;
1840 }
1841
1842
1843 static PyObject *_wrap_EmptyString_get() {
1844 PyObject *pyobj;
1845
1846 {
1847 #if wxUSE_UNICODE
1848 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1849 #else
1850 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1851 #endif
1852 }
1853 return pyobj;
1854 }
1855
1856
1857 static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1858 PyObject *resultobj;
1859 wxObject *arg1 = (wxObject *) 0 ;
1860 wxString result;
1861 PyObject * obj0 = 0 ;
1862 char *kwnames[] = {
1863 (char *) "self", NULL
1864 };
1865
1866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1869 {
1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
1871 result = wxObject_GetClassName(arg1);
1872
1873 wxPyEndAllowThreads(__tstate);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
1876 {
1877 #if wxUSE_UNICODE
1878 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1879 #else
1880 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1881 #endif
1882 }
1883 return resultobj;
1884 fail:
1885 return NULL;
1886 }
1887
1888
1889 static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxObject *arg1 = (wxObject *) 0 ;
1892 PyObject * obj0 = 0 ;
1893 char *kwnames[] = {
1894 (char *) "self", NULL
1895 };
1896
1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 wxObject_Destroy(arg1);
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 Py_INCREF(Py_None); resultobj = Py_None;
1908 return resultobj;
1909 fail:
1910 return NULL;
1911 }
1912
1913
1914 static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1915 PyObject *obj;
1916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1917 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1918 Py_INCREF(obj);
1919 return Py_BuildValue((char *)"");
1920 }
1921 static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxSize *arg1 = (wxSize *) 0 ;
1924 int arg2 ;
1925 PyObject * obj0 = 0 ;
1926 PyObject * obj1 = 0 ;
1927 char *kwnames[] = {
1928 (char *) "self",(char *) "x", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
1932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1934 arg2 = (int) SWIG_AsInt(obj1);
1935 if (PyErr_Occurred()) SWIG_fail;
1936 if (arg1) (arg1)->x = arg2;
1937
1938 Py_INCREF(Py_None); resultobj = Py_None;
1939 return resultobj;
1940 fail:
1941 return NULL;
1942 }
1943
1944
1945 static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 wxSize *arg1 = (wxSize *) 0 ;
1948 int result;
1949 PyObject * obj0 = 0 ;
1950 char *kwnames[] = {
1951 (char *) "self", NULL
1952 };
1953
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1957 result = (int) ((arg1)->x);
1958
1959 resultobj = SWIG_FromInt((int)result);
1960 return resultobj;
1961 fail:
1962 return NULL;
1963 }
1964
1965
1966 static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1967 PyObject *resultobj;
1968 wxSize *arg1 = (wxSize *) 0 ;
1969 int arg2 ;
1970 PyObject * obj0 = 0 ;
1971 PyObject * obj1 = 0 ;
1972 char *kwnames[] = {
1973 (char *) "self",(char *) "y", NULL
1974 };
1975
1976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
1977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1979 arg2 = (int) SWIG_AsInt(obj1);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 if (arg1) (arg1)->y = arg2;
1982
1983 Py_INCREF(Py_None); resultobj = Py_None;
1984 return resultobj;
1985 fail:
1986 return NULL;
1987 }
1988
1989
1990 static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1991 PyObject *resultobj;
1992 wxSize *arg1 = (wxSize *) 0 ;
1993 int result;
1994 PyObject * obj0 = 0 ;
1995 char *kwnames[] = {
1996 (char *) "self", NULL
1997 };
1998
1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
2000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2002 result = (int) ((arg1)->y);
2003
2004 resultobj = SWIG_FromInt((int)result);
2005 return resultobj;
2006 fail:
2007 return NULL;
2008 }
2009
2010
2011 static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject *resultobj;
2013 int arg1 = (int) 0 ;
2014 int arg2 = (int) 0 ;
2015 wxSize *result;
2016 PyObject * obj0 = 0 ;
2017 PyObject * obj1 = 0 ;
2018 char *kwnames[] = {
2019 (char *) "w",(char *) "h", NULL
2020 };
2021
2022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
2023 if (obj0) {
2024 arg1 = (int) SWIG_AsInt(obj0);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 }
2027 if (obj1) {
2028 arg2 = (int) SWIG_AsInt(obj1);
2029 if (PyErr_Occurred()) SWIG_fail;
2030 }
2031 {
2032 PyThreadState* __tstate = wxPyBeginAllowThreads();
2033 result = (wxSize *)new wxSize(arg1,arg2);
2034
2035 wxPyEndAllowThreads(__tstate);
2036 if (PyErr_Occurred()) SWIG_fail;
2037 }
2038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
2039 return resultobj;
2040 fail:
2041 return NULL;
2042 }
2043
2044
2045 static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
2046 PyObject *resultobj;
2047 wxSize *arg1 = (wxSize *) 0 ;
2048 PyObject * obj0 = 0 ;
2049 char *kwnames[] = {
2050 (char *) "self", NULL
2051 };
2052
2053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
2054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2056 {
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 delete arg1;
2059
2060 wxPyEndAllowThreads(__tstate);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 }
2063 Py_INCREF(Py_None); resultobj = Py_None;
2064 return resultobj;
2065 fail:
2066 return NULL;
2067 }
2068
2069
2070 static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject *resultobj;
2072 wxSize *arg1 = (wxSize *) 0 ;
2073 wxSize *arg2 = 0 ;
2074 bool result;
2075 wxSize temp2 ;
2076 PyObject * obj0 = 0 ;
2077 PyObject * obj1 = 0 ;
2078 char *kwnames[] = {
2079 (char *) "self",(char *) "sz", NULL
2080 };
2081
2082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
2083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2085 {
2086 arg2 = &temp2;
2087 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2088 }
2089 {
2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
2091 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
2092
2093 wxPyEndAllowThreads(__tstate);
2094 if (PyErr_Occurred()) SWIG_fail;
2095 }
2096 {
2097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2098 }
2099 return resultobj;
2100 fail:
2101 return NULL;
2102 }
2103
2104
2105 static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2106 PyObject *resultobj;
2107 wxSize *arg1 = (wxSize *) 0 ;
2108 wxSize *arg2 = 0 ;
2109 bool result;
2110 wxSize temp2 ;
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2113 char *kwnames[] = {
2114 (char *) "self",(char *) "sz", NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
2118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2120 {
2121 arg2 = &temp2;
2122 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2123 }
2124 {
2125 PyThreadState* __tstate = wxPyBeginAllowThreads();
2126 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
2127
2128 wxPyEndAllowThreads(__tstate);
2129 if (PyErr_Occurred()) SWIG_fail;
2130 }
2131 {
2132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2133 }
2134 return resultobj;
2135 fail:
2136 return NULL;
2137 }
2138
2139
2140 static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2141 PyObject *resultobj;
2142 wxSize *arg1 = (wxSize *) 0 ;
2143 wxSize *arg2 = 0 ;
2144 wxSize result;
2145 wxSize temp2 ;
2146 PyObject * obj0 = 0 ;
2147 PyObject * obj1 = 0 ;
2148 char *kwnames[] = {
2149 (char *) "self",(char *) "sz", NULL
2150 };
2151
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
2153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2155 {
2156 arg2 = &temp2;
2157 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2158 }
2159 {
2160 PyThreadState* __tstate = wxPyBeginAllowThreads();
2161 result = (arg1)->operator +((wxSize const &)*arg2);
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 {
2167 wxSize * resultptr;
2168 resultptr = new wxSize((wxSize &) result);
2169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2170 }
2171 return resultobj;
2172 fail:
2173 return NULL;
2174 }
2175
2176
2177 static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2178 PyObject *resultobj;
2179 wxSize *arg1 = (wxSize *) 0 ;
2180 wxSize *arg2 = 0 ;
2181 wxSize result;
2182 wxSize temp2 ;
2183 PyObject * obj0 = 0 ;
2184 PyObject * obj1 = 0 ;
2185 char *kwnames[] = {
2186 (char *) "self",(char *) "sz", NULL
2187 };
2188
2189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
2190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2192 {
2193 arg2 = &temp2;
2194 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2195 }
2196 {
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 result = (arg1)->operator -((wxSize const &)*arg2);
2199
2200 wxPyEndAllowThreads(__tstate);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 }
2203 {
2204 wxSize * resultptr;
2205 resultptr = new wxSize((wxSize &) result);
2206 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2207 }
2208 return resultobj;
2209 fail:
2210 return NULL;
2211 }
2212
2213
2214 static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxSize *arg1 = (wxSize *) 0 ;
2217 wxSize *arg2 = 0 ;
2218 wxSize temp2 ;
2219 PyObject * obj0 = 0 ;
2220 PyObject * obj1 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "self",(char *) "sz", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2228 {
2229 arg2 = &temp2;
2230 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2231 }
2232 {
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 (arg1)->IncTo((wxSize const &)*arg2);
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2239 Py_INCREF(Py_None); resultobj = Py_None;
2240 return resultobj;
2241 fail:
2242 return NULL;
2243 }
2244
2245
2246 static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2247 PyObject *resultobj;
2248 wxSize *arg1 = (wxSize *) 0 ;
2249 wxSize *arg2 = 0 ;
2250 wxSize temp2 ;
2251 PyObject * obj0 = 0 ;
2252 PyObject * obj1 = 0 ;
2253 char *kwnames[] = {
2254 (char *) "self",(char *) "sz", NULL
2255 };
2256
2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
2258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2260 {
2261 arg2 = &temp2;
2262 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2263 }
2264 {
2265 PyThreadState* __tstate = wxPyBeginAllowThreads();
2266 (arg1)->DecTo((wxSize const &)*arg2);
2267
2268 wxPyEndAllowThreads(__tstate);
2269 if (PyErr_Occurred()) SWIG_fail;
2270 }
2271 Py_INCREF(Py_None); resultobj = Py_None;
2272 return resultobj;
2273 fail:
2274 return NULL;
2275 }
2276
2277
2278 static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2279 PyObject *resultobj;
2280 wxSize *arg1 = (wxSize *) 0 ;
2281 int arg2 ;
2282 int arg3 ;
2283 PyObject * obj0 = 0 ;
2284 PyObject * obj1 = 0 ;
2285 PyObject * obj2 = 0 ;
2286 char *kwnames[] = {
2287 (char *) "self",(char *) "w",(char *) "h", NULL
2288 };
2289
2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2293 arg2 = (int) SWIG_AsInt(obj1);
2294 if (PyErr_Occurred()) SWIG_fail;
2295 arg3 = (int) SWIG_AsInt(obj2);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 {
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 (arg1)->Set(arg2,arg3);
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 }
2304 Py_INCREF(Py_None); resultobj = Py_None;
2305 return resultobj;
2306 fail:
2307 return NULL;
2308 }
2309
2310
2311 static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject *resultobj;
2313 wxSize *arg1 = (wxSize *) 0 ;
2314 int arg2 ;
2315 PyObject * obj0 = 0 ;
2316 PyObject * obj1 = 0 ;
2317 char *kwnames[] = {
2318 (char *) "self",(char *) "w", NULL
2319 };
2320
2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2324 arg2 = (int) SWIG_AsInt(obj1);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
2328 (arg1)->SetWidth(arg2);
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
2333 Py_INCREF(Py_None); resultobj = Py_None;
2334 return resultobj;
2335 fail:
2336 return NULL;
2337 }
2338
2339
2340 static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject *resultobj;
2342 wxSize *arg1 = (wxSize *) 0 ;
2343 int arg2 ;
2344 PyObject * obj0 = 0 ;
2345 PyObject * obj1 = 0 ;
2346 char *kwnames[] = {
2347 (char *) "self",(char *) "h", NULL
2348 };
2349
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2353 arg2 = (int) SWIG_AsInt(obj1);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 {
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 (arg1)->SetHeight(arg2);
2358
2359 wxPyEndAllowThreads(__tstate);
2360 if (PyErr_Occurred()) SWIG_fail;
2361 }
2362 Py_INCREF(Py_None); resultobj = Py_None;
2363 return resultobj;
2364 fail:
2365 return NULL;
2366 }
2367
2368
2369 static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 wxSize *arg1 = (wxSize *) 0 ;
2372 int result;
2373 PyObject * obj0 = 0 ;
2374 char *kwnames[] = {
2375 (char *) "self", NULL
2376 };
2377
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
2379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2381 {
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 result = (int)((wxSize const *)arg1)->GetWidth();
2384
2385 wxPyEndAllowThreads(__tstate);
2386 if (PyErr_Occurred()) SWIG_fail;
2387 }
2388 resultobj = SWIG_FromInt((int)result);
2389 return resultobj;
2390 fail:
2391 return NULL;
2392 }
2393
2394
2395 static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2396 PyObject *resultobj;
2397 wxSize *arg1 = (wxSize *) 0 ;
2398 int result;
2399 PyObject * obj0 = 0 ;
2400 char *kwnames[] = {
2401 (char *) "self", NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
2405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 result = (int)((wxSize const *)arg1)->GetHeight();
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 resultobj = SWIG_FromInt((int)result);
2415 return resultobj;
2416 fail:
2417 return NULL;
2418 }
2419
2420
2421 static PyObject *_wrap_Size_IsFullySpecified(PyObject *self, PyObject *args, PyObject *kwargs) {
2422 PyObject *resultobj;
2423 wxSize *arg1 = (wxSize *) 0 ;
2424 bool result;
2425 PyObject * obj0 = 0 ;
2426 char *kwnames[] = {
2427 (char *) "self", NULL
2428 };
2429
2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2433 {
2434 PyThreadState* __tstate = wxPyBeginAllowThreads();
2435 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2436
2437 wxPyEndAllowThreads(__tstate);
2438 if (PyErr_Occurred()) SWIG_fail;
2439 }
2440 {
2441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2442 }
2443 return resultobj;
2444 fail:
2445 return NULL;
2446 }
2447
2448
2449 static PyObject *_wrap_Size_SetDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
2450 PyObject *resultobj;
2451 wxSize *arg1 = (wxSize *) 0 ;
2452 wxSize *arg2 = 0 ;
2453 wxSize temp2 ;
2454 PyObject * obj0 = 0 ;
2455 PyObject * obj1 = 0 ;
2456 char *kwnames[] = {
2457 (char *) "self",(char *) "size", NULL
2458 };
2459
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2463 {
2464 arg2 = &temp2;
2465 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2466 }
2467 {
2468 PyThreadState* __tstate = wxPyBeginAllowThreads();
2469 (arg1)->SetDefaults((wxSize const &)*arg2);
2470
2471 wxPyEndAllowThreads(__tstate);
2472 if (PyErr_Occurred()) SWIG_fail;
2473 }
2474 Py_INCREF(Py_None); resultobj = Py_None;
2475 return resultobj;
2476 fail:
2477 return NULL;
2478 }
2479
2480
2481 static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2482 PyObject *resultobj;
2483 wxSize *arg1 = (wxSize *) 0 ;
2484 PyObject *result;
2485 PyObject * obj0 = 0 ;
2486 char *kwnames[] = {
2487 (char *) "self", NULL
2488 };
2489
2490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
2491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2493 {
2494 PyThreadState* __tstate = wxPyBeginAllowThreads();
2495 result = (PyObject *)wxSize_Get(arg1);
2496
2497 wxPyEndAllowThreads(__tstate);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 }
2500 resultobj = result;
2501 return resultobj;
2502 fail:
2503 return NULL;
2504 }
2505
2506
2507 static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2508 PyObject *obj;
2509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2510 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2511 Py_INCREF(obj);
2512 return Py_BuildValue((char *)"");
2513 }
2514 static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2515 PyObject *resultobj;
2516 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2517 double arg2 ;
2518 PyObject * obj0 = 0 ;
2519 PyObject * obj1 = 0 ;
2520 char *kwnames[] = {
2521 (char *) "self",(char *) "x", NULL
2522 };
2523
2524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
2525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2527 arg2 = (double) SWIG_AsDouble(obj1);
2528 if (PyErr_Occurred()) SWIG_fail;
2529 if (arg1) (arg1)->x = arg2;
2530
2531 Py_INCREF(Py_None); resultobj = Py_None;
2532 return resultobj;
2533 fail:
2534 return NULL;
2535 }
2536
2537
2538 static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2539 PyObject *resultobj;
2540 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2541 double result;
2542 PyObject * obj0 = 0 ;
2543 char *kwnames[] = {
2544 (char *) "self", NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
2548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2550 result = (double) ((arg1)->x);
2551
2552 resultobj = SWIG_FromDouble((double)result);
2553 return resultobj;
2554 fail:
2555 return NULL;
2556 }
2557
2558
2559 static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2560 PyObject *resultobj;
2561 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2562 double arg2 ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self",(char *) "y", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
2570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2572 arg2 = (double) SWIG_AsDouble(obj1);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 if (arg1) (arg1)->y = arg2;
2575
2576 Py_INCREF(Py_None); resultobj = Py_None;
2577 return resultobj;
2578 fail:
2579 return NULL;
2580 }
2581
2582
2583 static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2584 PyObject *resultobj;
2585 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2586 double result;
2587 PyObject * obj0 = 0 ;
2588 char *kwnames[] = {
2589 (char *) "self", NULL
2590 };
2591
2592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
2593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2595 result = (double) ((arg1)->y);
2596
2597 resultobj = SWIG_FromDouble((double)result);
2598 return resultobj;
2599 fail:
2600 return NULL;
2601 }
2602
2603
2604 static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 double arg1 = (double) 0.0 ;
2607 double arg2 = (double) 0.0 ;
2608 wxRealPoint *result;
2609 PyObject * obj0 = 0 ;
2610 PyObject * obj1 = 0 ;
2611 char *kwnames[] = {
2612 (char *) "x",(char *) "y", NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2616 if (obj0) {
2617 arg1 = (double) SWIG_AsDouble(obj0);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 if (obj1) {
2621 arg2 = (double) SWIG_AsDouble(obj1);
2622 if (PyErr_Occurred()) SWIG_fail;
2623 }
2624 {
2625 PyThreadState* __tstate = wxPyBeginAllowThreads();
2626 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2627
2628 wxPyEndAllowThreads(__tstate);
2629 if (PyErr_Occurred()) SWIG_fail;
2630 }
2631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
2632 return resultobj;
2633 fail:
2634 return NULL;
2635 }
2636
2637
2638 static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2639 PyObject *resultobj;
2640 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2641 PyObject * obj0 = 0 ;
2642 char *kwnames[] = {
2643 (char *) "self", NULL
2644 };
2645
2646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
2647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 delete arg1;
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 Py_INCREF(Py_None); resultobj = Py_None;
2657 return resultobj;
2658 fail:
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2666 wxRealPoint *arg2 = 0 ;
2667 bool result;
2668 wxRealPoint temp2 ;
2669 PyObject * obj0 = 0 ;
2670 PyObject * obj1 = 0 ;
2671 char *kwnames[] = {
2672 (char *) "self",(char *) "pt", NULL
2673 };
2674
2675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2678 {
2679 arg2 = &temp2;
2680 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2681 }
2682 {
2683 PyThreadState* __tstate = wxPyBeginAllowThreads();
2684 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
2685
2686 wxPyEndAllowThreads(__tstate);
2687 if (PyErr_Occurred()) SWIG_fail;
2688 }
2689 {
2690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2691 }
2692 return resultobj;
2693 fail:
2694 return NULL;
2695 }
2696
2697
2698 static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2699 PyObject *resultobj;
2700 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2701 wxRealPoint *arg2 = 0 ;
2702 bool result;
2703 wxRealPoint temp2 ;
2704 PyObject * obj0 = 0 ;
2705 PyObject * obj1 = 0 ;
2706 char *kwnames[] = {
2707 (char *) "self",(char *) "pt", NULL
2708 };
2709
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2713 {
2714 arg2 = &temp2;
2715 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2716 }
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 {
2725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2726 }
2727 return resultobj;
2728 fail:
2729 return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2736 wxRealPoint *arg2 = 0 ;
2737 wxRealPoint result;
2738 wxRealPoint temp2 ;
2739 PyObject * obj0 = 0 ;
2740 PyObject * obj1 = 0 ;
2741 char *kwnames[] = {
2742 (char *) "self",(char *) "pt", NULL
2743 };
2744
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2748 {
2749 arg2 = &temp2;
2750 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2751 }
2752 {
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
2754 result = (arg1)->operator +((wxRealPoint const &)*arg2);
2755
2756 wxPyEndAllowThreads(__tstate);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
2759 {
2760 wxRealPoint * resultptr;
2761 resultptr = new wxRealPoint((wxRealPoint &) result);
2762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
2763 }
2764 return resultobj;
2765 fail:
2766 return NULL;
2767 }
2768
2769
2770 static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2771 PyObject *resultobj;
2772 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2773 wxRealPoint *arg2 = 0 ;
2774 wxRealPoint result;
2775 wxRealPoint temp2 ;
2776 PyObject * obj0 = 0 ;
2777 PyObject * obj1 = 0 ;
2778 char *kwnames[] = {
2779 (char *) "self",(char *) "pt", NULL
2780 };
2781
2782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2785 {
2786 arg2 = &temp2;
2787 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2788 }
2789 {
2790 PyThreadState* __tstate = wxPyBeginAllowThreads();
2791 result = (arg1)->operator -((wxRealPoint const &)*arg2);
2792
2793 wxPyEndAllowThreads(__tstate);
2794 if (PyErr_Occurred()) SWIG_fail;
2795 }
2796 {
2797 wxRealPoint * resultptr;
2798 resultptr = new wxRealPoint((wxRealPoint &) result);
2799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
2800 }
2801 return resultobj;
2802 fail:
2803 return NULL;
2804 }
2805
2806
2807 static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2810 double arg2 ;
2811 double arg3 ;
2812 PyObject * obj0 = 0 ;
2813 PyObject * obj1 = 0 ;
2814 PyObject * obj2 = 0 ;
2815 char *kwnames[] = {
2816 (char *) "self",(char *) "x",(char *) "y", NULL
2817 };
2818
2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2822 arg2 = (double) SWIG_AsDouble(obj1);
2823 if (PyErr_Occurred()) SWIG_fail;
2824 arg3 = (double) SWIG_AsDouble(obj2);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 wxRealPoint_Set(arg1,arg2,arg3);
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 Py_INCREF(Py_None); resultobj = Py_None;
2834 return resultobj;
2835 fail:
2836 return NULL;
2837 }
2838
2839
2840 static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2841 PyObject *resultobj;
2842 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2843 PyObject *result;
2844 PyObject * obj0 = 0 ;
2845 char *kwnames[] = {
2846 (char *) "self", NULL
2847 };
2848
2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2852 {
2853 PyThreadState* __tstate = wxPyBeginAllowThreads();
2854 result = (PyObject *)wxRealPoint_Get(arg1);
2855
2856 wxPyEndAllowThreads(__tstate);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 }
2859 resultobj = result;
2860 return resultobj;
2861 fail:
2862 return NULL;
2863 }
2864
2865
2866 static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2867 PyObject *obj;
2868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2869 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2870 Py_INCREF(obj);
2871 return Py_BuildValue((char *)"");
2872 }
2873 static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2874 PyObject *resultobj;
2875 wxPoint *arg1 = (wxPoint *) 0 ;
2876 int arg2 ;
2877 PyObject * obj0 = 0 ;
2878 PyObject * obj1 = 0 ;
2879 char *kwnames[] = {
2880 (char *) "self",(char *) "x", NULL
2881 };
2882
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
2884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2886 arg2 = (int) SWIG_AsInt(obj1);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 if (arg1) (arg1)->x = arg2;
2889
2890 Py_INCREF(Py_None); resultobj = Py_None;
2891 return resultobj;
2892 fail:
2893 return NULL;
2894 }
2895
2896
2897 static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxPoint *arg1 = (wxPoint *) 0 ;
2900 int result;
2901 PyObject * obj0 = 0 ;
2902 char *kwnames[] = {
2903 (char *) "self", NULL
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2909 result = (int) ((arg1)->x);
2910
2911 resultobj = SWIG_FromInt((int)result);
2912 return resultobj;
2913 fail:
2914 return NULL;
2915 }
2916
2917
2918 static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject *resultobj;
2920 wxPoint *arg1 = (wxPoint *) 0 ;
2921 int arg2 ;
2922 PyObject * obj0 = 0 ;
2923 PyObject * obj1 = 0 ;
2924 char *kwnames[] = {
2925 (char *) "self",(char *) "y", NULL
2926 };
2927
2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
2929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2931 arg2 = (int) SWIG_AsInt(obj1);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 if (arg1) (arg1)->y = arg2;
2934
2935 Py_INCREF(Py_None); resultobj = Py_None;
2936 return resultobj;
2937 fail:
2938 return NULL;
2939 }
2940
2941
2942 static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj;
2944 wxPoint *arg1 = (wxPoint *) 0 ;
2945 int result;
2946 PyObject * obj0 = 0 ;
2947 char *kwnames[] = {
2948 (char *) "self", NULL
2949 };
2950
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2954 result = (int) ((arg1)->y);
2955
2956 resultobj = SWIG_FromInt((int)result);
2957 return resultobj;
2958 fail:
2959 return NULL;
2960 }
2961
2962
2963 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2964 PyObject *resultobj;
2965 int arg1 = (int) 0 ;
2966 int arg2 = (int) 0 ;
2967 wxPoint *result;
2968 PyObject * obj0 = 0 ;
2969 PyObject * obj1 = 0 ;
2970 char *kwnames[] = {
2971 (char *) "x",(char *) "y", NULL
2972 };
2973
2974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2975 if (obj0) {
2976 arg1 = (int) SWIG_AsInt(obj0);
2977 if (PyErr_Occurred()) SWIG_fail;
2978 }
2979 if (obj1) {
2980 arg2 = (int) SWIG_AsInt(obj1);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 {
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
2985 result = (wxPoint *)new wxPoint(arg1,arg2);
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
2991 return resultobj;
2992 fail:
2993 return NULL;
2994 }
2995
2996
2997 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2998 PyObject *resultobj;
2999 wxPoint *arg1 = (wxPoint *) 0 ;
3000 PyObject * obj0 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "self", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
3006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3008 {
3009 PyThreadState* __tstate = wxPyBeginAllowThreads();
3010 delete arg1;
3011
3012 wxPyEndAllowThreads(__tstate);
3013 if (PyErr_Occurred()) SWIG_fail;
3014 }
3015 Py_INCREF(Py_None); resultobj = Py_None;
3016 return resultobj;
3017 fail:
3018 return NULL;
3019 }
3020
3021
3022 static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3023 PyObject *resultobj;
3024 wxPoint *arg1 = (wxPoint *) 0 ;
3025 wxPoint *arg2 = 0 ;
3026 bool result;
3027 wxPoint temp2 ;
3028 PyObject * obj0 = 0 ;
3029 PyObject * obj1 = 0 ;
3030 char *kwnames[] = {
3031 (char *) "self",(char *) "pt", NULL
3032 };
3033
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
3035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3037 {
3038 arg2 = &temp2;
3039 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3040 }
3041 {
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 {
3049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3050 }
3051 return resultobj;
3052 fail:
3053 return NULL;
3054 }
3055
3056
3057 static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3058 PyObject *resultobj;
3059 wxPoint *arg1 = (wxPoint *) 0 ;
3060 wxPoint *arg2 = 0 ;
3061 bool result;
3062 wxPoint temp2 ;
3063 PyObject * obj0 = 0 ;
3064 PyObject * obj1 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "self",(char *) "pt", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
3070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3072 {
3073 arg2 = &temp2;
3074 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3075 }
3076 {
3077 PyThreadState* __tstate = wxPyBeginAllowThreads();
3078 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
3079
3080 wxPyEndAllowThreads(__tstate);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 }
3083 {
3084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3085 }
3086 return resultobj;
3087 fail:
3088 return NULL;
3089 }
3090
3091
3092 static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3093 PyObject *resultobj;
3094 wxPoint *arg1 = (wxPoint *) 0 ;
3095 wxPoint *arg2 = 0 ;
3096 wxPoint result;
3097 wxPoint temp2 ;
3098 PyObject * obj0 = 0 ;
3099 PyObject * obj1 = 0 ;
3100 char *kwnames[] = {
3101 (char *) "self",(char *) "pt", NULL
3102 };
3103
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
3105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3107 {
3108 arg2 = &temp2;
3109 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3110 }
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 result = (arg1)->operator +((wxPoint const &)*arg2);
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 {
3119 wxPoint * resultptr;
3120 resultptr = new wxPoint((wxPoint &) result);
3121 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3122 }
3123 return resultobj;
3124 fail:
3125 return NULL;
3126 }
3127
3128
3129 static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3130 PyObject *resultobj;
3131 wxPoint *arg1 = (wxPoint *) 0 ;
3132 wxPoint *arg2 = 0 ;
3133 wxPoint result;
3134 wxPoint temp2 ;
3135 PyObject * obj0 = 0 ;
3136 PyObject * obj1 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self",(char *) "pt", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
3142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3144 {
3145 arg2 = &temp2;
3146 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3147 }
3148 {
3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
3150 result = (arg1)->operator -((wxPoint const &)*arg2);
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 {
3156 wxPoint * resultptr;
3157 resultptr = new wxPoint((wxPoint &) result);
3158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3159 }
3160 return resultobj;
3161 fail:
3162 return NULL;
3163 }
3164
3165
3166 static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxPoint *arg1 = (wxPoint *) 0 ;
3169 wxPoint *arg2 = 0 ;
3170 wxPoint *result;
3171 wxPoint temp2 ;
3172 PyObject * obj0 = 0 ;
3173 PyObject * obj1 = 0 ;
3174 char *kwnames[] = {
3175 (char *) "self",(char *) "pt", NULL
3176 };
3177
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
3179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3181 {
3182 arg2 = &temp2;
3183 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3184 }
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 {
3188 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3189 result = (wxPoint *) &_result_ref;
3190 }
3191
3192 wxPyEndAllowThreads(__tstate);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
3195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3196 return resultobj;
3197 fail:
3198 return NULL;
3199 }
3200
3201
3202 static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3203 PyObject *resultobj;
3204 wxPoint *arg1 = (wxPoint *) 0 ;
3205 wxPoint *arg2 = 0 ;
3206 wxPoint *result;
3207 wxPoint temp2 ;
3208 PyObject * obj0 = 0 ;
3209 PyObject * obj1 = 0 ;
3210 char *kwnames[] = {
3211 (char *) "self",(char *) "pt", NULL
3212 };
3213
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
3215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3217 {
3218 arg2 = &temp2;
3219 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3220 }
3221 {
3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
3223 {
3224 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3225 result = (wxPoint *) &_result_ref;
3226 }
3227
3228 wxPyEndAllowThreads(__tstate);
3229 if (PyErr_Occurred()) SWIG_fail;
3230 }
3231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3232 return resultobj;
3233 fail:
3234 return NULL;
3235 }
3236
3237
3238 static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3239 PyObject *resultobj;
3240 wxPoint *arg1 = (wxPoint *) 0 ;
3241 long arg2 ;
3242 long arg3 ;
3243 PyObject * obj0 = 0 ;
3244 PyObject * obj1 = 0 ;
3245 PyObject * obj2 = 0 ;
3246 char *kwnames[] = {
3247 (char *) "self",(char *) "x",(char *) "y", NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
3251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3253 arg2 = (long) SWIG_AsLong(obj1);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 arg3 = (long) SWIG_AsLong(obj2);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 wxPoint_Set(arg1,arg2,arg3);
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 Py_INCREF(Py_None); resultobj = Py_None;
3265 return resultobj;
3266 fail:
3267 return NULL;
3268 }
3269
3270
3271 static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
3272 PyObject *resultobj;
3273 wxPoint *arg1 = (wxPoint *) 0 ;
3274 PyObject *result;
3275 PyObject * obj0 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "self", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
3281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3283 {
3284 PyThreadState* __tstate = wxPyBeginAllowThreads();
3285 result = (PyObject *)wxPoint_Get(arg1);
3286
3287 wxPyEndAllowThreads(__tstate);
3288 if (PyErr_Occurred()) SWIG_fail;
3289 }
3290 resultobj = result;
3291 return resultobj;
3292 fail:
3293 return NULL;
3294 }
3295
3296
3297 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
3298 PyObject *obj;
3299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3300 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3301 Py_INCREF(obj);
3302 return Py_BuildValue((char *)"");
3303 }
3304 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3305 PyObject *resultobj;
3306 int arg1 = (int) 0 ;
3307 int arg2 = (int) 0 ;
3308 int arg3 = (int) 0 ;
3309 int arg4 = (int) 0 ;
3310 wxRect *result;
3311 PyObject * obj0 = 0 ;
3312 PyObject * obj1 = 0 ;
3313 PyObject * obj2 = 0 ;
3314 PyObject * obj3 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3320 if (obj0) {
3321 arg1 = (int) SWIG_AsInt(obj0);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 if (obj1) {
3325 arg2 = (int) SWIG_AsInt(obj1);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 if (obj2) {
3329 arg3 = (int) SWIG_AsInt(obj2);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 if (obj3) {
3333 arg4 = (int) SWIG_AsInt(obj3);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3344 return resultobj;
3345 fail:
3346 return NULL;
3347 }
3348
3349
3350 static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxPoint *arg1 = 0 ;
3353 wxPoint *arg2 = 0 ;
3354 wxRect *result;
3355 wxPoint temp1 ;
3356 wxPoint temp2 ;
3357 PyObject * obj0 = 0 ;
3358 PyObject * obj1 = 0 ;
3359 char *kwnames[] = {
3360 (char *) "topLeft",(char *) "bottomRight", NULL
3361 };
3362
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3364 {
3365 arg1 = &temp1;
3366 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3367 }
3368 {
3369 arg2 = &temp2;
3370 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3371 }
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3380 return resultobj;
3381 fail:
3382 return NULL;
3383 }
3384
3385
3386 static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
3387 PyObject *resultobj;
3388 wxPoint *arg1 = 0 ;
3389 wxSize *arg2 = 0 ;
3390 wxRect *result;
3391 wxPoint temp1 ;
3392 wxSize temp2 ;
3393 PyObject * obj0 = 0 ;
3394 PyObject * obj1 = 0 ;
3395 char *kwnames[] = {
3396 (char *) "pos",(char *) "size", NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3400 {
3401 arg1 = &temp1;
3402 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3403 }
3404 {
3405 arg2 = &temp2;
3406 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3407 }
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
3415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3416 return resultobj;
3417 fail:
3418 return NULL;
3419 }
3420
3421
3422 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3423 PyObject *resultobj;
3424 wxRect *arg1 = (wxRect *) 0 ;
3425 PyObject * obj0 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
3431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 delete arg1;
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 Py_INCREF(Py_None); resultobj = Py_None;
3441 return resultobj;
3442 fail:
3443 return NULL;
3444 }
3445
3446
3447 static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3448 PyObject *resultobj;
3449 wxRect *arg1 = (wxRect *) 0 ;
3450 int result;
3451 PyObject * obj0 = 0 ;
3452 char *kwnames[] = {
3453 (char *) "self", NULL
3454 };
3455
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
3457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3459 {
3460 PyThreadState* __tstate = wxPyBeginAllowThreads();
3461 result = (int)((wxRect const *)arg1)->GetX();
3462
3463 wxPyEndAllowThreads(__tstate);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
3466 resultobj = SWIG_FromInt((int)result);
3467 return resultobj;
3468 fail:
3469 return NULL;
3470 }
3471
3472
3473 static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3474 PyObject *resultobj;
3475 wxRect *arg1 = (wxRect *) 0 ;
3476 int arg2 ;
3477 PyObject * obj0 = 0 ;
3478 PyObject * obj1 = 0 ;
3479 char *kwnames[] = {
3480 (char *) "self",(char *) "x", NULL
3481 };
3482
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
3484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3486 arg2 = (int) SWIG_AsInt(obj1);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 (arg1)->SetX(arg2);
3491
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 Py_INCREF(Py_None); resultobj = Py_None;
3496 return resultobj;
3497 fail:
3498 return NULL;
3499 }
3500
3501
3502 static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3503 PyObject *resultobj;
3504 wxRect *arg1 = (wxRect *) 0 ;
3505 int result;
3506 PyObject * obj0 = 0 ;
3507 char *kwnames[] = {
3508 (char *) "self", NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
3512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 result = (int)(arg1)->GetY();
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 resultobj = SWIG_FromInt((int)result);
3522 return resultobj;
3523 fail:
3524 return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxRect *arg1 = (wxRect *) 0 ;
3531 int arg2 ;
3532 PyObject * obj0 = 0 ;
3533 PyObject * obj1 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self",(char *) "y", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
3539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3541 arg2 = (int) SWIG_AsInt(obj1);
3542 if (PyErr_Occurred()) SWIG_fail;
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 (arg1)->SetY(arg2);
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 Py_INCREF(Py_None); resultobj = Py_None;
3551 return resultobj;
3552 fail:
3553 return NULL;
3554 }
3555
3556
3557 static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj;
3559 wxRect *arg1 = (wxRect *) 0 ;
3560 int result;
3561 PyObject * obj0 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
3567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 result = (int)((wxRect const *)arg1)->GetWidth();
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 resultobj = SWIG_FromInt((int)result);
3577 return resultobj;
3578 fail:
3579 return NULL;
3580 }
3581
3582
3583 static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxRect *arg1 = (wxRect *) 0 ;
3586 int arg2 ;
3587 PyObject * obj0 = 0 ;
3588 PyObject * obj1 = 0 ;
3589 char *kwnames[] = {
3590 (char *) "self",(char *) "w", NULL
3591 };
3592
3593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
3594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3596 arg2 = (int) SWIG_AsInt(obj1);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 (arg1)->SetWidth(arg2);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 Py_INCREF(Py_None); resultobj = Py_None;
3606 return resultobj;
3607 fail:
3608 return NULL;
3609 }
3610
3611
3612 static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3613 PyObject *resultobj;
3614 wxRect *arg1 = (wxRect *) 0 ;
3615 int result;
3616 PyObject * obj0 = 0 ;
3617 char *kwnames[] = {
3618 (char *) "self", NULL
3619 };
3620
3621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
3622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3624 {
3625 PyThreadState* __tstate = wxPyBeginAllowThreads();
3626 result = (int)((wxRect const *)arg1)->GetHeight();
3627
3628 wxPyEndAllowThreads(__tstate);
3629 if (PyErr_Occurred()) SWIG_fail;
3630 }
3631 resultobj = SWIG_FromInt((int)result);
3632 return resultobj;
3633 fail:
3634 return NULL;
3635 }
3636
3637
3638 static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject *resultobj;
3640 wxRect *arg1 = (wxRect *) 0 ;
3641 int arg2 ;
3642 PyObject * obj0 = 0 ;
3643 PyObject * obj1 = 0 ;
3644 char *kwnames[] = {
3645 (char *) "self",(char *) "h", NULL
3646 };
3647
3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
3649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3651 arg2 = (int) SWIG_AsInt(obj1);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 (arg1)->SetHeight(arg2);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 Py_INCREF(Py_None); resultobj = Py_None;
3661 return resultobj;
3662 fail:
3663 return NULL;
3664 }
3665
3666
3667 static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3668 PyObject *resultobj;
3669 wxRect *arg1 = (wxRect *) 0 ;
3670 wxPoint result;
3671 PyObject * obj0 = 0 ;
3672 char *kwnames[] = {
3673 (char *) "self", NULL
3674 };
3675
3676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
3677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3679 {
3680 PyThreadState* __tstate = wxPyBeginAllowThreads();
3681 result = ((wxRect const *)arg1)->GetPosition();
3682
3683 wxPyEndAllowThreads(__tstate);
3684 if (PyErr_Occurred()) SWIG_fail;
3685 }
3686 {
3687 wxPoint * resultptr;
3688 resultptr = new wxPoint((wxPoint &) result);
3689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3690 }
3691 return resultobj;
3692 fail:
3693 return NULL;
3694 }
3695
3696
3697 static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3698 PyObject *resultobj;
3699 wxRect *arg1 = (wxRect *) 0 ;
3700 wxPoint *arg2 = 0 ;
3701 wxPoint temp2 ;
3702 PyObject * obj0 = 0 ;
3703 PyObject * obj1 = 0 ;
3704 char *kwnames[] = {
3705 (char *) "self",(char *) "p", NULL
3706 };
3707
3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
3709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3711 {
3712 arg2 = &temp2;
3713 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3714 }
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 (arg1)->SetPosition((wxPoint const &)*arg2);
3718
3719 wxPyEndAllowThreads(__tstate);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 Py_INCREF(Py_None); resultobj = Py_None;
3723 return resultobj;
3724 fail:
3725 return NULL;
3726 }
3727
3728
3729 static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3730 PyObject *resultobj;
3731 wxRect *arg1 = (wxRect *) 0 ;
3732 wxSize result;
3733 PyObject * obj0 = 0 ;
3734 char *kwnames[] = {
3735 (char *) "self", NULL
3736 };
3737
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
3739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 result = ((wxRect const *)arg1)->GetSize();
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
3748 {
3749 wxSize * resultptr;
3750 resultptr = new wxSize((wxSize &) result);
3751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3752 }
3753 return resultobj;
3754 fail:
3755 return NULL;
3756 }
3757
3758
3759 static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 wxRect *arg1 = (wxRect *) 0 ;
3762 wxSize *arg2 = 0 ;
3763 wxSize temp2 ;
3764 PyObject * obj0 = 0 ;
3765 PyObject * obj1 = 0 ;
3766 char *kwnames[] = {
3767 (char *) "self",(char *) "s", NULL
3768 };
3769
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3773 {
3774 arg2 = &temp2;
3775 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3776 }
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 (arg1)->SetSize((wxSize const &)*arg2);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 Py_INCREF(Py_None); resultobj = Py_None;
3785 return resultobj;
3786 fail:
3787 return NULL;
3788 }
3789
3790
3791 static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxRect *arg1 = (wxRect *) 0 ;
3794 wxPoint result;
3795 PyObject * obj0 = 0 ;
3796 char *kwnames[] = {
3797 (char *) "self", NULL
3798 };
3799
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
3801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = ((wxRect const *)arg1)->GetTopLeft();
3806
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 {
3811 wxPoint * resultptr;
3812 resultptr = new wxPoint((wxPoint &) result);
3813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3814 }
3815 return resultobj;
3816 fail:
3817 return NULL;
3818 }
3819
3820
3821 static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3822 PyObject *resultobj;
3823 wxRect *arg1 = (wxRect *) 0 ;
3824 wxPoint *arg2 = 0 ;
3825 wxPoint temp2 ;
3826 PyObject * obj0 = 0 ;
3827 PyObject * obj1 = 0 ;
3828 char *kwnames[] = {
3829 (char *) "self",(char *) "p", NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
3833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3835 {
3836 arg2 = &temp2;
3837 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3838 }
3839 {
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3842
3843 wxPyEndAllowThreads(__tstate);
3844 if (PyErr_Occurred()) SWIG_fail;
3845 }
3846 Py_INCREF(Py_None); resultobj = Py_None;
3847 return resultobj;
3848 fail:
3849 return NULL;
3850 }
3851
3852
3853 static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3854 PyObject *resultobj;
3855 wxRect *arg1 = (wxRect *) 0 ;
3856 wxPoint result;
3857 PyObject * obj0 = 0 ;
3858 char *kwnames[] = {
3859 (char *) "self", NULL
3860 };
3861
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
3863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 result = ((wxRect const *)arg1)->GetBottomRight();
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 {
3873 wxPoint * resultptr;
3874 resultptr = new wxPoint((wxPoint &) result);
3875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3876 }
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxRect *arg1 = (wxRect *) 0 ;
3886 wxPoint *arg2 = 0 ;
3887 wxPoint temp2 ;
3888 PyObject * obj0 = 0 ;
3889 PyObject * obj1 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "self",(char *) "p", NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
3895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3897 {
3898 arg2 = &temp2;
3899 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3900 }
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 Py_INCREF(Py_None); resultobj = Py_None;
3909 return resultobj;
3910 fail:
3911 return NULL;
3912 }
3913
3914
3915 static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 wxRect *arg1 = (wxRect *) 0 ;
3918 int result;
3919 PyObject * obj0 = 0 ;
3920 char *kwnames[] = {
3921 (char *) "self", NULL
3922 };
3923
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 result = (int)((wxRect const *)arg1)->GetLeft();
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 resultobj = SWIG_FromInt((int)result);
3935 return resultobj;
3936 fail:
3937 return NULL;
3938 }
3939
3940
3941 static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj;
3943 wxRect *arg1 = (wxRect *) 0 ;
3944 int result;
3945 PyObject * obj0 = 0 ;
3946 char *kwnames[] = {
3947 (char *) "self", NULL
3948 };
3949
3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3953 {
3954 PyThreadState* __tstate = wxPyBeginAllowThreads();
3955 result = (int)((wxRect const *)arg1)->GetTop();
3956
3957 wxPyEndAllowThreads(__tstate);
3958 if (PyErr_Occurred()) SWIG_fail;
3959 }
3960 resultobj = SWIG_FromInt((int)result);
3961 return resultobj;
3962 fail:
3963 return NULL;
3964 }
3965
3966
3967 static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3968 PyObject *resultobj;
3969 wxRect *arg1 = (wxRect *) 0 ;
3970 int result;
3971 PyObject * obj0 = 0 ;
3972 char *kwnames[] = {
3973 (char *) "self", NULL
3974 };
3975
3976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 result = (int)((wxRect const *)arg1)->GetBottom();
3982
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
3986 resultobj = SWIG_FromInt((int)result);
3987 return resultobj;
3988 fail:
3989 return NULL;
3990 }
3991
3992
3993 static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3994 PyObject *resultobj;
3995 wxRect *arg1 = (wxRect *) 0 ;
3996 int result;
3997 PyObject * obj0 = 0 ;
3998 char *kwnames[] = {
3999 (char *) "self", NULL
4000 };
4001
4002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
4003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 result = (int)((wxRect const *)arg1)->GetRight();
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
4012 resultobj = SWIG_FromInt((int)result);
4013 return resultobj;
4014 fail:
4015 return NULL;
4016 }
4017
4018
4019 static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4020 PyObject *resultobj;
4021 wxRect *arg1 = (wxRect *) 0 ;
4022 int arg2 ;
4023 PyObject * obj0 = 0 ;
4024 PyObject * obj1 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "self",(char *) "left", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
4030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4032 arg2 = (int) SWIG_AsInt(obj1);
4033 if (PyErr_Occurred()) SWIG_fail;
4034 {
4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
4036 (arg1)->SetLeft(arg2);
4037
4038 wxPyEndAllowThreads(__tstate);
4039 if (PyErr_Occurred()) SWIG_fail;
4040 }
4041 Py_INCREF(Py_None); resultobj = Py_None;
4042 return resultobj;
4043 fail:
4044 return NULL;
4045 }
4046
4047
4048 static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4049 PyObject *resultobj;
4050 wxRect *arg1 = (wxRect *) 0 ;
4051 int arg2 ;
4052 PyObject * obj0 = 0 ;
4053 PyObject * obj1 = 0 ;
4054 char *kwnames[] = {
4055 (char *) "self",(char *) "right", NULL
4056 };
4057
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
4059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4061 arg2 = (int) SWIG_AsInt(obj1);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->SetRight(arg2);
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 Py_INCREF(Py_None); resultobj = Py_None;
4071 return resultobj;
4072 fail:
4073 return NULL;
4074 }
4075
4076
4077 static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxRect *arg1 = (wxRect *) 0 ;
4080 int arg2 ;
4081 PyObject * obj0 = 0 ;
4082 PyObject * obj1 = 0 ;
4083 char *kwnames[] = {
4084 (char *) "self",(char *) "top", NULL
4085 };
4086
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
4088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4090 arg2 = (int) SWIG_AsInt(obj1);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 (arg1)->SetTop(arg2);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 Py_INCREF(Py_None); resultobj = Py_None;
4100 return resultobj;
4101 fail:
4102 return NULL;
4103 }
4104
4105
4106 static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxRect *arg1 = (wxRect *) 0 ;
4109 int arg2 ;
4110 PyObject * obj0 = 0 ;
4111 PyObject * obj1 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "self",(char *) "bottom", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
4117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4119 arg2 = (int) SWIG_AsInt(obj1);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->SetBottom(arg2);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 Py_INCREF(Py_None); resultobj = Py_None;
4129 return resultobj;
4130 fail:
4131 return NULL;
4132 }
4133
4134
4135 static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj;
4137 wxRect *arg1 = (wxRect *) 0 ;
4138 int arg2 ;
4139 int arg3 ;
4140 wxRect *result;
4141 PyObject * obj0 = 0 ;
4142 PyObject * obj1 = 0 ;
4143 PyObject * obj2 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "self",(char *) "dx",(char *) "dy", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
4149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4151 arg2 = (int) SWIG_AsInt(obj1);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 arg3 = (int) SWIG_AsInt(obj2);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 {
4156 PyThreadState* __tstate = wxPyBeginAllowThreads();
4157 {
4158 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4159 result = (wxRect *) &_result_ref;
4160 }
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4166 return resultobj;
4167 fail:
4168 return NULL;
4169 }
4170
4171
4172 static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj;
4174 wxRect *arg1 = (wxRect *) 0 ;
4175 int arg2 ;
4176 int arg3 ;
4177 wxRect *result;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 PyObject * obj2 = 0 ;
4181 char *kwnames[] = {
4182 (char *) "self",(char *) "dx",(char *) "dy", NULL
4183 };
4184
4185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
4186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4188 arg2 = (int) SWIG_AsInt(obj1);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 arg3 = (int) SWIG_AsInt(obj2);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 {
4195 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4196 result = (wxRect *) &_result_ref;
4197 }
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4203 return resultobj;
4204 fail:
4205 return NULL;
4206 }
4207
4208
4209 static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4210 PyObject *resultobj;
4211 wxRect *arg1 = (wxRect *) 0 ;
4212 int arg2 ;
4213 int arg3 ;
4214 PyObject * obj0 = 0 ;
4215 PyObject * obj1 = 0 ;
4216 PyObject * obj2 = 0 ;
4217 char *kwnames[] = {
4218 (char *) "self",(char *) "dx",(char *) "dy", NULL
4219 };
4220
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4224 arg2 = (int) SWIG_AsInt(obj1);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 arg3 = (int) SWIG_AsInt(obj2);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 (arg1)->Offset(arg2,arg3);
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 Py_INCREF(Py_None); resultobj = Py_None;
4236 return resultobj;
4237 fail:
4238 return NULL;
4239 }
4240
4241
4242 static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxRect *arg1 = (wxRect *) 0 ;
4245 wxPoint *arg2 = 0 ;
4246 wxPoint temp2 ;
4247 PyObject * obj0 = 0 ;
4248 PyObject * obj1 = 0 ;
4249 char *kwnames[] = {
4250 (char *) "self",(char *) "pt", NULL
4251 };
4252
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
4254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4256 {
4257 arg2 = &temp2;
4258 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4259 }
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 (arg1)->Offset((wxPoint const &)*arg2);
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 Py_INCREF(Py_None); resultobj = Py_None;
4268 return resultobj;
4269 fail:
4270 return NULL;
4271 }
4272
4273
4274 static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4275 PyObject *resultobj;
4276 wxRect *arg1 = (wxRect *) 0 ;
4277 wxRect *arg2 = 0 ;
4278 wxRect *result;
4279 wxRect temp2 ;
4280 PyObject * obj0 = 0 ;
4281 PyObject * obj1 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self",(char *) "rect", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
4287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4289 {
4290 arg2 = &temp2;
4291 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4292 }
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 {
4296 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4297 result = (wxRect *) &_result_ref;
4298 }
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxRect *arg1 = (wxRect *) 0 ;
4313 wxRect *arg2 = 0 ;
4314 wxRect result;
4315 wxRect temp2 ;
4316 PyObject * obj0 = 0 ;
4317 PyObject * obj1 = 0 ;
4318 char *kwnames[] = {
4319 (char *) "self",(char *) "rect", NULL
4320 };
4321
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
4323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4325 {
4326 arg2 = &temp2;
4327 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4328 }
4329 {
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 {
4337 wxRect * resultptr;
4338 resultptr = new wxRect((wxRect &) result);
4339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4340 }
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj;
4349 wxRect *arg1 = (wxRect *) 0 ;
4350 wxRect *arg2 = 0 ;
4351 wxRect *result;
4352 wxRect temp2 ;
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self",(char *) "rect", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
4360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4362 {
4363 arg2 = &temp2;
4364 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4365 }
4366 {
4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
4368 {
4369 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4370 result = (wxRect *) &_result_ref;
4371 }
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4377 return resultobj;
4378 fail:
4379 return NULL;
4380 }
4381
4382
4383 static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4384 PyObject *resultobj;
4385 wxRect *arg1 = (wxRect *) 0 ;
4386 wxRect *arg2 = 0 ;
4387 bool result;
4388 wxRect temp2 ;
4389 PyObject * obj0 = 0 ;
4390 PyObject * obj1 = 0 ;
4391 char *kwnames[] = {
4392 (char *) "self",(char *) "rect", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
4396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4398 {
4399 arg2 = &temp2;
4400 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4401 }
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4405
4406 wxPyEndAllowThreads(__tstate);
4407 if (PyErr_Occurred()) SWIG_fail;
4408 }
4409 {
4410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4411 }
4412 return resultobj;
4413 fail:
4414 return NULL;
4415 }
4416
4417
4418 static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 wxRect *arg1 = (wxRect *) 0 ;
4421 wxRect *arg2 = 0 ;
4422 bool result;
4423 wxRect temp2 ;
4424 PyObject * obj0 = 0 ;
4425 PyObject * obj1 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self",(char *) "rect", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
4431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4433 {
4434 arg2 = &temp2;
4435 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4436 }
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 {
4445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4446 }
4447 return resultobj;
4448 fail:
4449 return NULL;
4450 }
4451
4452
4453 static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4454 PyObject *resultobj;
4455 wxRect *arg1 = (wxRect *) 0 ;
4456 int arg2 ;
4457 int arg3 ;
4458 bool result;
4459 PyObject * obj0 = 0 ;
4460 PyObject * obj1 = 0 ;
4461 PyObject * obj2 = 0 ;
4462 char *kwnames[] = {
4463 (char *) "self",(char *) "x",(char *) "y", NULL
4464 };
4465
4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4469 arg2 = (int) SWIG_AsInt(obj1);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 arg3 = (int) SWIG_AsInt(obj2);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4476
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 {
4481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4482 }
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxRect *arg1 = (wxRect *) 0 ;
4492 wxPoint *arg2 = 0 ;
4493 bool result;
4494 wxPoint temp2 ;
4495 PyObject * obj0 = 0 ;
4496 PyObject * obj1 = 0 ;
4497 char *kwnames[] = {
4498 (char *) "self",(char *) "pt", NULL
4499 };
4500
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
4502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4504 {
4505 arg2 = &temp2;
4506 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4507 }
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4511
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 {
4516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4517 }
4518 return resultobj;
4519 fail:
4520 return NULL;
4521 }
4522
4523
4524 static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4525 PyObject *resultobj;
4526 wxRect *arg1 = (wxRect *) 0 ;
4527 wxRect *arg2 = 0 ;
4528 bool result;
4529 wxRect temp2 ;
4530 PyObject * obj0 = 0 ;
4531 PyObject * obj1 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self",(char *) "rect", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
4537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4539 {
4540 arg2 = &temp2;
4541 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4542 }
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4550 {
4551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4552 }
4553 return resultobj;
4554 fail:
4555 return NULL;
4556 }
4557
4558
4559 static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxRect *arg1 = (wxRect *) 0 ;
4562 int arg2 ;
4563 PyObject * obj0 = 0 ;
4564 PyObject * obj1 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self",(char *) "x", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4572 arg2 = (int) SWIG_AsInt(obj1);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 if (arg1) (arg1)->x = arg2;
4575
4576 Py_INCREF(Py_None); resultobj = Py_None;
4577 return resultobj;
4578 fail:
4579 return NULL;
4580 }
4581
4582
4583 static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4584 PyObject *resultobj;
4585 wxRect *arg1 = (wxRect *) 0 ;
4586 int result;
4587 PyObject * obj0 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
4593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4595 result = (int) ((arg1)->x);
4596
4597 resultobj = SWIG_FromInt((int)result);
4598 return resultobj;
4599 fail:
4600 return NULL;
4601 }
4602
4603
4604 static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject *resultobj;
4606 wxRect *arg1 = (wxRect *) 0 ;
4607 int arg2 ;
4608 PyObject * obj0 = 0 ;
4609 PyObject * obj1 = 0 ;
4610 char *kwnames[] = {
4611 (char *) "self",(char *) "y", NULL
4612 };
4613
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
4615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4617 arg2 = (int) SWIG_AsInt(obj1);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 if (arg1) (arg1)->y = arg2;
4620
4621 Py_INCREF(Py_None); resultobj = Py_None;
4622 return resultobj;
4623 fail:
4624 return NULL;
4625 }
4626
4627
4628 static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4629 PyObject *resultobj;
4630 wxRect *arg1 = (wxRect *) 0 ;
4631 int result;
4632 PyObject * obj0 = 0 ;
4633 char *kwnames[] = {
4634 (char *) "self", NULL
4635 };
4636
4637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
4638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4640 result = (int) ((arg1)->y);
4641
4642 resultobj = SWIG_FromInt((int)result);
4643 return resultobj;
4644 fail:
4645 return NULL;
4646 }
4647
4648
4649 static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxRect *arg1 = (wxRect *) 0 ;
4652 int arg2 ;
4653 PyObject * obj0 = 0 ;
4654 PyObject * obj1 = 0 ;
4655 char *kwnames[] = {
4656 (char *) "self",(char *) "width", NULL
4657 };
4658
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
4660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4662 arg2 = (int) SWIG_AsInt(obj1);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 if (arg1) (arg1)->width = arg2;
4665
4666 Py_INCREF(Py_None); resultobj = Py_None;
4667 return resultobj;
4668 fail:
4669 return NULL;
4670 }
4671
4672
4673 static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxRect *arg1 = (wxRect *) 0 ;
4676 int result;
4677 PyObject * obj0 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
4683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4685 result = (int) ((arg1)->width);
4686
4687 resultobj = SWIG_FromInt((int)result);
4688 return resultobj;
4689 fail:
4690 return NULL;
4691 }
4692
4693
4694 static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4695 PyObject *resultobj;
4696 wxRect *arg1 = (wxRect *) 0 ;
4697 int arg2 ;
4698 PyObject * obj0 = 0 ;
4699 PyObject * obj1 = 0 ;
4700 char *kwnames[] = {
4701 (char *) "self",(char *) "height", NULL
4702 };
4703
4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
4705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4707 arg2 = (int) SWIG_AsInt(obj1);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 if (arg1) (arg1)->height = arg2;
4710
4711 Py_INCREF(Py_None); resultobj = Py_None;
4712 return resultobj;
4713 fail:
4714 return NULL;
4715 }
4716
4717
4718 static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4719 PyObject *resultobj;
4720 wxRect *arg1 = (wxRect *) 0 ;
4721 int result;
4722 PyObject * obj0 = 0 ;
4723 char *kwnames[] = {
4724 (char *) "self", NULL
4725 };
4726
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
4728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4730 result = (int) ((arg1)->height);
4731
4732 resultobj = SWIG_FromInt((int)result);
4733 return resultobj;
4734 fail:
4735 return NULL;
4736 }
4737
4738
4739 static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxRect *arg1 = (wxRect *) 0 ;
4742 int arg2 = (int) 0 ;
4743 int arg3 = (int) 0 ;
4744 int arg4 = (int) 0 ;
4745 int arg5 = (int) 0 ;
4746 PyObject * obj0 = 0 ;
4747 PyObject * obj1 = 0 ;
4748 PyObject * obj2 = 0 ;
4749 PyObject * obj3 = 0 ;
4750 PyObject * obj4 = 0 ;
4751 char *kwnames[] = {
4752 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4753 };
4754
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4758 if (obj1) {
4759 arg2 = (int) SWIG_AsInt(obj1);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 if (obj2) {
4763 arg3 = (int) SWIG_AsInt(obj2);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
4766 if (obj3) {
4767 arg4 = (int) SWIG_AsInt(obj3);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 if (obj4) {
4771 arg5 = (int) SWIG_AsInt(obj4);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 Py_INCREF(Py_None); resultobj = Py_None;
4782 return resultobj;
4783 fail:
4784 return NULL;
4785 }
4786
4787
4788 static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 wxRect *arg1 = (wxRect *) 0 ;
4791 PyObject *result;
4792 PyObject * obj0 = 0 ;
4793 char *kwnames[] = {
4794 (char *) "self", NULL
4795 };
4796
4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
4798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 result = (PyObject *)wxRect_Get(arg1);
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 resultobj = result;
4808 return resultobj;
4809 fail:
4810 return NULL;
4811 }
4812
4813
4814 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4815 PyObject *obj;
4816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4817 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4818 Py_INCREF(obj);
4819 return Py_BuildValue((char *)"");
4820 }
4821 static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxRect *arg1 = (wxRect *) 0 ;
4824 wxRect *arg2 = (wxRect *) 0 ;
4825 PyObject *result;
4826 PyObject * obj0 = 0 ;
4827 PyObject * obj1 = 0 ;
4828 char *kwnames[] = {
4829 (char *) "r1",(char *) "r2", NULL
4830 };
4831
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
4833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4837 {
4838 if (!wxPyCheckForApp()) SWIG_fail;
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 result = (PyObject *)wxIntersectRect(arg1,arg2);
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 resultobj = result;
4846 return resultobj;
4847 fail:
4848 return NULL;
4849 }
4850
4851
4852 static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 double arg1 = (double) 0.0 ;
4855 double arg2 = (double) 0.0 ;
4856 wxPoint2D *result;
4857 PyObject * obj0 = 0 ;
4858 PyObject * obj1 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "x",(char *) "y", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4864 if (obj0) {
4865 arg1 = (double) SWIG_AsDouble(obj0);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 }
4868 if (obj1) {
4869 arg2 = (double) SWIG_AsDouble(obj1);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4880 return resultobj;
4881 fail:
4882 return NULL;
4883 }
4884
4885
4886 static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxPoint2D *arg1 = 0 ;
4889 wxPoint2D *result;
4890 wxPoint2D temp1 ;
4891 PyObject * obj0 = 0 ;
4892 char *kwnames[] = {
4893 (char *) "pt", NULL
4894 };
4895
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4897 {
4898 arg1 = &temp1;
4899 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4900 }
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4904
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4909 return resultobj;
4910 fail:
4911 return NULL;
4912 }
4913
4914
4915 static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4916 PyObject *resultobj;
4917 wxPoint *arg1 = 0 ;
4918 wxPoint2D *result;
4919 wxPoint temp1 ;
4920 PyObject * obj0 = 0 ;
4921 char *kwnames[] = {
4922 (char *) "pt", NULL
4923 };
4924
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4926 {
4927 arg1 = &temp1;
4928 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4929 }
4930 {
4931 PyThreadState* __tstate = wxPyBeginAllowThreads();
4932 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4933
4934 wxPyEndAllowThreads(__tstate);
4935 if (PyErr_Occurred()) SWIG_fail;
4936 }
4937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4938 return resultobj;
4939 fail:
4940 return NULL;
4941 }
4942
4943
4944 static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject *resultobj;
4946 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4947 int *arg2 = (int *) 0 ;
4948 int *arg3 = (int *) 0 ;
4949 int temp2 ;
4950 int temp3 ;
4951 PyObject * obj0 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "self", NULL
4954 };
4955
4956 arg2 = &temp2;
4957 arg3 = &temp3;
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
4959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 Py_INCREF(Py_None); resultobj = Py_None;
4969 {
4970 PyObject *o = PyInt_FromLong((long) (*arg2));
4971 resultobj = t_output_helper(resultobj,o);
4972 }
4973 {
4974 PyObject *o = PyInt_FromLong((long) (*arg3));
4975 resultobj = t_output_helper(resultobj,o);
4976 }
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4984 PyObject *resultobj;
4985 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4986 int *arg2 = (int *) 0 ;
4987 int *arg3 = (int *) 0 ;
4988 int temp2 ;
4989 int temp3 ;
4990 PyObject * obj0 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self", NULL
4993 };
4994
4995 arg2 = &temp2;
4996 arg3 = &temp3;
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
4998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5000 {
5001 PyThreadState* __tstate = wxPyBeginAllowThreads();
5002 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
5003
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 Py_INCREF(Py_None); resultobj = Py_None;
5008 {
5009 PyObject *o = PyInt_FromLong((long) (*arg2));
5010 resultobj = t_output_helper(resultobj,o);
5011 }
5012 {
5013 PyObject *o = PyInt_FromLong((long) (*arg3));
5014 resultobj = t_output_helper(resultobj,o);
5015 }
5016 return resultobj;
5017 fail:
5018 return NULL;
5019 }
5020
5021
5022 static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5025 double result;
5026 PyObject * obj0 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 resultobj = SWIG_FromDouble((double)result);
5042 return resultobj;
5043 fail:
5044 return NULL;
5045 }
5046
5047
5048 static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5049 PyObject *resultobj;
5050 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5051 double result;
5052 PyObject * obj0 = 0 ;
5053 char *kwnames[] = {
5054 (char *) "self", NULL
5055 };
5056
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
5058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5060 {
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) SWIG_fail;
5066 }
5067 resultobj = SWIG_FromDouble((double)result);
5068 return resultobj;
5069 fail:
5070 return NULL;
5071 }
5072
5073
5074 static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject *resultobj;
5076 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5077 double arg2 ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char *kwnames[] = {
5081 (char *) "self",(char *) "length", NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
5085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5087 arg2 = (double) SWIG_AsDouble(obj1);
5088 if (PyErr_Occurred()) SWIG_fail;
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 (arg1)->SetVectorLength(arg2);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 Py_INCREF(Py_None); resultobj = Py_None;
5097 return resultobj;
5098 fail:
5099 return NULL;
5100 }
5101
5102
5103 static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject *resultobj;
5105 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5106 double arg2 ;
5107 PyObject * obj0 = 0 ;
5108 PyObject * obj1 = 0 ;
5109 char *kwnames[] = {
5110 (char *) "self",(char *) "degrees", NULL
5111 };
5112
5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
5114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5116 arg2 = (double) SWIG_AsDouble(obj1);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->SetVectorAngle(arg2);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 return resultobj;
5127 fail:
5128 return NULL;
5129 }
5130
5131
5132 static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5135 wxPoint2D *arg2 = 0 ;
5136 double result;
5137 wxPoint2D temp2 ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
5140 char *kwnames[] = {
5141 (char *) "self",(char *) "pt", NULL
5142 };
5143
5144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
5145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5147 {
5148 arg2 = &temp2;
5149 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5150 }
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5154
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 resultobj = SWIG_FromDouble((double)result);
5159 return resultobj;
5160 fail:
5161 return NULL;
5162 }
5163
5164
5165 static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
5166 PyObject *resultobj;
5167 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5168 wxPoint2D *arg2 = 0 ;
5169 double result;
5170 wxPoint2D temp2 ;
5171 PyObject * obj0 = 0 ;
5172 PyObject * obj1 = 0 ;
5173 char *kwnames[] = {
5174 (char *) "self",(char *) "pt", NULL
5175 };
5176
5177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
5178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5180 {
5181 arg2 = &temp2;
5182 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5183 }
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
5191 resultobj = SWIG_FromDouble((double)result);
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5201 wxPoint2D *arg2 = 0 ;
5202 double result;
5203 wxPoint2D temp2 ;
5204 PyObject * obj0 = 0 ;
5205 PyObject * obj1 = 0 ;
5206 char *kwnames[] = {
5207 (char *) "self",(char *) "vec", NULL
5208 };
5209
5210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
5211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5213 {
5214 arg2 = &temp2;
5215 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5216 }
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 resultobj = SWIG_FromDouble((double)result);
5225 return resultobj;
5226 fail:
5227 return NULL;
5228 }
5229
5230
5231 static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj;
5233 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5234 wxPoint2D *arg2 = 0 ;
5235 double result;
5236 wxPoint2D temp2 ;
5237 PyObject * obj0 = 0 ;
5238 PyObject * obj1 = 0 ;
5239 char *kwnames[] = {
5240 (char *) "self",(char *) "vec", NULL
5241 };
5242
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
5244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5246 {
5247 arg2 = &temp2;
5248 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5249 }
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 resultobj = SWIG_FromDouble((double)result);
5258 return resultobj;
5259 fail:
5260 return NULL;
5261 }
5262
5263
5264 static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject *resultobj;
5266 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5267 wxPoint2D result;
5268 PyObject * obj0 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 result = (arg1)->operator -();
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 {
5284 wxPoint2D * resultptr;
5285 resultptr = new wxPoint2D((wxPoint2D &) result);
5286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
5287 }
5288 return resultobj;
5289 fail:
5290 return NULL;
5291 }
5292
5293
5294 static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
5295 PyObject *resultobj;
5296 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5297 wxPoint2D *arg2 = 0 ;
5298 wxPoint2D *result;
5299 wxPoint2D temp2 ;
5300 PyObject * obj0 = 0 ;
5301 PyObject * obj1 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self",(char *) "pt", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
5307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5309 {
5310 arg2 = &temp2;
5311 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5312 }
5313 {
5314 PyThreadState* __tstate = wxPyBeginAllowThreads();
5315 {
5316 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5317 result = (wxPoint2D *) &_result_ref;
5318 }
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5324 return resultobj;
5325 fail:
5326 return NULL;
5327 }
5328
5329
5330 static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
5331 PyObject *resultobj;
5332 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5333 wxPoint2D *arg2 = 0 ;
5334 wxPoint2D *result;
5335 wxPoint2D temp2 ;
5336 PyObject * obj0 = 0 ;
5337 PyObject * obj1 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "self",(char *) "pt", NULL
5340 };
5341
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
5343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5345 {
5346 arg2 = &temp2;
5347 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5348 }
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 {
5352 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5353 result = (wxPoint2D *) &_result_ref;
5354 }
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5360 return resultobj;
5361 fail:
5362 return NULL;
5363 }
5364
5365
5366 static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5369 wxPoint2D *arg2 = 0 ;
5370 wxPoint2D *result;
5371 wxPoint2D temp2 ;
5372 PyObject * obj0 = 0 ;
5373 PyObject * obj1 = 0 ;
5374 char *kwnames[] = {
5375 (char *) "self",(char *) "pt", NULL
5376 };
5377
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
5379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5381 {
5382 arg2 = &temp2;
5383 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5384 }
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 {
5388 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5389 result = (wxPoint2D *) &_result_ref;
5390 }
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5396 return resultobj;
5397 fail:
5398 return NULL;
5399 }
5400
5401
5402 static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
5403 PyObject *resultobj;
5404 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5405 wxPoint2D *arg2 = 0 ;
5406 wxPoint2D *result;
5407 wxPoint2D temp2 ;
5408 PyObject * obj0 = 0 ;
5409 PyObject * obj1 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self",(char *) "pt", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5417 {
5418 arg2 = &temp2;
5419 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5420 }
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 {
5424 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5425 result = (wxPoint2D *) &_result_ref;
5426 }
5427
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
5431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5432 return resultobj;
5433 fail:
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5441 wxPoint2D *arg2 = 0 ;
5442 bool result;
5443 wxPoint2D temp2 ;
5444 PyObject * obj0 = 0 ;
5445 PyObject * obj1 = 0 ;
5446 char *kwnames[] = {
5447 (char *) "self",(char *) "pt", NULL
5448 };
5449
5450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
5451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5453 {
5454 arg2 = &temp2;
5455 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5456 }
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5460
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 {
5465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5466 }
5467 return resultobj;
5468 fail:
5469 return NULL;
5470 }
5471
5472
5473 static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj;
5475 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5476 wxPoint2D *arg2 = 0 ;
5477 bool result;
5478 wxPoint2D temp2 ;
5479 PyObject * obj0 = 0 ;
5480 PyObject * obj1 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self",(char *) "pt", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
5486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5488 {
5489 arg2 = &temp2;
5490 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5491 }
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 {
5500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5501 }
5502 return resultobj;
5503 fail:
5504 return NULL;
5505 }
5506
5507
5508 static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject *resultobj;
5510 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5511 double arg2 ;
5512 PyObject * obj0 = 0 ;
5513 PyObject * obj1 = 0 ;
5514 char *kwnames[] = {
5515 (char *) "self",(char *) "m_x", NULL
5516 };
5517
5518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
5519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5521 arg2 = (double) SWIG_AsDouble(obj1);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 if (arg1) (arg1)->m_x = arg2;
5524
5525 Py_INCREF(Py_None); resultobj = Py_None;
5526 return resultobj;
5527 fail:
5528 return NULL;
5529 }
5530
5531
5532 static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5533 PyObject *resultobj;
5534 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5535 double result;
5536 PyObject * obj0 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "self", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
5542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5544 result = (double) ((arg1)->m_x);
5545
5546 resultobj = SWIG_FromDouble((double)result);
5547 return resultobj;
5548 fail:
5549 return NULL;
5550 }
5551
5552
5553 static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5554 PyObject *resultobj;
5555 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5556 double arg2 ;
5557 PyObject * obj0 = 0 ;
5558 PyObject * obj1 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "self",(char *) "m_y", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
5564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5566 arg2 = (double) SWIG_AsDouble(obj1);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 if (arg1) (arg1)->m_y = arg2;
5569
5570 Py_INCREF(Py_None); resultobj = Py_None;
5571 return resultobj;
5572 fail:
5573 return NULL;
5574 }
5575
5576
5577 static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj;
5579 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5580 double result;
5581 PyObject * obj0 = 0 ;
5582 char *kwnames[] = {
5583 (char *) "self", NULL
5584 };
5585
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
5587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5589 result = (double) ((arg1)->m_y);
5590
5591 resultobj = SWIG_FromDouble((double)result);
5592 return resultobj;
5593 fail:
5594 return NULL;
5595 }
5596
5597
5598 static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj;
5600 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5601 double arg2 = (double) 0 ;
5602 double arg3 = (double) 0 ;
5603 PyObject * obj0 = 0 ;
5604 PyObject * obj1 = 0 ;
5605 PyObject * obj2 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self",(char *) "x",(char *) "y", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
5611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5613 if (obj1) {
5614 arg2 = (double) SWIG_AsDouble(obj1);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
5617 if (obj2) {
5618 arg3 = (double) SWIG_AsDouble(obj2);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 wxPoint2D_Set(arg1,arg2,arg3);
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 Py_INCREF(Py_None); resultobj = Py_None;
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5638 PyObject *result;
5639 PyObject * obj0 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "self", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
5645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = (PyObject *)wxPoint2D_Get(arg1);
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 resultobj = result;
5655 return resultobj;
5656 fail:
5657 return NULL;
5658 }
5659
5660
5661 static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5662 PyObject *obj;
5663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5664 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5665 Py_INCREF(obj);
5666 return Py_BuildValue((char *)"");
5667 }
5668 static int _wrap_DefaultPosition_set(PyObject *_val) {
5669 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5670 return 1;
5671 }
5672
5673
5674 static PyObject *_wrap_DefaultPosition_get() {
5675 PyObject *pyobj;
5676
5677 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
5678 return pyobj;
5679 }
5680
5681
5682 static int _wrap_DefaultSize_set(PyObject *_val) {
5683 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5684 return 1;
5685 }
5686
5687
5688 static PyObject *_wrap_DefaultSize_get() {
5689 PyObject *pyobj;
5690
5691 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
5692 return pyobj;
5693 }
5694
5695
5696 static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj;
5698 PyObject *arg1 = (PyObject *) 0 ;
5699 wxPyInputStream *result;
5700 PyObject * obj0 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "p", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5706 arg1 = obj0;
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
5715 return resultobj;
5716 fail:
5717 return NULL;
5718 }
5719
5720
5721 static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5722 PyObject *resultobj;
5723 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5724 PyObject * obj0 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
5730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 (arg1)->close();
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 Py_INCREF(Py_None); resultobj = Py_None;
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5749 PyObject * obj0 = 0 ;
5750 char *kwnames[] = {
5751 (char *) "self", NULL
5752 };
5753
5754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
5755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 (arg1)->flush();
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 Py_INCREF(Py_None); resultobj = Py_None;
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5774 bool result;
5775 PyObject * obj0 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 result = (bool)(arg1)->eof();
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 {
5791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5792 }
5793 return resultobj;
5794 fail:
5795 return NULL;
5796 }
5797
5798
5799 static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5800 PyObject *resultobj;
5801 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5802 int arg2 = (int) -1 ;
5803 PyObject *result;
5804 PyObject * obj0 = 0 ;
5805 PyObject * obj1 = 0 ;
5806 char *kwnames[] = {
5807 (char *) "self",(char *) "size", NULL
5808 };
5809
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
5811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5813 if (obj1) {
5814 arg2 = (int) SWIG_AsInt(obj1);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 result = (PyObject *)(arg1)->read(arg2);
5820
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 resultobj = result;
5825 return resultobj;
5826 fail:
5827 return NULL;
5828 }
5829
5830
5831 static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject *resultobj;
5833 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5834 int arg2 = (int) -1 ;
5835 PyObject *result;
5836 PyObject * obj0 = 0 ;
5837 PyObject * obj1 = 0 ;
5838 char *kwnames[] = {
5839 (char *) "self",(char *) "size", NULL
5840 };
5841
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
5843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5845 if (obj1) {
5846 arg2 = (int) SWIG_AsInt(obj1);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 result = (PyObject *)(arg1)->readline(arg2);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 resultobj = result;
5857 return resultobj;
5858 fail:
5859 return NULL;
5860 }
5861
5862
5863 static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj;
5865 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5866 int arg2 = (int) -1 ;
5867 PyObject *result;
5868 PyObject * obj0 = 0 ;
5869 PyObject * obj1 = 0 ;
5870 char *kwnames[] = {
5871 (char *) "self",(char *) "sizehint", NULL
5872 };
5873
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
5875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5877 if (obj1) {
5878 arg2 = (int) SWIG_AsInt(obj1);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 result = (PyObject *)(arg1)->readlines(arg2);
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 resultobj = result;
5889 return resultobj;
5890 fail:
5891 return NULL;
5892 }
5893
5894
5895 static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj;
5897 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5898 int arg2 ;
5899 int arg3 = (int) 0 ;
5900 PyObject * obj0 = 0 ;
5901 PyObject * obj1 = 0 ;
5902 PyObject * obj2 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "self",(char *) "offset",(char *) "whence", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
5908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5910 arg2 = (int) SWIG_AsInt(obj1);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 if (obj2) {
5913 arg3 = (int) SWIG_AsInt(obj2);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 (arg1)->seek(arg2,arg3);
5919
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 Py_INCREF(Py_None); resultobj = Py_None;
5924 return resultobj;
5925 fail:
5926 return NULL;
5927 }
5928
5929
5930 static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5931 PyObject *resultobj;
5932 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5933 int result;
5934 PyObject * obj0 = 0 ;
5935 char *kwnames[] = {
5936 (char *) "self", NULL
5937 };
5938
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
5940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = (int)(arg1)->tell();
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 resultobj = SWIG_FromInt((int)result);
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5959 char result;
5960 PyObject * obj0 = 0 ;
5961 char *kwnames[] = {
5962 (char *) "self", NULL
5963 };
5964
5965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
5966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 result = (char)(arg1)->Peek();
5971
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 resultobj = SWIG_FromChar((char)result);
5976 return resultobj;
5977 fail:
5978 return NULL;
5979 }
5980
5981
5982 static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj;
5984 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5985 char result;
5986 PyObject * obj0 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (char)(arg1)->GetC();
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 resultobj = SWIG_FromChar((char)result);
6002 return resultobj;
6003 fail:
6004 return NULL;
6005 }
6006
6007
6008 static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj;
6010 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6011 size_t result;
6012 PyObject * obj0 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
6018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (size_t)(arg1)->LastRead();
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6037 bool result;
6038 PyObject * obj0 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
6044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 result = (bool)(arg1)->CanRead();
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 {
6054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6055 }
6056 return resultobj;
6057 fail:
6058 return NULL;
6059 }
6060
6061
6062 static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
6063 PyObject *resultobj;
6064 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6065 bool result;
6066 PyObject * obj0 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
6072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 result = (bool)(arg1)->Eof();
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 {
6082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6083 }
6084 return resultobj;
6085 fail:
6086 return NULL;
6087 }
6088
6089
6090 static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj;
6092 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6093 char arg2 ;
6094 bool result;
6095 PyObject * obj0 = 0 ;
6096 PyObject * obj1 = 0 ;
6097 char *kwnames[] = {
6098 (char *) "self",(char *) "c", NULL
6099 };
6100
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
6102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6104 arg2 = (char) SWIG_AsChar(obj1);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 result = (bool)(arg1)->Ungetch(arg2);
6109
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 {
6114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6115 }
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6125 long arg2 ;
6126 int arg3 = (int) wxFromStart ;
6127 long result;
6128 PyObject * obj0 = 0 ;
6129 PyObject * obj1 = 0 ;
6130 PyObject * obj2 = 0 ;
6131 char *kwnames[] = {
6132 (char *) "self",(char *) "pos",(char *) "mode", NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
6136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6138 arg2 = (long) SWIG_AsLong(obj1);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 if (obj2) {
6141 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 resultobj = SWIG_FromLong((long)result);
6152 return resultobj;
6153 fail:
6154 return NULL;
6155 }
6156
6157
6158 static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6161 long result;
6162 PyObject * obj0 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6170 {
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 result = (long)(arg1)->TellI();
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 resultobj = SWIG_FromLong((long)result);
6178 return resultobj;
6179 fail:
6180 return NULL;
6181 }
6182
6183
6184 static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
6185 PyObject *obj;
6186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6187 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6188 Py_INCREF(obj);
6189 return Py_BuildValue((char *)"");
6190 }
6191 static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
6192 PyObject *resultobj;
6193 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6194 PyObject *arg2 = (PyObject *) 0 ;
6195 PyObject * obj0 = 0 ;
6196 PyObject * obj1 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self",(char *) "obj", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
6202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6204 arg2 = obj1;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 wxOutputStream_write(arg1,arg2);
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 Py_INCREF(Py_None); resultobj = Py_None;
6213 return resultobj;
6214 fail:
6215 return NULL;
6216 }
6217
6218
6219 static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
6220 PyObject *obj;
6221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6222 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6223 Py_INCREF(obj);
6224 return Py_BuildValue((char *)"");
6225 }
6226 static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6227 PyObject *resultobj;
6228 wxInputStream *arg1 = (wxInputStream *) 0 ;
6229 wxString *arg2 = 0 ;
6230 wxString *arg3 = 0 ;
6231 wxString *arg4 = 0 ;
6232 wxDateTime arg5 ;
6233 wxFSFile *result;
6234 wxPyInputStream *temp1 ;
6235 bool created1 ;
6236 bool temp2 = False ;
6237 bool temp3 = False ;
6238 bool temp4 = False ;
6239 wxDateTime *argp5 ;
6240 PyObject * obj0 = 0 ;
6241 PyObject * obj1 = 0 ;
6242 PyObject * obj2 = 0 ;
6243 PyObject * obj3 = 0 ;
6244 PyObject * obj4 = 0 ;
6245 char *kwnames[] = {
6246 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6247 };
6248
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6250 {
6251 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6252 arg1 = temp1->m_wxis;
6253 created1 = False;
6254 } else {
6255 PyErr_Clear(); // clear the failure of the wxPyConvert above
6256 arg1 = wxPyCBInputStream_create(obj0, False);
6257 if (arg1 == NULL) {
6258 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6259 SWIG_fail;
6260 }
6261 created1 = True;
6262 }
6263 }
6264 {
6265 arg2 = wxString_in_helper(obj1);
6266 if (arg2 == NULL) SWIG_fail;
6267 temp2 = True;
6268 }
6269 {
6270 arg3 = wxString_in_helper(obj2);
6271 if (arg3 == NULL) SWIG_fail;
6272 temp3 = True;
6273 }
6274 {
6275 arg4 = wxString_in_helper(obj3);
6276 if (arg4 == NULL) SWIG_fail;
6277 temp4 = True;
6278 }
6279 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6280 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6281 arg5 = *argp5;
6282 {
6283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6284 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6285
6286 wxPyEndAllowThreads(__tstate);
6287 if (PyErr_Occurred()) SWIG_fail;
6288 }
6289 {
6290 resultobj = wxPyMake_wxObject(result);
6291 }
6292 {
6293 if (created1)
6294 delete arg1;
6295 }
6296 {
6297 if (temp2)
6298 delete arg2;
6299 }
6300 {
6301 if (temp3)
6302 delete arg3;
6303 }
6304 {
6305 if (temp4)
6306 delete arg4;
6307 }
6308 return resultobj;
6309 fail:
6310 {
6311 if (created1)
6312 delete arg1;
6313 }
6314 {
6315 if (temp2)
6316 delete arg2;
6317 }
6318 {
6319 if (temp3)
6320 delete arg3;
6321 }
6322 {
6323 if (temp4)
6324 delete arg4;
6325 }
6326 return NULL;
6327 }
6328
6329
6330 static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj;
6332 wxFSFile *arg1 = (wxFSFile *) 0 ;
6333 PyObject * obj0 = 0 ;
6334 char *kwnames[] = {
6335 (char *) "self", NULL
6336 };
6337
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
6339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 delete arg1;
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 Py_INCREF(Py_None); resultobj = Py_None;
6349 return resultobj;
6350 fail:
6351 return NULL;
6352 }
6353
6354
6355 static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6356 PyObject *resultobj;
6357 wxFSFile *arg1 = (wxFSFile *) 0 ;
6358 wxInputStream *result;
6359 PyObject * obj0 = 0 ;
6360 char *kwnames[] = {
6361 (char *) "self", NULL
6362 };
6363
6364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
6365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 result = (wxInputStream *)(arg1)->GetStream();
6370
6371 wxPyEndAllowThreads(__tstate);
6372 if (PyErr_Occurred()) SWIG_fail;
6373 }
6374 {
6375 wxPyInputStream * _ptr = NULL;
6376
6377 if (result) {
6378 _ptr = new wxPyInputStream(result);
6379 }
6380 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
6381 }
6382 return resultobj;
6383 fail:
6384 return NULL;
6385 }
6386
6387
6388 static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj;
6390 wxFSFile *arg1 = (wxFSFile *) 0 ;
6391 wxString *result;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
6398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 {
6403 wxString const &_result_ref = (arg1)->GetMimeType();
6404 result = (wxString *) &_result_ref;
6405 }
6406
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 {
6411 #if wxUSE_UNICODE
6412 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6413 #else
6414 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6415 #endif
6416 }
6417 return resultobj;
6418 fail:
6419 return NULL;
6420 }
6421
6422
6423 static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxFSFile *arg1 = (wxFSFile *) 0 ;
6426 wxString *result;
6427 PyObject * obj0 = 0 ;
6428 char *kwnames[] = {
6429 (char *) "self", NULL
6430 };
6431
6432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
6433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 {
6438 wxString const &_result_ref = (arg1)->GetLocation();
6439 result = (wxString *) &_result_ref;
6440 }
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 {
6446 #if wxUSE_UNICODE
6447 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6448 #else
6449 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6450 #endif
6451 }
6452 return resultobj;
6453 fail:
6454 return NULL;
6455 }
6456
6457
6458 static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6459 PyObject *resultobj;
6460 wxFSFile *arg1 = (wxFSFile *) 0 ;
6461 wxString *result;
6462 PyObject * obj0 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 {
6473 wxString const &_result_ref = (arg1)->GetAnchor();
6474 result = (wxString *) &_result_ref;
6475 }
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 {
6481 #if wxUSE_UNICODE
6482 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6483 #else
6484 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6485 #endif
6486 }
6487 return resultobj;
6488 fail:
6489 return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxFSFile *arg1 = (wxFSFile *) 0 ;
6496 wxDateTime result;
6497 PyObject * obj0 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
6503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 result = (arg1)->GetModificationTime();
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 {
6513 wxDateTime * resultptr;
6514 resultptr = new wxDateTime((wxDateTime &) result);
6515 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
6516 }
6517 return resultobj;
6518 fail:
6519 return NULL;
6520 }
6521
6522
6523 static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6524 PyObject *obj;
6525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6526 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6527 Py_INCREF(obj);
6528 return Py_BuildValue((char *)"");
6529 }
6530 static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6531 PyObject *obj;
6532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6533 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6534 Py_INCREF(obj);
6535 return Py_BuildValue((char *)"");
6536 }
6537 static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6538 PyObject *resultobj;
6539 wxPyFileSystemHandler *result;
6540 char *kwnames[] = {
6541 NULL
6542 };
6543
6544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
6553 return resultobj;
6554 fail:
6555 return NULL;
6556 }
6557
6558
6559 static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6562 PyObject *arg2 = (PyObject *) 0 ;
6563 PyObject *arg3 = (PyObject *) 0 ;
6564 PyObject * obj0 = 0 ;
6565 PyObject * obj1 = 0 ;
6566 PyObject * obj2 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "self",(char *) "self",(char *) "_class", NULL
6569 };
6570
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6574 arg2 = obj1;
6575 arg3 = obj2;
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 (arg1)->_setCallbackInfo(arg2,arg3);
6579
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 Py_INCREF(Py_None); resultobj = Py_None;
6584 return resultobj;
6585 fail:
6586 return NULL;
6587 }
6588
6589
6590 static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6591 PyObject *resultobj;
6592 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6593 wxString *arg2 = 0 ;
6594 bool result;
6595 bool temp2 = False ;
6596 PyObject * obj0 = 0 ;
6597 PyObject * obj1 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self",(char *) "location", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6605 {
6606 arg2 = wxString_in_helper(obj1);
6607 if (arg2 == NULL) SWIG_fail;
6608 temp2 = True;
6609 }
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6613
6614 wxPyEndAllowThreads(__tstate);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 {
6618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6619 }
6620 {
6621 if (temp2)
6622 delete arg2;
6623 }
6624 return resultobj;
6625 fail:
6626 {
6627 if (temp2)
6628 delete arg2;
6629 }
6630 return NULL;
6631 }
6632
6633
6634 static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6637 wxFileSystem *arg2 = 0 ;
6638 wxString *arg3 = 0 ;
6639 wxFSFile *result;
6640 bool temp3 = False ;
6641 PyObject * obj0 = 0 ;
6642 PyObject * obj1 = 0 ;
6643 PyObject * obj2 = 0 ;
6644 char *kwnames[] = {
6645 (char *) "self",(char *) "fs",(char *) "location", NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6652 SWIG_POINTER_EXCEPTION | 0)) == -1)
6653 SWIG_fail;
6654 if (arg2 == NULL) {
6655 PyErr_SetString(PyExc_TypeError,"null reference");
6656 SWIG_fail;
6657 }
6658 {
6659 arg3 = wxString_in_helper(obj2);
6660 if (arg3 == NULL) SWIG_fail;
6661 temp3 = True;
6662 }
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 {
6671 resultobj = wxPyMake_wxObject(result);
6672 }
6673 {
6674 if (temp3)
6675 delete arg3;
6676 }
6677 return resultobj;
6678 fail:
6679 {
6680 if (temp3)
6681 delete arg3;
6682 }
6683 return NULL;
6684 }
6685
6686
6687 static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6688 PyObject *resultobj;
6689 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6690 wxString *arg2 = 0 ;
6691 int arg3 = (int) 0 ;
6692 wxString result;
6693 bool temp2 = False ;
6694 PyObject * obj0 = 0 ;
6695 PyObject * obj1 = 0 ;
6696 PyObject * obj2 = 0 ;
6697 char *kwnames[] = {
6698 (char *) "self",(char *) "spec",(char *) "flags", NULL
6699 };
6700
6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
6702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6704 {
6705 arg2 = wxString_in_helper(obj1);
6706 if (arg2 == NULL) SWIG_fail;
6707 temp2 = True;
6708 }
6709 if (obj2) {
6710 arg3 = (int) SWIG_AsInt(obj2);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6716
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 {
6721 #if wxUSE_UNICODE
6722 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6723 #else
6724 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6725 #endif
6726 }
6727 {
6728 if (temp2)
6729 delete arg2;
6730 }
6731 return resultobj;
6732 fail:
6733 {
6734 if (temp2)
6735 delete arg2;
6736 }
6737 return NULL;
6738 }
6739
6740
6741 static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj;
6743 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6744 wxString result;
6745 PyObject * obj0 = 0 ;
6746 char *kwnames[] = {
6747 (char *) "self", NULL
6748 };
6749
6750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
6751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6753 {
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 result = (arg1)->FindNext();
6756
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 {
6761 #if wxUSE_UNICODE
6762 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6763 #else
6764 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6765 #endif
6766 }
6767 return resultobj;
6768 fail:
6769 return NULL;
6770 }
6771
6772
6773 static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6774 PyObject *resultobj;
6775 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6776 wxString *arg2 = 0 ;
6777 wxString result;
6778 bool temp2 = False ;
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "self",(char *) "location", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
6786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6788 {
6789 arg2 = wxString_in_helper(obj1);
6790 if (arg2 == NULL) SWIG_fail;
6791 temp2 = True;
6792 }
6793 {
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 result = (arg1)->GetProtocol((wxString const &)*arg2);
6796
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 {
6801 #if wxUSE_UNICODE
6802 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6803 #else
6804 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6805 #endif
6806 }
6807 {
6808 if (temp2)
6809 delete arg2;
6810 }
6811 return resultobj;
6812 fail:
6813 {
6814 if (temp2)
6815 delete arg2;
6816 }
6817 return NULL;
6818 }
6819
6820
6821 static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj;
6823 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6824 wxString *arg2 = 0 ;
6825 wxString result;
6826 bool temp2 = False ;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 char *kwnames[] = {
6830 (char *) "self",(char *) "location", NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
6834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6836 {
6837 arg2 = wxString_in_helper(obj1);
6838 if (arg2 == NULL) SWIG_fail;
6839 temp2 = True;
6840 }
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 {
6849 #if wxUSE_UNICODE
6850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6851 #else
6852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6853 #endif
6854 }
6855 {
6856 if (temp2)
6857 delete arg2;
6858 }
6859 return resultobj;
6860 fail:
6861 {
6862 if (temp2)
6863 delete arg2;
6864 }
6865 return NULL;
6866 }
6867
6868
6869 static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6870 PyObject *resultobj;
6871 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6872 wxString *arg2 = 0 ;
6873 wxString result;
6874 bool temp2 = False ;
6875 PyObject * obj0 = 0 ;
6876 PyObject * obj1 = 0 ;
6877 char *kwnames[] = {
6878 (char *) "self",(char *) "location", NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
6882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6884 {
6885 arg2 = wxString_in_helper(obj1);
6886 if (arg2 == NULL) SWIG_fail;
6887 temp2 = True;
6888 }
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = (arg1)->GetAnchor((wxString const &)*arg2);
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 {
6897 #if wxUSE_UNICODE
6898 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6899 #else
6900 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6901 #endif
6902 }
6903 {
6904 if (temp2)
6905 delete arg2;
6906 }
6907 return resultobj;
6908 fail:
6909 {
6910 if (temp2)
6911 delete arg2;
6912 }
6913 return NULL;
6914 }
6915
6916
6917 static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6920 wxString *arg2 = 0 ;
6921 wxString result;
6922 bool temp2 = False ;
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self",(char *) "location", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
6930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6932 {
6933 arg2 = wxString_in_helper(obj1);
6934 if (arg2 == NULL) SWIG_fail;
6935 temp2 = True;
6936 }
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 {
6945 #if wxUSE_UNICODE
6946 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6947 #else
6948 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6949 #endif
6950 }
6951 {
6952 if (temp2)
6953 delete arg2;
6954 }
6955 return resultobj;
6956 fail:
6957 {
6958 if (temp2)
6959 delete arg2;
6960 }
6961 return NULL;
6962 }
6963
6964
6965 static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6966 PyObject *resultobj;
6967 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6968 wxString *arg2 = 0 ;
6969 wxString result;
6970 bool temp2 = False ;
6971 PyObject * obj0 = 0 ;
6972 PyObject * obj1 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self",(char *) "location", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
6978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6980 {
6981 arg2 = wxString_in_helper(obj1);
6982 if (arg2 == NULL) SWIG_fail;
6983 temp2 = True;
6984 }
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
6992 {
6993 #if wxUSE_UNICODE
6994 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6995 #else
6996 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6997 #endif
6998 }
6999 {
7000 if (temp2)
7001 delete arg2;
7002 }
7003 return resultobj;
7004 fail:
7005 {
7006 if (temp2)
7007 delete arg2;
7008 }
7009 return NULL;
7010 }
7011
7012
7013 static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
7014 PyObject *obj;
7015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7016 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
7017 Py_INCREF(obj);
7018 return Py_BuildValue((char *)"");
7019 }
7020 static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxFileSystem *result;
7023 char *kwnames[] = {
7024 NULL
7025 };
7026
7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (wxFileSystem *)new wxFileSystem();
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 {
7036 resultobj = wxPyMake_wxObject(result);
7037 }
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7047 PyObject * obj0 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
7053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 delete arg1;
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 Py_INCREF(Py_None); resultobj = Py_None;
7063 return resultobj;
7064 fail:
7065 return NULL;
7066 }
7067
7068
7069 static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7070 PyObject *resultobj;
7071 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7072 wxString *arg2 = 0 ;
7073 bool arg3 = (bool) False ;
7074 bool temp2 = False ;
7075 PyObject * obj0 = 0 ;
7076 PyObject * obj1 = 0 ;
7077 PyObject * obj2 = 0 ;
7078 char *kwnames[] = {
7079 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7080 };
7081
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7085 {
7086 arg2 = wxString_in_helper(obj1);
7087 if (arg2 == NULL) SWIG_fail;
7088 temp2 = True;
7089 }
7090 if (obj2) {
7091 arg3 = (bool) SWIG_AsBool(obj2);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 Py_INCREF(Py_None); resultobj = Py_None;
7102 {
7103 if (temp2)
7104 delete arg2;
7105 }
7106 return resultobj;
7107 fail:
7108 {
7109 if (temp2)
7110 delete arg2;
7111 }
7112 return NULL;
7113 }
7114
7115
7116 static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7117 PyObject *resultobj;
7118 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7119 wxString result;
7120 PyObject * obj0 = 0 ;
7121 char *kwnames[] = {
7122 (char *) "self", NULL
7123 };
7124
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
7126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (arg1)->GetPath();
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 {
7136 #if wxUSE_UNICODE
7137 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7138 #else
7139 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7140 #endif
7141 }
7142 return resultobj;
7143 fail:
7144 return NULL;
7145 }
7146
7147
7148 static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7149 PyObject *resultobj;
7150 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7151 wxString *arg2 = 0 ;
7152 wxFSFile *result;
7153 bool temp2 = False ;
7154 PyObject * obj0 = 0 ;
7155 PyObject * obj1 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self",(char *) "location", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
7161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7163 {
7164 arg2 = wxString_in_helper(obj1);
7165 if (arg2 == NULL) SWIG_fail;
7166 temp2 = True;
7167 }
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 {
7176 resultobj = wxPyMake_wxObject(result);
7177 }
7178 {
7179 if (temp2)
7180 delete arg2;
7181 }
7182 return resultobj;
7183 fail:
7184 {
7185 if (temp2)
7186 delete arg2;
7187 }
7188 return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7195 wxString *arg2 = 0 ;
7196 int arg3 = (int) 0 ;
7197 wxString result;
7198 bool temp2 = False ;
7199 PyObject * obj0 = 0 ;
7200 PyObject * obj1 = 0 ;
7201 PyObject * obj2 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self",(char *) "spec",(char *) "flags", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7209 {
7210 arg2 = wxString_in_helper(obj1);
7211 if (arg2 == NULL) SWIG_fail;
7212 temp2 = True;
7213 }
7214 if (obj2) {
7215 arg3 = (int) SWIG_AsInt(obj2);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7221
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 {
7226 #if wxUSE_UNICODE
7227 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7228 #else
7229 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7230 #endif
7231 }
7232 {
7233 if (temp2)
7234 delete arg2;
7235 }
7236 return resultobj;
7237 fail:
7238 {
7239 if (temp2)
7240 delete arg2;
7241 }
7242 return NULL;
7243 }
7244
7245
7246 static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj;
7248 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7249 wxString result;
7250 PyObject * obj0 = 0 ;
7251 char *kwnames[] = {
7252 (char *) "self", NULL
7253 };
7254
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
7256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = (arg1)->FindNext();
7261
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 {
7266 #if wxUSE_UNICODE
7267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7268 #else
7269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7270 #endif
7271 }
7272 return resultobj;
7273 fail:
7274 return NULL;
7275 }
7276
7277
7278 static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7279 PyObject *resultobj;
7280 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7281 PyObject * obj0 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "handler", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
7287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 wxFileSystem::AddHandler(arg1);
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 Py_INCREF(Py_None); resultobj = Py_None;
7297 return resultobj;
7298 fail:
7299 return NULL;
7300 }
7301
7302
7303 static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
7304 PyObject *resultobj;
7305 char *kwnames[] = {
7306 NULL
7307 };
7308
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 wxFileSystem::CleanUpHandlers();
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 Py_INCREF(Py_None); resultobj = Py_None;
7318 return resultobj;
7319 fail:
7320 return NULL;
7321 }
7322
7323
7324 static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxString *arg1 = 0 ;
7327 wxString result;
7328 bool temp1 = False ;
7329 PyObject * obj0 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "filename", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7335 {
7336 arg1 = wxString_in_helper(obj0);
7337 if (arg1 == NULL) SWIG_fail;
7338 temp1 = True;
7339 }
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 {
7348 #if wxUSE_UNICODE
7349 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7350 #else
7351 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7352 #endif
7353 }
7354 {
7355 if (temp1)
7356 delete arg1;
7357 }
7358 return resultobj;
7359 fail:
7360 {
7361 if (temp1)
7362 delete arg1;
7363 }
7364 return NULL;
7365 }
7366
7367
7368 static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
7369 PyObject *obj;
7370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7371 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7372 Py_INCREF(obj);
7373 return Py_BuildValue((char *)"");
7374 }
7375 static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 wxString *arg1 = 0 ;
7378 wxString result;
7379 bool temp1 = False ;
7380 PyObject * obj0 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "url", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7386 {
7387 arg1 = wxString_in_helper(obj0);
7388 if (arg1 == NULL) SWIG_fail;
7389 temp1 = True;
7390 }
7391 {
7392 PyThreadState* __tstate = wxPyBeginAllowThreads();
7393 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7394
7395 wxPyEndAllowThreads(__tstate);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 }
7398 {
7399 #if wxUSE_UNICODE
7400 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7401 #else
7402 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7403 #endif
7404 }
7405 {
7406 if (temp1)
7407 delete arg1;
7408 }
7409 return resultobj;
7410 fail:
7411 {
7412 if (temp1)
7413 delete arg1;
7414 }
7415 return NULL;
7416 }
7417
7418
7419 static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxInternetFSHandler *result;
7422 char *kwnames[] = {
7423 NULL
7424 };
7425
7426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
7435 return resultobj;
7436 fail:
7437 return NULL;
7438 }
7439
7440
7441 static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj;
7443 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7444 wxString *arg2 = 0 ;
7445 bool result;
7446 bool temp2 = False ;
7447 PyObject * obj0 = 0 ;
7448 PyObject * obj1 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self",(char *) "location", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7456 {
7457 arg2 = wxString_in_helper(obj1);
7458 if (arg2 == NULL) SWIG_fail;
7459 temp2 = True;
7460 }
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 {
7469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7470 }
7471 {
7472 if (temp2)
7473 delete arg2;
7474 }
7475 return resultobj;
7476 fail:
7477 {
7478 if (temp2)
7479 delete arg2;
7480 }
7481 return NULL;
7482 }
7483
7484
7485 static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject *resultobj;
7487 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7488 wxFileSystem *arg2 = 0 ;
7489 wxString *arg3 = 0 ;
7490 wxFSFile *result;
7491 bool temp3 = False ;
7492 PyObject * obj0 = 0 ;
7493 PyObject * obj1 = 0 ;
7494 PyObject * obj2 = 0 ;
7495 char *kwnames[] = {
7496 (char *) "self",(char *) "fs",(char *) "location", NULL
7497 };
7498
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7503 SWIG_POINTER_EXCEPTION | 0)) == -1)
7504 SWIG_fail;
7505 if (arg2 == NULL) {
7506 PyErr_SetString(PyExc_TypeError,"null reference");
7507 SWIG_fail;
7508 }
7509 {
7510 arg3 = wxString_in_helper(obj2);
7511 if (arg3 == NULL) SWIG_fail;
7512 temp3 = True;
7513 }
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 {
7522 resultobj = wxPyMake_wxObject(result);
7523 }
7524 {
7525 if (temp3)
7526 delete arg3;
7527 }
7528 return resultobj;
7529 fail:
7530 {
7531 if (temp3)
7532 delete arg3;
7533 }
7534 return NULL;
7535 }
7536
7537
7538 static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7539 PyObject *obj;
7540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7541 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7542 Py_INCREF(obj);
7543 return Py_BuildValue((char *)"");
7544 }
7545 static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7546 PyObject *resultobj;
7547 wxZipFSHandler *result;
7548 char *kwnames[] = {
7549 NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 result = (wxZipFSHandler *)new wxZipFSHandler();
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
7561 return resultobj;
7562 fail:
7563 return NULL;
7564 }
7565
7566
7567 static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj;
7569 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7570 wxString *arg2 = 0 ;
7571 bool result;
7572 bool temp2 = False ;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self",(char *) "location", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7582 {
7583 arg2 = wxString_in_helper(obj1);
7584 if (arg2 == NULL) SWIG_fail;
7585 temp2 = True;
7586 }
7587 {
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
7594 {
7595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7596 }
7597 {
7598 if (temp2)
7599 delete arg2;
7600 }
7601 return resultobj;
7602 fail:
7603 {
7604 if (temp2)
7605 delete arg2;
7606 }
7607 return NULL;
7608 }
7609
7610
7611 static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj;
7613 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7614 wxFileSystem *arg2 = 0 ;
7615 wxString *arg3 = 0 ;
7616 wxFSFile *result;
7617 bool temp3 = False ;
7618 PyObject * obj0 = 0 ;
7619 PyObject * obj1 = 0 ;
7620 PyObject * obj2 = 0 ;
7621 char *kwnames[] = {
7622 (char *) "self",(char *) "fs",(char *) "location", NULL
7623 };
7624
7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7629 SWIG_POINTER_EXCEPTION | 0)) == -1)
7630 SWIG_fail;
7631 if (arg2 == NULL) {
7632 PyErr_SetString(PyExc_TypeError,"null reference");
7633 SWIG_fail;
7634 }
7635 {
7636 arg3 = wxString_in_helper(obj2);
7637 if (arg3 == NULL) SWIG_fail;
7638 temp3 = True;
7639 }
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 {
7648 resultobj = wxPyMake_wxObject(result);
7649 }
7650 {
7651 if (temp3)
7652 delete arg3;
7653 }
7654 return resultobj;
7655 fail:
7656 {
7657 if (temp3)
7658 delete arg3;
7659 }
7660 return NULL;
7661 }
7662
7663
7664 static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj;
7666 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7667 wxString *arg2 = 0 ;
7668 int arg3 = (int) 0 ;
7669 wxString result;
7670 bool temp2 = False ;
7671 PyObject * obj0 = 0 ;
7672 PyObject * obj1 = 0 ;
7673 PyObject * obj2 = 0 ;
7674 char *kwnames[] = {
7675 (char *) "self",(char *) "spec",(char *) "flags", NULL
7676 };
7677
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7681 {
7682 arg2 = wxString_in_helper(obj1);
7683 if (arg2 == NULL) SWIG_fail;
7684 temp2 = True;
7685 }
7686 if (obj2) {
7687 arg3 = (int) SWIG_AsInt(obj2);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 {
7698 #if wxUSE_UNICODE
7699 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7700 #else
7701 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7702 #endif
7703 }
7704 {
7705 if (temp2)
7706 delete arg2;
7707 }
7708 return resultobj;
7709 fail:
7710 {
7711 if (temp2)
7712 delete arg2;
7713 }
7714 return NULL;
7715 }
7716
7717
7718 static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj;
7720 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7721 wxString result;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 result = (arg1)->FindNext();
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 {
7738 #if wxUSE_UNICODE
7739 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7740 #else
7741 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7742 #endif
7743 }
7744 return resultobj;
7745 fail:
7746 return NULL;
7747 }
7748
7749
7750 static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7751 PyObject *obj;
7752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7753 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7754 Py_INCREF(obj);
7755 return Py_BuildValue((char *)"");
7756 }
7757 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj;
7759 wxString *arg1 = 0 ;
7760 wxImage *arg2 = 0 ;
7761 long arg3 ;
7762 bool temp1 = False ;
7763 PyObject * obj0 = 0 ;
7764 PyObject * obj1 = 0 ;
7765 PyObject * obj2 = 0 ;
7766 char *kwnames[] = {
7767 (char *) "filename",(char *) "image",(char *) "type", NULL
7768 };
7769
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
7771 {
7772 arg1 = wxString_in_helper(obj0);
7773 if (arg1 == NULL) SWIG_fail;
7774 temp1 = True;
7775 }
7776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7777 SWIG_POINTER_EXCEPTION | 0)) == -1)
7778 SWIG_fail;
7779 if (arg2 == NULL) {
7780 PyErr_SetString(PyExc_TypeError,"null reference");
7781 SWIG_fail;
7782 }
7783 arg3 = (long) SWIG_AsLong(obj2);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 Py_INCREF(Py_None); resultobj = Py_None;
7793 {
7794 if (temp1)
7795 delete arg1;
7796 }
7797 return resultobj;
7798 fail:
7799 {
7800 if (temp1)
7801 delete arg1;
7802 }
7803 return NULL;
7804 }
7805
7806
7807 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj;
7809 wxString *arg1 = 0 ;
7810 wxBitmap *arg2 = 0 ;
7811 long arg3 ;
7812 bool temp1 = False ;
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
7815 PyObject * obj2 = 0 ;
7816 char *kwnames[] = {
7817 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7818 };
7819
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
7821 {
7822 arg1 = wxString_in_helper(obj0);
7823 if (arg1 == NULL) SWIG_fail;
7824 temp1 = True;
7825 }
7826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7827 SWIG_POINTER_EXCEPTION | 0)) == -1)
7828 SWIG_fail;
7829 if (arg2 == NULL) {
7830 PyErr_SetString(PyExc_TypeError,"null reference");
7831 SWIG_fail;
7832 }
7833 arg3 = (long) SWIG_AsLong(obj2);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 Py_INCREF(Py_None); resultobj = Py_None;
7843 {
7844 if (temp1)
7845 delete arg1;
7846 }
7847 return resultobj;
7848 fail:
7849 {
7850 if (temp1)
7851 delete arg1;
7852 }
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxString *arg1 = 0 ;
7860 PyObject *arg2 = (PyObject *) 0 ;
7861 bool temp1 = False ;
7862 PyObject * obj0 = 0 ;
7863 PyObject * obj1 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "filename",(char *) "data", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7869 {
7870 arg1 = wxString_in_helper(obj0);
7871 if (arg1 == NULL) SWIG_fail;
7872 temp1 = True;
7873 }
7874 arg2 = obj1;
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7878
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 Py_INCREF(Py_None); resultobj = Py_None;
7883 {
7884 if (temp1)
7885 delete arg1;
7886 }
7887 return resultobj;
7888 fail:
7889 {
7890 if (temp1)
7891 delete arg1;
7892 }
7893 return NULL;
7894 }
7895
7896
7897 static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7898 PyObject *resultobj;
7899 wxMemoryFSHandler *result;
7900 char *kwnames[] = {
7901 NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
7913 return resultobj;
7914 fail:
7915 return NULL;
7916 }
7917
7918
7919 static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7920 PyObject *resultobj;
7921 wxString *arg1 = 0 ;
7922 bool temp1 = False ;
7923 PyObject * obj0 = 0 ;
7924 char *kwnames[] = {
7925 (char *) "filename", NULL
7926 };
7927
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7929 {
7930 arg1 = wxString_in_helper(obj0);
7931 if (arg1 == NULL) SWIG_fail;
7932 temp1 = True;
7933 }
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 Py_INCREF(Py_None); resultobj = Py_None;
7942 {
7943 if (temp1)
7944 delete arg1;
7945 }
7946 return resultobj;
7947 fail:
7948 {
7949 if (temp1)
7950 delete arg1;
7951 }
7952 return NULL;
7953 }
7954
7955
7956 static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7957 PyObject *resultobj;
7958 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7959 wxString *arg2 = 0 ;
7960 bool result;
7961 bool temp2 = False ;
7962 PyObject * obj0 = 0 ;
7963 PyObject * obj1 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self",(char *) "location", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7971 {
7972 arg2 = wxString_in_helper(obj1);
7973 if (arg2 == NULL) SWIG_fail;
7974 temp2 = True;
7975 }
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7979
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 {
7984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7985 }
7986 {
7987 if (temp2)
7988 delete arg2;
7989 }
7990 return resultobj;
7991 fail:
7992 {
7993 if (temp2)
7994 delete arg2;
7995 }
7996 return NULL;
7997 }
7998
7999
8000 static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj;
8002 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8003 wxFileSystem *arg2 = 0 ;
8004 wxString *arg3 = 0 ;
8005 wxFSFile *result;
8006 bool temp3 = False ;
8007 PyObject * obj0 = 0 ;
8008 PyObject * obj1 = 0 ;
8009 PyObject * obj2 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self",(char *) "fs",(char *) "location", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
8015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
8018 SWIG_POINTER_EXCEPTION | 0)) == -1)
8019 SWIG_fail;
8020 if (arg2 == NULL) {
8021 PyErr_SetString(PyExc_TypeError,"null reference");
8022 SWIG_fail;
8023 }
8024 {
8025 arg3 = wxString_in_helper(obj2);
8026 if (arg3 == NULL) SWIG_fail;
8027 temp3 = True;
8028 }
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 {
8037 resultobj = wxPyMake_wxObject(result);
8038 }
8039 {
8040 if (temp3)
8041 delete arg3;
8042 }
8043 return resultobj;
8044 fail:
8045 {
8046 if (temp3)
8047 delete arg3;
8048 }
8049 return NULL;
8050 }
8051
8052
8053 static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8056 wxString *arg2 = 0 ;
8057 int arg3 = (int) 0 ;
8058 wxString result;
8059 bool temp2 = False ;
8060 PyObject * obj0 = 0 ;
8061 PyObject * obj1 = 0 ;
8062 PyObject * obj2 = 0 ;
8063 char *kwnames[] = {
8064 (char *) "self",(char *) "spec",(char *) "flags", NULL
8065 };
8066
8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
8068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8070 {
8071 arg2 = wxString_in_helper(obj1);
8072 if (arg2 == NULL) SWIG_fail;
8073 temp2 = True;
8074 }
8075 if (obj2) {
8076 arg3 = (int) SWIG_AsInt(obj2);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 {
8087 #if wxUSE_UNICODE
8088 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8089 #else
8090 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8091 #endif
8092 }
8093 {
8094 if (temp2)
8095 delete arg2;
8096 }
8097 return resultobj;
8098 fail:
8099 {
8100 if (temp2)
8101 delete arg2;
8102 }
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8110 wxString result;
8111 PyObject * obj0 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = (arg1)->FindNext();
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 {
8127 #if wxUSE_UNICODE
8128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8129 #else
8130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8131 #endif
8132 }
8133 return resultobj;
8134 fail:
8135 return NULL;
8136 }
8137
8138
8139 static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
8140 PyObject *obj;
8141 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8142 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8143 Py_INCREF(obj);
8144 return Py_BuildValue((char *)"");
8145 }
8146 static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8149 wxString result;
8150 PyObject * obj0 = 0 ;
8151 char *kwnames[] = {
8152 (char *) "self", NULL
8153 };
8154
8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
8156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8158 {
8159 PyThreadState* __tstate = wxPyBeginAllowThreads();
8160 result = (arg1)->GetName();
8161
8162 wxPyEndAllowThreads(__tstate);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 }
8165 {
8166 #if wxUSE_UNICODE
8167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8168 #else
8169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8170 #endif
8171 }
8172 return resultobj;
8173 fail:
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8181 wxString result;
8182 PyObject * obj0 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "self", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
8188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (arg1)->GetExtension();
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 {
8198 #if wxUSE_UNICODE
8199 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8200 #else
8201 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8202 #endif
8203 }
8204 return resultobj;
8205 fail:
8206 return NULL;
8207 }
8208
8209
8210 static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj;
8212 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8213 long result;
8214 PyObject * obj0 = 0 ;
8215 char *kwnames[] = {
8216 (char *) "self", NULL
8217 };
8218
8219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
8220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8222 {
8223 PyThreadState* __tstate = wxPyBeginAllowThreads();
8224 result = (long)(arg1)->GetType();
8225
8226 wxPyEndAllowThreads(__tstate);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 resultobj = SWIG_FromLong((long)result);
8230 return resultobj;
8231 fail:
8232 return NULL;
8233 }
8234
8235
8236 static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8237 PyObject *resultobj;
8238 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8239 wxString result;
8240 PyObject * obj0 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
8246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 result = (arg1)->GetMimeType();
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 {
8256 #if wxUSE_UNICODE
8257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8258 #else
8259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8260 #endif
8261 }
8262 return resultobj;
8263 fail:
8264 return NULL;
8265 }
8266
8267
8268 static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj;
8270 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8271 wxString *arg2 = 0 ;
8272 bool result;
8273 bool temp2 = False ;
8274 PyObject * obj0 = 0 ;
8275 PyObject * obj1 = 0 ;
8276 char *kwnames[] = {
8277 (char *) "self",(char *) "name", NULL
8278 };
8279
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
8281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8283 {
8284 arg2 = wxString_in_helper(obj1);
8285 if (arg2 == NULL) SWIG_fail;
8286 temp2 = True;
8287 }
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 {
8296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8297 }
8298 {
8299 if (temp2)
8300 delete arg2;
8301 }
8302 return resultobj;
8303 fail:
8304 {
8305 if (temp2)
8306 delete arg2;
8307 }
8308 return NULL;
8309 }
8310
8311
8312 static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8315 wxString *arg2 = 0 ;
8316 bool temp2 = False ;
8317 PyObject * obj0 = 0 ;
8318 PyObject * obj1 = 0 ;
8319 char *kwnames[] = {
8320 (char *) "self",(char *) "name", NULL
8321 };
8322
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
8324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8326 {
8327 arg2 = wxString_in_helper(obj1);
8328 if (arg2 == NULL) SWIG_fail;
8329 temp2 = True;
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 (arg1)->SetName((wxString const &)*arg2);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 Py_INCREF(Py_None); resultobj = Py_None;
8339 {
8340 if (temp2)
8341 delete arg2;
8342 }
8343 return resultobj;
8344 fail:
8345 {
8346 if (temp2)
8347 delete arg2;
8348 }
8349 return NULL;
8350 }
8351
8352
8353 static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8356 wxString *arg2 = 0 ;
8357 bool temp2 = False ;
8358 PyObject * obj0 = 0 ;
8359 PyObject * obj1 = 0 ;
8360 char *kwnames[] = {
8361 (char *) "self",(char *) "extension", NULL
8362 };
8363
8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
8365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8367 {
8368 arg2 = wxString_in_helper(obj1);
8369 if (arg2 == NULL) SWIG_fail;
8370 temp2 = True;
8371 }
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 (arg1)->SetExtension((wxString const &)*arg2);
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 Py_INCREF(Py_None); resultobj = Py_None;
8380 {
8381 if (temp2)
8382 delete arg2;
8383 }
8384 return resultobj;
8385 fail:
8386 {
8387 if (temp2)
8388 delete arg2;
8389 }
8390 return NULL;
8391 }
8392
8393
8394 static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8395 PyObject *resultobj;
8396 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8397 long arg2 ;
8398 PyObject * obj0 = 0 ;
8399 PyObject * obj1 = 0 ;
8400 char *kwnames[] = {
8401 (char *) "self",(char *) "type", NULL
8402 };
8403
8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
8405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8407 arg2 = (long) SWIG_AsLong(obj1);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 (arg1)->SetType(arg2);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 Py_INCREF(Py_None); resultobj = Py_None;
8417 return resultobj;
8418 fail:
8419 return NULL;
8420 }
8421
8422
8423 static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8426 wxString *arg2 = 0 ;
8427 bool temp2 = False ;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "self",(char *) "mimetype", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
8435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8437 {
8438 arg2 = wxString_in_helper(obj1);
8439 if (arg2 == NULL) SWIG_fail;
8440 temp2 = True;
8441 }
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 (arg1)->SetMimeType((wxString const &)*arg2);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 Py_INCREF(Py_None); resultobj = Py_None;
8450 {
8451 if (temp2)
8452 delete arg2;
8453 }
8454 return resultobj;
8455 fail:
8456 {
8457 if (temp2)
8458 delete arg2;
8459 }
8460 return NULL;
8461 }
8462
8463
8464 static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
8465 PyObject *obj;
8466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8467 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8468 Py_INCREF(obj);
8469 return Py_BuildValue((char *)"");
8470 }
8471 static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject *resultobj;
8473 wxImageHistogram *result;
8474 char *kwnames[] = {
8475 NULL
8476 };
8477
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8479 {
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 result = (wxImageHistogram *)new wxImageHistogram();
8482
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
8487 return resultobj;
8488 fail:
8489 return NULL;
8490 }
8491
8492
8493 static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8494 PyObject *resultobj;
8495 unsigned char arg1 ;
8496 unsigned char arg2 ;
8497 unsigned char arg3 ;
8498 unsigned long result;
8499 PyObject * obj0 = 0 ;
8500 PyObject * obj1 = 0 ;
8501 PyObject * obj2 = 0 ;
8502 char *kwnames[] = {
8503 (char *) "r",(char *) "g",(char *) "b", NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
8507 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 {
8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
8515 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8516
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8521 return resultobj;
8522 fail:
8523 return NULL;
8524 }
8525
8526
8527 static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8528 PyObject *resultobj;
8529 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8530 unsigned char *arg2 = (unsigned char *) 0 ;
8531 unsigned char *arg3 = (unsigned char *) 0 ;
8532 unsigned char *arg4 = (unsigned char *) 0 ;
8533 unsigned char arg5 = (unsigned char) 1 ;
8534 unsigned char arg6 = (unsigned char) 0 ;
8535 unsigned char arg7 = (unsigned char) 0 ;
8536 bool result;
8537 unsigned char temp2 ;
8538 unsigned char temp3 ;
8539 unsigned char temp4 ;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8542 PyObject * obj2 = 0 ;
8543 PyObject * obj3 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8546 };
8547
8548 arg2 = &temp2;
8549 arg3 = &temp3;
8550 arg4 = &temp4;
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8554 if (obj1) {
8555 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 if (obj2) {
8559 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 if (obj3) {
8563 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 {
8574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8575 }
8576 {
8577 PyObject *o = PyInt_FromLong((long) (*arg2));
8578 resultobj = t_output_helper(resultobj,o);
8579 }
8580 {
8581 PyObject *o = PyInt_FromLong((long) (*arg3));
8582 resultobj = t_output_helper(resultobj,o);
8583 }
8584 {
8585 PyObject *o = PyInt_FromLong((long) (*arg4));
8586 resultobj = t_output_helper(resultobj,o);
8587 }
8588 return resultobj;
8589 fail:
8590 return NULL;
8591 }
8592
8593
8594 static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8595 PyObject *obj;
8596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8597 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8598 Py_INCREF(obj);
8599 return Py_BuildValue((char *)"");
8600 }
8601 static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj;
8603 wxString *arg1 = 0 ;
8604 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8605 int arg3 = (int) -1 ;
8606 wxImage *result;
8607 bool temp1 = False ;
8608 PyObject * obj0 = 0 ;
8609 PyObject * obj1 = 0 ;
8610 PyObject * obj2 = 0 ;
8611 char *kwnames[] = {
8612 (char *) "name",(char *) "type",(char *) "index", NULL
8613 };
8614
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
8616 {
8617 arg1 = wxString_in_helper(obj0);
8618 if (arg1 == NULL) SWIG_fail;
8619 temp1 = True;
8620 }
8621 if (obj1) {
8622 arg2 = (long) SWIG_AsLong(obj1);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 if (obj2) {
8626 arg3 = (int) SWIG_AsInt(obj2);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8637 {
8638 if (temp1)
8639 delete arg1;
8640 }
8641 return resultobj;
8642 fail:
8643 {
8644 if (temp1)
8645 delete arg1;
8646 }
8647 return NULL;
8648 }
8649
8650
8651 static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj;
8653 wxImage *arg1 = (wxImage *) 0 ;
8654 PyObject * obj0 = 0 ;
8655 char *kwnames[] = {
8656 (char *) "self", NULL
8657 };
8658
8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
8660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8662 {
8663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8664 delete arg1;
8665
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 Py_INCREF(Py_None); resultobj = Py_None;
8670 return resultobj;
8671 fail:
8672 return NULL;
8673 }
8674
8675
8676 static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8677 PyObject *resultobj;
8678 wxString *arg1 = 0 ;
8679 wxString *arg2 = 0 ;
8680 int arg3 = (int) -1 ;
8681 wxImage *result;
8682 bool temp1 = False ;
8683 bool temp2 = False ;
8684 PyObject * obj0 = 0 ;
8685 PyObject * obj1 = 0 ;
8686 PyObject * obj2 = 0 ;
8687 char *kwnames[] = {
8688 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8689 };
8690
8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
8692 {
8693 arg1 = wxString_in_helper(obj0);
8694 if (arg1 == NULL) SWIG_fail;
8695 temp1 = True;
8696 }
8697 {
8698 arg2 = wxString_in_helper(obj1);
8699 if (arg2 == NULL) SWIG_fail;
8700 temp2 = True;
8701 }
8702 if (obj2) {
8703 arg3 = (int) SWIG_AsInt(obj2);
8704 if (PyErr_Occurred()) SWIG_fail;
8705 }
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8714 {
8715 if (temp1)
8716 delete arg1;
8717 }
8718 {
8719 if (temp2)
8720 delete arg2;
8721 }
8722 return resultobj;
8723 fail:
8724 {
8725 if (temp1)
8726 delete arg1;
8727 }
8728 {
8729 if (temp2)
8730 delete arg2;
8731 }
8732 return NULL;
8733 }
8734
8735
8736 static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxInputStream *arg1 = 0 ;
8739 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8740 int arg3 = (int) -1 ;
8741 wxImage *result;
8742 wxPyInputStream *temp1 ;
8743 bool created1 ;
8744 PyObject * obj0 = 0 ;
8745 PyObject * obj1 = 0 ;
8746 PyObject * obj2 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "stream",(char *) "type",(char *) "index", NULL
8749 };
8750
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
8752 {
8753 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8754 arg1 = temp1->m_wxis;
8755 created1 = False;
8756 } else {
8757 PyErr_Clear(); // clear the failure of the wxPyConvert above
8758 arg1 = wxPyCBInputStream_create(obj0, False);
8759 if (arg1 == NULL) {
8760 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8761 SWIG_fail;
8762 }
8763 created1 = True;
8764 }
8765 }
8766 if (obj1) {
8767 arg2 = (long) SWIG_AsLong(obj1);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 if (obj2) {
8771 arg3 = (int) SWIG_AsInt(obj2);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
8781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8782 {
8783 if (created1)
8784 delete arg1;
8785 }
8786 return resultobj;
8787 fail:
8788 {
8789 if (created1)
8790 delete arg1;
8791 }
8792 return NULL;
8793 }
8794
8795
8796 static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8797 PyObject *resultobj;
8798 wxInputStream *arg1 = 0 ;
8799 wxString *arg2 = 0 ;
8800 int arg3 = (int) -1 ;
8801 wxImage *result;
8802 wxPyInputStream *temp1 ;
8803 bool created1 ;
8804 bool temp2 = False ;
8805 PyObject * obj0 = 0 ;
8806 PyObject * obj1 = 0 ;
8807 PyObject * obj2 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
8813 {
8814 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8815 arg1 = temp1->m_wxis;
8816 created1 = False;
8817 } else {
8818 PyErr_Clear(); // clear the failure of the wxPyConvert above
8819 arg1 = wxPyCBInputStream_create(obj0, False);
8820 if (arg1 == NULL) {
8821 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8822 SWIG_fail;
8823 }
8824 created1 = True;
8825 }
8826 }
8827 {
8828 arg2 = wxString_in_helper(obj1);
8829 if (arg2 == NULL) SWIG_fail;
8830 temp2 = True;
8831 }
8832 if (obj2) {
8833 arg3 = (int) SWIG_AsInt(obj2);
8834 if (PyErr_Occurred()) SWIG_fail;
8835 }
8836 {
8837 PyThreadState* __tstate = wxPyBeginAllowThreads();
8838 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8839
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8844 {
8845 if (created1)
8846 delete arg1;
8847 }
8848 {
8849 if (temp2)
8850 delete arg2;
8851 }
8852 return resultobj;
8853 fail:
8854 {
8855 if (created1)
8856 delete arg1;
8857 }
8858 {
8859 if (temp2)
8860 delete arg2;
8861 }
8862 return NULL;
8863 }
8864
8865
8866 static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 int arg1 = (int) 0 ;
8869 int arg2 = (int) 0 ;
8870 bool arg3 = (bool) True ;
8871 wxImage *result;
8872 PyObject * obj0 = 0 ;
8873 PyObject * obj1 = 0 ;
8874 PyObject * obj2 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "width",(char *) "height",(char *) "clear", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
8880 if (obj0) {
8881 arg1 = (int) SWIG_AsInt(obj0);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 if (obj1) {
8885 arg2 = (int) SWIG_AsInt(obj1);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 if (obj2) {
8889 arg3 = (bool) SWIG_AsBool(obj2);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
8894 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8895
8896 wxPyEndAllowThreads(__tstate);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 }
8899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8900 return resultobj;
8901 fail:
8902 return NULL;
8903 }
8904
8905
8906 static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8907 PyObject *resultobj;
8908 wxBitmap *arg1 = 0 ;
8909 wxImage *result;
8910 PyObject * obj0 = 0 ;
8911 char *kwnames[] = {
8912 (char *) "bitmap", NULL
8913 };
8914
8915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
8916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8917 SWIG_POINTER_EXCEPTION | 0)) == -1)
8918 SWIG_fail;
8919 if (arg1 == NULL) {
8920 PyErr_SetString(PyExc_TypeError,"null reference");
8921 SWIG_fail;
8922 }
8923 {
8924 if (!wxPyCheckForApp()) SWIG_fail;
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8927
8928 wxPyEndAllowThreads(__tstate);
8929 if (PyErr_Occurred()) SWIG_fail;
8930 }
8931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8932 return resultobj;
8933 fail:
8934 return NULL;
8935 }
8936
8937
8938 static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj;
8940 int arg1 ;
8941 int arg2 ;
8942 unsigned char *arg3 = (unsigned char *) 0 ;
8943 wxImage *result;
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
8946 PyObject * obj2 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "width",(char *) "height",(char *) "data", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
8952 arg1 = (int) SWIG_AsInt(obj0);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 arg2 = (int) SWIG_AsInt(obj1);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
8965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8966 return resultobj;
8967 fail:
8968 return NULL;
8969 }
8970
8971
8972 static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxImage *arg1 = (wxImage *) 0 ;
8975 int arg2 ;
8976 int arg3 ;
8977 PyObject * obj0 = 0 ;
8978 PyObject * obj1 = 0 ;
8979 PyObject * obj2 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self",(char *) "width",(char *) "height", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8987 arg2 = (int) SWIG_AsInt(obj1);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 arg3 = (int) SWIG_AsInt(obj2);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 (arg1)->Create(arg2,arg3);
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 Py_INCREF(Py_None); resultobj = Py_None;
8999 return resultobj;
9000 fail:
9001 return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxImage *arg1 = (wxImage *) 0 ;
9008 PyObject * obj0 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
9014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 (arg1)->Destroy();
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 Py_INCREF(Py_None); resultobj = Py_None;
9024 return resultobj;
9025 fail:
9026 return NULL;
9027 }
9028
9029
9030 static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj;
9032 wxImage *arg1 = (wxImage *) 0 ;
9033 int arg2 ;
9034 int arg3 ;
9035 SwigValueWrapper< wxImage > result;
9036 PyObject * obj0 = 0 ;
9037 PyObject * obj1 = 0 ;
9038 PyObject * obj2 = 0 ;
9039 char *kwnames[] = {
9040 (char *) "self",(char *) "width",(char *) "height", NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9046 arg2 = (int) SWIG_AsInt(obj1);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 arg3 = (int) SWIG_AsInt(obj2);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (arg1)->Scale(arg2,arg3);
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 {
9058 wxImage * resultptr;
9059 resultptr = new wxImage((wxImage &) result);
9060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
9061 }
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxImage *arg1 = (wxImage *) 0 ;
9071 int arg2 ;
9072 int arg3 ;
9073 SwigValueWrapper< wxImage > result;
9074 PyObject * obj0 = 0 ;
9075 PyObject * obj1 = 0 ;
9076 PyObject * obj2 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9084 arg2 = (int) SWIG_AsInt(obj1);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 arg3 = (int) SWIG_AsInt(obj2);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 {
9096 wxImage * resultptr;
9097 resultptr = new wxImage((wxImage &) result);
9098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
9099 }
9100 return resultobj;
9101 fail:
9102 return NULL;
9103 }
9104
9105
9106 static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
9107 PyObject *resultobj;
9108 wxImage *arg1 = (wxImage *) 0 ;
9109 int arg2 ;
9110 int arg3 ;
9111 wxImage *result;
9112 PyObject * obj0 = 0 ;
9113 PyObject * obj1 = 0 ;
9114 PyObject * obj2 = 0 ;
9115 char *kwnames[] = {
9116 (char *) "self",(char *) "width",(char *) "height", NULL
9117 };
9118
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9122 arg2 = (int) SWIG_AsInt(obj1);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 arg3 = (int) SWIG_AsInt(obj2);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 {
9129 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9130 result = (wxImage *) &_result_ref;
9131 }
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
9137 return resultobj;
9138 fail:
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxImage *arg1 = (wxImage *) 0 ;
9146 int arg2 ;
9147 int arg3 ;
9148 unsigned char arg4 ;
9149 unsigned char arg5 ;
9150 unsigned char arg6 ;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153 PyObject * obj2 = 0 ;
9154 PyObject * obj3 = 0 ;
9155 PyObject * obj4 = 0 ;
9156 PyObject * obj5 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9164 arg2 = (int) SWIG_AsInt(obj1);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 arg3 = (int) SWIG_AsInt(obj2);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9177
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 Py_INCREF(Py_None); resultobj = Py_None;
9182 return resultobj;
9183 fail:
9184 return NULL;
9185 }
9186
9187
9188 static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj;
9190 wxImage *arg1 = (wxImage *) 0 ;
9191 int arg2 ;
9192 int arg3 ;
9193 unsigned char result;
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 PyObject * obj2 = 0 ;
9197 char *kwnames[] = {
9198 (char *) "self",(char *) "x",(char *) "y", NULL
9199 };
9200
9201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
9202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9204 arg2 = (int) SWIG_AsInt(obj1);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 arg3 = (int) SWIG_AsInt(obj2);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9216 return resultobj;
9217 fail:
9218 return NULL;
9219 }
9220
9221
9222 static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9223 PyObject *resultobj;
9224 wxImage *arg1 = (wxImage *) 0 ;
9225 int arg2 ;
9226 int arg3 ;
9227 unsigned char result;
9228 PyObject * obj0 = 0 ;
9229 PyObject * obj1 = 0 ;
9230 PyObject * obj2 = 0 ;
9231 char *kwnames[] = {
9232 (char *) "self",(char *) "x",(char *) "y", NULL
9233 };
9234
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
9236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9238 arg2 = (int) SWIG_AsInt(obj1);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 arg3 = (int) SWIG_AsInt(obj2);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 {
9243 PyThreadState* __tstate = wxPyBeginAllowThreads();
9244 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9245
9246 wxPyEndAllowThreads(__tstate);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
9249 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9250 return resultobj;
9251 fail:
9252 return NULL;
9253 }
9254
9255
9256 static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj;
9258 wxImage *arg1 = (wxImage *) 0 ;
9259 int arg2 ;
9260 int arg3 ;
9261 unsigned char result;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 PyObject * obj2 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self",(char *) "x",(char *) "y", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9272 arg2 = (int) SWIG_AsInt(obj1);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 arg3 = (int) SWIG_AsInt(obj2);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9284 return resultobj;
9285 fail:
9286 return NULL;
9287 }
9288
9289
9290 static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9291 PyObject *resultobj;
9292 wxImage *arg1 = (wxImage *) 0 ;
9293 int arg2 ;
9294 int arg3 ;
9295 unsigned char arg4 ;
9296 PyObject * obj0 = 0 ;
9297 PyObject * obj1 = 0 ;
9298 PyObject * obj2 = 0 ;
9299 PyObject * obj3 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9307 arg2 = (int) SWIG_AsInt(obj1);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 arg3 = (int) SWIG_AsInt(obj2);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 (arg1)->SetAlpha(arg2,arg3,arg4);
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 Py_INCREF(Py_None); resultobj = Py_None;
9321 return resultobj;
9322 fail:
9323 return NULL;
9324 }
9325
9326
9327 static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj;
9329 wxImage *arg1 = (wxImage *) 0 ;
9330 int arg2 ;
9331 int arg3 ;
9332 unsigned char result;
9333 PyObject * obj0 = 0 ;
9334 PyObject * obj1 = 0 ;
9335 PyObject * obj2 = 0 ;
9336 char *kwnames[] = {
9337 (char *) "self",(char *) "x",(char *) "y", NULL
9338 };
9339
9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
9341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9343 arg2 = (int) SWIG_AsInt(obj1);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 arg3 = (int) SWIG_AsInt(obj2);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9355 return resultobj;
9356 fail:
9357 return NULL;
9358 }
9359
9360
9361 static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj;
9363 wxImage *arg1 = (wxImage *) 0 ;
9364 bool result;
9365 PyObject * obj0 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
9371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (bool)(arg1)->HasAlpha();
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 {
9381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9382 }
9383 return resultobj;
9384 fail:
9385 return NULL;
9386 }
9387
9388
9389 static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxImage *arg1 = (wxImage *) 0 ;
9392 byte *arg2 = (byte *) 0 ;
9393 byte *arg3 = (byte *) 0 ;
9394 byte *arg4 = (byte *) 0 ;
9395 byte arg5 = (byte) 0 ;
9396 byte arg6 = (byte) 0 ;
9397 byte arg7 = (byte) 0 ;
9398 bool result;
9399 byte temp2 ;
9400 byte temp3 ;
9401 byte temp4 ;
9402 PyObject * obj0 = 0 ;
9403 PyObject * obj1 = 0 ;
9404 PyObject * obj2 = 0 ;
9405 PyObject * obj3 = 0 ;
9406 char *kwnames[] = {
9407 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9408 };
9409
9410 arg2 = &temp2;
9411 arg3 = &temp3;
9412 arg4 = &temp4;
9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9416 if (obj1) {
9417 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
9420 if (obj2) {
9421 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 if (obj3) {
9425 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 {
9436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9437 }
9438 {
9439 PyObject *o = PyInt_FromLong((long) (*arg2));
9440 resultobj = t_output_helper(resultobj,o);
9441 }
9442 {
9443 PyObject *o = PyInt_FromLong((long) (*arg3));
9444 resultobj = t_output_helper(resultobj,o);
9445 }
9446 {
9447 PyObject *o = PyInt_FromLong((long) (*arg4));
9448 resultobj = t_output_helper(resultobj,o);
9449 }
9450 return resultobj;
9451 fail:
9452 return NULL;
9453 }
9454
9455
9456 static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9457 PyObject *resultobj;
9458 wxImage *arg1 = (wxImage *) 0 ;
9459 wxImage *arg2 = 0 ;
9460 byte arg3 ;
9461 byte arg4 ;
9462 byte arg5 ;
9463 bool result;
9464 PyObject * obj0 = 0 ;
9465 PyObject * obj1 = 0 ;
9466 PyObject * obj2 = 0 ;
9467 PyObject * obj3 = 0 ;
9468 PyObject * obj4 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9477 SWIG_POINTER_EXCEPTION | 0)) == -1)
9478 SWIG_fail;
9479 if (arg2 == NULL) {
9480 PyErr_SetString(PyExc_TypeError,"null reference");
9481 SWIG_fail;
9482 }
9483 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 {
9497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9498 }
9499 return resultobj;
9500 fail:
9501 return NULL;
9502 }
9503
9504
9505 static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9506 PyObject *resultobj;
9507 wxString *arg1 = 0 ;
9508 bool result;
9509 bool temp1 = False ;
9510 PyObject * obj0 = 0 ;
9511 char *kwnames[] = {
9512 (char *) "name", NULL
9513 };
9514
9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9516 {
9517 arg1 = wxString_in_helper(obj0);
9518 if (arg1 == NULL) SWIG_fail;
9519 temp1 = True;
9520 }
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 {
9529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9530 }
9531 {
9532 if (temp1)
9533 delete arg1;
9534 }
9535 return resultobj;
9536 fail:
9537 {
9538 if (temp1)
9539 delete arg1;
9540 }
9541 return NULL;
9542 }
9543
9544
9545 static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj;
9547 wxString *arg1 = 0 ;
9548 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9549 int result;
9550 bool temp1 = False ;
9551 PyObject * obj0 = 0 ;
9552 PyObject * obj1 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "name",(char *) "type", NULL
9555 };
9556
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
9558 {
9559 arg1 = wxString_in_helper(obj0);
9560 if (arg1 == NULL) SWIG_fail;
9561 temp1 = True;
9562 }
9563 if (obj1) {
9564 arg2 = (long) SWIG_AsLong(obj1);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
9567 {
9568 PyThreadState* __tstate = wxPyBeginAllowThreads();
9569 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9570
9571 wxPyEndAllowThreads(__tstate);
9572 if (PyErr_Occurred()) SWIG_fail;
9573 }
9574 resultobj = SWIG_FromInt((int)result);
9575 {
9576 if (temp1)
9577 delete arg1;
9578 }
9579 return resultobj;
9580 fail:
9581 {
9582 if (temp1)
9583 delete arg1;
9584 }
9585 return NULL;
9586 }
9587
9588
9589 static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9590 PyObject *resultobj;
9591 wxImage *arg1 = (wxImage *) 0 ;
9592 wxString *arg2 = 0 ;
9593 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9594 int arg4 = (int) -1 ;
9595 bool result;
9596 bool temp2 = False ;
9597 PyObject * obj0 = 0 ;
9598 PyObject * obj1 = 0 ;
9599 PyObject * obj2 = 0 ;
9600 PyObject * obj3 = 0 ;
9601 char *kwnames[] = {
9602 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9608 {
9609 arg2 = wxString_in_helper(obj1);
9610 if (arg2 == NULL) SWIG_fail;
9611 temp2 = True;
9612 }
9613 if (obj2) {
9614 arg3 = (long) SWIG_AsLong(obj2);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 }
9617 if (obj3) {
9618 arg4 = (int) SWIG_AsInt(obj3);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9624
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 {
9629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9630 }
9631 {
9632 if (temp2)
9633 delete arg2;
9634 }
9635 return resultobj;
9636 fail:
9637 {
9638 if (temp2)
9639 delete arg2;
9640 }
9641 return NULL;
9642 }
9643
9644
9645 static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9646 PyObject *resultobj;
9647 wxImage *arg1 = (wxImage *) 0 ;
9648 wxString *arg2 = 0 ;
9649 wxString *arg3 = 0 ;
9650 int arg4 = (int) -1 ;
9651 bool result;
9652 bool temp2 = False ;
9653 bool temp3 = False ;
9654 PyObject * obj0 = 0 ;
9655 PyObject * obj1 = 0 ;
9656 PyObject * obj2 = 0 ;
9657 PyObject * obj3 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9665 {
9666 arg2 = wxString_in_helper(obj1);
9667 if (arg2 == NULL) SWIG_fail;
9668 temp2 = True;
9669 }
9670 {
9671 arg3 = wxString_in_helper(obj2);
9672 if (arg3 == NULL) SWIG_fail;
9673 temp3 = True;
9674 }
9675 if (obj3) {
9676 arg4 = (int) SWIG_AsInt(obj3);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 {
9680 PyThreadState* __tstate = wxPyBeginAllowThreads();
9681 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9682
9683 wxPyEndAllowThreads(__tstate);
9684 if (PyErr_Occurred()) SWIG_fail;
9685 }
9686 {
9687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9688 }
9689 {
9690 if (temp2)
9691 delete arg2;
9692 }
9693 {
9694 if (temp3)
9695 delete arg3;
9696 }
9697 return resultobj;
9698 fail:
9699 {
9700 if (temp2)
9701 delete arg2;
9702 }
9703 {
9704 if (temp3)
9705 delete arg3;
9706 }
9707 return NULL;
9708 }
9709
9710
9711 static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxImage *arg1 = (wxImage *) 0 ;
9714 wxString *arg2 = 0 ;
9715 int arg3 ;
9716 bool result;
9717 bool temp2 = False ;
9718 PyObject * obj0 = 0 ;
9719 PyObject * obj1 = 0 ;
9720 PyObject * obj2 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self",(char *) "name",(char *) "type", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9728 {
9729 arg2 = wxString_in_helper(obj1);
9730 if (arg2 == NULL) SWIG_fail;
9731 temp2 = True;
9732 }
9733 arg3 = (int) SWIG_AsInt(obj2);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 {
9743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9744 }
9745 {
9746 if (temp2)
9747 delete arg2;
9748 }
9749 return resultobj;
9750 fail:
9751 {
9752 if (temp2)
9753 delete arg2;
9754 }
9755 return NULL;
9756 }
9757
9758
9759 static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj;
9761 wxImage *arg1 = (wxImage *) 0 ;
9762 wxString *arg2 = 0 ;
9763 wxString *arg3 = 0 ;
9764 bool result;
9765 bool temp2 = False ;
9766 bool temp3 = False ;
9767 PyObject * obj0 = 0 ;
9768 PyObject * obj1 = 0 ;
9769 PyObject * obj2 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9777 {
9778 arg2 = wxString_in_helper(obj1);
9779 if (arg2 == NULL) SWIG_fail;
9780 temp2 = True;
9781 }
9782 {
9783 arg3 = wxString_in_helper(obj2);
9784 if (arg3 == NULL) SWIG_fail;
9785 temp3 = True;
9786 }
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9790
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
9794 {
9795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9796 }
9797 {
9798 if (temp2)
9799 delete arg2;
9800 }
9801 {
9802 if (temp3)
9803 delete arg3;
9804 }
9805 return resultobj;
9806 fail:
9807 {
9808 if (temp2)
9809 delete arg2;
9810 }
9811 {
9812 if (temp3)
9813 delete arg3;
9814 }
9815 return NULL;
9816 }
9817
9818
9819 static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9820 PyObject *resultobj;
9821 wxInputStream *arg1 = 0 ;
9822 bool result;
9823 wxPyInputStream *temp1 ;
9824 bool created1 ;
9825 PyObject * obj0 = 0 ;
9826 char *kwnames[] = {
9827 (char *) "stream", NULL
9828 };
9829
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9831 {
9832 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9833 arg1 = temp1->m_wxis;
9834 created1 = False;
9835 } else {
9836 PyErr_Clear(); // clear the failure of the wxPyConvert above
9837 arg1 = wxPyCBInputStream_create(obj0, False);
9838 if (arg1 == NULL) {
9839 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9840 SWIG_fail;
9841 }
9842 created1 = True;
9843 }
9844 }
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (bool)wxImage::CanRead(*arg1);
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 {
9853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9854 }
9855 {
9856 if (created1)
9857 delete arg1;
9858 }
9859 return resultobj;
9860 fail:
9861 {
9862 if (created1)
9863 delete arg1;
9864 }
9865 return NULL;
9866 }
9867
9868
9869 static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxImage *arg1 = (wxImage *) 0 ;
9872 wxInputStream *arg2 = 0 ;
9873 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9874 int arg4 = (int) -1 ;
9875 bool result;
9876 wxPyInputStream *temp2 ;
9877 bool created2 ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
9880 PyObject * obj2 = 0 ;
9881 PyObject * obj3 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9889 {
9890 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9891 arg2 = temp2->m_wxis;
9892 created2 = False;
9893 } else {
9894 PyErr_Clear(); // clear the failure of the wxPyConvert above
9895 arg2 = wxPyCBInputStream_create(obj1, False);
9896 if (arg2 == NULL) {
9897 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9898 SWIG_fail;
9899 }
9900 created2 = True;
9901 }
9902 }
9903 if (obj2) {
9904 arg3 = (long) SWIG_AsLong(obj2);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 if (obj3) {
9908 arg4 = (int) SWIG_AsInt(obj3);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 }
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 {
9919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9920 }
9921 {
9922 if (created2)
9923 delete arg2;
9924 }
9925 return resultobj;
9926 fail:
9927 {
9928 if (created2)
9929 delete arg2;
9930 }
9931 return NULL;
9932 }
9933
9934
9935 static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9936 PyObject *resultobj;
9937 wxImage *arg1 = (wxImage *) 0 ;
9938 wxInputStream *arg2 = 0 ;
9939 wxString *arg3 = 0 ;
9940 int arg4 = (int) -1 ;
9941 bool result;
9942 wxPyInputStream *temp2 ;
9943 bool created2 ;
9944 bool temp3 = False ;
9945 PyObject * obj0 = 0 ;
9946 PyObject * obj1 = 0 ;
9947 PyObject * obj2 = 0 ;
9948 PyObject * obj3 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9956 {
9957 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9958 arg2 = temp2->m_wxis;
9959 created2 = False;
9960 } else {
9961 PyErr_Clear(); // clear the failure of the wxPyConvert above
9962 arg2 = wxPyCBInputStream_create(obj1, False);
9963 if (arg2 == NULL) {
9964 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9965 SWIG_fail;
9966 }
9967 created2 = True;
9968 }
9969 }
9970 {
9971 arg3 = wxString_in_helper(obj2);
9972 if (arg3 == NULL) SWIG_fail;
9973 temp3 = True;
9974 }
9975 if (obj3) {
9976 arg4 = (int) SWIG_AsInt(obj3);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9982
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 {
9987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9988 }
9989 {
9990 if (created2)
9991 delete arg2;
9992 }
9993 {
9994 if (temp3)
9995 delete arg3;
9996 }
9997 return resultobj;
9998 fail:
9999 {
10000 if (created2)
10001 delete arg2;
10002 }
10003 {
10004 if (temp3)
10005 delete arg3;
10006 }
10007 return NULL;
10008 }
10009
10010
10011 static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj;
10013 wxImage *arg1 = (wxImage *) 0 ;
10014 bool result;
10015 PyObject * obj0 = 0 ;
10016 char *kwnames[] = {
10017 (char *) "self", NULL
10018 };
10019
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
10021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10023 {
10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
10025 result = (bool)(arg1)->Ok();
10026
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
10030 {
10031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10032 }
10033 return resultobj;
10034 fail:
10035 return NULL;
10036 }
10037
10038
10039 static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject *resultobj;
10041 wxImage *arg1 = (wxImage *) 0 ;
10042 int result;
10043 PyObject * obj0 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
10049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 result = (int)(arg1)->GetWidth();
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
10058 resultobj = SWIG_FromInt((int)result);
10059 return resultobj;
10060 fail:
10061 return NULL;
10062 }
10063
10064
10065 static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxImage *arg1 = (wxImage *) 0 ;
10068 int result;
10069 PyObject * obj0 = 0 ;
10070 char *kwnames[] = {
10071 (char *) "self", NULL
10072 };
10073
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
10075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10077 {
10078 PyThreadState* __tstate = wxPyBeginAllowThreads();
10079 result = (int)(arg1)->GetHeight();
10080
10081 wxPyEndAllowThreads(__tstate);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 }
10084 resultobj = SWIG_FromInt((int)result);
10085 return resultobj;
10086 fail:
10087 return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_Image_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxImage *arg1 = (wxImage *) 0 ;
10094 wxSize result;
10095 PyObject * obj0 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 result = wxImage_GetSize(arg1);
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 {
10111 wxSize * resultptr;
10112 resultptr = new wxSize((wxSize &) result);
10113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10114 }
10115 return resultobj;
10116 fail:
10117 return NULL;
10118 }
10119
10120
10121 static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxImage *arg1 = (wxImage *) 0 ;
10124 wxRect *arg2 = 0 ;
10125 SwigValueWrapper< wxImage > result;
10126 wxRect temp2 ;
10127 PyObject * obj0 = 0 ;
10128 PyObject * obj1 = 0 ;
10129 char *kwnames[] = {
10130 (char *) "self",(char *) "rect", NULL
10131 };
10132
10133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
10134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10136 {
10137 arg2 = &temp2;
10138 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10139 }
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10143
10144 wxPyEndAllowThreads(__tstate);
10145 if (PyErr_Occurred()) SWIG_fail;
10146 }
10147 {
10148 wxImage * resultptr;
10149 resultptr = new wxImage((wxImage &) result);
10150 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10151 }
10152 return resultobj;
10153 fail:
10154 return NULL;
10155 }
10156
10157
10158 static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
10159 PyObject *resultobj;
10160 wxImage *arg1 = (wxImage *) 0 ;
10161 SwigValueWrapper< wxImage > result;
10162 PyObject * obj0 = 0 ;
10163 char *kwnames[] = {
10164 (char *) "self", NULL
10165 };
10166
10167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
10168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (arg1)->Copy();
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 {
10178 wxImage * resultptr;
10179 resultptr = new wxImage((wxImage &) result);
10180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10181 }
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxImage *arg1 = (wxImage *) 0 ;
10191 wxImage *arg2 = 0 ;
10192 int arg3 ;
10193 int arg4 ;
10194 PyObject * obj0 = 0 ;
10195 PyObject * obj1 = 0 ;
10196 PyObject * obj2 = 0 ;
10197 PyObject * obj3 = 0 ;
10198 char *kwnames[] = {
10199 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10200 };
10201
10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10206 SWIG_POINTER_EXCEPTION | 0)) == -1)
10207 SWIG_fail;
10208 if (arg2 == NULL) {
10209 PyErr_SetString(PyExc_TypeError,"null reference");
10210 SWIG_fail;
10211 }
10212 arg3 = (int) SWIG_AsInt(obj2);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 arg4 = (int) SWIG_AsInt(obj3);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 Py_INCREF(Py_None); resultobj = Py_None;
10224 return resultobj;
10225 fail:
10226 return NULL;
10227 }
10228
10229
10230 static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj;
10232 wxImage *arg1 = (wxImage *) 0 ;
10233 PyObject *result;
10234 PyObject * obj0 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
10240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 result = (PyObject *)wxImage_GetData(arg1);
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 resultobj = result;
10250 return resultobj;
10251 fail:
10252 return NULL;
10253 }
10254
10255
10256 static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxImage *arg1 = (wxImage *) 0 ;
10259 PyObject *arg2 = (PyObject *) 0 ;
10260 PyObject * obj0 = 0 ;
10261 PyObject * obj1 = 0 ;
10262 char *kwnames[] = {
10263 (char *) "self",(char *) "data", NULL
10264 };
10265
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
10267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10269 arg2 = obj1;
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 wxImage_SetData(arg1,arg2);
10273
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 Py_INCREF(Py_None); resultobj = Py_None;
10278 return resultobj;
10279 fail:
10280 return NULL;
10281 }
10282
10283
10284 static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10285 PyObject *resultobj;
10286 wxImage *arg1 = (wxImage *) 0 ;
10287 PyObject *result;
10288 PyObject * obj0 = 0 ;
10289 char *kwnames[] = {
10290 (char *) "self", NULL
10291 };
10292
10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
10294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 resultobj = result;
10304 return resultobj;
10305 fail:
10306 return NULL;
10307 }
10308
10309
10310 static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj;
10312 wxImage *arg1 = (wxImage *) 0 ;
10313 PyObject *arg2 = (PyObject *) 0 ;
10314 PyObject * obj0 = 0 ;
10315 PyObject * obj1 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self",(char *) "data", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
10321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10323 arg2 = obj1;
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 wxImage_SetDataBuffer(arg1,arg2);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 Py_INCREF(Py_None); resultobj = Py_None;
10332 return resultobj;
10333 fail:
10334 return NULL;
10335 }
10336
10337
10338 static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxImage *arg1 = (wxImage *) 0 ;
10341 PyObject *result;
10342 PyObject * obj0 = 0 ;
10343 char *kwnames[] = {
10344 (char *) "self", NULL
10345 };
10346
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
10348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = (PyObject *)wxImage_GetAlphaData(arg1);
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 resultobj = result;
10358 return resultobj;
10359 fail:
10360 return NULL;
10361 }
10362
10363
10364 static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10365 PyObject *resultobj;
10366 wxImage *arg1 = (wxImage *) 0 ;
10367 PyObject *arg2 = (PyObject *) 0 ;
10368 PyObject * obj0 = 0 ;
10369 PyObject * obj1 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self",(char *) "data", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
10375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10377 arg2 = obj1;
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 wxImage_SetAlphaData(arg1,arg2);
10381
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 Py_INCREF(Py_None); resultobj = Py_None;
10386 return resultobj;
10387 fail:
10388 return NULL;
10389 }
10390
10391
10392 static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj;
10394 wxImage *arg1 = (wxImage *) 0 ;
10395 PyObject *result;
10396 PyObject * obj0 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
10402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10407
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 resultobj = result;
10412 return resultobj;
10413 fail:
10414 return NULL;
10415 }
10416
10417
10418 static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxImage *arg1 = (wxImage *) 0 ;
10421 PyObject *arg2 = (PyObject *) 0 ;
10422 PyObject * obj0 = 0 ;
10423 PyObject * obj1 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self",(char *) "data", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
10429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10431 arg2 = obj1;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 wxImage_SetAlphaBuffer(arg1,arg2);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 return resultobj;
10441 fail:
10442 return NULL;
10443 }
10444
10445
10446 static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxImage *arg1 = (wxImage *) 0 ;
10449 unsigned char arg2 ;
10450 unsigned char arg3 ;
10451 unsigned char arg4 ;
10452 PyObject * obj0 = 0 ;
10453 PyObject * obj1 = 0 ;
10454 PyObject * obj2 = 0 ;
10455 PyObject * obj3 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10463 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 (arg1)->SetMaskColour(arg2,arg3,arg4);
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxImage *arg1 = (wxImage *) 0 ;
10486 unsigned char result;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 result = (unsigned char)(arg1)->GetMaskRed();
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj;
10511 wxImage *arg1 = (wxImage *) 0 ;
10512 unsigned char result;
10513 PyObject * obj0 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
10519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = (unsigned char)(arg1)->GetMaskGreen();
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10529 return resultobj;
10530 fail:
10531 return NULL;
10532 }
10533
10534
10535 static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj;
10537 wxImage *arg1 = (wxImage *) 0 ;
10538 unsigned char result;
10539 PyObject * obj0 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
10545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
10549 result = (unsigned char)(arg1)->GetMaskBlue();
10550
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
10554 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10555 return resultobj;
10556 fail:
10557 return NULL;
10558 }
10559
10560
10561 static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10562 PyObject *resultobj;
10563 wxImage *arg1 = (wxImage *) 0 ;
10564 bool arg2 = (bool) True ;
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self",(char *) "mask", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
10572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10574 if (obj1) {
10575 arg2 = (bool) SWIG_AsBool(obj1);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 }
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 (arg1)->SetMask(arg2);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 Py_INCREF(Py_None); resultobj = Py_None;
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj;
10594 wxImage *arg1 = (wxImage *) 0 ;
10595 bool result;
10596 PyObject * obj0 = 0 ;
10597 char *kwnames[] = {
10598 (char *) "self", NULL
10599 };
10600
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
10602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 result = (bool)(arg1)->HasMask();
10607
10608 wxPyEndAllowThreads(__tstate);
10609 if (PyErr_Occurred()) SWIG_fail;
10610 }
10611 {
10612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10613 }
10614 return resultobj;
10615 fail:
10616 return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxImage *arg1 = (wxImage *) 0 ;
10623 double arg2 ;
10624 wxPoint *arg3 = 0 ;
10625 bool arg4 = (bool) True ;
10626 wxPoint *arg5 = (wxPoint *) NULL ;
10627 SwigValueWrapper< wxImage > result;
10628 wxPoint temp3 ;
10629 PyObject * obj0 = 0 ;
10630 PyObject * obj1 = 0 ;
10631 PyObject * obj2 = 0 ;
10632 PyObject * obj3 = 0 ;
10633 PyObject * obj4 = 0 ;
10634 char *kwnames[] = {
10635 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10636 };
10637
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10641 arg2 = (double) SWIG_AsDouble(obj1);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 {
10644 arg3 = &temp3;
10645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10646 }
10647 if (obj3) {
10648 arg4 = (bool) SWIG_AsBool(obj3);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 if (obj4) {
10652 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10654 }
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10658
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 {
10663 wxImage * resultptr;
10664 resultptr = new wxImage((wxImage &) result);
10665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10666 }
10667 return resultobj;
10668 fail:
10669 return NULL;
10670 }
10671
10672
10673 static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxImage *arg1 = (wxImage *) 0 ;
10676 bool arg2 = (bool) True ;
10677 SwigValueWrapper< wxImage > result;
10678 PyObject * obj0 = 0 ;
10679 PyObject * obj1 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "self",(char *) "clockwise", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
10685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10687 if (obj1) {
10688 arg2 = (bool) SWIG_AsBool(obj1);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 result = (arg1)->Rotate90(arg2);
10694
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 {
10699 wxImage * resultptr;
10700 resultptr = new wxImage((wxImage &) result);
10701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10702 }
10703 return resultobj;
10704 fail:
10705 return NULL;
10706 }
10707
10708
10709 static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj;
10711 wxImage *arg1 = (wxImage *) 0 ;
10712 bool arg2 = (bool) True ;
10713 SwigValueWrapper< wxImage > result;
10714 PyObject * obj0 = 0 ;
10715 PyObject * obj1 = 0 ;
10716 char *kwnames[] = {
10717 (char *) "self",(char *) "horizontally", NULL
10718 };
10719
10720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
10721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10723 if (obj1) {
10724 arg2 = (bool) SWIG_AsBool(obj1);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 {
10728 PyThreadState* __tstate = wxPyBeginAllowThreads();
10729 result = (arg1)->Mirror(arg2);
10730
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 {
10735 wxImage * resultptr;
10736 resultptr = new wxImage((wxImage &) result);
10737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10738 }
10739 return resultobj;
10740 fail:
10741 return NULL;
10742 }
10743
10744
10745 static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj;
10747 wxImage *arg1 = (wxImage *) 0 ;
10748 unsigned char arg2 ;
10749 unsigned char arg3 ;
10750 unsigned char arg4 ;
10751 unsigned char arg5 ;
10752 unsigned char arg6 ;
10753 unsigned char arg7 ;
10754 PyObject * obj0 = 0 ;
10755 PyObject * obj1 = 0 ;
10756 PyObject * obj2 = 0 ;
10757 PyObject * obj3 = 0 ;
10758 PyObject * obj4 = 0 ;
10759 PyObject * obj5 = 0 ;
10760 PyObject * obj6 = 0 ;
10761 char *kwnames[] = {
10762 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10763 };
10764
10765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10768 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 Py_INCREF(Py_None); resultobj = Py_None;
10788 return resultobj;
10789 fail:
10790 return NULL;
10791 }
10792
10793
10794 static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxImage *arg1 = (wxImage *) 0 ;
10797 unsigned char arg2 ;
10798 unsigned char arg3 ;
10799 unsigned char arg4 ;
10800 SwigValueWrapper< wxImage > result;
10801 PyObject * obj0 = 0 ;
10802 PyObject * obj1 = 0 ;
10803 PyObject * obj2 = 0 ;
10804 PyObject * obj3 = 0 ;
10805 char *kwnames[] = {
10806 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10807 };
10808
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10812 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 {
10819 PyThreadState* __tstate = wxPyBeginAllowThreads();
10820 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10821
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 {
10826 wxImage * resultptr;
10827 resultptr = new wxImage((wxImage &) result);
10828 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10829 }
10830 return resultobj;
10831 fail:
10832 return NULL;
10833 }
10834
10835
10836 static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10837 PyObject *resultobj;
10838 wxImage *arg1 = (wxImage *) 0 ;
10839 wxString *arg2 = 0 ;
10840 wxString *arg3 = 0 ;
10841 bool temp2 = False ;
10842 bool temp3 = False ;
10843 PyObject * obj0 = 0 ;
10844 PyObject * obj1 = 0 ;
10845 PyObject * obj2 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self",(char *) "name",(char *) "value", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
10851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10853 {
10854 arg2 = wxString_in_helper(obj1);
10855 if (arg2 == NULL) SWIG_fail;
10856 temp2 = True;
10857 }
10858 {
10859 arg3 = wxString_in_helper(obj2);
10860 if (arg3 == NULL) SWIG_fail;
10861 temp3 = True;
10862 }
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 Py_INCREF(Py_None); resultobj = Py_None;
10871 {
10872 if (temp2)
10873 delete arg2;
10874 }
10875 {
10876 if (temp3)
10877 delete arg3;
10878 }
10879 return resultobj;
10880 fail:
10881 {
10882 if (temp2)
10883 delete arg2;
10884 }
10885 {
10886 if (temp3)
10887 delete arg3;
10888 }
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxImage *arg1 = (wxImage *) 0 ;
10896 wxString *arg2 = 0 ;
10897 int arg3 ;
10898 bool temp2 = False ;
10899 PyObject * obj0 = 0 ;
10900 PyObject * obj1 = 0 ;
10901 PyObject * obj2 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self",(char *) "name",(char *) "value", NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
10907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10909 {
10910 arg2 = wxString_in_helper(obj1);
10911 if (arg2 == NULL) SWIG_fail;
10912 temp2 = True;
10913 }
10914 arg3 = (int) SWIG_AsInt(obj2);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->SetOption((wxString const &)*arg2,arg3);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 Py_INCREF(Py_None); resultobj = Py_None;
10924 {
10925 if (temp2)
10926 delete arg2;
10927 }
10928 return resultobj;
10929 fail:
10930 {
10931 if (temp2)
10932 delete arg2;
10933 }
10934 return NULL;
10935 }
10936
10937
10938 static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10939 PyObject *resultobj;
10940 wxImage *arg1 = (wxImage *) 0 ;
10941 wxString *arg2 = 0 ;
10942 wxString result;
10943 bool temp2 = False ;
10944 PyObject * obj0 = 0 ;
10945 PyObject * obj1 = 0 ;
10946 char *kwnames[] = {
10947 (char *) "self",(char *) "name", NULL
10948 };
10949
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
10951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10953 {
10954 arg2 = wxString_in_helper(obj1);
10955 if (arg2 == NULL) SWIG_fail;
10956 temp2 = True;
10957 }
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 {
10966 #if wxUSE_UNICODE
10967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10968 #else
10969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10970 #endif
10971 }
10972 {
10973 if (temp2)
10974 delete arg2;
10975 }
10976 return resultobj;
10977 fail:
10978 {
10979 if (temp2)
10980 delete arg2;
10981 }
10982 return NULL;
10983 }
10984
10985
10986 static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10987 PyObject *resultobj;
10988 wxImage *arg1 = (wxImage *) 0 ;
10989 wxString *arg2 = 0 ;
10990 int result;
10991 bool temp2 = False ;
10992 PyObject * obj0 = 0 ;
10993 PyObject * obj1 = 0 ;
10994 char *kwnames[] = {
10995 (char *) "self",(char *) "name", NULL
10996 };
10997
10998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
10999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11001 {
11002 arg2 = wxString_in_helper(obj1);
11003 if (arg2 == NULL) SWIG_fail;
11004 temp2 = True;
11005 }
11006 {
11007 PyThreadState* __tstate = wxPyBeginAllowThreads();
11008 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
11009
11010 wxPyEndAllowThreads(__tstate);
11011 if (PyErr_Occurred()) SWIG_fail;
11012 }
11013 resultobj = SWIG_FromInt((int)result);
11014 {
11015 if (temp2)
11016 delete arg2;
11017 }
11018 return resultobj;
11019 fail:
11020 {
11021 if (temp2)
11022 delete arg2;
11023 }
11024 return NULL;
11025 }
11026
11027
11028 static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
11029 PyObject *resultobj;
11030 wxImage *arg1 = (wxImage *) 0 ;
11031 wxString *arg2 = 0 ;
11032 bool result;
11033 bool temp2 = False ;
11034 PyObject * obj0 = 0 ;
11035 PyObject * obj1 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "self",(char *) "name", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
11041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11043 {
11044 arg2 = wxString_in_helper(obj1);
11045 if (arg2 == NULL) SWIG_fail;
11046 temp2 = True;
11047 }
11048 {
11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
11050 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
11051
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 {
11056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11057 }
11058 {
11059 if (temp2)
11060 delete arg2;
11061 }
11062 return resultobj;
11063 fail:
11064 {
11065 if (temp2)
11066 delete arg2;
11067 }
11068 return NULL;
11069 }
11070
11071
11072 static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
11073 PyObject *resultobj;
11074 wxImage *arg1 = (wxImage *) 0 ;
11075 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11076 unsigned long result;
11077 PyObject * obj0 = 0 ;
11078 PyObject * obj1 = 0 ;
11079 char *kwnames[] = {
11080 (char *) "self",(char *) "stopafter", NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
11084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11086 if (obj1) {
11087 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 {
11091 PyThreadState* __tstate = wxPyBeginAllowThreads();
11092 result = (unsigned long)(arg1)->CountColours(arg2);
11093
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
11098 return resultobj;
11099 fail:
11100 return NULL;
11101 }
11102
11103
11104 static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
11105 PyObject *resultobj;
11106 wxImage *arg1 = (wxImage *) 0 ;
11107 wxImageHistogram *arg2 = 0 ;
11108 unsigned long result;
11109 PyObject * obj0 = 0 ;
11110 PyObject * obj1 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self",(char *) "h", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
11116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11119 SWIG_POINTER_EXCEPTION | 0)) == -1)
11120 SWIG_fail;
11121 if (arg2 == NULL) {
11122 PyErr_SetString(PyExc_TypeError,"null reference");
11123 SWIG_fail;
11124 }
11125 {
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
11127 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11128
11129 wxPyEndAllowThreads(__tstate);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
11132 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
11133 return resultobj;
11134 fail:
11135 return NULL;
11136 }
11137
11138
11139 static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11140 PyObject *resultobj;
11141 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11142 PyObject * obj0 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "handler", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
11148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 wxImage::AddHandler(arg1);
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 Py_INCREF(Py_None); resultobj = Py_None;
11158 return resultobj;
11159 fail:
11160 return NULL;
11161 }
11162
11163
11164 static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11165 PyObject *resultobj;
11166 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11167 PyObject * obj0 = 0 ;
11168 char *kwnames[] = {
11169 (char *) "handler", NULL
11170 };
11171
11172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
11173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11175 {
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 wxImage::InsertHandler(arg1);
11178
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 Py_INCREF(Py_None); resultobj = Py_None;
11183 return resultobj;
11184 fail:
11185 return NULL;
11186 }
11187
11188
11189 static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject *resultobj;
11191 wxString *arg1 = 0 ;
11192 bool result;
11193 bool temp1 = False ;
11194 PyObject * obj0 = 0 ;
11195 char *kwnames[] = {
11196 (char *) "name", NULL
11197 };
11198
11199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11200 {
11201 arg1 = wxString_in_helper(obj0);
11202 if (arg1 == NULL) SWIG_fail;
11203 temp1 = True;
11204 }
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 {
11213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11214 }
11215 {
11216 if (temp1)
11217 delete arg1;
11218 }
11219 return resultobj;
11220 fail:
11221 {
11222 if (temp1)
11223 delete arg1;
11224 }
11225 return NULL;
11226 }
11227
11228
11229 static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj;
11231 wxString result;
11232 char *kwnames[] = {
11233 NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 result = wxImage::GetImageExtWildcard();
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 {
11245 #if wxUSE_UNICODE
11246 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11247 #else
11248 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11249 #endif
11250 }
11251 return resultobj;
11252 fail:
11253 return NULL;
11254 }
11255
11256
11257 static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11258 PyObject *resultobj;
11259 wxImage *arg1 = (wxImage *) 0 ;
11260 wxBitmap result;
11261 PyObject * obj0 = 0 ;
11262 char *kwnames[] = {
11263 (char *) "self", NULL
11264 };
11265
11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
11267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11269 {
11270 if (!wxPyCheckForApp()) SWIG_fail;
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 result = wxImage_ConvertToBitmap(arg1);
11273
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 {
11278 wxBitmap * resultptr;
11279 resultptr = new wxBitmap((wxBitmap &) result);
11280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
11281 }
11282 return resultobj;
11283 fail:
11284 return NULL;
11285 }
11286
11287
11288 static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj;
11290 wxImage *arg1 = (wxImage *) 0 ;
11291 unsigned char arg2 ;
11292 unsigned char arg3 ;
11293 unsigned char arg4 ;
11294 wxBitmap result;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 PyObject * obj2 = 0 ;
11298 PyObject * obj3 = 0 ;
11299 char *kwnames[] = {
11300 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11301 };
11302
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11306 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 {
11313 if (!wxPyCheckForApp()) SWIG_fail;
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 {
11321 wxBitmap * resultptr;
11322 resultptr = new wxBitmap((wxBitmap &) result);
11323 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
11324 }
11325 return resultobj;
11326 fail:
11327 return NULL;
11328 }
11329
11330
11331 static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11332 PyObject *obj;
11333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11334 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11335 Py_INCREF(obj);
11336 return Py_BuildValue((char *)"");
11337 }
11338 static int _wrap_NullImage_set(PyObject *_val) {
11339 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11340 return 1;
11341 }
11342
11343
11344 static PyObject *_wrap_NullImage_get() {
11345 PyObject *pyobj;
11346
11347 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
11348 return pyobj;
11349 }
11350
11351
11352 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
11353 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11354 return 1;
11355 }
11356
11357
11358 static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11359 PyObject *pyobj;
11360
11361 {
11362 #if wxUSE_UNICODE
11363 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11364 #else
11365 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11366 #endif
11367 }
11368 return pyobj;
11369 }
11370
11371
11372 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
11373 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11374 return 1;
11375 }
11376
11377
11378 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11379 PyObject *pyobj;
11380
11381 {
11382 #if wxUSE_UNICODE
11383 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11384 #else
11385 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11386 #endif
11387 }
11388 return pyobj;
11389 }
11390
11391
11392 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
11393 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11394 return 1;
11395 }
11396
11397
11398 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11399 PyObject *pyobj;
11400
11401 {
11402 #if wxUSE_UNICODE
11403 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11404 #else
11405 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11406 #endif
11407 }
11408 return pyobj;
11409 }
11410
11411
11412 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
11413 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11414 return 1;
11415 }
11416
11417
11418 static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11419 PyObject *pyobj;
11420
11421 {
11422 #if wxUSE_UNICODE
11423 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11424 #else
11425 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11426 #endif
11427 }
11428 return pyobj;
11429 }
11430
11431
11432 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
11433 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11434 return 1;
11435 }
11436
11437
11438 static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11439 PyObject *pyobj;
11440
11441 {
11442 #if wxUSE_UNICODE
11443 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11444 #else
11445 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11446 #endif
11447 }
11448 return pyobj;
11449 }
11450
11451
11452 static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11453 PyObject *resultobj;
11454 wxBMPHandler *result;
11455 char *kwnames[] = {
11456 NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 result = (wxBMPHandler *)new wxBMPHandler();
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
11468 return resultobj;
11469 fail:
11470 return NULL;
11471 }
11472
11473
11474 static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11475 PyObject *obj;
11476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11477 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11478 Py_INCREF(obj);
11479 return Py_BuildValue((char *)"");
11480 }
11481 static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject *resultobj;
11483 wxICOHandler *result;
11484 char *kwnames[] = {
11485 NULL
11486 };
11487
11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 result = (wxICOHandler *)new wxICOHandler();
11492
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 }
11496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
11497 return resultobj;
11498 fail:
11499 return NULL;
11500 }
11501
11502
11503 static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11504 PyObject *obj;
11505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11506 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11507 Py_INCREF(obj);
11508 return Py_BuildValue((char *)"");
11509 }
11510 static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxCURHandler *result;
11513 char *kwnames[] = {
11514 NULL
11515 };
11516
11517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 result = (wxCURHandler *)new wxCURHandler();
11521
11522 wxPyEndAllowThreads(__tstate);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 }
11525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
11526 return resultobj;
11527 fail:
11528 return NULL;
11529 }
11530
11531
11532 static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11533 PyObject *obj;
11534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11535 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11536 Py_INCREF(obj);
11537 return Py_BuildValue((char *)"");
11538 }
11539 static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11540 PyObject *resultobj;
11541 wxANIHandler *result;
11542 char *kwnames[] = {
11543 NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 result = (wxANIHandler *)new wxANIHandler();
11550
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
11555 return resultobj;
11556 fail:
11557 return NULL;
11558 }
11559
11560
11561 static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11562 PyObject *obj;
11563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11564 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11565 Py_INCREF(obj);
11566 return Py_BuildValue((char *)"");
11567 }
11568 static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj;
11570 wxPNGHandler *result;
11571 char *kwnames[] = {
11572 NULL
11573 };
11574
11575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 result = (wxPNGHandler *)new wxPNGHandler();
11579
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
11584 return resultobj;
11585 fail:
11586 return NULL;
11587 }
11588
11589
11590 static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11591 PyObject *obj;
11592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11593 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11594 Py_INCREF(obj);
11595 return Py_BuildValue((char *)"");
11596 }
11597 static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxGIFHandler *result;
11600 char *kwnames[] = {
11601 NULL
11602 };
11603
11604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11605 {
11606 PyThreadState* __tstate = wxPyBeginAllowThreads();
11607 result = (wxGIFHandler *)new wxGIFHandler();
11608
11609 wxPyEndAllowThreads(__tstate);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 }
11612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
11613 return resultobj;
11614 fail:
11615 return NULL;
11616 }
11617
11618
11619 static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11620 PyObject *obj;
11621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11622 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11623 Py_INCREF(obj);
11624 return Py_BuildValue((char *)"");
11625 }
11626 static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxPCXHandler *result;
11629 char *kwnames[] = {
11630 NULL
11631 };
11632
11633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 result = (wxPCXHandler *)new wxPCXHandler();
11637
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
11642 return resultobj;
11643 fail:
11644 return NULL;
11645 }
11646
11647
11648 static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11649 PyObject *obj;
11650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11651 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11652 Py_INCREF(obj);
11653 return Py_BuildValue((char *)"");
11654 }
11655 static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11656 PyObject *resultobj;
11657 wxJPEGHandler *result;
11658 char *kwnames[] = {
11659 NULL
11660 };
11661
11662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = (wxJPEGHandler *)new wxJPEGHandler();
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
11671 return resultobj;
11672 fail:
11673 return NULL;
11674 }
11675
11676
11677 static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11678 PyObject *obj;
11679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11680 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11681 Py_INCREF(obj);
11682 return Py_BuildValue((char *)"");
11683 }
11684 static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj;
11686 wxPNMHandler *result;
11687 char *kwnames[] = {
11688 NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 result = (wxPNMHandler *)new wxPNMHandler();
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
11700 return resultobj;
11701 fail:
11702 return NULL;
11703 }
11704
11705
11706 static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11707 PyObject *obj;
11708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11709 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11710 Py_INCREF(obj);
11711 return Py_BuildValue((char *)"");
11712 }
11713 static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11714 PyObject *resultobj;
11715 wxXPMHandler *result;
11716 char *kwnames[] = {
11717 NULL
11718 };
11719
11720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = (wxXPMHandler *)new wxXPMHandler();
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
11728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
11729 return resultobj;
11730 fail:
11731 return NULL;
11732 }
11733
11734
11735 static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11736 PyObject *obj;
11737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11738 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11739 Py_INCREF(obj);
11740 return Py_BuildValue((char *)"");
11741 }
11742 static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11743 PyObject *resultobj;
11744 wxTIFFHandler *result;
11745 char *kwnames[] = {
11746 NULL
11747 };
11748
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11750 {
11751 PyThreadState* __tstate = wxPyBeginAllowThreads();
11752 result = (wxTIFFHandler *)new wxTIFFHandler();
11753
11754 wxPyEndAllowThreads(__tstate);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 }
11757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
11758 return resultobj;
11759 fail:
11760 return NULL;
11761 }
11762
11763
11764 static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11765 PyObject *obj;
11766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11767 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11768 Py_INCREF(obj);
11769 return Py_BuildValue((char *)"");
11770 }
11771 static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11772 PyObject *resultobj;
11773 wxEvtHandler *result;
11774 char *kwnames[] = {
11775 NULL
11776 };
11777
11778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 result = (wxEvtHandler *)new wxEvtHandler();
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 {
11787 resultobj = wxPyMake_wxObject(result);
11788 }
11789 return resultobj;
11790 fail:
11791 return NULL;
11792 }
11793
11794
11795 static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11798 wxEvtHandler *result;
11799 PyObject * obj0 = 0 ;
11800 char *kwnames[] = {
11801 (char *) "self", NULL
11802 };
11803
11804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
11805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 {
11815 resultobj = wxPyMake_wxObject(result);
11816 }
11817 return resultobj;
11818 fail:
11819 return NULL;
11820 }
11821
11822
11823 static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj;
11825 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11826 wxEvtHandler *result;
11827 PyObject * obj0 = 0 ;
11828 char *kwnames[] = {
11829 (char *) "self", NULL
11830 };
11831
11832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
11833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11838
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 {
11843 resultobj = wxPyMake_wxObject(result);
11844 }
11845 return resultobj;
11846 fail:
11847 return NULL;
11848 }
11849
11850
11851 static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj;
11853 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11854 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11855 PyObject * obj0 = 0 ;
11856 PyObject * obj1 = 0 ;
11857 char *kwnames[] = {
11858 (char *) "self",(char *) "handler", NULL
11859 };
11860
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
11862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11866 {
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 (arg1)->SetNextHandler(arg2);
11869
11870 wxPyEndAllowThreads(__tstate);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
11873 Py_INCREF(Py_None); resultobj = Py_None;
11874 return resultobj;
11875 fail:
11876 return NULL;
11877 }
11878
11879
11880 static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11881 PyObject *resultobj;
11882 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11883 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11884 PyObject * obj0 = 0 ;
11885 PyObject * obj1 = 0 ;
11886 char *kwnames[] = {
11887 (char *) "self",(char *) "handler", NULL
11888 };
11889
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
11891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11893 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11895 {
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
11897 (arg1)->SetPreviousHandler(arg2);
11898
11899 wxPyEndAllowThreads(__tstate);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 Py_INCREF(Py_None); resultobj = Py_None;
11903 return resultobj;
11904 fail:
11905 return NULL;
11906 }
11907
11908
11909 static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11912 bool result;
11913 PyObject * obj0 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
11919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 result = (bool)(arg1)->GetEvtHandlerEnabled();
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 {
11929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11930 }
11931 return resultobj;
11932 fail:
11933 return NULL;
11934 }
11935
11936
11937 static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11940 bool arg2 ;
11941 PyObject * obj0 = 0 ;
11942 PyObject * obj1 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self",(char *) "enabled", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
11948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11950 arg2 = (bool) SWIG_AsBool(obj1);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 (arg1)->SetEvtHandlerEnabled(arg2);
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 Py_INCREF(Py_None); resultobj = Py_None;
11960 return resultobj;
11961 fail:
11962 return NULL;
11963 }
11964
11965
11966 static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11969 wxEvent *arg2 = 0 ;
11970 bool result;
11971 PyObject * obj0 = 0 ;
11972 PyObject * obj1 = 0 ;
11973 char *kwnames[] = {
11974 (char *) "self",(char *) "event", NULL
11975 };
11976
11977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
11978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11981 SWIG_POINTER_EXCEPTION | 0)) == -1)
11982 SWIG_fail;
11983 if (arg2 == NULL) {
11984 PyErr_SetString(PyExc_TypeError,"null reference");
11985 SWIG_fail;
11986 }
11987 {
11988 PyThreadState* __tstate = wxPyBeginAllowThreads();
11989 result = (bool)(arg1)->ProcessEvent(*arg2);
11990
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 {
11995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11996 }
11997 return resultobj;
11998 fail:
11999 return NULL;
12000 }
12001
12002
12003 static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12004 PyObject *resultobj;
12005 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12006 wxEvent *arg2 = 0 ;
12007 PyObject * obj0 = 0 ;
12008 PyObject * obj1 = 0 ;
12009 char *kwnames[] = {
12010 (char *) "self",(char *) "event", NULL
12011 };
12012
12013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
12014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12017 SWIG_POINTER_EXCEPTION | 0)) == -1)
12018 SWIG_fail;
12019 if (arg2 == NULL) {
12020 PyErr_SetString(PyExc_TypeError,"null reference");
12021 SWIG_fail;
12022 }
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 (arg1)->AddPendingEvent(*arg2);
12026
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 Py_INCREF(Py_None); resultobj = Py_None;
12031 return resultobj;
12032 fail:
12033 return NULL;
12034 }
12035
12036
12037 static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
12038 PyObject *resultobj;
12039 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12040 PyObject * obj0 = 0 ;
12041 char *kwnames[] = {
12042 (char *) "self", NULL
12043 };
12044
12045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
12046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 (arg1)->ProcessPendingEvents();
12051
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 Py_INCREF(Py_None); resultobj = Py_None;
12056 return resultobj;
12057 fail:
12058 return NULL;
12059 }
12060
12061
12062 static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj;
12064 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12065 int arg2 ;
12066 int arg3 ;
12067 int arg4 ;
12068 PyObject *arg5 = (PyObject *) 0 ;
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
12071 PyObject * obj2 = 0 ;
12072 PyObject * obj3 = 0 ;
12073 PyObject * obj4 = 0 ;
12074 char *kwnames[] = {
12075 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12076 };
12077
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12081 arg2 = (int) SWIG_AsInt(obj1);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 arg3 = (int) SWIG_AsInt(obj2);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 arg4 = (int) SWIG_AsInt(obj3);
12086 if (PyErr_Occurred()) SWIG_fail;
12087 arg5 = obj4;
12088 {
12089 PyThreadState* __tstate = wxPyBeginAllowThreads();
12090 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12091
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 Py_INCREF(Py_None); resultobj = Py_None;
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12105 int arg2 ;
12106 int arg3 = (int) -1 ;
12107 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12108 bool result;
12109 PyObject * obj0 = 0 ;
12110 PyObject * obj1 = 0 ;
12111 PyObject * obj2 = 0 ;
12112 PyObject * obj3 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12120 arg2 = (int) SWIG_AsInt(obj1);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 if (obj2) {
12123 arg3 = (int) SWIG_AsInt(obj2);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 if (obj3) {
12127 arg4 = (wxEventType) SWIG_AsInt(obj3);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
12137 {
12138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12139 }
12140 return resultobj;
12141 fail:
12142 return NULL;
12143 }
12144
12145
12146 static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12149 PyObject *arg2 = (PyObject *) 0 ;
12150 PyObject * obj0 = 0 ;
12151 PyObject * obj1 = 0 ;
12152 char *kwnames[] = {
12153 (char *) "self",(char *) "_self", NULL
12154 };
12155
12156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
12157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12159 arg2 = obj1;
12160 {
12161 PyThreadState* __tstate = wxPyBeginAllowThreads();
12162 wxEvtHandler__setOORInfo(arg1,arg2);
12163
12164 wxPyEndAllowThreads(__tstate);
12165 if (PyErr_Occurred()) SWIG_fail;
12166 }
12167 Py_INCREF(Py_None); resultobj = Py_None;
12168 return resultobj;
12169 fail:
12170 return NULL;
12171 }
12172
12173
12174 static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
12175 PyObject *obj;
12176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12177 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12178 Py_INCREF(obj);
12179 return Py_BuildValue((char *)"");
12180 }
12181 static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxEventType result;
12184 char *kwnames[] = {
12185 NULL
12186 };
12187
12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (wxEventType)wxNewEventType();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
12196 resultobj = SWIG_FromInt((int)result);
12197 return resultobj;
12198 fail:
12199 return NULL;
12200 }
12201
12202
12203 static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj;
12205 wxEvent *arg1 = (wxEvent *) 0 ;
12206 PyObject * obj0 = 0 ;
12207 char *kwnames[] = {
12208 (char *) "self", NULL
12209 };
12210
12211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
12212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 delete arg1;
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 Py_INCREF(Py_None); resultobj = Py_None;
12222 return resultobj;
12223 fail:
12224 return NULL;
12225 }
12226
12227
12228 static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxEvent *arg1 = (wxEvent *) 0 ;
12231 wxEventType arg2 ;
12232 PyObject * obj0 = 0 ;
12233 PyObject * obj1 = 0 ;
12234 char *kwnames[] = {
12235 (char *) "self",(char *) "typ", NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
12239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12241 arg2 = (wxEventType) SWIG_AsInt(obj1);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 (arg1)->SetEventType(arg2);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 Py_INCREF(Py_None); resultobj = Py_None;
12251 return resultobj;
12252 fail:
12253 return NULL;
12254 }
12255
12256
12257 static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12258 PyObject *resultobj;
12259 wxEvent *arg1 = (wxEvent *) 0 ;
12260 wxEventType result;
12261 PyObject * obj0 = 0 ;
12262 char *kwnames[] = {
12263 (char *) "self", NULL
12264 };
12265
12266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
12267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12269 {
12270 PyThreadState* __tstate = wxPyBeginAllowThreads();
12271 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12272
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 resultobj = SWIG_FromInt((int)result);
12277 return resultobj;
12278 fail:
12279 return NULL;
12280 }
12281
12282
12283 static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12284 PyObject *resultobj;
12285 wxEvent *arg1 = (wxEvent *) 0 ;
12286 wxObject *result;
12287 PyObject * obj0 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "self", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
12293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12298
12299 wxPyEndAllowThreads(__tstate);
12300 if (PyErr_Occurred()) SWIG_fail;
12301 }
12302 {
12303 resultobj = wxPyMake_wxObject(result);
12304 }
12305 return resultobj;
12306 fail:
12307 return NULL;
12308 }
12309
12310
12311 static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj;
12313 wxEvent *arg1 = (wxEvent *) 0 ;
12314 wxObject *arg2 = (wxObject *) 0 ;
12315 PyObject * obj0 = 0 ;
12316 PyObject * obj1 = 0 ;
12317 char *kwnames[] = {
12318 (char *) "self",(char *) "obj", NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
12322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 (arg1)->SetEventObject(arg2);
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 Py_INCREF(Py_None); resultobj = Py_None;
12334 return resultobj;
12335 fail:
12336 return NULL;
12337 }
12338
12339
12340 static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12341 PyObject *resultobj;
12342 wxEvent *arg1 = (wxEvent *) 0 ;
12343 long result;
12344 PyObject * obj0 = 0 ;
12345 char *kwnames[] = {
12346 (char *) "self", NULL
12347 };
12348
12349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
12350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12355
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 resultobj = SWIG_FromLong((long)result);
12360 return resultobj;
12361 fail:
12362 return NULL;
12363 }
12364
12365
12366 static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12367 PyObject *resultobj;
12368 wxEvent *arg1 = (wxEvent *) 0 ;
12369 long arg2 = (long) 0 ;
12370 PyObject * obj0 = 0 ;
12371 PyObject * obj1 = 0 ;
12372 char *kwnames[] = {
12373 (char *) "self",(char *) "ts", NULL
12374 };
12375
12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
12377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12379 if (obj1) {
12380 arg2 = (long) SWIG_AsLong(obj1);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 (arg1)->SetTimestamp(arg2);
12386
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 Py_INCREF(Py_None); resultobj = Py_None;
12391 return resultobj;
12392 fail:
12393 return NULL;
12394 }
12395
12396
12397 static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12398 PyObject *resultobj;
12399 wxEvent *arg1 = (wxEvent *) 0 ;
12400 int result;
12401 PyObject * obj0 = 0 ;
12402 char *kwnames[] = {
12403 (char *) "self", NULL
12404 };
12405
12406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
12407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 result = (int)((wxEvent const *)arg1)->GetId();
12412
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
12416 resultobj = SWIG_FromInt((int)result);
12417 return resultobj;
12418 fail:
12419 return NULL;
12420 }
12421
12422
12423 static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12424 PyObject *resultobj;
12425 wxEvent *arg1 = (wxEvent *) 0 ;
12426 int arg2 ;
12427 PyObject * obj0 = 0 ;
12428 PyObject * obj1 = 0 ;
12429 char *kwnames[] = {
12430 (char *) "self",(char *) "Id", NULL
12431 };
12432
12433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
12434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12436 arg2 = (int) SWIG_AsInt(obj1);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 {
12439 PyThreadState* __tstate = wxPyBeginAllowThreads();
12440 (arg1)->SetId(arg2);
12441
12442 wxPyEndAllowThreads(__tstate);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
12445 Py_INCREF(Py_None); resultobj = Py_None;
12446 return resultobj;
12447 fail:
12448 return NULL;
12449 }
12450
12451
12452 static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12453 PyObject *resultobj;
12454 wxEvent *arg1 = (wxEvent *) 0 ;
12455 bool result;
12456 PyObject * obj0 = 0 ;
12457 char *kwnames[] = {
12458 (char *) "self", NULL
12459 };
12460
12461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
12462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12464 {
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12467
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
12471 {
12472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12473 }
12474 return resultobj;
12475 fail:
12476 return NULL;
12477 }
12478
12479
12480 static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12481 PyObject *resultobj;
12482 wxEvent *arg1 = (wxEvent *) 0 ;
12483 bool arg2 = (bool) True ;
12484 PyObject * obj0 = 0 ;
12485 PyObject * obj1 = 0 ;
12486 char *kwnames[] = {
12487 (char *) "self",(char *) "skip", NULL
12488 };
12489
12490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
12491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12493 if (obj1) {
12494 arg2 = (bool) SWIG_AsBool(obj1);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 (arg1)->Skip(arg2);
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
12504 Py_INCREF(Py_None); resultobj = Py_None;
12505 return resultobj;
12506 fail:
12507 return NULL;
12508 }
12509
12510
12511 static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12512 PyObject *resultobj;
12513 wxEvent *arg1 = (wxEvent *) 0 ;
12514 bool result;
12515 PyObject * obj0 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "self", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
12521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 {
12531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12532 }
12533 return resultobj;
12534 fail:
12535 return NULL;
12536 }
12537
12538
12539 static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12540 PyObject *resultobj;
12541 wxEvent *arg1 = (wxEvent *) 0 ;
12542 bool result;
12543 PyObject * obj0 = 0 ;
12544 char *kwnames[] = {
12545 (char *) "self", NULL
12546 };
12547
12548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
12549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 {
12559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12560 }
12561 return resultobj;
12562 fail:
12563 return NULL;
12564 }
12565
12566
12567 static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12568 PyObject *resultobj;
12569 wxEvent *arg1 = (wxEvent *) 0 ;
12570 int result;
12571 PyObject * obj0 = 0 ;
12572 char *kwnames[] = {
12573 (char *) "self", NULL
12574 };
12575
12576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
12577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12579 {
12580 PyThreadState* __tstate = wxPyBeginAllowThreads();
12581 result = (int)(arg1)->StopPropagation();
12582
12583 wxPyEndAllowThreads(__tstate);
12584 if (PyErr_Occurred()) SWIG_fail;
12585 }
12586 resultobj = SWIG_FromInt((int)result);
12587 return resultobj;
12588 fail:
12589 return NULL;
12590 }
12591
12592
12593 static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12594 PyObject *resultobj;
12595 wxEvent *arg1 = (wxEvent *) 0 ;
12596 int arg2 ;
12597 PyObject * obj0 = 0 ;
12598 PyObject * obj1 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self",(char *) "propagationLevel", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
12604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12606 arg2 = (int) SWIG_AsInt(obj1);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 (arg1)->ResumePropagation(arg2);
12611
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 Py_INCREF(Py_None); resultobj = Py_None;
12616 return resultobj;
12617 fail:
12618 return NULL;
12619 }
12620
12621
12622 static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxEvent *arg1 = (wxEvent *) 0 ;
12625 wxEvent *result;
12626 PyObject * obj0 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
12632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 result = (wxEvent *)(arg1)->Clone();
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
12642 return resultobj;
12643 fail:
12644 return NULL;
12645 }
12646
12647
12648 static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12649 PyObject *obj;
12650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12651 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12652 Py_INCREF(obj);
12653 return Py_BuildValue((char *)"");
12654 }
12655 static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj;
12657 wxEvent *arg1 = 0 ;
12658 wxPropagationDisabler *result;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "event", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
12665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12666 SWIG_POINTER_EXCEPTION | 0)) == -1)
12667 SWIG_fail;
12668 if (arg1 == NULL) {
12669 PyErr_SetString(PyExc_TypeError,"null reference");
12670 SWIG_fail;
12671 }
12672 {
12673 PyThreadState* __tstate = wxPyBeginAllowThreads();
12674 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12675
12676 wxPyEndAllowThreads(__tstate);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
12680 return resultobj;
12681 fail:
12682 return NULL;
12683 }
12684
12685
12686 static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12687 PyObject *resultobj;
12688 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12689 PyObject * obj0 = 0 ;
12690 char *kwnames[] = {
12691 (char *) "self", NULL
12692 };
12693
12694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
12695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12697 {
12698 PyThreadState* __tstate = wxPyBeginAllowThreads();
12699 delete arg1;
12700
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 Py_INCREF(Py_None); resultobj = Py_None;
12705 return resultobj;
12706 fail:
12707 return NULL;
12708 }
12709
12710
12711 static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12712 PyObject *obj;
12713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12714 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12715 Py_INCREF(obj);
12716 return Py_BuildValue((char *)"");
12717 }
12718 static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12719 PyObject *resultobj;
12720 wxEvent *arg1 = 0 ;
12721 wxPropagateOnce *result;
12722 PyObject * obj0 = 0 ;
12723 char *kwnames[] = {
12724 (char *) "event", NULL
12725 };
12726
12727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
12728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12729 SWIG_POINTER_EXCEPTION | 0)) == -1)
12730 SWIG_fail;
12731 if (arg1 == NULL) {
12732 PyErr_SetString(PyExc_TypeError,"null reference");
12733 SWIG_fail;
12734 }
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12738
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
12743 return resultobj;
12744 fail:
12745 return NULL;
12746 }
12747
12748
12749 static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12750 PyObject *resultobj;
12751 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12752 PyObject * obj0 = 0 ;
12753 char *kwnames[] = {
12754 (char *) "self", NULL
12755 };
12756
12757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
12758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 delete arg1;
12763
12764 wxPyEndAllowThreads(__tstate);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
12767 Py_INCREF(Py_None); resultobj = Py_None;
12768 return resultobj;
12769 fail:
12770 return NULL;
12771 }
12772
12773
12774 static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12775 PyObject *obj;
12776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12777 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12778 Py_INCREF(obj);
12779 return Py_BuildValue((char *)"");
12780 }
12781 static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12782 PyObject *resultobj;
12783 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12784 int arg2 = (int) 0 ;
12785 wxCommandEvent *result;
12786 PyObject * obj0 = 0 ;
12787 PyObject * obj1 = 0 ;
12788 char *kwnames[] = {
12789 (char *) "commandType",(char *) "winid", NULL
12790 };
12791
12792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12793 if (obj0) {
12794 arg1 = (wxEventType) SWIG_AsInt(obj0);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 if (obj1) {
12798 arg2 = (int) SWIG_AsInt(obj1);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
12803 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12804
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
12808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
12809 return resultobj;
12810 fail:
12811 return NULL;
12812 }
12813
12814
12815 static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12816 PyObject *resultobj;
12817 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12818 int result;
12819 PyObject * obj0 = 0 ;
12820 char *kwnames[] = {
12821 (char *) "self", NULL
12822 };
12823
12824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
12825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12827 {
12828 PyThreadState* __tstate = wxPyBeginAllowThreads();
12829 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12830
12831 wxPyEndAllowThreads(__tstate);
12832 if (PyErr_Occurred()) SWIG_fail;
12833 }
12834 resultobj = SWIG_FromInt((int)result);
12835 return resultobj;
12836 fail:
12837 return NULL;
12838 }
12839
12840
12841 static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12842 PyObject *resultobj;
12843 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12844 wxString *arg2 = 0 ;
12845 bool temp2 = False ;
12846 PyObject * obj0 = 0 ;
12847 PyObject * obj1 = 0 ;
12848 char *kwnames[] = {
12849 (char *) "self",(char *) "s", NULL
12850 };
12851
12852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
12853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12855 {
12856 arg2 = wxString_in_helper(obj1);
12857 if (arg2 == NULL) SWIG_fail;
12858 temp2 = True;
12859 }
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 (arg1)->SetString((wxString const &)*arg2);
12863
12864 wxPyEndAllowThreads(__tstate);
12865 if (PyErr_Occurred()) SWIG_fail;
12866 }
12867 Py_INCREF(Py_None); resultobj = Py_None;
12868 {
12869 if (temp2)
12870 delete arg2;
12871 }
12872 return resultobj;
12873 fail:
12874 {
12875 if (temp2)
12876 delete arg2;
12877 }
12878 return NULL;
12879 }
12880
12881
12882 static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12883 PyObject *resultobj;
12884 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12885 wxString result;
12886 PyObject * obj0 = 0 ;
12887 char *kwnames[] = {
12888 (char *) "self", NULL
12889 };
12890
12891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
12892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12894 {
12895 PyThreadState* __tstate = wxPyBeginAllowThreads();
12896 result = ((wxCommandEvent const *)arg1)->GetString();
12897
12898 wxPyEndAllowThreads(__tstate);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
12901 {
12902 #if wxUSE_UNICODE
12903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12904 #else
12905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12906 #endif
12907 }
12908 return resultobj;
12909 fail:
12910 return NULL;
12911 }
12912
12913
12914 static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxCommandEvent *arg1 = (wxCommandEvent *) 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:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
12924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
12928 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
12933 {
12934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12935 }
12936 return resultobj;
12937 fail:
12938 return NULL;
12939 }
12940
12941
12942 static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12943 PyObject *resultobj;
12944 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12945 bool result;
12946 PyObject * obj0 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "self", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
12952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 {
12962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12963 }
12964 return resultobj;
12965 fail:
12966 return NULL;
12967 }
12968
12969
12970 static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12971 PyObject *resultobj;
12972 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12973 long arg2 ;
12974 PyObject * obj0 = 0 ;
12975 PyObject * obj1 = 0 ;
12976 char *kwnames[] = {
12977 (char *) "self",(char *) "extraLong", NULL
12978 };
12979
12980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
12981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12983 arg2 = (long) SWIG_AsLong(obj1);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 (arg1)->SetExtraLong(arg2);
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 Py_INCREF(Py_None); resultobj = Py_None;
12993 return resultobj;
12994 fail:
12995 return NULL;
12996 }
12997
12998
12999 static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13002 long result;
13003 PyObject * obj0 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13011 {
13012 PyThreadState* __tstate = wxPyBeginAllowThreads();
13013 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
13014
13015 wxPyEndAllowThreads(__tstate);
13016 if (PyErr_Occurred()) SWIG_fail;
13017 }
13018 resultobj = SWIG_FromLong((long)result);
13019 return resultobj;
13020 fail:
13021 return NULL;
13022 }
13023
13024
13025 static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13028 int arg2 ;
13029 PyObject * obj0 = 0 ;
13030 PyObject * obj1 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self",(char *) "i", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
13036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13038 arg2 = (int) SWIG_AsInt(obj1);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 (arg1)->SetInt(arg2);
13043
13044 wxPyEndAllowThreads(__tstate);
13045 if (PyErr_Occurred()) SWIG_fail;
13046 }
13047 Py_INCREF(Py_None); resultobj = Py_None;
13048 return resultobj;
13049 fail:
13050 return NULL;
13051 }
13052
13053
13054 static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13055 PyObject *resultobj;
13056 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13057 long result;
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 resultobj = SWIG_FromLong((long)result);
13074 return resultobj;
13075 fail:
13076 return NULL;
13077 }
13078
13079
13080 static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj;
13082 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13083 wxEvent *result;
13084 PyObject * obj0 = 0 ;
13085 char *kwnames[] = {
13086 (char *) "self", NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
13090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13095
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
13100 return resultobj;
13101 fail:
13102 return NULL;
13103 }
13104
13105
13106 static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
13107 PyObject *obj;
13108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13109 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13110 Py_INCREF(obj);
13111 return Py_BuildValue((char *)"");
13112 }
13113 static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13116 int arg2 = (int) 0 ;
13117 wxNotifyEvent *result;
13118 PyObject * obj0 = 0 ;
13119 PyObject * obj1 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "commandType",(char *) "winid", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13125 if (obj0) {
13126 arg1 = (wxEventType) SWIG_AsInt(obj0);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 if (obj1) {
13130 arg2 = (int) SWIG_AsInt(obj1);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 {
13134 PyThreadState* __tstate = wxPyBeginAllowThreads();
13135 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13136
13137 wxPyEndAllowThreads(__tstate);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 }
13140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
13141 return resultobj;
13142 fail:
13143 return NULL;
13144 }
13145
13146
13147 static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
13148 PyObject *resultobj;
13149 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13150 PyObject * obj0 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
13156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 (arg1)->Veto();
13161
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
13165 Py_INCREF(Py_None); resultobj = Py_None;
13166 return resultobj;
13167 fail:
13168 return NULL;
13169 }
13170
13171
13172 static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj;
13174 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13175 PyObject * obj0 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
13181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13183 {
13184 PyThreadState* __tstate = wxPyBeginAllowThreads();
13185 (arg1)->Allow();
13186
13187 wxPyEndAllowThreads(__tstate);
13188 if (PyErr_Occurred()) SWIG_fail;
13189 }
13190 Py_INCREF(Py_None); resultobj = Py_None;
13191 return resultobj;
13192 fail:
13193 return NULL;
13194 }
13195
13196
13197 static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
13198 PyObject *resultobj;
13199 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13200 bool result;
13201 PyObject * obj0 = 0 ;
13202 char *kwnames[] = {
13203 (char *) "self", NULL
13204 };
13205
13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
13207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13209 {
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
13211 result = (bool)(arg1)->IsAllowed();
13212
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 {
13217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13218 }
13219 return resultobj;
13220 fail:
13221 return NULL;
13222 }
13223
13224
13225 static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
13226 PyObject *obj;
13227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13228 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13229 Py_INCREF(obj);
13230 return Py_BuildValue((char *)"");
13231 }
13232 static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj;
13234 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13235 int arg2 = (int) 0 ;
13236 int arg3 = (int) 0 ;
13237 int arg4 = (int) 0 ;
13238 wxScrollEvent *result;
13239 PyObject * obj0 = 0 ;
13240 PyObject * obj1 = 0 ;
13241 PyObject * obj2 = 0 ;
13242 PyObject * obj3 = 0 ;
13243 char *kwnames[] = {
13244 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13248 if (obj0) {
13249 arg1 = (wxEventType) SWIG_AsInt(obj0);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 }
13252 if (obj1) {
13253 arg2 = (int) SWIG_AsInt(obj1);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 if (obj2) {
13257 arg3 = (int) SWIG_AsInt(obj2);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 if (obj3) {
13261 arg4 = (int) SWIG_AsInt(obj3);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13267
13268 wxPyEndAllowThreads(__tstate);
13269 if (PyErr_Occurred()) SWIG_fail;
13270 }
13271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
13272 return resultobj;
13273 fail:
13274 return NULL;
13275 }
13276
13277
13278 static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj;
13280 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13281 int result;
13282 PyObject * obj0 = 0 ;
13283 char *kwnames[] = {
13284 (char *) "self", NULL
13285 };
13286
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
13288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 resultobj = SWIG_FromInt((int)result);
13298 return resultobj;
13299 fail:
13300 return NULL;
13301 }
13302
13303
13304 static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13305 PyObject *resultobj;
13306 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13307 int result;
13308 PyObject * obj0 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13319
13320 wxPyEndAllowThreads(__tstate);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
13323 resultobj = SWIG_FromInt((int)result);
13324 return resultobj;
13325 fail:
13326 return NULL;
13327 }
13328
13329
13330 static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13333 int arg2 ;
13334 PyObject * obj0 = 0 ;
13335 PyObject * obj1 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self",(char *) "orient", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
13341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13343 arg2 = (int) SWIG_AsInt(obj1);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 (arg1)->SetOrientation(arg2);
13348
13349 wxPyEndAllowThreads(__tstate);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 }
13352 Py_INCREF(Py_None); resultobj = Py_None;
13353 return resultobj;
13354 fail:
13355 return NULL;
13356 }
13357
13358
13359 static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13360 PyObject *resultobj;
13361 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13362 int arg2 ;
13363 PyObject * obj0 = 0 ;
13364 PyObject * obj1 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self",(char *) "pos", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13372 arg2 = (int) SWIG_AsInt(obj1);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 {
13375 PyThreadState* __tstate = wxPyBeginAllowThreads();
13376 (arg1)->SetPosition(arg2);
13377
13378 wxPyEndAllowThreads(__tstate);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
13381 Py_INCREF(Py_None); resultobj = Py_None;
13382 return resultobj;
13383 fail:
13384 return NULL;
13385 }
13386
13387
13388 static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13389 PyObject *obj;
13390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13391 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13392 Py_INCREF(obj);
13393 return Py_BuildValue((char *)"");
13394 }
13395 static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13396 PyObject *resultobj;
13397 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13398 int arg2 = (int) 0 ;
13399 int arg3 = (int) 0 ;
13400 wxScrollWinEvent *result;
13401 PyObject * obj0 = 0 ;
13402 PyObject * obj1 = 0 ;
13403 PyObject * obj2 = 0 ;
13404 char *kwnames[] = {
13405 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13406 };
13407
13408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13409 if (obj0) {
13410 arg1 = (wxEventType) SWIG_AsInt(obj0);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 }
13413 if (obj1) {
13414 arg2 = (int) SWIG_AsInt(obj1);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 if (obj2) {
13418 arg3 = (int) SWIG_AsInt(obj2);
13419 if (PyErr_Occurred()) SWIG_fail;
13420 }
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
13429 return resultobj;
13430 fail:
13431 return NULL;
13432 }
13433
13434
13435 static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13436 PyObject *resultobj;
13437 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13438 int result;
13439 PyObject * obj0 = 0 ;
13440 char *kwnames[] = {
13441 (char *) "self", NULL
13442 };
13443
13444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
13445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13447 {
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
13449 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13450
13451 wxPyEndAllowThreads(__tstate);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
13454 resultobj = SWIG_FromInt((int)result);
13455 return resultobj;
13456 fail:
13457 return NULL;
13458 }
13459
13460
13461 static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj;
13463 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13464 int result;
13465 PyObject * obj0 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
13471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 resultobj = SWIG_FromInt((int)result);
13481 return resultobj;
13482 fail:
13483 return NULL;
13484 }
13485
13486
13487 static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13490 int arg2 ;
13491 PyObject * obj0 = 0 ;
13492 PyObject * obj1 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self",(char *) "orient", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
13498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13500 arg2 = (int) SWIG_AsInt(obj1);
13501 if (PyErr_Occurred()) SWIG_fail;
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 (arg1)->SetOrientation(arg2);
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 Py_INCREF(Py_None); resultobj = Py_None;
13510 return resultobj;
13511 fail:
13512 return NULL;
13513 }
13514
13515
13516 static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13517 PyObject *resultobj;
13518 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13519 int arg2 ;
13520 PyObject * obj0 = 0 ;
13521 PyObject * obj1 = 0 ;
13522 char *kwnames[] = {
13523 (char *) "self",(char *) "pos", NULL
13524 };
13525
13526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13529 arg2 = (int) SWIG_AsInt(obj1);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 {
13532 PyThreadState* __tstate = wxPyBeginAllowThreads();
13533 (arg1)->SetPosition(arg2);
13534
13535 wxPyEndAllowThreads(__tstate);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 }
13538 Py_INCREF(Py_None); resultobj = Py_None;
13539 return resultobj;
13540 fail:
13541 return NULL;
13542 }
13543
13544
13545 static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13546 PyObject *obj;
13547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13548 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13549 Py_INCREF(obj);
13550 return Py_BuildValue((char *)"");
13551 }
13552 static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13553 PyObject *resultobj;
13554 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13555 wxMouseEvent *result;
13556 PyObject * obj0 = 0 ;
13557 char *kwnames[] = {
13558 (char *) "mouseType", NULL
13559 };
13560
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13562 if (obj0) {
13563 arg1 = (wxEventType) SWIG_AsInt(obj0);
13564 if (PyErr_Occurred()) SWIG_fail;
13565 }
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 {
13574 resultobj = wxPyMake_wxObject(result);
13575 }
13576 return resultobj;
13577 fail:
13578 return NULL;
13579 }
13580
13581
13582 static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13583 PyObject *resultobj;
13584 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13585 bool result;
13586 PyObject * obj0 = 0 ;
13587 char *kwnames[] = {
13588 (char *) "self", NULL
13589 };
13590
13591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
13592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13594 {
13595 PyThreadState* __tstate = wxPyBeginAllowThreads();
13596 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13597
13598 wxPyEndAllowThreads(__tstate);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
13601 {
13602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13603 }
13604 return resultobj;
13605 fail:
13606 return NULL;
13607 }
13608
13609
13610 static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13611 PyObject *resultobj;
13612 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13613 int arg2 = (int) wxMOUSE_BTN_ANY ;
13614 bool result;
13615 PyObject * obj0 = 0 ;
13616 PyObject * obj1 = 0 ;
13617 char *kwnames[] = {
13618 (char *) "self",(char *) "but", NULL
13619 };
13620
13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
13622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13624 if (obj1) {
13625 arg2 = (int) SWIG_AsInt(obj1);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
13635 {
13636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13637 }
13638 return resultobj;
13639 fail:
13640 return NULL;
13641 }
13642
13643
13644 static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13645 PyObject *resultobj;
13646 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13647 int arg2 = (int) wxMOUSE_BTN_ANY ;
13648 bool result;
13649 PyObject * obj0 = 0 ;
13650 PyObject * obj1 = 0 ;
13651 char *kwnames[] = {
13652 (char *) "self",(char *) "but", NULL
13653 };
13654
13655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
13656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13658 if (obj1) {
13659 arg2 = (int) SWIG_AsInt(obj1);
13660 if (PyErr_Occurred()) SWIG_fail;
13661 }
13662 {
13663 PyThreadState* __tstate = wxPyBeginAllowThreads();
13664 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13665
13666 wxPyEndAllowThreads(__tstate);
13667 if (PyErr_Occurred()) SWIG_fail;
13668 }
13669 {
13670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13671 }
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13681 int arg2 = (int) wxMOUSE_BTN_ANY ;
13682 bool result;
13683 PyObject * obj0 = 0 ;
13684 PyObject * obj1 = 0 ;
13685 char *kwnames[] = {
13686 (char *) "self",(char *) "but", NULL
13687 };
13688
13689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
13690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13692 if (obj1) {
13693 arg2 = (int) SWIG_AsInt(obj1);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
13696 {
13697 PyThreadState* __tstate = wxPyBeginAllowThreads();
13698 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13699
13700 wxPyEndAllowThreads(__tstate);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
13703 {
13704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13705 }
13706 return resultobj;
13707 fail:
13708 return NULL;
13709 }
13710
13711
13712 static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13713 PyObject *resultobj;
13714 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13715 int arg2 ;
13716 bool result;
13717 PyObject * obj0 = 0 ;
13718 PyObject * obj1 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self",(char *) "but", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
13724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13726 arg2 = (int) SWIG_AsInt(obj1);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 {
13729 PyThreadState* __tstate = wxPyBeginAllowThreads();
13730 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13731
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
13735 {
13736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13737 }
13738 return resultobj;
13739 fail:
13740 return NULL;
13741 }
13742
13743
13744 static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj;
13746 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13747 int arg2 ;
13748 bool result;
13749 PyObject * obj0 = 0 ;
13750 PyObject * obj1 = 0 ;
13751 char *kwnames[] = {
13752 (char *) "self",(char *) "but", NULL
13753 };
13754
13755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
13756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13758 arg2 = (int) SWIG_AsInt(obj1);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13763
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 {
13768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13769 }
13770 return resultobj;
13771 fail:
13772 return NULL;
13773 }
13774
13775
13776 static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj;
13778 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13779 int result;
13780 PyObject * obj0 = 0 ;
13781 char *kwnames[] = {
13782 (char *) "self", NULL
13783 };
13784
13785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
13786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13788 {
13789 PyThreadState* __tstate = wxPyBeginAllowThreads();
13790 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13791
13792 wxPyEndAllowThreads(__tstate);
13793 if (PyErr_Occurred()) SWIG_fail;
13794 }
13795 resultobj = SWIG_FromInt((int)result);
13796 return resultobj;
13797 fail:
13798 return NULL;
13799 }
13800
13801
13802 static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj;
13804 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13805 bool result;
13806 PyObject * obj0 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
13812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13817
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 {
13822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13823 }
13824 return resultobj;
13825 fail:
13826 return NULL;
13827 }
13828
13829
13830 static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj;
13832 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13833 bool result;
13834 PyObject * obj0 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
13840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13842 {
13843 PyThreadState* __tstate = wxPyBeginAllowThreads();
13844 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13845
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 {
13850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13851 }
13852 return resultobj;
13853 fail:
13854 return NULL;
13855 }
13856
13857
13858 static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj;
13860 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13861 bool result;
13862 PyObject * obj0 = 0 ;
13863 char *kwnames[] = {
13864 (char *) "self", NULL
13865 };
13866
13867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
13868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13870 {
13871 PyThreadState* __tstate = wxPyBeginAllowThreads();
13872 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13873
13874 wxPyEndAllowThreads(__tstate);
13875 if (PyErr_Occurred()) SWIG_fail;
13876 }
13877 {
13878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13879 }
13880 return resultobj;
13881 fail:
13882 return NULL;
13883 }
13884
13885
13886 static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13887 PyObject *resultobj;
13888 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13889 bool result;
13890 PyObject * obj0 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "self", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
13896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13901
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 {
13906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13907 }
13908 return resultobj;
13909 fail:
13910 return NULL;
13911 }
13912
13913
13914 static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13915 PyObject *resultobj;
13916 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13917 bool result;
13918 PyObject * obj0 = 0 ;
13919 char *kwnames[] = {
13920 (char *) "self", NULL
13921 };
13922
13923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
13924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13929
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) SWIG_fail;
13932 }
13933 {
13934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13935 }
13936 return resultobj;
13937 fail:
13938 return NULL;
13939 }
13940
13941
13942 static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13943 PyObject *resultobj;
13944 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13945 bool result;
13946 PyObject * obj0 = 0 ;
13947 char *kwnames[] = {
13948 (char *) "self", NULL
13949 };
13950
13951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
13952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
13961 {
13962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13963 }
13964 return resultobj;
13965 fail:
13966 return NULL;
13967 }
13968
13969
13970 static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13971 PyObject *resultobj;
13972 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13973 bool result;
13974 PyObject * obj0 = 0 ;
13975 char *kwnames[] = {
13976 (char *) "self", NULL
13977 };
13978
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
13980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
13985
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 {
13990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13991 }
13992 return resultobj;
13993 fail:
13994 return NULL;
13995 }
13996
13997
13998 static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13999 PyObject *resultobj;
14000 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14001 bool result;
14002 PyObject * obj0 = 0 ;
14003 char *kwnames[] = {
14004 (char *) "self", NULL
14005 };
14006
14007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
14008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14010 {
14011 PyThreadState* __tstate = wxPyBeginAllowThreads();
14012 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
14013
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 {
14018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14019 }
14020 return resultobj;
14021 fail:
14022 return NULL;
14023 }
14024
14025
14026 static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14027 PyObject *resultobj;
14028 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14029 bool result;
14030 PyObject * obj0 = 0 ;
14031 char *kwnames[] = {
14032 (char *) "self", NULL
14033 };
14034
14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
14036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14038 {
14039 PyThreadState* __tstate = wxPyBeginAllowThreads();
14040 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14041
14042 wxPyEndAllowThreads(__tstate);
14043 if (PyErr_Occurred()) SWIG_fail;
14044 }
14045 {
14046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14047 }
14048 return resultobj;
14049 fail:
14050 return NULL;
14051 }
14052
14053
14054 static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14055 PyObject *resultobj;
14056 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14057 bool result;
14058 PyObject * obj0 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self", NULL
14061 };
14062
14063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
14064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 {
14074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14075 }
14076 return resultobj;
14077 fail:
14078 return NULL;
14079 }
14080
14081
14082 static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj;
14084 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14085 bool result;
14086 PyObject * obj0 = 0 ;
14087 char *kwnames[] = {
14088 (char *) "self", NULL
14089 };
14090
14091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
14092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
14096 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14097
14098 wxPyEndAllowThreads(__tstate);
14099 if (PyErr_Occurred()) SWIG_fail;
14100 }
14101 {
14102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14103 }
14104 return resultobj;
14105 fail:
14106 return NULL;
14107 }
14108
14109
14110 static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14111 PyObject *resultobj;
14112 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14113 bool result;
14114 PyObject * obj0 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
14120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14122 {
14123 PyThreadState* __tstate = wxPyBeginAllowThreads();
14124 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14125
14126 wxPyEndAllowThreads(__tstate);
14127 if (PyErr_Occurred()) SWIG_fail;
14128 }
14129 {
14130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14131 }
14132 return resultobj;
14133 fail:
14134 return NULL;
14135 }
14136
14137
14138 static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14139 PyObject *resultobj;
14140 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14141 bool result;
14142 PyObject * obj0 = 0 ;
14143 char *kwnames[] = {
14144 (char *) "self", NULL
14145 };
14146
14147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
14148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14150 {
14151 PyThreadState* __tstate = wxPyBeginAllowThreads();
14152 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14153
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
14157 {
14158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14159 }
14160 return resultobj;
14161 fail:
14162 return NULL;
14163 }
14164
14165
14166 static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14167 PyObject *resultobj;
14168 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14169 bool result;
14170 PyObject * obj0 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
14176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14178 {
14179 PyThreadState* __tstate = wxPyBeginAllowThreads();
14180 result = (bool)(arg1)->LeftIsDown();
14181
14182 wxPyEndAllowThreads(__tstate);
14183 if (PyErr_Occurred()) SWIG_fail;
14184 }
14185 {
14186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14187 }
14188 return resultobj;
14189 fail:
14190 return NULL;
14191 }
14192
14193
14194 static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14195 PyObject *resultobj;
14196 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14197 bool result;
14198 PyObject * obj0 = 0 ;
14199 char *kwnames[] = {
14200 (char *) "self", NULL
14201 };
14202
14203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
14204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14206 {
14207 PyThreadState* __tstate = wxPyBeginAllowThreads();
14208 result = (bool)(arg1)->MiddleIsDown();
14209
14210 wxPyEndAllowThreads(__tstate);
14211 if (PyErr_Occurred()) SWIG_fail;
14212 }
14213 {
14214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14215 }
14216 return resultobj;
14217 fail:
14218 return NULL;
14219 }
14220
14221
14222 static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14223 PyObject *resultobj;
14224 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14225 bool result;
14226 PyObject * obj0 = 0 ;
14227 char *kwnames[] = {
14228 (char *) "self", NULL
14229 };
14230
14231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
14232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 result = (bool)(arg1)->RightIsDown();
14237
14238 wxPyEndAllowThreads(__tstate);
14239 if (PyErr_Occurred()) SWIG_fail;
14240 }
14241 {
14242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14243 }
14244 return resultobj;
14245 fail:
14246 return NULL;
14247 }
14248
14249
14250 static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14253 bool result;
14254 PyObject * obj0 = 0 ;
14255 char *kwnames[] = {
14256 (char *) "self", NULL
14257 };
14258
14259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
14260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14265
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
14269 {
14270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14271 }
14272 return resultobj;
14273 fail:
14274 return NULL;
14275 }
14276
14277
14278 static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
14279 PyObject *resultobj;
14280 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14281 bool result;
14282 PyObject * obj0 = 0 ;
14283 char *kwnames[] = {
14284 (char *) "self", NULL
14285 };
14286
14287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
14288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14290 {
14291 PyThreadState* __tstate = wxPyBeginAllowThreads();
14292 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14293
14294 wxPyEndAllowThreads(__tstate);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
14297 {
14298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14299 }
14300 return resultobj;
14301 fail:
14302 return NULL;
14303 }
14304
14305
14306 static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14309 bool result;
14310 PyObject * obj0 = 0 ;
14311 char *kwnames[] = {
14312 (char *) "self", NULL
14313 };
14314
14315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
14316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14318 {
14319 PyThreadState* __tstate = wxPyBeginAllowThreads();
14320 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14321
14322 wxPyEndAllowThreads(__tstate);
14323 if (PyErr_Occurred()) SWIG_fail;
14324 }
14325 {
14326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14327 }
14328 return resultobj;
14329 fail:
14330 return NULL;
14331 }
14332
14333
14334 static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
14335 PyObject *resultobj;
14336 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14337 bool result;
14338 PyObject * obj0 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "self", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
14344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
14353 {
14354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14355 }
14356 return resultobj;
14357 fail:
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14365 wxPoint result;
14366 PyObject * obj0 = 0 ;
14367 char *kwnames[] = {
14368 (char *) "self", NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
14372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14374 {
14375 PyThreadState* __tstate = wxPyBeginAllowThreads();
14376 result = (arg1)->GetPosition();
14377
14378 wxPyEndAllowThreads(__tstate);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
14381 {
14382 wxPoint * resultptr;
14383 resultptr = new wxPoint((wxPoint &) result);
14384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14385 }
14386 return resultobj;
14387 fail:
14388 return NULL;
14389 }
14390
14391
14392 static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj;
14394 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14395 long *arg2 = (long *) 0 ;
14396 long *arg3 = (long *) 0 ;
14397 long temp2 ;
14398 long temp3 ;
14399 PyObject * obj0 = 0 ;
14400 char *kwnames[] = {
14401 (char *) "self", NULL
14402 };
14403
14404 arg2 = &temp2;
14405 arg3 = &temp3;
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
14407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 (arg1)->GetPosition(arg2,arg3);
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 Py_INCREF(Py_None); resultobj = Py_None;
14417 {
14418 PyObject *o = PyInt_FromLong((long) (*arg2));
14419 resultobj = t_output_helper(resultobj,o);
14420 }
14421 {
14422 PyObject *o = PyInt_FromLong((long) (*arg3));
14423 resultobj = t_output_helper(resultobj,o);
14424 }
14425 return resultobj;
14426 fail:
14427 return NULL;
14428 }
14429
14430
14431 static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14434 wxDC *arg2 = 0 ;
14435 wxPoint result;
14436 PyObject * obj0 = 0 ;
14437 PyObject * obj1 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self",(char *) "dc", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
14443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14446 SWIG_POINTER_EXCEPTION | 0)) == -1)
14447 SWIG_fail;
14448 if (arg2 == NULL) {
14449 PyErr_SetString(PyExc_TypeError,"null reference");
14450 SWIG_fail;
14451 }
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 {
14460 wxPoint * resultptr;
14461 resultptr = new wxPoint((wxPoint &) result);
14462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14463 }
14464 return resultobj;
14465 fail:
14466 return NULL;
14467 }
14468
14469
14470 static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14471 PyObject *resultobj;
14472 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14473 int result;
14474 PyObject * obj0 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
14480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14482 {
14483 PyThreadState* __tstate = wxPyBeginAllowThreads();
14484 result = (int)((wxMouseEvent const *)arg1)->GetX();
14485
14486 wxPyEndAllowThreads(__tstate);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 resultobj = SWIG_FromInt((int)result);
14490 return resultobj;
14491 fail:
14492 return NULL;
14493 }
14494
14495
14496 static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14497 PyObject *resultobj;
14498 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14499 int result;
14500 PyObject * obj0 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "self", NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
14506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (int)((wxMouseEvent const *)arg1)->GetY();
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 resultobj = SWIG_FromInt((int)result);
14516 return resultobj;
14517 fail:
14518 return NULL;
14519 }
14520
14521
14522 static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14525 int result;
14526 PyObject * obj0 = 0 ;
14527 char *kwnames[] = {
14528 (char *) "self", NULL
14529 };
14530
14531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
14532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 resultobj = SWIG_FromInt((int)result);
14542 return resultobj;
14543 fail:
14544 return NULL;
14545 }
14546
14547
14548 static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14551 int result;
14552 PyObject * obj0 = 0 ;
14553 char *kwnames[] = {
14554 (char *) "self", NULL
14555 };
14556
14557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
14558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 resultobj = SWIG_FromInt((int)result);
14568 return resultobj;
14569 fail:
14570 return NULL;
14571 }
14572
14573
14574 static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14577 int result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 resultobj = SWIG_FromInt((int)result);
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj;
14602 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14603 bool result;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
14610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 {
14620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14621 }
14622 return resultobj;
14623 fail:
14624 return NULL;
14625 }
14626
14627
14628 static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj;
14630 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14631 int arg2 ;
14632 PyObject * obj0 = 0 ;
14633 PyObject * obj1 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self",(char *) "m_x", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
14639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14641 arg2 = (int) SWIG_AsInt(obj1);
14642 if (PyErr_Occurred()) SWIG_fail;
14643 if (arg1) (arg1)->m_x = arg2;
14644
14645 Py_INCREF(Py_None); resultobj = Py_None;
14646 return resultobj;
14647 fail:
14648 return NULL;
14649 }
14650
14651
14652 static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14653 PyObject *resultobj;
14654 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14655 int result;
14656 PyObject * obj0 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "self", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
14662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14664 result = (int) ((arg1)->m_x);
14665
14666 resultobj = SWIG_FromInt((int)result);
14667 return resultobj;
14668 fail:
14669 return NULL;
14670 }
14671
14672
14673 static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14674 PyObject *resultobj;
14675 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14676 int arg2 ;
14677 PyObject * obj0 = 0 ;
14678 PyObject * obj1 = 0 ;
14679 char *kwnames[] = {
14680 (char *) "self",(char *) "m_y", NULL
14681 };
14682
14683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
14684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14686 arg2 = (int) SWIG_AsInt(obj1);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 if (arg1) (arg1)->m_y = arg2;
14689
14690 Py_INCREF(Py_None); resultobj = Py_None;
14691 return resultobj;
14692 fail:
14693 return NULL;
14694 }
14695
14696
14697 static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14698 PyObject *resultobj;
14699 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14700 int result;
14701 PyObject * obj0 = 0 ;
14702 char *kwnames[] = {
14703 (char *) "self", NULL
14704 };
14705
14706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
14707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14709 result = (int) ((arg1)->m_y);
14710
14711 resultobj = SWIG_FromInt((int)result);
14712 return resultobj;
14713 fail:
14714 return NULL;
14715 }
14716
14717
14718 static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14719 PyObject *resultobj;
14720 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14721 bool arg2 ;
14722 PyObject * obj0 = 0 ;
14723 PyObject * obj1 = 0 ;
14724 char *kwnames[] = {
14725 (char *) "self",(char *) "m_leftDown", NULL
14726 };
14727
14728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
14729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14731 arg2 = (bool) SWIG_AsBool(obj1);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 if (arg1) (arg1)->m_leftDown = arg2;
14734
14735 Py_INCREF(Py_None); resultobj = Py_None;
14736 return resultobj;
14737 fail:
14738 return NULL;
14739 }
14740
14741
14742 static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14743 PyObject *resultobj;
14744 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14745 bool result;
14746 PyObject * obj0 = 0 ;
14747 char *kwnames[] = {
14748 (char *) "self", NULL
14749 };
14750
14751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
14752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14754 result = (bool) ((arg1)->m_leftDown);
14755
14756 {
14757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14758 }
14759 return resultobj;
14760 fail:
14761 return NULL;
14762 }
14763
14764
14765 static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14766 PyObject *resultobj;
14767 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14768 bool arg2 ;
14769 PyObject * obj0 = 0 ;
14770 PyObject * obj1 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "self",(char *) "m_middleDown", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
14776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14778 arg2 = (bool) SWIG_AsBool(obj1);
14779 if (PyErr_Occurred()) SWIG_fail;
14780 if (arg1) (arg1)->m_middleDown = arg2;
14781
14782 Py_INCREF(Py_None); resultobj = Py_None;
14783 return resultobj;
14784 fail:
14785 return NULL;
14786 }
14787
14788
14789 static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14790 PyObject *resultobj;
14791 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14792 bool result;
14793 PyObject * obj0 = 0 ;
14794 char *kwnames[] = {
14795 (char *) "self", NULL
14796 };
14797
14798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
14799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14801 result = (bool) ((arg1)->m_middleDown);
14802
14803 {
14804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14805 }
14806 return resultobj;
14807 fail:
14808 return NULL;
14809 }
14810
14811
14812 static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14813 PyObject *resultobj;
14814 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14815 bool arg2 ;
14816 PyObject * obj0 = 0 ;
14817 PyObject * obj1 = 0 ;
14818 char *kwnames[] = {
14819 (char *) "self",(char *) "m_rightDown", NULL
14820 };
14821
14822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
14823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14825 arg2 = (bool) SWIG_AsBool(obj1);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 if (arg1) (arg1)->m_rightDown = arg2;
14828
14829 Py_INCREF(Py_None); resultobj = Py_None;
14830 return resultobj;
14831 fail:
14832 return NULL;
14833 }
14834
14835
14836 static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14837 PyObject *resultobj;
14838 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14839 bool result;
14840 PyObject * obj0 = 0 ;
14841 char *kwnames[] = {
14842 (char *) "self", NULL
14843 };
14844
14845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
14846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14848 result = (bool) ((arg1)->m_rightDown);
14849
14850 {
14851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14852 }
14853 return resultobj;
14854 fail:
14855 return NULL;
14856 }
14857
14858
14859 static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14862 bool arg2 ;
14863 PyObject * obj0 = 0 ;
14864 PyObject * obj1 = 0 ;
14865 char *kwnames[] = {
14866 (char *) "self",(char *) "m_controlDown", NULL
14867 };
14868
14869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
14870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14872 arg2 = (bool) SWIG_AsBool(obj1);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 if (arg1) (arg1)->m_controlDown = arg2;
14875
14876 Py_INCREF(Py_None); resultobj = Py_None;
14877 return resultobj;
14878 fail:
14879 return NULL;
14880 }
14881
14882
14883 static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14884 PyObject *resultobj;
14885 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14886 bool result;
14887 PyObject * obj0 = 0 ;
14888 char *kwnames[] = {
14889 (char *) "self", NULL
14890 };
14891
14892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14895 result = (bool) ((arg1)->m_controlDown);
14896
14897 {
14898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14899 }
14900 return resultobj;
14901 fail:
14902 return NULL;
14903 }
14904
14905
14906 static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14907 PyObject *resultobj;
14908 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14909 bool arg2 ;
14910 PyObject * obj0 = 0 ;
14911 PyObject * obj1 = 0 ;
14912 char *kwnames[] = {
14913 (char *) "self",(char *) "m_shiftDown", NULL
14914 };
14915
14916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14919 arg2 = (bool) SWIG_AsBool(obj1);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 if (arg1) (arg1)->m_shiftDown = arg2;
14922
14923 Py_INCREF(Py_None); resultobj = Py_None;
14924 return resultobj;
14925 fail:
14926 return NULL;
14927 }
14928
14929
14930 static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14933 bool result;
14934 PyObject * obj0 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "self", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14942 result = (bool) ((arg1)->m_shiftDown);
14943
14944 {
14945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14946 }
14947 return resultobj;
14948 fail:
14949 return NULL;
14950 }
14951
14952
14953 static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14954 PyObject *resultobj;
14955 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14956 bool arg2 ;
14957 PyObject * obj0 = 0 ;
14958 PyObject * obj1 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self",(char *) "m_altDown", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14966 arg2 = (bool) SWIG_AsBool(obj1);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 if (arg1) (arg1)->m_altDown = arg2;
14969
14970 Py_INCREF(Py_None); resultobj = Py_None;
14971 return resultobj;
14972 fail:
14973 return NULL;
14974 }
14975
14976
14977 static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj;
14979 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14980 bool result;
14981 PyObject * obj0 = 0 ;
14982 char *kwnames[] = {
14983 (char *) "self", NULL
14984 };
14985
14986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14989 result = (bool) ((arg1)->m_altDown);
14990
14991 {
14992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14993 }
14994 return resultobj;
14995 fail:
14996 return NULL;
14997 }
14998
14999
15000 static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15001 PyObject *resultobj;
15002 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15003 bool arg2 ;
15004 PyObject * obj0 = 0 ;
15005 PyObject * obj1 = 0 ;
15006 char *kwnames[] = {
15007 (char *) "self",(char *) "m_metaDown", NULL
15008 };
15009
15010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15013 arg2 = (bool) SWIG_AsBool(obj1);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 if (arg1) (arg1)->m_metaDown = arg2;
15016
15017 Py_INCREF(Py_None); resultobj = Py_None;
15018 return resultobj;
15019 fail:
15020 return NULL;
15021 }
15022
15023
15024 static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj;
15026 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15027 bool result;
15028 PyObject * obj0 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15036 result = (bool) ((arg1)->m_metaDown);
15037
15038 {
15039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15040 }
15041 return resultobj;
15042 fail:
15043 return NULL;
15044 }
15045
15046
15047 static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15048 PyObject *resultobj;
15049 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15050 int arg2 ;
15051 PyObject * obj0 = 0 ;
15052 PyObject * obj1 = 0 ;
15053 char *kwnames[] = {
15054 (char *) "self",(char *) "m_wheelRotation", NULL
15055 };
15056
15057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15060 arg2 = (int) SWIG_AsInt(obj1);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 if (arg1) (arg1)->m_wheelRotation = arg2;
15063
15064 Py_INCREF(Py_None); resultobj = Py_None;
15065 return resultobj;
15066 fail:
15067 return NULL;
15068 }
15069
15070
15071 static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15072 PyObject *resultobj;
15073 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15074 int result;
15075 PyObject * obj0 = 0 ;
15076 char *kwnames[] = {
15077 (char *) "self", NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15083 result = (int) ((arg1)->m_wheelRotation);
15084
15085 resultobj = SWIG_FromInt((int)result);
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15095 int arg2 ;
15096 PyObject * obj0 = 0 ;
15097 PyObject * obj1 = 0 ;
15098 char *kwnames[] = {
15099 (char *) "self",(char *) "m_wheelDelta", NULL
15100 };
15101
15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15105 arg2 = (int) SWIG_AsInt(obj1);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 if (arg1) (arg1)->m_wheelDelta = arg2;
15108
15109 Py_INCREF(Py_None); resultobj = Py_None;
15110 return resultobj;
15111 fail:
15112 return NULL;
15113 }
15114
15115
15116 static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15117 PyObject *resultobj;
15118 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15119 int result;
15120 PyObject * obj0 = 0 ;
15121 char *kwnames[] = {
15122 (char *) "self", NULL
15123 };
15124
15125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15128 result = (int) ((arg1)->m_wheelDelta);
15129
15130 resultobj = SWIG_FromInt((int)result);
15131 return resultobj;
15132 fail:
15133 return NULL;
15134 }
15135
15136
15137 static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15138 PyObject *resultobj;
15139 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15140 int arg2 ;
15141 PyObject * obj0 = 0 ;
15142 PyObject * obj1 = 0 ;
15143 char *kwnames[] = {
15144 (char *) "self",(char *) "m_linesPerAction", NULL
15145 };
15146
15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15150 arg2 = (int) SWIG_AsInt(obj1);
15151 if (PyErr_Occurred()) SWIG_fail;
15152 if (arg1) (arg1)->m_linesPerAction = arg2;
15153
15154 Py_INCREF(Py_None); resultobj = Py_None;
15155 return resultobj;
15156 fail:
15157 return NULL;
15158 }
15159
15160
15161 static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15162 PyObject *resultobj;
15163 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15164 int result;
15165 PyObject * obj0 = 0 ;
15166 char *kwnames[] = {
15167 (char *) "self", NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15173 result = (int) ((arg1)->m_linesPerAction);
15174
15175 resultobj = SWIG_FromInt((int)result);
15176 return resultobj;
15177 fail:
15178 return NULL;
15179 }
15180
15181
15182 static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
15183 PyObject *obj;
15184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15185 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15186 Py_INCREF(obj);
15187 return Py_BuildValue((char *)"");
15188 }
15189 static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 int arg1 = (int) 0 ;
15192 int arg2 = (int) 0 ;
15193 wxSetCursorEvent *result;
15194 PyObject * obj0 = 0 ;
15195 PyObject * obj1 = 0 ;
15196 char *kwnames[] = {
15197 (char *) "x",(char *) "y", NULL
15198 };
15199
15200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15201 if (obj0) {
15202 arg1 = (int) SWIG_AsInt(obj0);
15203 if (PyErr_Occurred()) SWIG_fail;
15204 }
15205 if (obj1) {
15206 arg2 = (int) SWIG_AsInt(obj1);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 }
15209 {
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
15211 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15212
15213 wxPyEndAllowThreads(__tstate);
15214 if (PyErr_Occurred()) SWIG_fail;
15215 }
15216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
15217 return resultobj;
15218 fail:
15219 return NULL;
15220 }
15221
15222
15223 static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15224 PyObject *resultobj;
15225 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15226 int result;
15227 PyObject * obj0 = 0 ;
15228 char *kwnames[] = {
15229 (char *) "self", NULL
15230 };
15231
15232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
15238
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 resultobj = SWIG_FromInt((int)result);
15243 return resultobj;
15244 fail:
15245 return NULL;
15246 }
15247
15248
15249 static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15250 PyObject *resultobj;
15251 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15252 int result;
15253 PyObject * obj0 = 0 ;
15254 char *kwnames[] = {
15255 (char *) "self", NULL
15256 };
15257
15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_FromInt((int)result);
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15278 wxCursor *arg2 = 0 ;
15279 PyObject * obj0 = 0 ;
15280 PyObject * obj1 = 0 ;
15281 char *kwnames[] = {
15282 (char *) "self",(char *) "cursor", NULL
15283 };
15284
15285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15289 SWIG_POINTER_EXCEPTION | 0)) == -1)
15290 SWIG_fail;
15291 if (arg2 == NULL) {
15292 PyErr_SetString(PyExc_TypeError,"null reference");
15293 SWIG_fail;
15294 }
15295 {
15296 PyThreadState* __tstate = wxPyBeginAllowThreads();
15297 (arg1)->SetCursor((wxCursor const &)*arg2);
15298
15299 wxPyEndAllowThreads(__tstate);
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 Py_INCREF(Py_None); resultobj = Py_None;
15303 return resultobj;
15304 fail:
15305 return NULL;
15306 }
15307
15308
15309 static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15310 PyObject *resultobj;
15311 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15312 wxCursor *result;
15313 PyObject * obj0 = 0 ;
15314 char *kwnames[] = {
15315 (char *) "self", NULL
15316 };
15317
15318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15321 {
15322 PyThreadState* __tstate = wxPyBeginAllowThreads();
15323 {
15324 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15325 result = (wxCursor *) &_result_ref;
15326 }
15327
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 {
15332 wxCursor* resultptr = new wxCursor(*result);
15333 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15334 }
15335 return resultobj;
15336 fail:
15337 return NULL;
15338 }
15339
15340
15341 static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15344 bool result;
15345 PyObject * obj0 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15356
15357 wxPyEndAllowThreads(__tstate);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 }
15360 {
15361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15362 }
15363 return resultobj;
15364 fail:
15365 return NULL;
15366 }
15367
15368
15369 static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15370 PyObject *obj;
15371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15372 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15373 Py_INCREF(obj);
15374 return Py_BuildValue((char *)"");
15375 }
15376 static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj;
15378 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15379 wxKeyEvent *result;
15380 PyObject * obj0 = 0 ;
15381 char *kwnames[] = {
15382 (char *) "keyType", NULL
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15386 if (obj0) {
15387 arg1 = (wxEventType) SWIG_AsInt(obj0);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 }
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
15398 return resultobj;
15399 fail:
15400 return NULL;
15401 }
15402
15403
15404 static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15405 PyObject *resultobj;
15406 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15407 bool result;
15408 PyObject * obj0 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 {
15424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15425 }
15426 return resultobj;
15427 fail:
15428 return NULL;
15429 }
15430
15431
15432 static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj;
15434 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15435 bool result;
15436 PyObject * obj0 = 0 ;
15437 char *kwnames[] = {
15438 (char *) "self", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 {
15452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15453 }
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15463 bool result;
15464 PyObject * obj0 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15472 {
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15475
15476 wxPyEndAllowThreads(__tstate);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
15479 {
15480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15481 }
15482 return resultobj;
15483 fail:
15484 return NULL;
15485 }
15486
15487
15488 static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj;
15490 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15491 bool result;
15492 PyObject * obj0 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 {
15508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15509 }
15510 return resultobj;
15511 fail:
15512 return NULL;
15513 }
15514
15515
15516 static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
15517 PyObject *resultobj;
15518 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15519 bool result;
15520 PyObject * obj0 = 0 ;
15521 char *kwnames[] = {
15522 (char *) "self", NULL
15523 };
15524
15525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15528 {
15529 PyThreadState* __tstate = wxPyBeginAllowThreads();
15530 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15531
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
15535 {
15536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15537 }
15538 return resultobj;
15539 fail:
15540 return NULL;
15541 }
15542
15543
15544 static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15545 PyObject *resultobj;
15546 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15547 int result;
15548 PyObject * obj0 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 resultobj = SWIG_FromInt((int)result);
15564 return resultobj;
15565 fail:
15566 return NULL;
15567 }
15568
15569
15570 static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15573 int result;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 result = (int)wxKeyEvent_GetUniChar(arg1);
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 resultobj = SWIG_FromInt((int)result);
15590 return resultobj;
15591 fail:
15592 return NULL;
15593 }
15594
15595
15596 static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15597 PyObject *resultobj;
15598 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15599 unsigned int result;
15600 PyObject * obj0 = 0 ;
15601 char *kwnames[] = {
15602 (char *) "self", NULL
15603 };
15604
15605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
15616 return resultobj;
15617 fail:
15618 return NULL;
15619 }
15620
15621
15622 static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj;
15624 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15625 unsigned int result;
15626 PyObject * obj0 = 0 ;
15627 char *kwnames[] = {
15628 (char *) "self", NULL
15629 };
15630
15631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
15637
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
15642 return resultobj;
15643 fail:
15644 return NULL;
15645 }
15646
15647
15648 static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj;
15650 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15651 wxPoint result;
15652 PyObject * obj0 = 0 ;
15653 char *kwnames[] = {
15654 (char *) "self", NULL
15655 };
15656
15657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15660 {
15661 PyThreadState* __tstate = wxPyBeginAllowThreads();
15662 result = (arg1)->GetPosition();
15663
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 {
15668 wxPoint * resultptr;
15669 resultptr = new wxPoint((wxPoint &) result);
15670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
15671 }
15672 return resultobj;
15673 fail:
15674 return NULL;
15675 }
15676
15677
15678 static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15681 long *arg2 = (long *) 0 ;
15682 long *arg3 = (long *) 0 ;
15683 long temp2 ;
15684 long temp3 ;
15685 PyObject * obj0 = 0 ;
15686 char *kwnames[] = {
15687 (char *) "self", NULL
15688 };
15689
15690 arg2 = &temp2;
15691 arg3 = &temp3;
15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15695 {
15696 PyThreadState* __tstate = wxPyBeginAllowThreads();
15697 (arg1)->GetPosition(arg2,arg3);
15698
15699 wxPyEndAllowThreads(__tstate);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 Py_INCREF(Py_None); resultobj = Py_None;
15703 {
15704 PyObject *o = PyInt_FromLong((long) (*arg2));
15705 resultobj = t_output_helper(resultobj,o);
15706 }
15707 {
15708 PyObject *o = PyInt_FromLong((long) (*arg3));
15709 resultobj = t_output_helper(resultobj,o);
15710 }
15711 return resultobj;
15712 fail:
15713 return NULL;
15714 }
15715
15716
15717 static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj;
15719 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15720 int result;
15721 PyObject * obj0 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 result = (int)((wxKeyEvent const *)arg1)->GetX();
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 resultobj = SWIG_FromInt((int)result);
15737 return resultobj;
15738 fail:
15739 return NULL;
15740 }
15741
15742
15743 static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15744 PyObject *resultobj;
15745 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15746 int result;
15747 PyObject * obj0 = 0 ;
15748 char *kwnames[] = {
15749 (char *) "self", NULL
15750 };
15751
15752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 result = (int)((wxKeyEvent const *)arg1)->GetY();
15758
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 resultobj = SWIG_FromInt((int)result);
15763 return resultobj;
15764 fail:
15765 return NULL;
15766 }
15767
15768
15769 static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj;
15771 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15772 int arg2 ;
15773 PyObject * obj0 = 0 ;
15774 PyObject * obj1 = 0 ;
15775 char *kwnames[] = {
15776 (char *) "self",(char *) "m_x", NULL
15777 };
15778
15779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15782 arg2 = (int) SWIG_AsInt(obj1);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 if (arg1) (arg1)->m_x = arg2;
15785
15786 Py_INCREF(Py_None); resultobj = Py_None;
15787 return resultobj;
15788 fail:
15789 return NULL;
15790 }
15791
15792
15793 static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15794 PyObject *resultobj;
15795 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15796 int result;
15797 PyObject * obj0 = 0 ;
15798 char *kwnames[] = {
15799 (char *) "self", NULL
15800 };
15801
15802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15805 result = (int) ((arg1)->m_x);
15806
15807 resultobj = SWIG_FromInt((int)result);
15808 return resultobj;
15809 fail:
15810 return NULL;
15811 }
15812
15813
15814 static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj;
15816 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15817 int arg2 ;
15818 PyObject * obj0 = 0 ;
15819 PyObject * obj1 = 0 ;
15820 char *kwnames[] = {
15821 (char *) "self",(char *) "m_y", NULL
15822 };
15823
15824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15827 arg2 = (int) SWIG_AsInt(obj1);
15828 if (PyErr_Occurred()) SWIG_fail;
15829 if (arg1) (arg1)->m_y = arg2;
15830
15831 Py_INCREF(Py_None); resultobj = Py_None;
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15841 int result;
15842 PyObject * obj0 = 0 ;
15843 char *kwnames[] = {
15844 (char *) "self", NULL
15845 };
15846
15847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15850 result = (int) ((arg1)->m_y);
15851
15852 resultobj = SWIG_FromInt((int)result);
15853 return resultobj;
15854 fail:
15855 return NULL;
15856 }
15857
15858
15859 static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15860 PyObject *resultobj;
15861 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15862 long arg2 ;
15863 PyObject * obj0 = 0 ;
15864 PyObject * obj1 = 0 ;
15865 char *kwnames[] = {
15866 (char *) "self",(char *) "m_keyCode", NULL
15867 };
15868
15869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15872 arg2 = (long) SWIG_AsLong(obj1);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 if (arg1) (arg1)->m_keyCode = arg2;
15875
15876 Py_INCREF(Py_None); resultobj = Py_None;
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj;
15885 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15886 long result;
15887 PyObject * obj0 = 0 ;
15888 char *kwnames[] = {
15889 (char *) "self", NULL
15890 };
15891
15892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15895 result = (long) ((arg1)->m_keyCode);
15896
15897 resultobj = SWIG_FromLong((long)result);
15898 return resultobj;
15899 fail:
15900 return NULL;
15901 }
15902
15903
15904 static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15907 bool arg2 ;
15908 PyObject * obj0 = 0 ;
15909 PyObject * obj1 = 0 ;
15910 char *kwnames[] = {
15911 (char *) "self",(char *) "m_controlDown", NULL
15912 };
15913
15914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15917 arg2 = (bool) SWIG_AsBool(obj1);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 if (arg1) (arg1)->m_controlDown = arg2;
15920
15921 Py_INCREF(Py_None); resultobj = Py_None;
15922 return resultobj;
15923 fail:
15924 return NULL;
15925 }
15926
15927
15928 static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15929 PyObject *resultobj;
15930 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15931 bool result;
15932 PyObject * obj0 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "self", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15940 result = (bool) ((arg1)->m_controlDown);
15941
15942 {
15943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15944 }
15945 return resultobj;
15946 fail:
15947 return NULL;
15948 }
15949
15950
15951 static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15952 PyObject *resultobj;
15953 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15954 bool arg2 ;
15955 PyObject * obj0 = 0 ;
15956 PyObject * obj1 = 0 ;
15957 char *kwnames[] = {
15958 (char *) "self",(char *) "m_shiftDown", NULL
15959 };
15960
15961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15964 arg2 = (bool) SWIG_AsBool(obj1);
15965 if (PyErr_Occurred()) SWIG_fail;
15966 if (arg1) (arg1)->m_shiftDown = arg2;
15967
15968 Py_INCREF(Py_None); resultobj = Py_None;
15969 return resultobj;
15970 fail:
15971 return NULL;
15972 }
15973
15974
15975 static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15976 PyObject *resultobj;
15977 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15978 bool result;
15979 PyObject * obj0 = 0 ;
15980 char *kwnames[] = {
15981 (char *) "self", NULL
15982 };
15983
15984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15987 result = (bool) ((arg1)->m_shiftDown);
15988
15989 {
15990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15991 }
15992 return resultobj;
15993 fail:
15994 return NULL;
15995 }
15996
15997
15998 static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15999 PyObject *resultobj;
16000 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16001 bool arg2 ;
16002 PyObject * obj0 = 0 ;
16003 PyObject * obj1 = 0 ;
16004 char *kwnames[] = {
16005 (char *) "self",(char *) "m_altDown", NULL
16006 };
16007
16008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
16009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16011 arg2 = (bool) SWIG_AsBool(obj1);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 if (arg1) (arg1)->m_altDown = arg2;
16014
16015 Py_INCREF(Py_None); resultobj = Py_None;
16016 return resultobj;
16017 fail:
16018 return NULL;
16019 }
16020
16021
16022 static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16023 PyObject *resultobj;
16024 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16025 bool result;
16026 PyObject * obj0 = 0 ;
16027 char *kwnames[] = {
16028 (char *) "self", NULL
16029 };
16030
16031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
16032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16034 result = (bool) ((arg1)->m_altDown);
16035
16036 {
16037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16038 }
16039 return resultobj;
16040 fail:
16041 return NULL;
16042 }
16043
16044
16045 static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16046 PyObject *resultobj;
16047 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16048 bool arg2 ;
16049 PyObject * obj0 = 0 ;
16050 PyObject * obj1 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "self",(char *) "m_metaDown", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
16056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16058 arg2 = (bool) SWIG_AsBool(obj1);
16059 if (PyErr_Occurred()) SWIG_fail;
16060 if (arg1) (arg1)->m_metaDown = arg2;
16061
16062 Py_INCREF(Py_None); resultobj = Py_None;
16063 return resultobj;
16064 fail:
16065 return NULL;
16066 }
16067
16068
16069 static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16070 PyObject *resultobj;
16071 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16072 bool result;
16073 PyObject * obj0 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16081 result = (bool) ((arg1)->m_metaDown);
16082
16083 {
16084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16085 }
16086 return resultobj;
16087 fail:
16088 return NULL;
16089 }
16090
16091
16092 static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16093 PyObject *resultobj;
16094 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16095 bool arg2 ;
16096 PyObject * obj0 = 0 ;
16097 PyObject * obj1 = 0 ;
16098 char *kwnames[] = {
16099 (char *) "self",(char *) "m_scanCode", NULL
16100 };
16101
16102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
16103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16105 arg2 = (bool) SWIG_AsBool(obj1);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 if (arg1) (arg1)->m_scanCode = arg2;
16108
16109 Py_INCREF(Py_None); resultobj = Py_None;
16110 return resultobj;
16111 fail:
16112 return NULL;
16113 }
16114
16115
16116 static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16117 PyObject *resultobj;
16118 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16119 bool result;
16120 PyObject * obj0 = 0 ;
16121 char *kwnames[] = {
16122 (char *) "self", NULL
16123 };
16124
16125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
16126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16128 result = (bool) ((arg1)->m_scanCode);
16129
16130 {
16131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16132 }
16133 return resultobj;
16134 fail:
16135 return NULL;
16136 }
16137
16138
16139 static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16142 unsigned int arg2 ;
16143 PyObject * obj0 = 0 ;
16144 PyObject * obj1 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "self",(char *) "m_rawCode", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
16150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16152 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16153 if (PyErr_Occurred()) SWIG_fail;
16154 if (arg1) (arg1)->m_rawCode = arg2;
16155
16156 Py_INCREF(Py_None); resultobj = Py_None;
16157 return resultobj;
16158 fail:
16159 return NULL;
16160 }
16161
16162
16163 static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16164 PyObject *resultobj;
16165 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16166 unsigned int result;
16167 PyObject * obj0 = 0 ;
16168 char *kwnames[] = {
16169 (char *) "self", NULL
16170 };
16171
16172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
16173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16175 result = (unsigned int) ((arg1)->m_rawCode);
16176
16177 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
16178 return resultobj;
16179 fail:
16180 return NULL;
16181 }
16182
16183
16184 static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16185 PyObject *resultobj;
16186 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16187 unsigned int arg2 ;
16188 PyObject * obj0 = 0 ;
16189 PyObject * obj1 = 0 ;
16190 char *kwnames[] = {
16191 (char *) "self",(char *) "m_rawFlags", NULL
16192 };
16193
16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
16195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16197 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 if (arg1) (arg1)->m_rawFlags = arg2;
16200
16201 Py_INCREF(Py_None); resultobj = Py_None;
16202 return resultobj;
16203 fail:
16204 return NULL;
16205 }
16206
16207
16208 static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16209 PyObject *resultobj;
16210 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16211 unsigned int result;
16212 PyObject * obj0 = 0 ;
16213 char *kwnames[] = {
16214 (char *) "self", NULL
16215 };
16216
16217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
16218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16220 result = (unsigned int) ((arg1)->m_rawFlags);
16221
16222 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
16223 return resultobj;
16224 fail:
16225 return NULL;
16226 }
16227
16228
16229 static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
16230 PyObject *obj;
16231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16232 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16233 Py_INCREF(obj);
16234 return Py_BuildValue((char *)"");
16235 }
16236 static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16237 PyObject *resultobj;
16238 wxSize const &arg1_defvalue = wxDefaultSize ;
16239 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16240 int arg2 = (int) 0 ;
16241 wxSizeEvent *result;
16242 wxSize temp1 ;
16243 PyObject * obj0 = 0 ;
16244 PyObject * obj1 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "sz",(char *) "winid", NULL
16247 };
16248
16249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
16250 if (obj0) {
16251 {
16252 arg1 = &temp1;
16253 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16254 }
16255 }
16256 if (obj1) {
16257 arg2 = (int) SWIG_AsInt(obj1);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16277 wxSize result;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 result = ((wxSizeEvent const *)arg1)->GetSize();
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 {
16294 wxSize * resultptr;
16295 resultptr = new wxSize((wxSize &) result);
16296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16297 }
16298 return resultobj;
16299 fail:
16300 return NULL;
16301 }
16302
16303
16304 static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16305 PyObject *resultobj;
16306 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16307 wxRect result;
16308 PyObject * obj0 = 0 ;
16309 char *kwnames[] = {
16310 (char *) "self", NULL
16311 };
16312
16313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
16314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16316 {
16317 PyThreadState* __tstate = wxPyBeginAllowThreads();
16318 result = ((wxSizeEvent const *)arg1)->GetRect();
16319
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
16323 {
16324 wxRect * resultptr;
16325 resultptr = new wxRect((wxRect &) result);
16326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
16327 }
16328 return resultobj;
16329 fail:
16330 return NULL;
16331 }
16332
16333
16334 static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16335 PyObject *resultobj;
16336 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16337 wxRect arg2 ;
16338 wxRect *argp2 ;
16339 PyObject * obj0 = 0 ;
16340 PyObject * obj1 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "self",(char *) "rect", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
16346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16348 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16349 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16350 arg2 = *argp2;
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 (arg1)->SetRect(arg2);
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 Py_INCREF(Py_None); resultobj = Py_None;
16359 return resultobj;
16360 fail:
16361 return NULL;
16362 }
16363
16364
16365 static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16368 wxSize arg2 ;
16369 wxSize *argp2 ;
16370 PyObject * obj0 = 0 ;
16371 PyObject * obj1 = 0 ;
16372 char *kwnames[] = {
16373 (char *) "self",(char *) "size", NULL
16374 };
16375
16376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
16377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16379 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16380 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16381 arg2 = *argp2;
16382 {
16383 PyThreadState* __tstate = wxPyBeginAllowThreads();
16384 wxSizeEvent_SetSize(arg1,arg2);
16385
16386 wxPyEndAllowThreads(__tstate);
16387 if (PyErr_Occurred()) SWIG_fail;
16388 }
16389 Py_INCREF(Py_None); resultobj = Py_None;
16390 return resultobj;
16391 fail:
16392 return NULL;
16393 }
16394
16395
16396 static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16397 PyObject *resultobj;
16398 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16399 wxSize *arg2 = (wxSize *) 0 ;
16400 PyObject * obj0 = 0 ;
16401 PyObject * obj1 = 0 ;
16402 char *kwnames[] = {
16403 (char *) "self",(char *) "m_size", NULL
16404 };
16405
16406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
16407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16411 if (arg1) (arg1)->m_size = *arg2;
16412
16413 Py_INCREF(Py_None); resultobj = Py_None;
16414 return resultobj;
16415 fail:
16416 return NULL;
16417 }
16418
16419
16420 static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16421 PyObject *resultobj;
16422 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16423 wxSize *result;
16424 PyObject * obj0 = 0 ;
16425 char *kwnames[] = {
16426 (char *) "self", NULL
16427 };
16428
16429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
16430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16432 result = (wxSize *)& ((arg1)->m_size);
16433
16434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16435 return resultobj;
16436 fail:
16437 return NULL;
16438 }
16439
16440
16441 static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16442 PyObject *resultobj;
16443 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16444 wxRect *arg2 = (wxRect *) 0 ;
16445 PyObject * obj0 = 0 ;
16446 PyObject * obj1 = 0 ;
16447 char *kwnames[] = {
16448 (char *) "self",(char *) "m_rect", NULL
16449 };
16450
16451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
16452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16456 if (arg1) (arg1)->m_rect = *arg2;
16457
16458 Py_INCREF(Py_None); resultobj = Py_None;
16459 return resultobj;
16460 fail:
16461 return NULL;
16462 }
16463
16464
16465 static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16466 PyObject *resultobj;
16467 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16468 wxRect *result;
16469 PyObject * obj0 = 0 ;
16470 char *kwnames[] = {
16471 (char *) "self", NULL
16472 };
16473
16474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
16475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16477 result = (wxRect *)& ((arg1)->m_rect);
16478
16479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
16480 return resultobj;
16481 fail:
16482 return NULL;
16483 }
16484
16485
16486 static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16487 PyObject *obj;
16488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16489 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16490 Py_INCREF(obj);
16491 return Py_BuildValue((char *)"");
16492 }
16493 static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16494 PyObject *resultobj;
16495 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16496 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16497 int arg2 = (int) 0 ;
16498 wxMoveEvent *result;
16499 wxPoint temp1 ;
16500 PyObject * obj0 = 0 ;
16501 PyObject * obj1 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "pos",(char *) "winid", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
16507 if (obj0) {
16508 {
16509 arg1 = &temp1;
16510 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16511 }
16512 }
16513 if (obj1) {
16514 arg2 = (int) SWIG_AsInt(obj1);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 {
16518 PyThreadState* __tstate = wxPyBeginAllowThreads();
16519 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16520
16521 wxPyEndAllowThreads(__tstate);
16522 if (PyErr_Occurred()) SWIG_fail;
16523 }
16524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
16525 return resultobj;
16526 fail:
16527 return NULL;
16528 }
16529
16530
16531 static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16532 PyObject *resultobj;
16533 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16534 wxPoint result;
16535 PyObject * obj0 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
16541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16543 {
16544 PyThreadState* __tstate = wxPyBeginAllowThreads();
16545 result = ((wxMoveEvent const *)arg1)->GetPosition();
16546
16547 wxPyEndAllowThreads(__tstate);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 }
16550 {
16551 wxPoint * resultptr;
16552 resultptr = new wxPoint((wxPoint &) result);
16553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
16554 }
16555 return resultobj;
16556 fail:
16557 return NULL;
16558 }
16559
16560
16561 static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj;
16563 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16564 wxRect result;
16565 PyObject * obj0 = 0 ;
16566 char *kwnames[] = {
16567 (char *) "self", NULL
16568 };
16569
16570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
16571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = ((wxMoveEvent const *)arg1)->GetRect();
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 {
16581 wxRect * resultptr;
16582 resultptr = new wxRect((wxRect &) result);
16583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
16584 }
16585 return resultobj;
16586 fail:
16587 return NULL;
16588 }
16589
16590
16591 static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj;
16593 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16594 wxRect arg2 ;
16595 wxRect *argp2 ;
16596 PyObject * obj0 = 0 ;
16597 PyObject * obj1 = 0 ;
16598 char *kwnames[] = {
16599 (char *) "self",(char *) "rect", NULL
16600 };
16601
16602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
16603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16605 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16606 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16607 arg2 = *argp2;
16608 {
16609 PyThreadState* __tstate = wxPyBeginAllowThreads();
16610 (arg1)->SetRect(arg2);
16611
16612 wxPyEndAllowThreads(__tstate);
16613 if (PyErr_Occurred()) SWIG_fail;
16614 }
16615 Py_INCREF(Py_None); resultobj = Py_None;
16616 return resultobj;
16617 fail:
16618 return NULL;
16619 }
16620
16621
16622 static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16623 PyObject *resultobj;
16624 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16625 wxPoint arg2 ;
16626 wxPoint *argp2 ;
16627 PyObject * obj0 = 0 ;
16628 PyObject * obj1 = 0 ;
16629 char *kwnames[] = {
16630 (char *) "self",(char *) "pos", NULL
16631 };
16632
16633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16636 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16637 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16638 arg2 = *argp2;
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 wxMoveEvent_SetPosition(arg1,arg2);
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 Py_INCREF(Py_None); resultobj = Py_None;
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16656 wxPoint *arg2 = (wxPoint *) 0 ;
16657 PyObject * obj0 = 0 ;
16658 PyObject * obj1 = 0 ;
16659 char *kwnames[] = {
16660 (char *) "self",(char *) "m_pos", NULL
16661 };
16662
16663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
16664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16668 if (arg1) (arg1)->m_pos = *arg2;
16669
16670 Py_INCREF(Py_None); resultobj = Py_None;
16671 return resultobj;
16672 fail:
16673 return NULL;
16674 }
16675
16676
16677 static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16678 PyObject *resultobj;
16679 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16680 wxPoint *result;
16681 PyObject * obj0 = 0 ;
16682 char *kwnames[] = {
16683 (char *) "self", NULL
16684 };
16685
16686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
16687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16689 result = (wxPoint *)& ((arg1)->m_pos);
16690
16691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
16692 return resultobj;
16693 fail:
16694 return NULL;
16695 }
16696
16697
16698 static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16699 PyObject *resultobj;
16700 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16701 wxRect *arg2 = (wxRect *) 0 ;
16702 PyObject * obj0 = 0 ;
16703 PyObject * obj1 = 0 ;
16704 char *kwnames[] = {
16705 (char *) "self",(char *) "m_rect", NULL
16706 };
16707
16708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
16709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16711 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16713 if (arg1) (arg1)->m_rect = *arg2;
16714
16715 Py_INCREF(Py_None); resultobj = Py_None;
16716 return resultobj;
16717 fail:
16718 return NULL;
16719 }
16720
16721
16722 static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16723 PyObject *resultobj;
16724 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16725 wxRect *result;
16726 PyObject * obj0 = 0 ;
16727 char *kwnames[] = {
16728 (char *) "self", NULL
16729 };
16730
16731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
16732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16734 result = (wxRect *)& ((arg1)->m_rect);
16735
16736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
16737 return resultobj;
16738 fail:
16739 return NULL;
16740 }
16741
16742
16743 static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16744 PyObject *obj;
16745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16746 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16747 Py_INCREF(obj);
16748 return Py_BuildValue((char *)"");
16749 }
16750 static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj;
16752 int arg1 = (int) 0 ;
16753 wxPaintEvent *result;
16754 PyObject * obj0 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "Id", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16760 if (obj0) {
16761 arg1 = (int) SWIG_AsInt(obj0);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
16772 return resultobj;
16773 fail:
16774 return NULL;
16775 }
16776
16777
16778 static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16779 PyObject *obj;
16780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16781 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16782 Py_INCREF(obj);
16783 return Py_BuildValue((char *)"");
16784 }
16785 static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16786 PyObject *resultobj;
16787 int arg1 = (int) 0 ;
16788 wxNcPaintEvent *result;
16789 PyObject * obj0 = 0 ;
16790 char *kwnames[] = {
16791 (char *) "winid", NULL
16792 };
16793
16794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16795 if (obj0) {
16796 arg1 = (int) SWIG_AsInt(obj0);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 {
16800 PyThreadState* __tstate = wxPyBeginAllowThreads();
16801 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16802
16803 wxPyEndAllowThreads(__tstate);
16804 if (PyErr_Occurred()) SWIG_fail;
16805 }
16806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
16807 return resultobj;
16808 fail:
16809 return NULL;
16810 }
16811
16812
16813 static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16814 PyObject *obj;
16815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16816 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16817 Py_INCREF(obj);
16818 return Py_BuildValue((char *)"");
16819 }
16820 static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj;
16822 int arg1 = (int) 0 ;
16823 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16824 wxEraseEvent *result;
16825 PyObject * obj0 = 0 ;
16826 PyObject * obj1 = 0 ;
16827 char *kwnames[] = {
16828 (char *) "Id",(char *) "dc", NULL
16829 };
16830
16831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16832 if (obj0) {
16833 arg1 = (int) SWIG_AsInt(obj0);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 if (obj1) {
16837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16839 }
16840 {
16841 PyThreadState* __tstate = wxPyBeginAllowThreads();
16842 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16843
16844 wxPyEndAllowThreads(__tstate);
16845 if (PyErr_Occurred()) SWIG_fail;
16846 }
16847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
16848 return resultobj;
16849 fail:
16850 return NULL;
16851 }
16852
16853
16854 static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16855 PyObject *resultobj;
16856 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16857 wxDC *result;
16858 PyObject * obj0 = 0 ;
16859 char *kwnames[] = {
16860 (char *) "self", NULL
16861 };
16862
16863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
16864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 {
16874 resultobj = wxPyMake_wxObject(result);
16875 }
16876 return resultobj;
16877 fail:
16878 return NULL;
16879 }
16880
16881
16882 static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16883 PyObject *obj;
16884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16885 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16886 Py_INCREF(obj);
16887 return Py_BuildValue((char *)"");
16888 }
16889 static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16890 PyObject *resultobj;
16891 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16892 int arg2 = (int) 0 ;
16893 wxFocusEvent *result;
16894 PyObject * obj0 = 0 ;
16895 PyObject * obj1 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "type",(char *) "winid", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16901 if (obj0) {
16902 arg1 = (wxEventType) SWIG_AsInt(obj0);
16903 if (PyErr_Occurred()) SWIG_fail;
16904 }
16905 if (obj1) {
16906 arg2 = (int) SWIG_AsInt(obj1);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16912
16913 wxPyEndAllowThreads(__tstate);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
16917 return resultobj;
16918 fail:
16919 return NULL;
16920 }
16921
16922
16923 static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16924 PyObject *resultobj;
16925 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16926 wxWindow *result;
16927 PyObject * obj0 = 0 ;
16928 char *kwnames[] = {
16929 (char *) "self", NULL
16930 };
16931
16932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
16933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16935 {
16936 PyThreadState* __tstate = wxPyBeginAllowThreads();
16937 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16938
16939 wxPyEndAllowThreads(__tstate);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 {
16943 resultobj = wxPyMake_wxObject(result);
16944 }
16945 return resultobj;
16946 fail:
16947 return NULL;
16948 }
16949
16950
16951 static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16952 PyObject *resultobj;
16953 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16954 wxWindow *arg2 = (wxWindow *) 0 ;
16955 PyObject * obj0 = 0 ;
16956 PyObject * obj1 = 0 ;
16957 char *kwnames[] = {
16958 (char *) "self",(char *) "win", NULL
16959 };
16960
16961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
16962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16966 {
16967 PyThreadState* __tstate = wxPyBeginAllowThreads();
16968 (arg1)->SetWindow(arg2);
16969
16970 wxPyEndAllowThreads(__tstate);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 Py_INCREF(Py_None); resultobj = Py_None;
16974 return resultobj;
16975 fail:
16976 return NULL;
16977 }
16978
16979
16980 static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
16981 PyObject *obj;
16982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16983 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
16984 Py_INCREF(obj);
16985 return Py_BuildValue((char *)"");
16986 }
16987 static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj;
16989 wxWindow *arg1 = (wxWindow *) NULL ;
16990 wxChildFocusEvent *result;
16991 PyObject * obj0 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "win", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
16997 if (obj0) {
16998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17000 }
17001 {
17002 PyThreadState* __tstate = wxPyBeginAllowThreads();
17003 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
17004
17005 wxPyEndAllowThreads(__tstate);
17006 if (PyErr_Occurred()) SWIG_fail;
17007 }
17008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
17009 return resultobj;
17010 fail:
17011 return NULL;
17012 }
17013
17014
17015 static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17016 PyObject *resultobj;
17017 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
17018 wxWindow *result;
17019 PyObject * obj0 = 0 ;
17020 char *kwnames[] = {
17021 (char *) "self", NULL
17022 };
17023
17024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
17025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
17026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
17030
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 {
17035 resultobj = wxPyMake_wxObject(result);
17036 }
17037 return resultobj;
17038 fail:
17039 return NULL;
17040 }
17041
17042
17043 static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
17044 PyObject *obj;
17045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17046 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17047 Py_INCREF(obj);
17048 return Py_BuildValue((char *)"");
17049 }
17050 static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj;
17052 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17053 bool arg2 = (bool) True ;
17054 int arg3 = (int) 0 ;
17055 wxActivateEvent *result;
17056 PyObject * obj0 = 0 ;
17057 PyObject * obj1 = 0 ;
17058 PyObject * obj2 = 0 ;
17059 char *kwnames[] = {
17060 (char *) "type",(char *) "active",(char *) "Id", NULL
17061 };
17062
17063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17064 if (obj0) {
17065 arg1 = (wxEventType) SWIG_AsInt(obj0);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 if (obj1) {
17069 arg2 = (bool) SWIG_AsBool(obj1);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 }
17072 if (obj2) {
17073 arg3 = (int) SWIG_AsInt(obj2);
17074 if (PyErr_Occurred()) SWIG_fail;
17075 }
17076 {
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17079
17080 wxPyEndAllowThreads(__tstate);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
17084 return resultobj;
17085 fail:
17086 return NULL;
17087 }
17088
17089
17090 static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj;
17092 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17093 bool result;
17094 PyObject * obj0 = 0 ;
17095 char *kwnames[] = {
17096 (char *) "self", NULL
17097 };
17098
17099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
17100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17102 {
17103 PyThreadState* __tstate = wxPyBeginAllowThreads();
17104 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17105
17106 wxPyEndAllowThreads(__tstate);
17107 if (PyErr_Occurred()) SWIG_fail;
17108 }
17109 {
17110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17111 }
17112 return resultobj;
17113 fail:
17114 return NULL;
17115 }
17116
17117
17118 static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
17119 PyObject *obj;
17120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17121 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17122 Py_INCREF(obj);
17123 return Py_BuildValue((char *)"");
17124 }
17125 static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17126 PyObject *resultobj;
17127 int arg1 = (int) 0 ;
17128 wxInitDialogEvent *result;
17129 PyObject * obj0 = 0 ;
17130 char *kwnames[] = {
17131 (char *) "Id", NULL
17132 };
17133
17134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17135 if (obj0) {
17136 arg1 = (int) SWIG_AsInt(obj0);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
17139 {
17140 PyThreadState* __tstate = wxPyBeginAllowThreads();
17141 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17142
17143 wxPyEndAllowThreads(__tstate);
17144 if (PyErr_Occurred()) SWIG_fail;
17145 }
17146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
17147 return resultobj;
17148 fail:
17149 return NULL;
17150 }
17151
17152
17153 static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
17154 PyObject *obj;
17155 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17156 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17157 Py_INCREF(obj);
17158 return Py_BuildValue((char *)"");
17159 }
17160 static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17161 PyObject *resultobj;
17162 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17163 int arg2 = (int) 0 ;
17164 wxMenu *arg3 = (wxMenu *) NULL ;
17165 wxMenuEvent *result;
17166 PyObject * obj0 = 0 ;
17167 PyObject * obj1 = 0 ;
17168 PyObject * obj2 = 0 ;
17169 char *kwnames[] = {
17170 (char *) "type",(char *) "winid",(char *) "menu", NULL
17171 };
17172
17173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17174 if (obj0) {
17175 arg1 = (wxEventType) SWIG_AsInt(obj0);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 if (obj1) {
17179 arg2 = (int) SWIG_AsInt(obj1);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 if (obj2) {
17183 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17185 }
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
17194 return resultobj;
17195 fail:
17196 return NULL;
17197 }
17198
17199
17200 static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj;
17202 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17203 int result;
17204 PyObject * obj0 = 0 ;
17205 char *kwnames[] = {
17206 (char *) "self", NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
17210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17212 {
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 resultobj = SWIG_FromInt((int)result);
17220 return resultobj;
17221 fail:
17222 return NULL;
17223 }
17224
17225
17226 static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17229 bool result;
17230 PyObject * obj0 = 0 ;
17231 char *kwnames[] = {
17232 (char *) "self", NULL
17233 };
17234
17235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
17236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17238 {
17239 PyThreadState* __tstate = wxPyBeginAllowThreads();
17240 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17241
17242 wxPyEndAllowThreads(__tstate);
17243 if (PyErr_Occurred()) SWIG_fail;
17244 }
17245 {
17246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17247 }
17248 return resultobj;
17249 fail:
17250 return NULL;
17251 }
17252
17253
17254 static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17255 PyObject *resultobj;
17256 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17257 wxMenu *result;
17258 PyObject * obj0 = 0 ;
17259 char *kwnames[] = {
17260 (char *) "self", NULL
17261 };
17262
17263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
17264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 {
17274 resultobj = wxPyMake_wxObject(result);
17275 }
17276 return resultobj;
17277 fail:
17278 return NULL;
17279 }
17280
17281
17282 static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
17283 PyObject *obj;
17284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17285 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17286 Py_INCREF(obj);
17287 return Py_BuildValue((char *)"");
17288 }
17289 static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17290 PyObject *resultobj;
17291 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17292 int arg2 = (int) 0 ;
17293 wxCloseEvent *result;
17294 PyObject * obj0 = 0 ;
17295 PyObject * obj1 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "type",(char *) "winid", NULL
17298 };
17299
17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17301 if (obj0) {
17302 arg1 = (wxEventType) SWIG_AsInt(obj0);
17303 if (PyErr_Occurred()) SWIG_fail;
17304 }
17305 if (obj1) {
17306 arg2 = (int) SWIG_AsInt(obj1);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17312
17313 wxPyEndAllowThreads(__tstate);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 }
17316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
17317 return resultobj;
17318 fail:
17319 return NULL;
17320 }
17321
17322
17323 static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17324 PyObject *resultobj;
17325 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17326 bool arg2 ;
17327 PyObject * obj0 = 0 ;
17328 PyObject * obj1 = 0 ;
17329 char *kwnames[] = {
17330 (char *) "self",(char *) "logOff", NULL
17331 };
17332
17333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
17334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17336 arg2 = (bool) SWIG_AsBool(obj1);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 {
17339 PyThreadState* __tstate = wxPyBeginAllowThreads();
17340 (arg1)->SetLoggingOff(arg2);
17341
17342 wxPyEndAllowThreads(__tstate);
17343 if (PyErr_Occurred()) SWIG_fail;
17344 }
17345 Py_INCREF(Py_None); resultobj = Py_None;
17346 return resultobj;
17347 fail:
17348 return NULL;
17349 }
17350
17351
17352 static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17353 PyObject *resultobj;
17354 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17355 bool result;
17356 PyObject * obj0 = 0 ;
17357 char *kwnames[] = {
17358 (char *) "self", NULL
17359 };
17360
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
17362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
17371 {
17372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17373 }
17374 return resultobj;
17375 fail:
17376 return NULL;
17377 }
17378
17379
17380 static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj;
17382 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17383 bool arg2 = (bool) True ;
17384 PyObject * obj0 = 0 ;
17385 PyObject * obj1 = 0 ;
17386 char *kwnames[] = {
17387 (char *) "self",(char *) "veto", NULL
17388 };
17389
17390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
17391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17393 if (obj1) {
17394 arg2 = (bool) SWIG_AsBool(obj1);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 {
17398 PyThreadState* __tstate = wxPyBeginAllowThreads();
17399 (arg1)->Veto(arg2);
17400
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 Py_INCREF(Py_None); resultobj = Py_None;
17405 return resultobj;
17406 fail:
17407 return NULL;
17408 }
17409
17410
17411 static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17412 PyObject *resultobj;
17413 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17414 bool arg2 ;
17415 PyObject * obj0 = 0 ;
17416 PyObject * obj1 = 0 ;
17417 char *kwnames[] = {
17418 (char *) "self",(char *) "canVeto", NULL
17419 };
17420
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
17422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17424 arg2 = (bool) SWIG_AsBool(obj1);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 (arg1)->SetCanVeto(arg2);
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 Py_INCREF(Py_None); resultobj = Py_None;
17434 return resultobj;
17435 fail:
17436 return NULL;
17437 }
17438
17439
17440 static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17441 PyObject *resultobj;
17442 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17443 bool result;
17444 PyObject * obj0 = 0 ;
17445 char *kwnames[] = {
17446 (char *) "self", NULL
17447 };
17448
17449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
17450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17452 {
17453 PyThreadState* __tstate = wxPyBeginAllowThreads();
17454 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17455
17456 wxPyEndAllowThreads(__tstate);
17457 if (PyErr_Occurred()) SWIG_fail;
17458 }
17459 {
17460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17461 }
17462 return resultobj;
17463 fail:
17464 return NULL;
17465 }
17466
17467
17468 static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17469 PyObject *resultobj;
17470 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17471 bool result;
17472 PyObject * obj0 = 0 ;
17473 char *kwnames[] = {
17474 (char *) "self", NULL
17475 };
17476
17477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
17478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17480 {
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17483
17484 wxPyEndAllowThreads(__tstate);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
17487 {
17488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17489 }
17490 return resultobj;
17491 fail:
17492 return NULL;
17493 }
17494
17495
17496 static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17497 PyObject *obj;
17498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17499 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17500 Py_INCREF(obj);
17501 return Py_BuildValue((char *)"");
17502 }
17503 static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17504 PyObject *resultobj;
17505 int arg1 = (int) 0 ;
17506 bool arg2 = (bool) False ;
17507 wxShowEvent *result;
17508 PyObject * obj0 = 0 ;
17509 PyObject * obj1 = 0 ;
17510 char *kwnames[] = {
17511 (char *) "winid",(char *) "show", NULL
17512 };
17513
17514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17515 if (obj0) {
17516 arg1 = (int) SWIG_AsInt(obj0);
17517 if (PyErr_Occurred()) SWIG_fail;
17518 }
17519 if (obj1) {
17520 arg2 = (bool) SWIG_AsBool(obj1);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17526
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
17531 return resultobj;
17532 fail:
17533 return NULL;
17534 }
17535
17536
17537 static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17538 PyObject *resultobj;
17539 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17540 bool arg2 ;
17541 PyObject * obj0 = 0 ;
17542 PyObject * obj1 = 0 ;
17543 char *kwnames[] = {
17544 (char *) "self",(char *) "show", NULL
17545 };
17546
17547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
17548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17550 arg2 = (bool) SWIG_AsBool(obj1);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 {
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 (arg1)->SetShow(arg2);
17555
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 Py_INCREF(Py_None); resultobj = Py_None;
17560 return resultobj;
17561 fail:
17562 return NULL;
17563 }
17564
17565
17566 static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17567 PyObject *resultobj;
17568 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17569 bool result;
17570 PyObject * obj0 = 0 ;
17571 char *kwnames[] = {
17572 (char *) "self", NULL
17573 };
17574
17575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
17576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 {
17586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17587 }
17588 return resultobj;
17589 fail:
17590 return NULL;
17591 }
17592
17593
17594 static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17595 PyObject *obj;
17596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17597 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17598 Py_INCREF(obj);
17599 return Py_BuildValue((char *)"");
17600 }
17601 static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj;
17603 int arg1 = (int) 0 ;
17604 bool arg2 = (bool) True ;
17605 wxIconizeEvent *result;
17606 PyObject * obj0 = 0 ;
17607 PyObject * obj1 = 0 ;
17608 char *kwnames[] = {
17609 (char *) "id",(char *) "iconized", NULL
17610 };
17611
17612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17613 if (obj0) {
17614 arg1 = (int) SWIG_AsInt(obj0);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 if (obj1) {
17618 arg2 = (bool) SWIG_AsBool(obj1);
17619 if (PyErr_Occurred()) SWIG_fail;
17620 }
17621 {
17622 PyThreadState* __tstate = wxPyBeginAllowThreads();
17623 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17624
17625 wxPyEndAllowThreads(__tstate);
17626 if (PyErr_Occurred()) SWIG_fail;
17627 }
17628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
17629 return resultobj;
17630 fail:
17631 return NULL;
17632 }
17633
17634
17635 static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17636 PyObject *resultobj;
17637 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17638 bool result;
17639 PyObject * obj0 = 0 ;
17640 char *kwnames[] = {
17641 (char *) "self", NULL
17642 };
17643
17644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
17645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = (bool)(arg1)->Iconized();
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 {
17655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17656 }
17657 return resultobj;
17658 fail:
17659 return NULL;
17660 }
17661
17662
17663 static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17664 PyObject *obj;
17665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17666 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17667 Py_INCREF(obj);
17668 return Py_BuildValue((char *)"");
17669 }
17670 static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 int arg1 = (int) 0 ;
17673 wxMaximizeEvent *result;
17674 PyObject * obj0 = 0 ;
17675 char *kwnames[] = {
17676 (char *) "id", NULL
17677 };
17678
17679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17680 if (obj0) {
17681 arg1 = (int) SWIG_AsInt(obj0);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
17684 {
17685 PyThreadState* __tstate = wxPyBeginAllowThreads();
17686 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17687
17688 wxPyEndAllowThreads(__tstate);
17689 if (PyErr_Occurred()) SWIG_fail;
17690 }
17691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
17692 return resultobj;
17693 fail:
17694 return NULL;
17695 }
17696
17697
17698 static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17699 PyObject *obj;
17700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17701 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17702 Py_INCREF(obj);
17703 return Py_BuildValue((char *)"");
17704 }
17705 static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17706 PyObject *resultobj;
17707 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17708 wxPoint result;
17709 PyObject * obj0 = 0 ;
17710 char *kwnames[] = {
17711 (char *) "self", NULL
17712 };
17713
17714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
17715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 result = (arg1)->GetPosition();
17720
17721 wxPyEndAllowThreads(__tstate);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 }
17724 {
17725 wxPoint * resultptr;
17726 resultptr = new wxPoint((wxPoint &) result);
17727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17728 }
17729 return resultobj;
17730 fail:
17731 return NULL;
17732 }
17733
17734
17735 static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17736 PyObject *resultobj;
17737 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17738 int result;
17739 PyObject * obj0 = 0 ;
17740 char *kwnames[] = {
17741 (char *) "self", NULL
17742 };
17743
17744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
17745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 result = (int)(arg1)->GetNumberOfFiles();
17750
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 resultobj = SWIG_FromInt((int)result);
17755 return resultobj;
17756 fail:
17757 return NULL;
17758 }
17759
17760
17761 static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17764 PyObject *result;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
17771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 resultobj = result;
17781 return resultobj;
17782 fail:
17783 return NULL;
17784 }
17785
17786
17787 static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17788 PyObject *obj;
17789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17790 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17791 Py_INCREF(obj);
17792 return Py_BuildValue((char *)"");
17793 }
17794 static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17795 PyObject *resultobj;
17796 int arg1 = (int) 0 ;
17797 wxUpdateUIEvent *result;
17798 PyObject * obj0 = 0 ;
17799 char *kwnames[] = {
17800 (char *) "commandId", NULL
17801 };
17802
17803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17804 if (obj0) {
17805 arg1 = (int) SWIG_AsInt(obj0);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 {
17809 PyThreadState* __tstate = wxPyBeginAllowThreads();
17810 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17811
17812 wxPyEndAllowThreads(__tstate);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
17816 return resultobj;
17817 fail:
17818 return NULL;
17819 }
17820
17821
17822 static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17823 PyObject *resultobj;
17824 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17825 bool result;
17826 PyObject * obj0 = 0 ;
17827 char *kwnames[] = {
17828 (char *) "self", NULL
17829 };
17830
17831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
17832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17834 {
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17837
17838 wxPyEndAllowThreads(__tstate);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 {
17842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847 }
17848
17849
17850 static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17853 bool result;
17854 PyObject * obj0 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
17860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 {
17870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17871 }
17872 return resultobj;
17873 fail:
17874 return NULL;
17875 }
17876
17877
17878 static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17881 wxString result;
17882 PyObject * obj0 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
17888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17890 {
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17893
17894 wxPyEndAllowThreads(__tstate);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 }
17897 {
17898 #if wxUSE_UNICODE
17899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17900 #else
17901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17902 #endif
17903 }
17904 return resultobj;
17905 fail:
17906 return NULL;
17907 }
17908
17909
17910 static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17913 bool result;
17914 PyObject * obj0 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
17920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17922 {
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 {
17930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17931 }
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj;
17940 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17941 bool result;
17942 PyObject * obj0 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "self", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
17948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17953
17954 wxPyEndAllowThreads(__tstate);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 {
17958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17959 }
17960 return resultobj;
17961 fail:
17962 return NULL;
17963 }
17964
17965
17966 static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17967 PyObject *resultobj;
17968 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17969 bool result;
17970 PyObject * obj0 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
17976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
17981
17982 wxPyEndAllowThreads(__tstate);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 }
17985 {
17986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17987 }
17988 return resultobj;
17989 fail:
17990 return NULL;
17991 }
17992
17993
17994 static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
17995 PyObject *resultobj;
17996 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17997 bool arg2 ;
17998 PyObject * obj0 = 0 ;
17999 PyObject * obj1 = 0 ;
18000 char *kwnames[] = {
18001 (char *) "self",(char *) "check", NULL
18002 };
18003
18004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
18005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18007 arg2 = (bool) SWIG_AsBool(obj1);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 {
18010 PyThreadState* __tstate = wxPyBeginAllowThreads();
18011 (arg1)->Check(arg2);
18012
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 Py_INCREF(Py_None); resultobj = Py_None;
18017 return resultobj;
18018 fail:
18019 return NULL;
18020 }
18021
18022
18023 static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
18024 PyObject *resultobj;
18025 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18026 bool arg2 ;
18027 PyObject * obj0 = 0 ;
18028 PyObject * obj1 = 0 ;
18029 char *kwnames[] = {
18030 (char *) "self",(char *) "enable", NULL
18031 };
18032
18033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
18034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18036 arg2 = (bool) SWIG_AsBool(obj1);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 (arg1)->Enable(arg2);
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 Py_INCREF(Py_None); resultobj = Py_None;
18046 return resultobj;
18047 fail:
18048 return NULL;
18049 }
18050
18051
18052 static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18055 wxString *arg2 = 0 ;
18056 bool temp2 = False ;
18057 PyObject * obj0 = 0 ;
18058 PyObject * obj1 = 0 ;
18059 char *kwnames[] = {
18060 (char *) "self",(char *) "text", NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
18064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18066 {
18067 arg2 = wxString_in_helper(obj1);
18068 if (arg2 == NULL) SWIG_fail;
18069 temp2 = True;
18070 }
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 (arg1)->SetText((wxString const &)*arg2);
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 Py_INCREF(Py_None); resultobj = Py_None;
18079 {
18080 if (temp2)
18081 delete arg2;
18082 }
18083 return resultobj;
18084 fail:
18085 {
18086 if (temp2)
18087 delete arg2;
18088 }
18089 return NULL;
18090 }
18091
18092
18093 static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18094 PyObject *resultobj;
18095 long arg1 ;
18096 PyObject * obj0 = 0 ;
18097 char *kwnames[] = {
18098 (char *) "updateInterval", NULL
18099 };
18100
18101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
18102 arg1 = (long) SWIG_AsLong(obj0);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 wxUpdateUIEvent::SetUpdateInterval(arg1);
18107
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 Py_INCREF(Py_None); resultobj = Py_None;
18112 return resultobj;
18113 fail:
18114 return NULL;
18115 }
18116
18117
18118 static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj;
18120 long result;
18121 char *kwnames[] = {
18122 NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18129
18130 wxPyEndAllowThreads(__tstate);
18131 if (PyErr_Occurred()) SWIG_fail;
18132 }
18133 resultobj = SWIG_FromLong((long)result);
18134 return resultobj;
18135 fail:
18136 return NULL;
18137 }
18138
18139
18140 static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
18141 PyObject *resultobj;
18142 wxWindow *arg1 = (wxWindow *) 0 ;
18143 bool result;
18144 PyObject * obj0 = 0 ;
18145 char *kwnames[] = {
18146 (char *) "win", NULL
18147 };
18148
18149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
18150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 {
18160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18161 }
18162 return resultobj;
18163 fail:
18164 return NULL;
18165 }
18166
18167
18168 static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18169 PyObject *resultobj;
18170 char *kwnames[] = {
18171 NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18175 {
18176 PyThreadState* __tstate = wxPyBeginAllowThreads();
18177 wxUpdateUIEvent::ResetUpdateTime();
18178
18179 wxPyEndAllowThreads(__tstate);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 Py_INCREF(Py_None); resultobj = Py_None;
18183 return resultobj;
18184 fail:
18185 return NULL;
18186 }
18187
18188
18189 static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj;
18191 int arg1 ;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "mode", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
18198 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 {
18201 PyThreadState* __tstate = wxPyBeginAllowThreads();
18202 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18203
18204 wxPyEndAllowThreads(__tstate);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 Py_INCREF(Py_None); resultobj = Py_None;
18208 return resultobj;
18209 fail:
18210 return NULL;
18211 }
18212
18213
18214 static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18215 PyObject *resultobj;
18216 int result;
18217 char *kwnames[] = {
18218 NULL
18219 };
18220
18221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18222 {
18223 PyThreadState* __tstate = wxPyBeginAllowThreads();
18224 result = (int)wxUpdateUIEvent::GetMode();
18225
18226 wxPyEndAllowThreads(__tstate);
18227 if (PyErr_Occurred()) SWIG_fail;
18228 }
18229 resultobj = SWIG_FromInt((int)result);
18230 return resultobj;
18231 fail:
18232 return NULL;
18233 }
18234
18235
18236 static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
18237 PyObject *obj;
18238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18239 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18240 Py_INCREF(obj);
18241 return Py_BuildValue((char *)"");
18242 }
18243 static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18244 PyObject *resultobj;
18245 wxSysColourChangedEvent *result;
18246 char *kwnames[] = {
18247 NULL
18248 };
18249
18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
18259 return resultobj;
18260 fail:
18261 return NULL;
18262 }
18263
18264
18265 static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
18266 PyObject *obj;
18267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18268 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18269 Py_INCREF(obj);
18270 return Py_BuildValue((char *)"");
18271 }
18272 static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18273 PyObject *resultobj;
18274 int arg1 = (int) 0 ;
18275 wxWindow *arg2 = (wxWindow *) NULL ;
18276 wxMouseCaptureChangedEvent *result;
18277 PyObject * obj0 = 0 ;
18278 PyObject * obj1 = 0 ;
18279 char *kwnames[] = {
18280 (char *) "winid",(char *) "gainedCapture", NULL
18281 };
18282
18283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18284 if (obj0) {
18285 arg1 = (int) SWIG_AsInt(obj0);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 if (obj1) {
18289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18291 }
18292 {
18293 PyThreadState* __tstate = wxPyBeginAllowThreads();
18294 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18295
18296 wxPyEndAllowThreads(__tstate);
18297 if (PyErr_Occurred()) SWIG_fail;
18298 }
18299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
18300 return resultobj;
18301 fail:
18302 return NULL;
18303 }
18304
18305
18306 static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18307 PyObject *resultobj;
18308 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18309 wxWindow *result;
18310 PyObject * obj0 = 0 ;
18311 char *kwnames[] = {
18312 (char *) "self", NULL
18313 };
18314
18315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
18316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18318 {
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18321
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 {
18326 resultobj = wxPyMake_wxObject(result);
18327 }
18328 return resultobj;
18329 fail:
18330 return NULL;
18331 }
18332
18333
18334 static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
18335 PyObject *obj;
18336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18337 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18338 Py_INCREF(obj);
18339 return Py_BuildValue((char *)"");
18340 }
18341 static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj;
18343 wxDisplayChangedEvent *result;
18344 char *kwnames[] = {
18345 NULL
18346 };
18347
18348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
18357 return resultobj;
18358 fail:
18359 return NULL;
18360 }
18361
18362
18363 static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
18364 PyObject *obj;
18365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18366 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18367 Py_INCREF(obj);
18368 return Py_BuildValue((char *)"");
18369 }
18370 static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj;
18372 int arg1 = (int) 0 ;
18373 wxPaletteChangedEvent *result;
18374 PyObject * obj0 = 0 ;
18375 char *kwnames[] = {
18376 (char *) "id", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18380 if (obj0) {
18381 arg1 = (int) SWIG_AsInt(obj0);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 {
18385 PyThreadState* __tstate = wxPyBeginAllowThreads();
18386 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18387
18388 wxPyEndAllowThreads(__tstate);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
18392 return resultobj;
18393 fail:
18394 return NULL;
18395 }
18396
18397
18398 static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18399 PyObject *resultobj;
18400 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18401 wxWindow *arg2 = (wxWindow *) 0 ;
18402 PyObject * obj0 = 0 ;
18403 PyObject * obj1 = 0 ;
18404 char *kwnames[] = {
18405 (char *) "self",(char *) "win", NULL
18406 };
18407
18408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
18409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 (arg1)->SetChangedWindow(arg2);
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 Py_INCREF(Py_None); resultobj = Py_None;
18421 return resultobj;
18422 fail:
18423 return NULL;
18424 }
18425
18426
18427 static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18428 PyObject *resultobj;
18429 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18430 wxWindow *result;
18431 PyObject * obj0 = 0 ;
18432 char *kwnames[] = {
18433 (char *) "self", NULL
18434 };
18435
18436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
18437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 result = (wxWindow *)(arg1)->GetChangedWindow();
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 {
18447 resultobj = wxPyMake_wxObject(result);
18448 }
18449 return resultobj;
18450 fail:
18451 return NULL;
18452 }
18453
18454
18455 static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18456 PyObject *obj;
18457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18458 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18459 Py_INCREF(obj);
18460 return Py_BuildValue((char *)"");
18461 }
18462 static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18463 PyObject *resultobj;
18464 int arg1 = (int) 0 ;
18465 wxQueryNewPaletteEvent *result;
18466 PyObject * obj0 = 0 ;
18467 char *kwnames[] = {
18468 (char *) "winid", NULL
18469 };
18470
18471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18472 if (obj0) {
18473 arg1 = (int) SWIG_AsInt(obj0);
18474 if (PyErr_Occurred()) SWIG_fail;
18475 }
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18491 PyObject *resultobj;
18492 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18493 bool arg2 ;
18494 PyObject * obj0 = 0 ;
18495 PyObject * obj1 = 0 ;
18496 char *kwnames[] = {
18497 (char *) "self",(char *) "realized", NULL
18498 };
18499
18500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
18501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18503 arg2 = (bool) SWIG_AsBool(obj1);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 (arg1)->SetPaletteRealized(arg2);
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 Py_INCREF(Py_None); resultobj = Py_None;
18513 return resultobj;
18514 fail:
18515 return NULL;
18516 }
18517
18518
18519 static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj;
18521 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18522 bool result;
18523 PyObject * obj0 = 0 ;
18524 char *kwnames[] = {
18525 (char *) "self", NULL
18526 };
18527
18528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
18529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 {
18539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18540 }
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18548 PyObject *obj;
18549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18550 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18551 Py_INCREF(obj);
18552 return Py_BuildValue((char *)"");
18553 }
18554 static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxNavigationKeyEvent *result;
18557 char *kwnames[] = {
18558 NULL
18559 };
18560
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18562 {
18563 PyThreadState* __tstate = wxPyBeginAllowThreads();
18564 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18565
18566 wxPyEndAllowThreads(__tstate);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
18570 return resultobj;
18571 fail:
18572 return NULL;
18573 }
18574
18575
18576 static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj;
18578 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18579 bool result;
18580 PyObject * obj0 = 0 ;
18581 char *kwnames[] = {
18582 (char *) "self", NULL
18583 };
18584
18585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
18586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 {
18596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18597 }
18598 return resultobj;
18599 fail:
18600 return NULL;
18601 }
18602
18603
18604 static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18605 PyObject *resultobj;
18606 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18607 bool arg2 ;
18608 PyObject * obj0 = 0 ;
18609 PyObject * obj1 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self",(char *) "forward", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18617 arg2 = (bool) SWIG_AsBool(obj1);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 (arg1)->SetDirection(arg2);
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 Py_INCREF(Py_None); resultobj = Py_None;
18627 return resultobj;
18628 fail:
18629 return NULL;
18630 }
18631
18632
18633 static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18634 PyObject *resultobj;
18635 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18636 bool result;
18637 PyObject * obj0 = 0 ;
18638 char *kwnames[] = {
18639 (char *) "self", NULL
18640 };
18641
18642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
18643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18645 {
18646 PyThreadState* __tstate = wxPyBeginAllowThreads();
18647 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18648
18649 wxPyEndAllowThreads(__tstate);
18650 if (PyErr_Occurred()) SWIG_fail;
18651 }
18652 {
18653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18654 }
18655 return resultobj;
18656 fail:
18657 return NULL;
18658 }
18659
18660
18661 static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18662 PyObject *resultobj;
18663 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18664 bool arg2 ;
18665 PyObject * obj0 = 0 ;
18666 PyObject * obj1 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self",(char *) "ischange", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
18672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18674 arg2 = (bool) SWIG_AsBool(obj1);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 (arg1)->SetWindowChange(arg2);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 Py_INCREF(Py_None); resultobj = Py_None;
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj;
18692 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18693 long arg2 ;
18694 PyObject * obj0 = 0 ;
18695 PyObject * obj1 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self",(char *) "flags", NULL
18698 };
18699
18700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
18701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18703 arg2 = (long) SWIG_AsLong(obj1);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 {
18706 PyThreadState* __tstate = wxPyBeginAllowThreads();
18707 (arg1)->SetFlags(arg2);
18708
18709 wxPyEndAllowThreads(__tstate);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 Py_INCREF(Py_None); resultobj = Py_None;
18713 return resultobj;
18714 fail:
18715 return NULL;
18716 }
18717
18718
18719 static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18720 PyObject *resultobj;
18721 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18722 wxWindow *result;
18723 PyObject * obj0 = 0 ;
18724 char *kwnames[] = {
18725 (char *) "self", NULL
18726 };
18727
18728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
18729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 {
18739 resultobj = wxPyMake_wxObject(result);
18740 }
18741 return resultobj;
18742 fail:
18743 return NULL;
18744 }
18745
18746
18747 static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18748 PyObject *resultobj;
18749 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18750 wxWindow *arg2 = (wxWindow *) 0 ;
18751 PyObject * obj0 = 0 ;
18752 PyObject * obj1 = 0 ;
18753 char *kwnames[] = {
18754 (char *) "self",(char *) "win", NULL
18755 };
18756
18757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
18758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 (arg1)->SetCurrentFocus(arg2);
18765
18766 wxPyEndAllowThreads(__tstate);
18767 if (PyErr_Occurred()) SWIG_fail;
18768 }
18769 Py_INCREF(Py_None); resultobj = Py_None;
18770 return resultobj;
18771 fail:
18772 return NULL;
18773 }
18774
18775
18776 static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18777 PyObject *obj;
18778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18779 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18780 Py_INCREF(obj);
18781 return Py_BuildValue((char *)"");
18782 }
18783 static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxWindow *arg1 = (wxWindow *) NULL ;
18786 wxWindowCreateEvent *result;
18787 PyObject * obj0 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "win", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18793 if (obj0) {
18794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18796 }
18797 {
18798 PyThreadState* __tstate = wxPyBeginAllowThreads();
18799 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18800
18801 wxPyEndAllowThreads(__tstate);
18802 if (PyErr_Occurred()) SWIG_fail;
18803 }
18804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
18805 return resultobj;
18806 fail:
18807 return NULL;
18808 }
18809
18810
18811 static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18812 PyObject *resultobj;
18813 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18814 wxWindow *result;
18815 PyObject * obj0 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
18821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18823 {
18824 PyThreadState* __tstate = wxPyBeginAllowThreads();
18825 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18826
18827 wxPyEndAllowThreads(__tstate);
18828 if (PyErr_Occurred()) SWIG_fail;
18829 }
18830 {
18831 resultobj = wxPyMake_wxObject(result);
18832 }
18833 return resultobj;
18834 fail:
18835 return NULL;
18836 }
18837
18838
18839 static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18840 PyObject *obj;
18841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18842 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18843 Py_INCREF(obj);
18844 return Py_BuildValue((char *)"");
18845 }
18846 static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj;
18848 wxWindow *arg1 = (wxWindow *) NULL ;
18849 wxWindowDestroyEvent *result;
18850 PyObject * obj0 = 0 ;
18851 char *kwnames[] = {
18852 (char *) "win", NULL
18853 };
18854
18855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18856 if (obj0) {
18857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18859 }
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18863
18864 wxPyEndAllowThreads(__tstate);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 }
18867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
18868 return resultobj;
18869 fail:
18870 return NULL;
18871 }
18872
18873
18874 static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18877 wxWindow *result;
18878 PyObject * obj0 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
18884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 {
18894 resultobj = wxPyMake_wxObject(result);
18895 }
18896 return resultobj;
18897 fail:
18898 return NULL;
18899 }
18900
18901
18902 static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18903 PyObject *obj;
18904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18905 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18906 Py_INCREF(obj);
18907 return Py_BuildValue((char *)"");
18908 }
18909 static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18910 PyObject *resultobj;
18911 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18912 int arg2 = (int) 0 ;
18913 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18914 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18915 wxContextMenuEvent *result;
18916 wxPoint temp3 ;
18917 PyObject * obj0 = 0 ;
18918 PyObject * obj1 = 0 ;
18919 PyObject * obj2 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "type",(char *) "winid",(char *) "pt", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18925 if (obj0) {
18926 arg1 = (wxEventType) SWIG_AsInt(obj0);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 if (obj1) {
18930 arg2 = (int) SWIG_AsInt(obj1);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 if (obj2) {
18934 {
18935 arg3 = &temp3;
18936 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18937 }
18938 }
18939 {
18940 PyThreadState* __tstate = wxPyBeginAllowThreads();
18941 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18942
18943 wxPyEndAllowThreads(__tstate);
18944 if (PyErr_Occurred()) SWIG_fail;
18945 }
18946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
18947 return resultobj;
18948 fail:
18949 return NULL;
18950 }
18951
18952
18953 static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18956 wxPoint *result;
18957 PyObject * obj0 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
18963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 {
18968 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18969 result = (wxPoint *) &_result_ref;
18970 }
18971
18972 wxPyEndAllowThreads(__tstate);
18973 if (PyErr_Occurred()) SWIG_fail;
18974 }
18975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
18976 return resultobj;
18977 fail:
18978 return NULL;
18979 }
18980
18981
18982 static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18983 PyObject *resultobj;
18984 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18985 wxPoint *arg2 = 0 ;
18986 wxPoint temp2 ;
18987 PyObject * obj0 = 0 ;
18988 PyObject * obj1 = 0 ;
18989 char *kwnames[] = {
18990 (char *) "self",(char *) "pos", NULL
18991 };
18992
18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
18994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18996 {
18997 arg2 = &temp2;
18998 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18999 }
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 (arg1)->SetPosition((wxPoint const &)*arg2);
19003
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 Py_INCREF(Py_None); resultobj = Py_None;
19008 return resultobj;
19009 fail:
19010 return NULL;
19011 }
19012
19013
19014 static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
19015 PyObject *obj;
19016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19017 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
19018 Py_INCREF(obj);
19019 return Py_BuildValue((char *)"");
19020 }
19021 static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxIdleEvent *result;
19024 char *kwnames[] = {
19025 NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (wxIdleEvent *)new wxIdleEvent();
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
19037 return resultobj;
19038 fail:
19039 return NULL;
19040 }
19041
19042
19043 static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19046 bool arg2 = (bool) True ;
19047 PyObject * obj0 = 0 ;
19048 PyObject * obj1 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self",(char *) "needMore", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19056 if (obj1) {
19057 arg2 = (bool) SWIG_AsBool(obj1);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 }
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 (arg1)->RequestMore(arg2);
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 Py_INCREF(Py_None); resultobj = Py_None;
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19077 bool result;
19078 PyObject * obj0 = 0 ;
19079 char *kwnames[] = {
19080 (char *) "self", NULL
19081 };
19082
19083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
19084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19086 {
19087 PyThreadState* __tstate = wxPyBeginAllowThreads();
19088 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19089
19090 wxPyEndAllowThreads(__tstate);
19091 if (PyErr_Occurred()) SWIG_fail;
19092 }
19093 {
19094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19095 }
19096 return resultobj;
19097 fail:
19098 return NULL;
19099 }
19100
19101
19102 static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19103 PyObject *resultobj;
19104 int arg1 ;
19105 PyObject * obj0 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "mode", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
19111 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 wxIdleEvent::SetMode((wxIdleMode )arg1);
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 Py_INCREF(Py_None); resultobj = Py_None;
19121 return resultobj;
19122 fail:
19123 return NULL;
19124 }
19125
19126
19127 static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj;
19129 int result;
19130 char *kwnames[] = {
19131 NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19135 {
19136 PyThreadState* __tstate = wxPyBeginAllowThreads();
19137 result = (int)wxIdleEvent::GetMode();
19138
19139 wxPyEndAllowThreads(__tstate);
19140 if (PyErr_Occurred()) SWIG_fail;
19141 }
19142 resultobj = SWIG_FromInt((int)result);
19143 return resultobj;
19144 fail:
19145 return NULL;
19146 }
19147
19148
19149 static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
19150 PyObject *resultobj;
19151 wxWindow *arg1 = (wxWindow *) 0 ;
19152 bool result;
19153 PyObject * obj0 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "win", NULL
19156 };
19157
19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
19159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 result = (bool)wxIdleEvent::CanSend(arg1);
19164
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 {
19169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19170 }
19171 return resultobj;
19172 fail:
19173 return NULL;
19174 }
19175
19176
19177 static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
19178 PyObject *obj;
19179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19180 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19181 Py_INCREF(obj);
19182 return Py_BuildValue((char *)"");
19183 }
19184 static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19185 PyObject *resultobj;
19186 int arg1 = (int) 0 ;
19187 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19188 wxPyEvent *result;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "winid",(char *) "commandType", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19196 if (obj0) {
19197 arg1 = (int) SWIG_AsInt(obj0);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 if (obj1) {
19201 arg2 = (wxEventType) SWIG_AsInt(obj1);
19202 if (PyErr_Occurred()) SWIG_fail;
19203 }
19204 {
19205 PyThreadState* __tstate = wxPyBeginAllowThreads();
19206 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19207
19208 wxPyEndAllowThreads(__tstate);
19209 if (PyErr_Occurred()) SWIG_fail;
19210 }
19211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
19212 return resultobj;
19213 fail:
19214 return NULL;
19215 }
19216
19217
19218 static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19219 PyObject *resultobj;
19220 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19221 PyObject * obj0 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
19227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19229 {
19230 PyThreadState* __tstate = wxPyBeginAllowThreads();
19231 delete arg1;
19232
19233 wxPyEndAllowThreads(__tstate);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
19236 Py_INCREF(Py_None); resultobj = Py_None;
19237 return resultobj;
19238 fail:
19239 return NULL;
19240 }
19241
19242
19243 static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19246 PyObject *arg2 = (PyObject *) 0 ;
19247 PyObject * obj0 = 0 ;
19248 PyObject * obj1 = 0 ;
19249 char *kwnames[] = {
19250 (char *) "self",(char *) "self", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
19254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19256 arg2 = obj1;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 (arg1)->SetSelf(arg2);
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 Py_INCREF(Py_None); resultobj = Py_None;
19265 return resultobj;
19266 fail:
19267 return NULL;
19268 }
19269
19270
19271 static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19272 PyObject *resultobj;
19273 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19274 PyObject *result;
19275 PyObject * obj0 = 0 ;
19276 char *kwnames[] = {
19277 (char *) "self", NULL
19278 };
19279
19280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
19281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 result = (PyObject *)(arg1)->GetSelf();
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 resultobj = result;
19291 return resultobj;
19292 fail:
19293 return NULL;
19294 }
19295
19296
19297 static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
19298 PyObject *obj;
19299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19300 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19301 Py_INCREF(obj);
19302 return Py_BuildValue((char *)"");
19303 }
19304 static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj;
19306 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19307 int arg2 = (int) 0 ;
19308 wxPyCommandEvent *result;
19309 PyObject * obj0 = 0 ;
19310 PyObject * obj1 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "commandType",(char *) "id", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19316 if (obj0) {
19317 arg1 = (wxEventType) SWIG_AsInt(obj0);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 }
19320 if (obj1) {
19321 arg2 = (int) SWIG_AsInt(obj1);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 {
19325 PyThreadState* __tstate = wxPyBeginAllowThreads();
19326 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19327
19328 wxPyEndAllowThreads(__tstate);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 }
19331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
19332 return resultobj;
19333 fail:
19334 return NULL;
19335 }
19336
19337
19338 static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19339 PyObject *resultobj;
19340 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19341 PyObject * obj0 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19349 {
19350 PyThreadState* __tstate = wxPyBeginAllowThreads();
19351 delete arg1;
19352
19353 wxPyEndAllowThreads(__tstate);
19354 if (PyErr_Occurred()) SWIG_fail;
19355 }
19356 Py_INCREF(Py_None); resultobj = Py_None;
19357 return resultobj;
19358 fail:
19359 return NULL;
19360 }
19361
19362
19363 static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19364 PyObject *resultobj;
19365 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19366 PyObject *arg2 = (PyObject *) 0 ;
19367 PyObject * obj0 = 0 ;
19368 PyObject * obj1 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self",(char *) "self", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
19374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19376 arg2 = obj1;
19377 {
19378 PyThreadState* __tstate = wxPyBeginAllowThreads();
19379 (arg1)->SetSelf(arg2);
19380
19381 wxPyEndAllowThreads(__tstate);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 }
19384 Py_INCREF(Py_None); resultobj = Py_None;
19385 return resultobj;
19386 fail:
19387 return NULL;
19388 }
19389
19390
19391 static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19392 PyObject *resultobj;
19393 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19394 PyObject *result;
19395 PyObject * obj0 = 0 ;
19396 char *kwnames[] = {
19397 (char *) "self", NULL
19398 };
19399
19400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
19401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19403 {
19404 PyThreadState* __tstate = wxPyBeginAllowThreads();
19405 result = (PyObject *)(arg1)->GetSelf();
19406
19407 wxPyEndAllowThreads(__tstate);
19408 if (PyErr_Occurred()) SWIG_fail;
19409 }
19410 resultobj = result;
19411 return resultobj;
19412 fail:
19413 return NULL;
19414 }
19415
19416
19417 static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19418 PyObject *obj;
19419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19420 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19421 Py_INCREF(obj);
19422 return Py_BuildValue((char *)"");
19423 }
19424 static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19425 PyObject *resultobj;
19426 wxPyApp *result;
19427 char *kwnames[] = {
19428 NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 result = (wxPyApp *)new_wxPyApp();
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 {
19440 resultobj = wxPyMake_wxObject(result);
19441 }
19442 return resultobj;
19443 fail:
19444 return NULL;
19445 }
19446
19447
19448 static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19449 PyObject *resultobj;
19450 wxPyApp *arg1 = (wxPyApp *) 0 ;
19451 PyObject * obj0 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 delete arg1;
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 Py_INCREF(Py_None); resultobj = Py_None;
19467 return resultobj;
19468 fail:
19469 return NULL;
19470 }
19471
19472
19473 static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxPyApp *arg1 = (wxPyApp *) 0 ;
19476 PyObject *arg2 = (PyObject *) 0 ;
19477 PyObject *arg3 = (PyObject *) 0 ;
19478 PyObject * obj0 = 0 ;
19479 PyObject * obj1 = 0 ;
19480 PyObject * obj2 = 0 ;
19481 char *kwnames[] = {
19482 (char *) "self",(char *) "self",(char *) "_class", NULL
19483 };
19484
19485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19488 arg2 = obj1;
19489 arg3 = obj2;
19490 {
19491 PyThreadState* __tstate = wxPyBeginAllowThreads();
19492 (arg1)->_setCallbackInfo(arg2,arg3);
19493
19494 wxPyEndAllowThreads(__tstate);
19495 if (PyErr_Occurred()) SWIG_fail;
19496 }
19497 Py_INCREF(Py_None); resultobj = Py_None;
19498 return resultobj;
19499 fail:
19500 return NULL;
19501 }
19502
19503
19504 static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj;
19506 wxPyApp *arg1 = (wxPyApp *) 0 ;
19507 wxString result;
19508 PyObject * obj0 = 0 ;
19509 char *kwnames[] = {
19510 (char *) "self", NULL
19511 };
19512
19513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
19514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19516 {
19517 PyThreadState* __tstate = wxPyBeginAllowThreads();
19518 result = ((wxPyApp const *)arg1)->GetAppName();
19519
19520 wxPyEndAllowThreads(__tstate);
19521 if (PyErr_Occurred()) SWIG_fail;
19522 }
19523 {
19524 #if wxUSE_UNICODE
19525 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19526 #else
19527 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19528 #endif
19529 }
19530 return resultobj;
19531 fail:
19532 return NULL;
19533 }
19534
19535
19536 static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19537 PyObject *resultobj;
19538 wxPyApp *arg1 = (wxPyApp *) 0 ;
19539 wxString *arg2 = 0 ;
19540 bool temp2 = False ;
19541 PyObject * obj0 = 0 ;
19542 PyObject * obj1 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self",(char *) "name", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
19548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19550 {
19551 arg2 = wxString_in_helper(obj1);
19552 if (arg2 == NULL) SWIG_fail;
19553 temp2 = True;
19554 }
19555 {
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 (arg1)->SetAppName((wxString const &)*arg2);
19558
19559 wxPyEndAllowThreads(__tstate);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 }
19562 Py_INCREF(Py_None); resultobj = Py_None;
19563 {
19564 if (temp2)
19565 delete arg2;
19566 }
19567 return resultobj;
19568 fail:
19569 {
19570 if (temp2)
19571 delete arg2;
19572 }
19573 return NULL;
19574 }
19575
19576
19577 static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19578 PyObject *resultobj;
19579 wxPyApp *arg1 = (wxPyApp *) 0 ;
19580 wxString result;
19581 PyObject * obj0 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
19587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 result = ((wxPyApp const *)arg1)->GetClassName();
19592
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 {
19597 #if wxUSE_UNICODE
19598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19599 #else
19600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19601 #endif
19602 }
19603 return resultobj;
19604 fail:
19605 return NULL;
19606 }
19607
19608
19609 static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19610 PyObject *resultobj;
19611 wxPyApp *arg1 = (wxPyApp *) 0 ;
19612 wxString *arg2 = 0 ;
19613 bool temp2 = False ;
19614 PyObject * obj0 = 0 ;
19615 PyObject * obj1 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self",(char *) "name", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19623 {
19624 arg2 = wxString_in_helper(obj1);
19625 if (arg2 == NULL) SWIG_fail;
19626 temp2 = True;
19627 }
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 (arg1)->SetClassName((wxString const &)*arg2);
19631
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
19635 Py_INCREF(Py_None); resultobj = Py_None;
19636 {
19637 if (temp2)
19638 delete arg2;
19639 }
19640 return resultobj;
19641 fail:
19642 {
19643 if (temp2)
19644 delete arg2;
19645 }
19646 return NULL;
19647 }
19648
19649
19650 static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj;
19652 wxPyApp *arg1 = (wxPyApp *) 0 ;
19653 wxString *result;
19654 PyObject * obj0 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
19660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19662 {
19663 PyThreadState* __tstate = wxPyBeginAllowThreads();
19664 {
19665 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19666 result = (wxString *) &_result_ref;
19667 }
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 {
19673 #if wxUSE_UNICODE
19674 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19675 #else
19676 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19677 #endif
19678 }
19679 return resultobj;
19680 fail:
19681 return NULL;
19682 }
19683
19684
19685 static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19686 PyObject *resultobj;
19687 wxPyApp *arg1 = (wxPyApp *) 0 ;
19688 wxString *arg2 = 0 ;
19689 bool temp2 = False ;
19690 PyObject * obj0 = 0 ;
19691 PyObject * obj1 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self",(char *) "name", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
19697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19699 {
19700 arg2 = wxString_in_helper(obj1);
19701 if (arg2 == NULL) SWIG_fail;
19702 temp2 = True;
19703 }
19704 {
19705 PyThreadState* __tstate = wxPyBeginAllowThreads();
19706 (arg1)->SetVendorName((wxString const &)*arg2);
19707
19708 wxPyEndAllowThreads(__tstate);
19709 if (PyErr_Occurred()) SWIG_fail;
19710 }
19711 Py_INCREF(Py_None); resultobj = Py_None;
19712 {
19713 if (temp2)
19714 delete arg2;
19715 }
19716 return resultobj;
19717 fail:
19718 {
19719 if (temp2)
19720 delete arg2;
19721 }
19722 return NULL;
19723 }
19724
19725
19726 static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj;
19728 wxPyApp *arg1 = (wxPyApp *) 0 ;
19729 wxAppTraits *result;
19730 PyObject * obj0 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "self", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
19736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 result = (wxAppTraits *)(arg1)->GetTraits();
19741
19742 wxPyEndAllowThreads(__tstate);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
19745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
19746 return resultobj;
19747 fail:
19748 return NULL;
19749 }
19750
19751
19752 static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19753 PyObject *resultobj;
19754 wxPyApp *arg1 = (wxPyApp *) 0 ;
19755 PyObject * obj0 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
19761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 (arg1)->ProcessPendingEvents();
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 Py_INCREF(Py_None); resultobj = Py_None;
19771 return resultobj;
19772 fail:
19773 return NULL;
19774 }
19775
19776
19777 static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj;
19779 wxPyApp *arg1 = (wxPyApp *) 0 ;
19780 bool arg2 = (bool) False ;
19781 bool result;
19782 PyObject * obj0 = 0 ;
19783 PyObject * obj1 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self",(char *) "onlyIfNeeded", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
19789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19791 if (obj1) {
19792 arg2 = (bool) SWIG_AsBool(obj1);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 {
19796 PyThreadState* __tstate = wxPyBeginAllowThreads();
19797 result = (bool)(arg1)->Yield(arg2);
19798
19799 wxPyEndAllowThreads(__tstate);
19800 if (PyErr_Occurred()) SWIG_fail;
19801 }
19802 {
19803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19804 }
19805 return resultobj;
19806 fail:
19807 return NULL;
19808 }
19809
19810
19811 static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19812 PyObject *resultobj;
19813 wxPyApp *arg1 = (wxPyApp *) 0 ;
19814 PyObject * obj0 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self", NULL
19817 };
19818
19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
19820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 (arg1)->WakeUpIdle();
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 Py_INCREF(Py_None); resultobj = Py_None;
19830 return resultobj;
19831 fail:
19832 return NULL;
19833 }
19834
19835
19836 static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19837 PyObject *resultobj;
19838 wxPyApp *arg1 = (wxPyApp *) 0 ;
19839 int result;
19840 PyObject * obj0 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
19846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (int)(arg1)->MainLoop();
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 resultobj = SWIG_FromInt((int)result);
19856 return resultobj;
19857 fail:
19858 return NULL;
19859 }
19860
19861
19862 static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19863 PyObject *resultobj;
19864 wxPyApp *arg1 = (wxPyApp *) 0 ;
19865 PyObject * obj0 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
19871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 (arg1)->Exit();
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 Py_INCREF(Py_None); resultobj = Py_None;
19881 return resultobj;
19882 fail:
19883 return NULL;
19884 }
19885
19886
19887 static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19888 PyObject *resultobj;
19889 wxPyApp *arg1 = (wxPyApp *) 0 ;
19890 PyObject * obj0 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
19896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 (arg1)->ExitMainLoop();
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 Py_INCREF(Py_None); resultobj = Py_None;
19906 return resultobj;
19907 fail:
19908 return NULL;
19909 }
19910
19911
19912 static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19913 PyObject *resultobj;
19914 wxPyApp *arg1 = (wxPyApp *) 0 ;
19915 bool result;
19916 PyObject * obj0 = 0 ;
19917 char *kwnames[] = {
19918 (char *) "self", NULL
19919 };
19920
19921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
19922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 result = (bool)(arg1)->Pending();
19927
19928 wxPyEndAllowThreads(__tstate);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 {
19932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19933 }
19934 return resultobj;
19935 fail:
19936 return NULL;
19937 }
19938
19939
19940 static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19941 PyObject *resultobj;
19942 wxPyApp *arg1 = (wxPyApp *) 0 ;
19943 bool result;
19944 PyObject * obj0 = 0 ;
19945 char *kwnames[] = {
19946 (char *) "self", NULL
19947 };
19948
19949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
19950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19952 {
19953 PyThreadState* __tstate = wxPyBeginAllowThreads();
19954 result = (bool)(arg1)->Dispatch();
19955
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 {
19960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19961 }
19962 return resultobj;
19963 fail:
19964 return NULL;
19965 }
19966
19967
19968 static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19969 PyObject *resultobj;
19970 wxPyApp *arg1 = (wxPyApp *) 0 ;
19971 bool result;
19972 PyObject * obj0 = 0 ;
19973 char *kwnames[] = {
19974 (char *) "self", NULL
19975 };
19976
19977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
19978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 result = (bool)(arg1)->ProcessIdle();
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 {
19988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19989 }
19990 return resultobj;
19991 fail:
19992 return NULL;
19993 }
19994
19995
19996 static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19997 PyObject *resultobj;
19998 wxPyApp *arg1 = (wxPyApp *) 0 ;
19999 wxWindow *arg2 = (wxWindow *) 0 ;
20000 wxIdleEvent *arg3 = 0 ;
20001 bool result;
20002 PyObject * obj0 = 0 ;
20003 PyObject * obj1 = 0 ;
20004 PyObject * obj2 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "win",(char *) "event", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
20010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20014 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
20015 SWIG_POINTER_EXCEPTION | 0)) == -1)
20016 SWIG_fail;
20017 if (arg3 == NULL) {
20018 PyErr_SetString(PyExc_TypeError,"null reference");
20019 SWIG_fail;
20020 }
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
20024
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 {
20029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20030 }
20031 return resultobj;
20032 fail:
20033 return NULL;
20034 }
20035
20036
20037 static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxPyApp *arg1 = (wxPyApp *) 0 ;
20040 bool result;
20041 PyObject * obj0 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
20047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 result = (bool)((wxPyApp const *)arg1)->IsActive();
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 {
20057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20058 }
20059 return resultobj;
20060 fail:
20061 return NULL;
20062 }
20063
20064
20065 static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20066 PyObject *resultobj;
20067 wxPyApp *arg1 = (wxPyApp *) 0 ;
20068 wxWindow *arg2 = (wxWindow *) 0 ;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self",(char *) "win", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20080 {
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 (arg1)->SetTopWindow(arg2);
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_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxPyApp *arg1 = (wxPyApp *) 0 ;
20097 wxWindow *result;
20098 PyObject * obj0 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "self", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
20104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 {
20114 resultobj = wxPyMake_wxObject(result);
20115 }
20116 return resultobj;
20117 fail:
20118 return NULL;
20119 }
20120
20121
20122 static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20123 PyObject *resultobj;
20124 wxPyApp *arg1 = (wxPyApp *) 0 ;
20125 bool arg2 ;
20126 PyObject * obj0 = 0 ;
20127 PyObject * obj1 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self",(char *) "flag", NULL
20130 };
20131
20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
20133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20135 arg2 = (bool) SWIG_AsBool(obj1);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 (arg1)->SetExitOnFrameDelete(arg2);
20140
20141 wxPyEndAllowThreads(__tstate);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 Py_INCREF(Py_None); resultobj = Py_None;
20145 return resultobj;
20146 fail:
20147 return NULL;
20148 }
20149
20150
20151 static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj;
20153 wxPyApp *arg1 = (wxPyApp *) 0 ;
20154 bool result;
20155 PyObject * obj0 = 0 ;
20156 char *kwnames[] = {
20157 (char *) "self", NULL
20158 };
20159
20160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
20161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20163 {
20164 PyThreadState* __tstate = wxPyBeginAllowThreads();
20165 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20166
20167 wxPyEndAllowThreads(__tstate);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 {
20171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20172 }
20173 return resultobj;
20174 fail:
20175 return NULL;
20176 }
20177
20178
20179 static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj;
20181 wxPyApp *arg1 = (wxPyApp *) 0 ;
20182 bool arg2 ;
20183 PyObject * obj0 = 0 ;
20184 PyObject * obj1 = 0 ;
20185 char *kwnames[] = {
20186 (char *) "self",(char *) "flag", NULL
20187 };
20188
20189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
20190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20192 arg2 = (bool) SWIG_AsBool(obj1);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 (arg1)->SetUseBestVisual(arg2);
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
20201 Py_INCREF(Py_None); resultobj = Py_None;
20202 return resultobj;
20203 fail:
20204 return NULL;
20205 }
20206
20207
20208 static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20209 PyObject *resultobj;
20210 wxPyApp *arg1 = (wxPyApp *) 0 ;
20211 bool result;
20212 PyObject * obj0 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "self", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
20218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 {
20228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20229 }
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxPyApp *arg1 = (wxPyApp *) 0 ;
20239 int arg2 ;
20240 PyObject * obj0 = 0 ;
20241 PyObject * obj1 = 0 ;
20242 char *kwnames[] = {
20243 (char *) "self",(char *) "mode", NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
20247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20249 arg2 = (int) SWIG_AsInt(obj1);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 (arg1)->SetPrintMode(arg2);
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 Py_INCREF(Py_None); resultobj = Py_None;
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxPyApp *arg1 = (wxPyApp *) 0 ;
20268 int result;
20269 PyObject * obj0 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20277 {
20278 PyThreadState* __tstate = wxPyBeginAllowThreads();
20279 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20280
20281 wxPyEndAllowThreads(__tstate);
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
20284 resultobj = SWIG_FromInt((int)result);
20285 return resultobj;
20286 fail:
20287 return NULL;
20288 }
20289
20290
20291 static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20292 PyObject *resultobj;
20293 wxPyApp *arg1 = (wxPyApp *) 0 ;
20294 int arg2 ;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self",(char *) "mode", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
20302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20304 arg2 = (int) SWIG_AsInt(obj1);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 (arg1)->SetAssertMode(arg2);
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 Py_INCREF(Py_None); resultobj = Py_None;
20314 return resultobj;
20315 fail:
20316 return NULL;
20317 }
20318
20319
20320 static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxPyApp *arg1 = (wxPyApp *) 0 ;
20323 int result;
20324 PyObject * obj0 = 0 ;
20325 char *kwnames[] = {
20326 (char *) "self", NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
20330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 result = (int)(arg1)->GetAssertMode();
20335
20336 wxPyEndAllowThreads(__tstate);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 resultobj = SWIG_FromInt((int)result);
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 bool result;
20349 char *kwnames[] = {
20350 NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20357
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 {
20362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20363 }
20364 return resultobj;
20365 fail:
20366 return NULL;
20367 }
20368
20369
20370 static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20371 PyObject *resultobj;
20372 long result;
20373 char *kwnames[] = {
20374 NULL
20375 };
20376
20377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20378 {
20379 PyThreadState* __tstate = wxPyBeginAllowThreads();
20380 result = (long)wxPyApp::GetMacAboutMenuItemId();
20381
20382 wxPyEndAllowThreads(__tstate);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 }
20385 resultobj = SWIG_FromLong((long)result);
20386 return resultobj;
20387 fail:
20388 return NULL;
20389 }
20390
20391
20392 static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20393 PyObject *resultobj;
20394 long result;
20395 char *kwnames[] = {
20396 NULL
20397 };
20398
20399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
20407 resultobj = SWIG_FromLong((long)result);
20408 return resultobj;
20409 fail:
20410 return NULL;
20411 }
20412
20413
20414 static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20415 PyObject *resultobj;
20416 long result;
20417 char *kwnames[] = {
20418 NULL
20419 };
20420
20421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20422 {
20423 PyThreadState* __tstate = wxPyBeginAllowThreads();
20424 result = (long)wxPyApp::GetMacExitMenuItemId();
20425
20426 wxPyEndAllowThreads(__tstate);
20427 if (PyErr_Occurred()) SWIG_fail;
20428 }
20429 resultobj = SWIG_FromLong((long)result);
20430 return resultobj;
20431 fail:
20432 return NULL;
20433 }
20434
20435
20436 static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20437 PyObject *resultobj;
20438 wxString result;
20439 char *kwnames[] = {
20440 NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20444 {
20445 PyThreadState* __tstate = wxPyBeginAllowThreads();
20446 result = wxPyApp::GetMacHelpMenuTitleName();
20447
20448 wxPyEndAllowThreads(__tstate);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
20451 {
20452 #if wxUSE_UNICODE
20453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20454 #else
20455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20456 #endif
20457 }
20458 return resultobj;
20459 fail:
20460 return NULL;
20461 }
20462
20463
20464 static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20465 PyObject *resultobj;
20466 bool arg1 ;
20467 PyObject * obj0 = 0 ;
20468 char *kwnames[] = {
20469 (char *) "val", NULL
20470 };
20471
20472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
20473 arg1 = (bool) SWIG_AsBool(obj0);
20474 if (PyErr_Occurred()) SWIG_fail;
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 Py_INCREF(Py_None); resultobj = Py_None;
20483 return resultobj;
20484 fail:
20485 return NULL;
20486 }
20487
20488
20489 static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 long arg1 ;
20492 PyObject * obj0 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "val", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
20498 arg1 = (long) SWIG_AsLong(obj0);
20499 if (PyErr_Occurred()) SWIG_fail;
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 wxPyApp::SetMacAboutMenuItemId(arg1);
20503
20504 wxPyEndAllowThreads(__tstate);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 }
20507 Py_INCREF(Py_None); resultobj = Py_None;
20508 return resultobj;
20509 fail:
20510 return NULL;
20511 }
20512
20513
20514 static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20515 PyObject *resultobj;
20516 long arg1 ;
20517 PyObject * obj0 = 0 ;
20518 char *kwnames[] = {
20519 (char *) "val", NULL
20520 };
20521
20522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
20523 arg1 = (long) SWIG_AsLong(obj0);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
20532 Py_INCREF(Py_None); resultobj = Py_None;
20533 return resultobj;
20534 fail:
20535 return NULL;
20536 }
20537
20538
20539 static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20540 PyObject *resultobj;
20541 long arg1 ;
20542 PyObject * obj0 = 0 ;
20543 char *kwnames[] = {
20544 (char *) "val", NULL
20545 };
20546
20547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
20548 arg1 = (long) SWIG_AsLong(obj0);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 wxPyApp::SetMacExitMenuItemId(arg1);
20553
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 Py_INCREF(Py_None); resultobj = Py_None;
20558 return resultobj;
20559 fail:
20560 return NULL;
20561 }
20562
20563
20564 static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20565 PyObject *resultobj;
20566 wxString *arg1 = 0 ;
20567 bool temp1 = False ;
20568 PyObject * obj0 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "val", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20574 {
20575 arg1 = wxString_in_helper(obj0);
20576 if (arg1 == NULL) SWIG_fail;
20577 temp1 = True;
20578 }
20579 {
20580 PyThreadState* __tstate = wxPyBeginAllowThreads();
20581 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20582
20583 wxPyEndAllowThreads(__tstate);
20584 if (PyErr_Occurred()) SWIG_fail;
20585 }
20586 Py_INCREF(Py_None); resultobj = Py_None;
20587 {
20588 if (temp1)
20589 delete arg1;
20590 }
20591 return resultobj;
20592 fail:
20593 {
20594 if (temp1)
20595 delete arg1;
20596 }
20597 return NULL;
20598 }
20599
20600
20601 static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20602 PyObject *resultobj;
20603 wxPyApp *arg1 = (wxPyApp *) 0 ;
20604 PyObject * obj0 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
20610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 (arg1)->_BootstrapApp();
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 Py_INCREF(Py_None); resultobj = Py_None;
20620 return resultobj;
20621 fail:
20622 return NULL;
20623 }
20624
20625
20626 static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj;
20628 int result;
20629 char *kwnames[] = {
20630 NULL
20631 };
20632
20633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20634 {
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 result = (int)PyApp_GetComCtl32Version();
20637
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 resultobj = SWIG_FromInt((int)result);
20642 return resultobj;
20643 fail:
20644 return NULL;
20645 }
20646
20647
20648 static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20649 PyObject *obj;
20650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20651 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20652 Py_INCREF(obj);
20653 return Py_BuildValue((char *)"");
20654 }
20655 static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20656 PyObject *resultobj;
20657 char *kwnames[] = {
20658 NULL
20659 };
20660
20661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20662 {
20663 PyThreadState* __tstate = wxPyBeginAllowThreads();
20664 wxExit();
20665
20666 wxPyEndAllowThreads(__tstate);
20667 if (PyErr_Occurred()) SWIG_fail;
20668 }
20669 Py_INCREF(Py_None); resultobj = Py_None;
20670 return resultobj;
20671 fail:
20672 return NULL;
20673 }
20674
20675
20676 static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20677 PyObject *resultobj;
20678 bool result;
20679 char *kwnames[] = {
20680 NULL
20681 };
20682
20683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 result = (bool)wxYield();
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 {
20692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20693 }
20694 return resultobj;
20695 fail:
20696 return NULL;
20697 }
20698
20699
20700 static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20701 PyObject *resultobj;
20702 bool result;
20703 char *kwnames[] = {
20704 NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = (bool)wxYieldIfNeeded();
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 {
20716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20717 }
20718 return resultobj;
20719 fail:
20720 return NULL;
20721 }
20722
20723
20724 static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20725 PyObject *resultobj;
20726 wxWindow *arg1 = (wxWindow *) NULL ;
20727 bool arg2 = (bool) False ;
20728 bool result;
20729 PyObject * obj0 = 0 ;
20730 PyObject * obj1 = 0 ;
20731 char *kwnames[] = {
20732 (char *) "win",(char *) "onlyIfNeeded", NULL
20733 };
20734
20735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20736 if (obj0) {
20737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20739 }
20740 if (obj1) {
20741 arg2 = (bool) SWIG_AsBool(obj1);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 result = (bool)wxSafeYield(arg1,arg2);
20747
20748 wxPyEndAllowThreads(__tstate);
20749 if (PyErr_Occurred()) SWIG_fail;
20750 }
20751 {
20752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20753 }
20754 return resultobj;
20755 fail:
20756 return NULL;
20757 }
20758
20759
20760 static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20761 PyObject *resultobj;
20762 char *kwnames[] = {
20763 NULL
20764 };
20765
20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 wxWakeUpIdle();
20770
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
20774 Py_INCREF(Py_None); resultobj = Py_None;
20775 return resultobj;
20776 fail:
20777 return NULL;
20778 }
20779
20780
20781 static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20782 PyObject *resultobj;
20783 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20784 wxEvent *arg2 = 0 ;
20785 PyObject * obj0 = 0 ;
20786 PyObject * obj1 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "dest",(char *) "event", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
20792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20795 SWIG_POINTER_EXCEPTION | 0)) == -1)
20796 SWIG_fail;
20797 if (arg2 == NULL) {
20798 PyErr_SetString(PyExc_TypeError,"null reference");
20799 SWIG_fail;
20800 }
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
20803 wxPostEvent(arg1,*arg2);
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
20808 Py_INCREF(Py_None); resultobj = Py_None;
20809 return resultobj;
20810 fail:
20811 return NULL;
20812 }
20813
20814
20815 static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20816 PyObject *resultobj;
20817 char *kwnames[] = {
20818 NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 wxApp_CleanUp();
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 Py_INCREF(Py_None); resultobj = Py_None;
20830 return resultobj;
20831 fail:
20832 return NULL;
20833 }
20834
20835
20836 static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 wxPyApp *result;
20839 char *kwnames[] = {
20840 NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 result = (wxPyApp *)wxPyGetApp();
20847
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 {
20852 resultobj = wxPyMake_wxObject(result);
20853 }
20854 return resultobj;
20855 fail:
20856 return NULL;
20857 }
20858
20859
20860 static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 int arg1 = (int) 0 ;
20863 int arg2 = (int) 0 ;
20864 int arg3 = (int) 0 ;
20865 wxAcceleratorEntry *result;
20866 PyObject * obj0 = 0 ;
20867 PyObject * obj1 = 0 ;
20868 PyObject * obj2 = 0 ;
20869 char *kwnames[] = {
20870 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20871 };
20872
20873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
20874 if (obj0) {
20875 arg1 = (int) SWIG_AsInt(obj0);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 if (obj1) {
20879 arg2 = (int) SWIG_AsInt(obj1);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 if (obj2) {
20883 arg3 = (int) SWIG_AsInt(obj2);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 }
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
20894 return resultobj;
20895 fail:
20896 return NULL;
20897 }
20898
20899
20900 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20903 PyObject * obj0 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
20909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 delete arg1;
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 Py_INCREF(Py_None); resultobj = Py_None;
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20928 int arg2 ;
20929 int arg3 ;
20930 int arg4 ;
20931 PyObject * obj0 = 0 ;
20932 PyObject * obj1 = 0 ;
20933 PyObject * obj2 = 0 ;
20934 PyObject * obj3 = 0 ;
20935 char *kwnames[] = {
20936 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20937 };
20938
20939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20942 arg2 = (int) SWIG_AsInt(obj1);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 arg3 = (int) SWIG_AsInt(obj2);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 arg4 = (int) SWIG_AsInt(obj3);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 {
20949 PyThreadState* __tstate = wxPyBeginAllowThreads();
20950 (arg1)->Set(arg2,arg3,arg4);
20951
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 Py_INCREF(Py_None); resultobj = Py_None;
20956 return resultobj;
20957 fail:
20958 return NULL;
20959 }
20960
20961
20962 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
20963 PyObject *resultobj;
20964 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20965 int result;
20966 PyObject * obj0 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "self", NULL
20969 };
20970
20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
20972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20974 {
20975 PyThreadState* __tstate = wxPyBeginAllowThreads();
20976 result = (int)(arg1)->GetFlags();
20977
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
20981 resultobj = SWIG_FromInt((int)result);
20982 return resultobj;
20983 fail:
20984 return NULL;
20985 }
20986
20987
20988 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20989 PyObject *resultobj;
20990 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20991 int result;
20992 PyObject * obj0 = 0 ;
20993 char *kwnames[] = {
20994 (char *) "self", NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
20998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 result = (int)(arg1)->GetKeyCode();
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 resultobj = SWIG_FromInt((int)result);
21008 return resultobj;
21009 fail:
21010 return NULL;
21011 }
21012
21013
21014 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
21015 PyObject *resultobj;
21016 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21017 int result;
21018 PyObject * obj0 = 0 ;
21019 char *kwnames[] = {
21020 (char *) "self", NULL
21021 };
21022
21023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
21024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 result = (int)(arg1)->GetCommand();
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 resultobj = SWIG_FromInt((int)result);
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
21041 PyObject *obj;
21042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21043 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
21044 Py_INCREF(obj);
21045 return Py_BuildValue((char *)"");
21046 }
21047 static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21048 PyObject *resultobj;
21049 int arg1 ;
21050 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
21051 wxAcceleratorTable *result;
21052 PyObject * obj0 = 0 ;
21053 char *kwnames[] = {
21054 (char *) "n", NULL
21055 };
21056
21057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
21058 {
21059 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
21060 if (arg2) arg1 = PyList_Size(obj0);
21061 else arg1 = 0;
21062 }
21063 {
21064 PyThreadState* __tstate = wxPyBeginAllowThreads();
21065 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
21066
21067 wxPyEndAllowThreads(__tstate);
21068 if (PyErr_Occurred()) SWIG_fail;
21069 }
21070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
21071 {
21072 delete [] arg2;
21073 }
21074 return resultobj;
21075 fail:
21076 {
21077 delete [] arg2;
21078 }
21079 return NULL;
21080 }
21081
21082
21083 static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21084 PyObject *resultobj;
21085 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21086 PyObject * obj0 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
21092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 delete arg1;
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 Py_INCREF(Py_None); resultobj = Py_None;
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj;
21110 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21111 bool result;
21112 PyObject * obj0 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
21118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 {
21128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21129 }
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
21137 PyObject *obj;
21138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21139 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21140 Py_INCREF(obj);
21141 return Py_BuildValue((char *)"");
21142 }
21143 static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
21144 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21145 return 1;
21146 }
21147
21148
21149 static PyObject *_wrap_NullAcceleratorTable_get() {
21150 PyObject *pyobj;
21151
21152 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
21153 return pyobj;
21154 }
21155
21156
21157 static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
21158 PyObject *resultobj;
21159 wxString *arg1 = 0 ;
21160 wxAcceleratorEntry *result;
21161 bool temp1 = False ;
21162 PyObject * obj0 = 0 ;
21163 char *kwnames[] = {
21164 (char *) "label", NULL
21165 };
21166
21167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21168 {
21169 arg1 = wxString_in_helper(obj0);
21170 if (arg1 == NULL) SWIG_fail;
21171 temp1 = True;
21172 }
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21176
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
21180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
21181 {
21182 if (temp1)
21183 delete arg1;
21184 }
21185 return resultobj;
21186 fail:
21187 {
21188 if (temp1)
21189 delete arg1;
21190 }
21191 return NULL;
21192 }
21193
21194
21195 static int _wrap_PanelNameStr_set(PyObject *_val) {
21196 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21197 return 1;
21198 }
21199
21200
21201 static PyObject *_wrap_PanelNameStr_get() {
21202 PyObject *pyobj;
21203
21204 {
21205 #if wxUSE_UNICODE
21206 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21207 #else
21208 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21209 #endif
21210 }
21211 return pyobj;
21212 }
21213
21214
21215 static PyObject *_wrap_new_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21216 PyObject *resultobj;
21217 wxVisualAttributes *result;
21218 char *kwnames[] = {
21219 NULL
21220 };
21221
21222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21223 {
21224 PyThreadState* __tstate = wxPyBeginAllowThreads();
21225 result = (wxVisualAttributes *)new_wxVisualAttributes();
21226
21227 wxPyEndAllowThreads(__tstate);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 }
21230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21231 return resultobj;
21232 fail:
21233 return NULL;
21234 }
21235
21236
21237 static PyObject *_wrap_delete_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21238 PyObject *resultobj;
21239 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21240 PyObject * obj0 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "self", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21248 {
21249 PyThreadState* __tstate = wxPyBeginAllowThreads();
21250 delete_wxVisualAttributes(arg1);
21251
21252 wxPyEndAllowThreads(__tstate);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 Py_INCREF(Py_None); resultobj = Py_None;
21256 return resultobj;
21257 fail:
21258 return NULL;
21259 }
21260
21261
21262 static PyObject *_wrap_VisualAttributes_font_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21263 PyObject *resultobj;
21264 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21265 wxFont *arg2 = (wxFont *) 0 ;
21266 PyObject * obj0 = 0 ;
21267 PyObject * obj1 = 0 ;
21268 char *kwnames[] = {
21269 (char *) "self",(char *) "font", NULL
21270 };
21271
21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21277 if (arg1) (arg1)->font = *arg2;
21278
21279 Py_INCREF(Py_None); resultobj = Py_None;
21280 return resultobj;
21281 fail:
21282 return NULL;
21283 }
21284
21285
21286 static PyObject *_wrap_VisualAttributes_font_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21289 wxFont *result;
21290 PyObject * obj0 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "self", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21298 result = (wxFont *)& ((arg1)->font);
21299
21300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21301 return resultobj;
21302 fail:
21303 return NULL;
21304 }
21305
21306
21307 static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21310 wxColour *arg2 = (wxColour *) 0 ;
21311 PyObject * obj0 = 0 ;
21312 PyObject * obj1 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self",(char *) "colFg", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21322 if (arg1) (arg1)->colFg = *arg2;
21323
21324 Py_INCREF(Py_None); resultobj = Py_None;
21325 return resultobj;
21326 fail:
21327 return NULL;
21328 }
21329
21330
21331 static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21332 PyObject *resultobj;
21333 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21334 wxColour *result;
21335 PyObject * obj0 = 0 ;
21336 char *kwnames[] = {
21337 (char *) "self", NULL
21338 };
21339
21340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21343 result = (wxColour *)& ((arg1)->colFg);
21344
21345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21346 return resultobj;
21347 fail:
21348 return NULL;
21349 }
21350
21351
21352 static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21355 wxColour *arg2 = (wxColour *) 0 ;
21356 PyObject * obj0 = 0 ;
21357 PyObject * obj1 = 0 ;
21358 char *kwnames[] = {
21359 (char *) "self",(char *) "colBg", NULL
21360 };
21361
21362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
21363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21367 if (arg1) (arg1)->colBg = *arg2;
21368
21369 Py_INCREF(Py_None); resultobj = Py_None;
21370 return resultobj;
21371 fail:
21372 return NULL;
21373 }
21374
21375
21376 static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21377 PyObject *resultobj;
21378 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21379 wxColour *result;
21380 PyObject * obj0 = 0 ;
21381 char *kwnames[] = {
21382 (char *) "self", NULL
21383 };
21384
21385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
21386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21388 result = (wxColour *)& ((arg1)->colBg);
21389
21390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21391 return resultobj;
21392 fail:
21393 return NULL;
21394 }
21395
21396
21397 static PyObject * VisualAttributes_swigregister(PyObject *self, PyObject *args) {
21398 PyObject *obj;
21399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21400 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
21401 Py_INCREF(obj);
21402 return Py_BuildValue((char *)"");
21403 }
21404 static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
21405 PyObject *resultobj;
21406 wxWindow *arg1 = (wxWindow *) 0 ;
21407 int arg2 = (int) (int)-1 ;
21408 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21409 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21410 wxSize const &arg4_defvalue = wxDefaultSize ;
21411 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21412 long arg5 = (long) 0 ;
21413 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21414 wxString *arg6 = (wxString *) &arg6_defvalue ;
21415 wxWindow *result;
21416 wxPoint temp3 ;
21417 wxSize temp4 ;
21418 bool temp6 = False ;
21419 PyObject * obj0 = 0 ;
21420 PyObject * obj1 = 0 ;
21421 PyObject * obj2 = 0 ;
21422 PyObject * obj3 = 0 ;
21423 PyObject * obj4 = 0 ;
21424 PyObject * obj5 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21432 if (obj1) {
21433 arg2 = (int const) SWIG_AsInt(obj1);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 if (obj2) {
21437 {
21438 arg3 = &temp3;
21439 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21440 }
21441 }
21442 if (obj3) {
21443 {
21444 arg4 = &temp4;
21445 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21446 }
21447 }
21448 if (obj4) {
21449 arg5 = (long) SWIG_AsLong(obj4);
21450 if (PyErr_Occurred()) SWIG_fail;
21451 }
21452 if (obj5) {
21453 {
21454 arg6 = wxString_in_helper(obj5);
21455 if (arg6 == NULL) SWIG_fail;
21456 temp6 = True;
21457 }
21458 }
21459 {
21460 if (!wxPyCheckForApp()) SWIG_fail;
21461 PyThreadState* __tstate = wxPyBeginAllowThreads();
21462 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21463
21464 wxPyEndAllowThreads(__tstate);
21465 if (PyErr_Occurred()) SWIG_fail;
21466 }
21467 {
21468 resultobj = wxPyMake_wxObject(result);
21469 }
21470 {
21471 if (temp6)
21472 delete arg6;
21473 }
21474 return resultobj;
21475 fail:
21476 {
21477 if (temp6)
21478 delete arg6;
21479 }
21480 return NULL;
21481 }
21482
21483
21484 static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21485 PyObject *resultobj;
21486 wxWindow *result;
21487 char *kwnames[] = {
21488 NULL
21489 };
21490
21491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21492 {
21493 if (!wxPyCheckForApp()) SWIG_fail;
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 result = (wxWindow *)new wxWindow();
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 {
21501 resultobj = wxPyMake_wxObject(result);
21502 }
21503 return resultobj;
21504 fail:
21505 return NULL;
21506 }
21507
21508
21509 static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21510 PyObject *resultobj;
21511 wxWindow *arg1 = (wxWindow *) 0 ;
21512 wxWindow *arg2 = (wxWindow *) 0 ;
21513 int arg3 = (int) (int)-1 ;
21514 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21515 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21516 wxSize const &arg5_defvalue = wxDefaultSize ;
21517 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21518 long arg6 = (long) 0 ;
21519 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21520 wxString *arg7 = (wxString *) &arg7_defvalue ;
21521 bool result;
21522 wxPoint temp4 ;
21523 wxSize temp5 ;
21524 bool temp7 = False ;
21525 PyObject * obj0 = 0 ;
21526 PyObject * obj1 = 0 ;
21527 PyObject * obj2 = 0 ;
21528 PyObject * obj3 = 0 ;
21529 PyObject * obj4 = 0 ;
21530 PyObject * obj5 = 0 ;
21531 PyObject * obj6 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21539 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21541 if (obj2) {
21542 arg3 = (int const) SWIG_AsInt(obj2);
21543 if (PyErr_Occurred()) SWIG_fail;
21544 }
21545 if (obj3) {
21546 {
21547 arg4 = &temp4;
21548 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21549 }
21550 }
21551 if (obj4) {
21552 {
21553 arg5 = &temp5;
21554 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21555 }
21556 }
21557 if (obj5) {
21558 arg6 = (long) SWIG_AsLong(obj5);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 }
21561 if (obj6) {
21562 {
21563 arg7 = wxString_in_helper(obj6);
21564 if (arg7 == NULL) SWIG_fail;
21565 temp7 = True;
21566 }
21567 }
21568 {
21569 PyThreadState* __tstate = wxPyBeginAllowThreads();
21570 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21571
21572 wxPyEndAllowThreads(__tstate);
21573 if (PyErr_Occurred()) SWIG_fail;
21574 }
21575 {
21576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21577 }
21578 {
21579 if (temp7)
21580 delete arg7;
21581 }
21582 return resultobj;
21583 fail:
21584 {
21585 if (temp7)
21586 delete arg7;
21587 }
21588 return NULL;
21589 }
21590
21591
21592 static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21593 PyObject *resultobj;
21594 wxWindow *arg1 = (wxWindow *) 0 ;
21595 bool arg2 = (bool) False ;
21596 bool result;
21597 PyObject * obj0 = 0 ;
21598 PyObject * obj1 = 0 ;
21599 char *kwnames[] = {
21600 (char *) "self",(char *) "force", NULL
21601 };
21602
21603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
21604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21606 if (obj1) {
21607 arg2 = (bool) SWIG_AsBool(obj1);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
21610 {
21611 PyThreadState* __tstate = wxPyBeginAllowThreads();
21612 result = (bool)(arg1)->Close(arg2);
21613
21614 wxPyEndAllowThreads(__tstate);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 }
21617 {
21618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21619 }
21620 return resultobj;
21621 fail:
21622 return NULL;
21623 }
21624
21625
21626 static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21627 PyObject *resultobj;
21628 wxWindow *arg1 = (wxWindow *) 0 ;
21629 bool result;
21630 PyObject * obj0 = 0 ;
21631 char *kwnames[] = {
21632 (char *) "self", NULL
21633 };
21634
21635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
21636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21638 {
21639 PyThreadState* __tstate = wxPyBeginAllowThreads();
21640 result = (bool)(arg1)->Destroy();
21641
21642 wxPyEndAllowThreads(__tstate);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 }
21645 {
21646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21647 }
21648 return resultobj;
21649 fail:
21650 return NULL;
21651 }
21652
21653
21654 static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21655 PyObject *resultobj;
21656 wxWindow *arg1 = (wxWindow *) 0 ;
21657 bool result;
21658 PyObject * obj0 = 0 ;
21659 char *kwnames[] = {
21660 (char *) "self", NULL
21661 };
21662
21663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
21664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 result = (bool)(arg1)->DestroyChildren();
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 {
21674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21675 }
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj;
21684 wxWindow *arg1 = (wxWindow *) 0 ;
21685 bool result;
21686 PyObject * obj0 = 0 ;
21687 char *kwnames[] = {
21688 (char *) "self", NULL
21689 };
21690
21691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
21692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 {
21702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21703 }
21704 return resultobj;
21705 fail:
21706 return NULL;
21707 }
21708
21709
21710 static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21711 PyObject *resultobj;
21712 wxWindow *arg1 = (wxWindow *) 0 ;
21713 wxString *arg2 = 0 ;
21714 bool temp2 = False ;
21715 PyObject * obj0 = 0 ;
21716 PyObject * obj1 = 0 ;
21717 char *kwnames[] = {
21718 (char *) "self",(char *) "title", NULL
21719 };
21720
21721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
21722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21724 {
21725 arg2 = wxString_in_helper(obj1);
21726 if (arg2 == NULL) SWIG_fail;
21727 temp2 = True;
21728 }
21729 {
21730 PyThreadState* __tstate = wxPyBeginAllowThreads();
21731 (arg1)->SetTitle((wxString const &)*arg2);
21732
21733 wxPyEndAllowThreads(__tstate);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 Py_INCREF(Py_None); resultobj = Py_None;
21737 {
21738 if (temp2)
21739 delete arg2;
21740 }
21741 return resultobj;
21742 fail:
21743 {
21744 if (temp2)
21745 delete arg2;
21746 }
21747 return NULL;
21748 }
21749
21750
21751 static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21752 PyObject *resultobj;
21753 wxWindow *arg1 = (wxWindow *) 0 ;
21754 wxString result;
21755 PyObject * obj0 = 0 ;
21756 char *kwnames[] = {
21757 (char *) "self", NULL
21758 };
21759
21760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
21761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21763 {
21764 PyThreadState* __tstate = wxPyBeginAllowThreads();
21765 result = ((wxWindow const *)arg1)->GetTitle();
21766
21767 wxPyEndAllowThreads(__tstate);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 }
21770 {
21771 #if wxUSE_UNICODE
21772 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21773 #else
21774 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21775 #endif
21776 }
21777 return resultobj;
21778 fail:
21779 return NULL;
21780 }
21781
21782
21783 static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21784 PyObject *resultobj;
21785 wxWindow *arg1 = (wxWindow *) 0 ;
21786 wxString *arg2 = 0 ;
21787 bool temp2 = False ;
21788 PyObject * obj0 = 0 ;
21789 PyObject * obj1 = 0 ;
21790 char *kwnames[] = {
21791 (char *) "self",(char *) "label", NULL
21792 };
21793
21794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
21795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21797 {
21798 arg2 = wxString_in_helper(obj1);
21799 if (arg2 == NULL) SWIG_fail;
21800 temp2 = True;
21801 }
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 (arg1)->SetLabel((wxString const &)*arg2);
21805
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 Py_INCREF(Py_None); resultobj = Py_None;
21810 {
21811 if (temp2)
21812 delete arg2;
21813 }
21814 return resultobj;
21815 fail:
21816 {
21817 if (temp2)
21818 delete arg2;
21819 }
21820 return NULL;
21821 }
21822
21823
21824 static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21825 PyObject *resultobj;
21826 wxWindow *arg1 = (wxWindow *) 0 ;
21827 wxString result;
21828 PyObject * obj0 = 0 ;
21829 char *kwnames[] = {
21830 (char *) "self", NULL
21831 };
21832
21833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
21834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21836 {
21837 PyThreadState* __tstate = wxPyBeginAllowThreads();
21838 result = ((wxWindow const *)arg1)->GetLabel();
21839
21840 wxPyEndAllowThreads(__tstate);
21841 if (PyErr_Occurred()) SWIG_fail;
21842 }
21843 {
21844 #if wxUSE_UNICODE
21845 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21846 #else
21847 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21848 #endif
21849 }
21850 return resultobj;
21851 fail:
21852 return NULL;
21853 }
21854
21855
21856 static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21857 PyObject *resultobj;
21858 wxWindow *arg1 = (wxWindow *) 0 ;
21859 wxString *arg2 = 0 ;
21860 bool temp2 = False ;
21861 PyObject * obj0 = 0 ;
21862 PyObject * obj1 = 0 ;
21863 char *kwnames[] = {
21864 (char *) "self",(char *) "name", NULL
21865 };
21866
21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
21868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21870 {
21871 arg2 = wxString_in_helper(obj1);
21872 if (arg2 == NULL) SWIG_fail;
21873 temp2 = True;
21874 }
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->SetName((wxString const &)*arg2);
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 {
21884 if (temp2)
21885 delete arg2;
21886 }
21887 return resultobj;
21888 fail:
21889 {
21890 if (temp2)
21891 delete arg2;
21892 }
21893 return NULL;
21894 }
21895
21896
21897 static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21898 PyObject *resultobj;
21899 wxWindow *arg1 = (wxWindow *) 0 ;
21900 wxString result;
21901 PyObject * obj0 = 0 ;
21902 char *kwnames[] = {
21903 (char *) "self", NULL
21904 };
21905
21906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
21907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21909 {
21910 PyThreadState* __tstate = wxPyBeginAllowThreads();
21911 result = ((wxWindow const *)arg1)->GetName();
21912
21913 wxPyEndAllowThreads(__tstate);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 }
21916 {
21917 #if wxUSE_UNICODE
21918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21919 #else
21920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21921 #endif
21922 }
21923 return resultobj;
21924 fail:
21925 return NULL;
21926 }
21927
21928
21929 static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21930 PyObject *resultobj;
21931 wxWindow *arg1 = (wxWindow *) 0 ;
21932 int arg2 ;
21933 PyObject * obj0 = 0 ;
21934 PyObject * obj1 = 0 ;
21935 char *kwnames[] = {
21936 (char *) "self",(char *) "variant", NULL
21937 };
21938
21939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
21940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21942 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
21947
21948 wxPyEndAllowThreads(__tstate);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
21951 Py_INCREF(Py_None); resultobj = Py_None;
21952 return resultobj;
21953 fail:
21954 return NULL;
21955 }
21956
21957
21958 static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21959 PyObject *resultobj;
21960 wxWindow *arg1 = (wxWindow *) 0 ;
21961 int result;
21962 PyObject * obj0 = 0 ;
21963 char *kwnames[] = {
21964 (char *) "self", NULL
21965 };
21966
21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
21968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21970 {
21971 PyThreadState* __tstate = wxPyBeginAllowThreads();
21972 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
21973
21974 wxPyEndAllowThreads(__tstate);
21975 if (PyErr_Occurred()) SWIG_fail;
21976 }
21977 resultobj = SWIG_FromInt((int)result);
21978 return resultobj;
21979 fail:
21980 return NULL;
21981 }
21982
21983
21984 static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21985 PyObject *resultobj;
21986 wxWindow *arg1 = (wxWindow *) 0 ;
21987 int arg2 ;
21988 PyObject * obj0 = 0 ;
21989 PyObject * obj1 = 0 ;
21990 char *kwnames[] = {
21991 (char *) "self",(char *) "winid", NULL
21992 };
21993
21994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
21995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21997 arg2 = (int) SWIG_AsInt(obj1);
21998 if (PyErr_Occurred()) SWIG_fail;
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 (arg1)->SetId(arg2);
22002
22003 wxPyEndAllowThreads(__tstate);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 }
22006 Py_INCREF(Py_None); resultobj = Py_None;
22007 return resultobj;
22008 fail:
22009 return NULL;
22010 }
22011
22012
22013 static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22014 PyObject *resultobj;
22015 wxWindow *arg1 = (wxWindow *) 0 ;
22016 int result;
22017 PyObject * obj0 = 0 ;
22018 char *kwnames[] = {
22019 (char *) "self", NULL
22020 };
22021
22022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
22023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22025 {
22026 PyThreadState* __tstate = wxPyBeginAllowThreads();
22027 result = (int)((wxWindow const *)arg1)->GetId();
22028
22029 wxPyEndAllowThreads(__tstate);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 }
22032 resultobj = SWIG_FromInt((int)result);
22033 return resultobj;
22034 fail:
22035 return NULL;
22036 }
22037
22038
22039 static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22040 PyObject *resultobj;
22041 int result;
22042 char *kwnames[] = {
22043 NULL
22044 };
22045
22046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 result = (int)wxWindow::NewControlId();
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 resultobj = SWIG_FromInt((int)result);
22055 return resultobj;
22056 fail:
22057 return NULL;
22058 }
22059
22060
22061 static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22062 PyObject *resultobj;
22063 int arg1 ;
22064 int result;
22065 PyObject * obj0 = 0 ;
22066 char *kwnames[] = {
22067 (char *) "winid", NULL
22068 };
22069
22070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
22071 arg1 = (int) SWIG_AsInt(obj0);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 {
22074 PyThreadState* __tstate = wxPyBeginAllowThreads();
22075 result = (int)wxWindow::NextControlId(arg1);
22076
22077 wxPyEndAllowThreads(__tstate);
22078 if (PyErr_Occurred()) SWIG_fail;
22079 }
22080 resultobj = SWIG_FromInt((int)result);
22081 return resultobj;
22082 fail:
22083 return NULL;
22084 }
22085
22086
22087 static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22088 PyObject *resultobj;
22089 int arg1 ;
22090 int result;
22091 PyObject * obj0 = 0 ;
22092 char *kwnames[] = {
22093 (char *) "winid", NULL
22094 };
22095
22096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
22097 arg1 = (int) SWIG_AsInt(obj0);
22098 if (PyErr_Occurred()) SWIG_fail;
22099 {
22100 PyThreadState* __tstate = wxPyBeginAllowThreads();
22101 result = (int)wxWindow::PrevControlId(arg1);
22102
22103 wxPyEndAllowThreads(__tstate);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
22106 resultobj = SWIG_FromInt((int)result);
22107 return resultobj;
22108 fail:
22109 return NULL;
22110 }
22111
22112
22113 static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22114 PyObject *resultobj;
22115 wxWindow *arg1 = (wxWindow *) 0 ;
22116 wxSize *arg2 = 0 ;
22117 wxSize temp2 ;
22118 PyObject * obj0 = 0 ;
22119 PyObject * obj1 = 0 ;
22120 char *kwnames[] = {
22121 (char *) "self",(char *) "size", NULL
22122 };
22123
22124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
22125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22127 {
22128 arg2 = &temp2;
22129 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22130 }
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 (arg1)->SetSize((wxSize const &)*arg2);
22134
22135 wxPyEndAllowThreads(__tstate);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 }
22138 Py_INCREF(Py_None); resultobj = Py_None;
22139 return resultobj;
22140 fail:
22141 return NULL;
22142 }
22143
22144
22145 static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
22146 PyObject *resultobj;
22147 wxWindow *arg1 = (wxWindow *) 0 ;
22148 int arg2 ;
22149 int arg3 ;
22150 int arg4 ;
22151 int arg5 ;
22152 int arg6 = (int) wxSIZE_AUTO ;
22153 PyObject * obj0 = 0 ;
22154 PyObject * obj1 = 0 ;
22155 PyObject * obj2 = 0 ;
22156 PyObject * obj3 = 0 ;
22157 PyObject * obj4 = 0 ;
22158 PyObject * obj5 = 0 ;
22159 char *kwnames[] = {
22160 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22161 };
22162
22163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22166 arg2 = (int) SWIG_AsInt(obj1);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 arg3 = (int) SWIG_AsInt(obj2);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 arg4 = (int) SWIG_AsInt(obj3);
22171 if (PyErr_Occurred()) SWIG_fail;
22172 arg5 = (int) SWIG_AsInt(obj4);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 if (obj5) {
22175 arg6 = (int) SWIG_AsInt(obj5);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 }
22178 {
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
22180 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22181
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
22185 Py_INCREF(Py_None); resultobj = Py_None;
22186 return resultobj;
22187 fail:
22188 return NULL;
22189 }
22190
22191
22192 static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22193 PyObject *resultobj;
22194 wxWindow *arg1 = (wxWindow *) 0 ;
22195 wxRect *arg2 = 0 ;
22196 int arg3 = (int) wxSIZE_AUTO ;
22197 wxRect temp2 ;
22198 PyObject * obj0 = 0 ;
22199 PyObject * obj1 = 0 ;
22200 PyObject * obj2 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22208 {
22209 arg2 = &temp2;
22210 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22211 }
22212 if (obj2) {
22213 arg3 = (int) SWIG_AsInt(obj2);
22214 if (PyErr_Occurred()) SWIG_fail;
22215 }
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 Py_INCREF(Py_None); resultobj = Py_None;
22224 return resultobj;
22225 fail:
22226 return NULL;
22227 }
22228
22229
22230 static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxWindow *arg1 = (wxWindow *) 0 ;
22233 int arg2 ;
22234 int arg3 ;
22235 PyObject * obj0 = 0 ;
22236 PyObject * obj1 = 0 ;
22237 PyObject * obj2 = 0 ;
22238 char *kwnames[] = {
22239 (char *) "self",(char *) "width",(char *) "height", NULL
22240 };
22241
22242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
22243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22245 arg2 = (int) SWIG_AsInt(obj1);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 arg3 = (int) SWIG_AsInt(obj2);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 (arg1)->SetSize(arg2,arg3);
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 Py_INCREF(Py_None); resultobj = Py_None;
22257 return resultobj;
22258 fail:
22259 return NULL;
22260 }
22261
22262
22263 static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
22264 PyObject *resultobj;
22265 wxWindow *arg1 = (wxWindow *) 0 ;
22266 wxPoint *arg2 = 0 ;
22267 int arg3 = (int) wxSIZE_USE_EXISTING ;
22268 wxPoint temp2 ;
22269 PyObject * obj0 = 0 ;
22270 PyObject * obj1 = 0 ;
22271 PyObject * obj2 = 0 ;
22272 char *kwnames[] = {
22273 (char *) "self",(char *) "pt",(char *) "flags", NULL
22274 };
22275
22276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
22277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22279 {
22280 arg2 = &temp2;
22281 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22282 }
22283 if (obj2) {
22284 arg3 = (int) SWIG_AsInt(obj2);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 (arg1)->Move((wxPoint const &)*arg2,arg3);
22290
22291 wxPyEndAllowThreads(__tstate);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
22294 Py_INCREF(Py_None); resultobj = Py_None;
22295 return resultobj;
22296 fail:
22297 return NULL;
22298 }
22299
22300
22301 static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22302 PyObject *resultobj;
22303 wxWindow *arg1 = (wxWindow *) 0 ;
22304 int arg2 ;
22305 int arg3 ;
22306 int arg4 = (int) wxSIZE_USE_EXISTING ;
22307 PyObject * obj0 = 0 ;
22308 PyObject * obj1 = 0 ;
22309 PyObject * obj2 = 0 ;
22310 PyObject * obj3 = 0 ;
22311 char *kwnames[] = {
22312 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22313 };
22314
22315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22318 arg2 = (int) SWIG_AsInt(obj1);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 arg3 = (int) SWIG_AsInt(obj2);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 if (obj3) {
22323 arg4 = (int) SWIG_AsInt(obj3);
22324 if (PyErr_Occurred()) SWIG_fail;
22325 }
22326 {
22327 PyThreadState* __tstate = wxPyBeginAllowThreads();
22328 (arg1)->Move(arg2,arg3,arg4);
22329
22330 wxPyEndAllowThreads(__tstate);
22331 if (PyErr_Occurred()) SWIG_fail;
22332 }
22333 Py_INCREF(Py_None); resultobj = Py_None;
22334 return resultobj;
22335 fail:
22336 return NULL;
22337 }
22338
22339
22340 static PyObject *_wrap_Window_SetBestFittingSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22341 PyObject *resultobj;
22342 wxWindow *arg1 = (wxWindow *) 0 ;
22343 wxSize const &arg2_defvalue = wxDefaultSize ;
22344 wxSize *arg2 = (wxSize *) &arg2_defvalue ;
22345 wxSize temp2 ;
22346 PyObject * obj0 = 0 ;
22347 PyObject * obj1 = 0 ;
22348 char *kwnames[] = {
22349 (char *) "self",(char *) "size", NULL
22350 };
22351
22352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail;
22353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22355 if (obj1) {
22356 {
22357 arg2 = &temp2;
22358 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22359 }
22360 }
22361 {
22362 PyThreadState* __tstate = wxPyBeginAllowThreads();
22363 (arg1)->SetBestFittingSize((wxSize const &)*arg2);
22364
22365 wxPyEndAllowThreads(__tstate);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 }
22368 Py_INCREF(Py_None); resultobj = Py_None;
22369 return resultobj;
22370 fail:
22371 return NULL;
22372 }
22373
22374
22375 static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
22376 PyObject *resultobj;
22377 wxWindow *arg1 = (wxWindow *) 0 ;
22378 PyObject * obj0 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
22384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 (arg1)->Raise();
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 Py_INCREF(Py_None); resultobj = Py_None;
22394 return resultobj;
22395 fail:
22396 return NULL;
22397 }
22398
22399
22400 static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
22401 PyObject *resultobj;
22402 wxWindow *arg1 = (wxWindow *) 0 ;
22403 PyObject * obj0 = 0 ;
22404 char *kwnames[] = {
22405 (char *) "self", NULL
22406 };
22407
22408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
22409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 (arg1)->Lower();
22414
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 Py_INCREF(Py_None); resultobj = Py_None;
22419 return resultobj;
22420 fail:
22421 return NULL;
22422 }
22423
22424
22425 static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22426 PyObject *resultobj;
22427 wxWindow *arg1 = (wxWindow *) 0 ;
22428 wxSize *arg2 = 0 ;
22429 wxSize temp2 ;
22430 PyObject * obj0 = 0 ;
22431 PyObject * obj1 = 0 ;
22432 char *kwnames[] = {
22433 (char *) "self",(char *) "size", NULL
22434 };
22435
22436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
22437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22439 {
22440 arg2 = &temp2;
22441 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22442 }
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 (arg1)->SetClientSize((wxSize const &)*arg2);
22446
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 Py_INCREF(Py_None); resultobj = Py_None;
22451 return resultobj;
22452 fail:
22453 return NULL;
22454 }
22455
22456
22457 static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj;
22459 wxWindow *arg1 = (wxWindow *) 0 ;
22460 int arg2 ;
22461 int arg3 ;
22462 PyObject * obj0 = 0 ;
22463 PyObject * obj1 = 0 ;
22464 PyObject * obj2 = 0 ;
22465 char *kwnames[] = {
22466 (char *) "self",(char *) "width",(char *) "height", NULL
22467 };
22468
22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
22470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22472 arg2 = (int) SWIG_AsInt(obj1);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 arg3 = (int) SWIG_AsInt(obj2);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 (arg1)->SetClientSize(arg2,arg3);
22479
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 Py_INCREF(Py_None); resultobj = Py_None;
22484 return resultobj;
22485 fail:
22486 return NULL;
22487 }
22488
22489
22490 static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22491 PyObject *resultobj;
22492 wxWindow *arg1 = (wxWindow *) 0 ;
22493 wxRect *arg2 = 0 ;
22494 wxRect temp2 ;
22495 PyObject * obj0 = 0 ;
22496 PyObject * obj1 = 0 ;
22497 char *kwnames[] = {
22498 (char *) "self",(char *) "rect", NULL
22499 };
22500
22501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
22502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22504 {
22505 arg2 = &temp2;
22506 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22507 }
22508 {
22509 PyThreadState* __tstate = wxPyBeginAllowThreads();
22510 (arg1)->SetClientSize((wxRect const &)*arg2);
22511
22512 wxPyEndAllowThreads(__tstate);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 }
22515 Py_INCREF(Py_None); resultobj = Py_None;
22516 return resultobj;
22517 fail:
22518 return NULL;
22519 }
22520
22521
22522 static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22523 PyObject *resultobj;
22524 wxWindow *arg1 = (wxWindow *) 0 ;
22525 wxPoint result;
22526 PyObject * obj0 = 0 ;
22527 char *kwnames[] = {
22528 (char *) "self", NULL
22529 };
22530
22531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
22532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22534 {
22535 PyThreadState* __tstate = wxPyBeginAllowThreads();
22536 result = (arg1)->GetPosition();
22537
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 {
22542 wxPoint * resultptr;
22543 resultptr = new wxPoint((wxPoint &) result);
22544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22545 }
22546 return resultobj;
22547 fail:
22548 return NULL;
22549 }
22550
22551
22552 static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22553 PyObject *resultobj;
22554 wxWindow *arg1 = (wxWindow *) 0 ;
22555 int *arg2 = (int *) 0 ;
22556 int *arg3 = (int *) 0 ;
22557 int temp2 ;
22558 int temp3 ;
22559 PyObject * obj0 = 0 ;
22560 char *kwnames[] = {
22561 (char *) "self", NULL
22562 };
22563
22564 arg2 = &temp2;
22565 arg3 = &temp3;
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
22567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 (arg1)->GetPosition(arg2,arg3);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 Py_INCREF(Py_None); resultobj = Py_None;
22577 {
22578 PyObject *o = PyInt_FromLong((long) (*arg2));
22579 resultobj = t_output_helper(resultobj,o);
22580 }
22581 {
22582 PyObject *o = PyInt_FromLong((long) (*arg3));
22583 resultobj = t_output_helper(resultobj,o);
22584 }
22585 return resultobj;
22586 fail:
22587 return NULL;
22588 }
22589
22590
22591 static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22592 PyObject *resultobj;
22593 wxWindow *arg1 = (wxWindow *) 0 ;
22594 wxSize result;
22595 PyObject * obj0 = 0 ;
22596 char *kwnames[] = {
22597 (char *) "self", NULL
22598 };
22599
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
22601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22603 {
22604 PyThreadState* __tstate = wxPyBeginAllowThreads();
22605 result = ((wxWindow const *)arg1)->GetSize();
22606
22607 wxPyEndAllowThreads(__tstate);
22608 if (PyErr_Occurred()) SWIG_fail;
22609 }
22610 {
22611 wxSize * resultptr;
22612 resultptr = new wxSize((wxSize &) result);
22613 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22614 }
22615 return resultobj;
22616 fail:
22617 return NULL;
22618 }
22619
22620
22621 static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22622 PyObject *resultobj;
22623 wxWindow *arg1 = (wxWindow *) 0 ;
22624 int *arg2 = (int *) 0 ;
22625 int *arg3 = (int *) 0 ;
22626 int temp2 ;
22627 int temp3 ;
22628 PyObject * obj0 = 0 ;
22629 char *kwnames[] = {
22630 (char *) "self", NULL
22631 };
22632
22633 arg2 = &temp2;
22634 arg3 = &temp3;
22635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
22636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22638 {
22639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22640 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22641
22642 wxPyEndAllowThreads(__tstate);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 }
22645 Py_INCREF(Py_None); resultobj = Py_None;
22646 {
22647 PyObject *o = PyInt_FromLong((long) (*arg2));
22648 resultobj = t_output_helper(resultobj,o);
22649 }
22650 {
22651 PyObject *o = PyInt_FromLong((long) (*arg3));
22652 resultobj = t_output_helper(resultobj,o);
22653 }
22654 return resultobj;
22655 fail:
22656 return NULL;
22657 }
22658
22659
22660 static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22661 PyObject *resultobj;
22662 wxWindow *arg1 = (wxWindow *) 0 ;
22663 wxRect result;
22664 PyObject * obj0 = 0 ;
22665 char *kwnames[] = {
22666 (char *) "self", NULL
22667 };
22668
22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
22670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22672 {
22673 PyThreadState* __tstate = wxPyBeginAllowThreads();
22674 result = ((wxWindow const *)arg1)->GetRect();
22675
22676 wxPyEndAllowThreads(__tstate);
22677 if (PyErr_Occurred()) SWIG_fail;
22678 }
22679 {
22680 wxRect * resultptr;
22681 resultptr = new wxRect((wxRect &) result);
22682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22683 }
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj;
22692 wxWindow *arg1 = (wxWindow *) 0 ;
22693 wxSize result;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
22700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 result = ((wxWindow const *)arg1)->GetClientSize();
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 {
22710 wxSize * resultptr;
22711 resultptr = new wxSize((wxSize &) result);
22712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22713 }
22714 return resultobj;
22715 fail:
22716 return NULL;
22717 }
22718
22719
22720 static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22721 PyObject *resultobj;
22722 wxWindow *arg1 = (wxWindow *) 0 ;
22723 int *arg2 = (int *) 0 ;
22724 int *arg3 = (int *) 0 ;
22725 int temp2 ;
22726 int temp3 ;
22727 PyObject * obj0 = 0 ;
22728 char *kwnames[] = {
22729 (char *) "self", NULL
22730 };
22731
22732 arg2 = &temp2;
22733 arg3 = &temp3;
22734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
22735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 Py_INCREF(Py_None); resultobj = Py_None;
22745 {
22746 PyObject *o = PyInt_FromLong((long) (*arg2));
22747 resultobj = t_output_helper(resultobj,o);
22748 }
22749 {
22750 PyObject *o = PyInt_FromLong((long) (*arg3));
22751 resultobj = t_output_helper(resultobj,o);
22752 }
22753 return resultobj;
22754 fail:
22755 return NULL;
22756 }
22757
22758
22759 static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22760 PyObject *resultobj;
22761 wxWindow *arg1 = (wxWindow *) 0 ;
22762 wxPoint result;
22763 PyObject * obj0 = 0 ;
22764 char *kwnames[] = {
22765 (char *) "self", NULL
22766 };
22767
22768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
22769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22771 {
22772 PyThreadState* __tstate = wxPyBeginAllowThreads();
22773 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22774
22775 wxPyEndAllowThreads(__tstate);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
22778 {
22779 wxPoint * resultptr;
22780 resultptr = new wxPoint((wxPoint &) result);
22781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22782 }
22783 return resultobj;
22784 fail:
22785 return NULL;
22786 }
22787
22788
22789 static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22790 PyObject *resultobj;
22791 wxWindow *arg1 = (wxWindow *) 0 ;
22792 wxRect result;
22793 PyObject * obj0 = 0 ;
22794 char *kwnames[] = {
22795 (char *) "self", NULL
22796 };
22797
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
22799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22801 {
22802 PyThreadState* __tstate = wxPyBeginAllowThreads();
22803 result = ((wxWindow const *)arg1)->GetClientRect();
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 {
22809 wxRect * resultptr;
22810 resultptr = new wxRect((wxRect &) result);
22811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22812 }
22813 return resultobj;
22814 fail:
22815 return NULL;
22816 }
22817
22818
22819 static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxWindow *arg1 = (wxWindow *) 0 ;
22822 wxSize result;
22823 PyObject * obj0 = 0 ;
22824 char *kwnames[] = {
22825 (char *) "self", NULL
22826 };
22827
22828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
22829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = ((wxWindow const *)arg1)->GetBestSize();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 {
22839 wxSize * resultptr;
22840 resultptr = new wxSize((wxSize &) result);
22841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846 }
22847
22848
22849 static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxWindow *arg1 = (wxWindow *) 0 ;
22852 int *arg2 = (int *) 0 ;
22853 int *arg3 = (int *) 0 ;
22854 int temp2 ;
22855 int temp3 ;
22856 PyObject * obj0 = 0 ;
22857 char *kwnames[] = {
22858 (char *) "self", NULL
22859 };
22860
22861 arg2 = &temp2;
22862 arg3 = &temp3;
22863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
22864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22866 {
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22869
22870 wxPyEndAllowThreads(__tstate);
22871 if (PyErr_Occurred()) SWIG_fail;
22872 }
22873 Py_INCREF(Py_None); resultobj = Py_None;
22874 {
22875 PyObject *o = PyInt_FromLong((long) (*arg2));
22876 resultobj = t_output_helper(resultobj,o);
22877 }
22878 {
22879 PyObject *o = PyInt_FromLong((long) (*arg3));
22880 resultobj = t_output_helper(resultobj,o);
22881 }
22882 return resultobj;
22883 fail:
22884 return NULL;
22885 }
22886
22887
22888 static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22889 PyObject *resultobj;
22890 wxWindow *arg1 = (wxWindow *) 0 ;
22891 wxSize result;
22892 PyObject * obj0 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
22898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22903
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 {
22908 wxSize * resultptr;
22909 resultptr = new wxSize((wxSize &) result);
22910 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22911 }
22912 return resultobj;
22913 fail:
22914 return NULL;
22915 }
22916
22917
22918 static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
22919 PyObject *resultobj;
22920 wxWindow *arg1 = (wxWindow *) 0 ;
22921 int arg2 = (int) wxBOTH ;
22922 PyObject * obj0 = 0 ;
22923 PyObject * obj1 = 0 ;
22924 char *kwnames[] = {
22925 (char *) "self",(char *) "direction", NULL
22926 };
22927
22928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
22929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22931 if (obj1) {
22932 arg2 = (int) SWIG_AsInt(obj1);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 {
22936 PyThreadState* __tstate = wxPyBeginAllowThreads();
22937 (arg1)->Center(arg2);
22938
22939 wxPyEndAllowThreads(__tstate);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 Py_INCREF(Py_None); resultobj = Py_None;
22943 return resultobj;
22944 fail:
22945 return NULL;
22946 }
22947
22948
22949 static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22950 PyObject *resultobj;
22951 wxWindow *arg1 = (wxWindow *) 0 ;
22952 int arg2 = (int) wxBOTH ;
22953 PyObject * obj0 = 0 ;
22954 PyObject * obj1 = 0 ;
22955 char *kwnames[] = {
22956 (char *) "self",(char *) "dir", NULL
22957 };
22958
22959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
22960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22962 if (obj1) {
22963 arg2 = (int) SWIG_AsInt(obj1);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 {
22967 PyThreadState* __tstate = wxPyBeginAllowThreads();
22968 (arg1)->CenterOnScreen(arg2);
22969
22970 wxPyEndAllowThreads(__tstate);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 Py_INCREF(Py_None); resultobj = Py_None;
22974 return resultobj;
22975 fail:
22976 return NULL;
22977 }
22978
22979
22980 static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22981 PyObject *resultobj;
22982 wxWindow *arg1 = (wxWindow *) 0 ;
22983 int arg2 = (int) wxBOTH ;
22984 PyObject * obj0 = 0 ;
22985 PyObject * obj1 = 0 ;
22986 char *kwnames[] = {
22987 (char *) "self",(char *) "dir", NULL
22988 };
22989
22990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
22991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22993 if (obj1) {
22994 arg2 = (int) SWIG_AsInt(obj1);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 {
22998 PyThreadState* __tstate = wxPyBeginAllowThreads();
22999 (arg1)->CenterOnParent(arg2);
23000
23001 wxPyEndAllowThreads(__tstate);
23002 if (PyErr_Occurred()) SWIG_fail;
23003 }
23004 Py_INCREF(Py_None); resultobj = Py_None;
23005 return resultobj;
23006 fail:
23007 return NULL;
23008 }
23009
23010
23011 static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
23012 PyObject *resultobj;
23013 wxWindow *arg1 = (wxWindow *) 0 ;
23014 PyObject * obj0 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
23020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23022 {
23023 PyThreadState* __tstate = wxPyBeginAllowThreads();
23024 (arg1)->Fit();
23025
23026 wxPyEndAllowThreads(__tstate);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 }
23029 Py_INCREF(Py_None); resultobj = Py_None;
23030 return resultobj;
23031 fail:
23032 return NULL;
23033 }
23034
23035
23036 static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
23037 PyObject *resultobj;
23038 wxWindow *arg1 = (wxWindow *) 0 ;
23039 PyObject * obj0 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
23045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 (arg1)->FitInside();
23050
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 Py_INCREF(Py_None); resultobj = Py_None;
23055 return resultobj;
23056 fail:
23057 return NULL;
23058 }
23059
23060
23061 static PyObject *_wrap_Window_SetSizeHints__SWIG_0(PyObject *self, PyObject *args) {
23062 PyObject *resultobj;
23063 wxWindow *arg1 = (wxWindow *) 0 ;
23064 wxSize *arg2 = 0 ;
23065 wxSize const &arg3_defvalue = wxDefaultSize ;
23066 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23067 wxSize const &arg4_defvalue = wxDefaultSize ;
23068 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23069 wxSize temp2 ;
23070 wxSize temp3 ;
23071 wxSize temp4 ;
23072 PyObject * obj0 = 0 ;
23073 PyObject * obj1 = 0 ;
23074 PyObject * obj2 = 0 ;
23075 PyObject * obj3 = 0 ;
23076
23077 if(!PyArg_ParseTuple(args,(char *)"OO|OO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3)) goto fail;
23078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23080 {
23081 arg2 = &temp2;
23082 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23083 }
23084 if (obj2) {
23085 {
23086 arg3 = &temp3;
23087 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23088 }
23089 }
23090 if (obj3) {
23091 {
23092 arg4 = &temp4;
23093 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23094 }
23095 }
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
23099
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 Py_INCREF(Py_None); resultobj = Py_None;
23104 return resultobj;
23105 fail:
23106 return NULL;
23107 }
23108
23109
23110 static PyObject *_wrap_Window_SetSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23111 PyObject *resultobj;
23112 wxWindow *arg1 = (wxWindow *) 0 ;
23113 int arg2 ;
23114 int arg3 ;
23115 int arg4 = (int) -1 ;
23116 int arg5 = (int) -1 ;
23117 int arg6 = (int) -1 ;
23118 int arg7 = (int) -1 ;
23119 PyObject * obj0 = 0 ;
23120 PyObject * obj1 = 0 ;
23121 PyObject * obj2 = 0 ;
23122 PyObject * obj3 = 0 ;
23123 PyObject * obj4 = 0 ;
23124 PyObject * obj5 = 0 ;
23125 PyObject * obj6 = 0 ;
23126
23127 if(!PyArg_ParseTuple(args,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23130 arg2 = (int) SWIG_AsInt(obj1);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 arg3 = (int) SWIG_AsInt(obj2);
23133 if (PyErr_Occurred()) SWIG_fail;
23134 if (obj3) {
23135 arg4 = (int) SWIG_AsInt(obj3);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 if (obj4) {
23139 arg5 = (int) SWIG_AsInt(obj4);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 }
23142 if (obj5) {
23143 arg6 = (int) SWIG_AsInt(obj5);
23144 if (PyErr_Occurred()) SWIG_fail;
23145 }
23146 if (obj6) {
23147 arg7 = (int) SWIG_AsInt(obj6);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 }
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 Py_INCREF(Py_None); resultobj = Py_None;
23158 return resultobj;
23159 fail:
23160 return NULL;
23161 }
23162
23163
23164 static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args) {
23165 int argc;
23166 PyObject *argv[8];
23167 int ii;
23168
23169 argc = PyObject_Length(args);
23170 for (ii = 0; (ii < argc) && (ii < 7); ii++) {
23171 argv[ii] = PyTuple_GetItem(args,ii);
23172 }
23173 if ((argc >= 2) && (argc <= 4)) {
23174 int _v;
23175 {
23176 void *ptr;
23177 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23178 _v = 0;
23179 PyErr_Clear();
23180 } else {
23181 _v = 1;
23182 }
23183 }
23184 if (_v) {
23185 {
23186 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23187 }
23188 if (_v) {
23189 if (argc <= 2) {
23190 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23191 }
23192 {
23193 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23194 }
23195 if (_v) {
23196 if (argc <= 3) {
23197 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23198 }
23199 {
23200 _v = wxPySimple_typecheck(argv[3], wxT("wxSize"), 2);
23201 }
23202 if (_v) {
23203 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23204 }
23205 }
23206 }
23207 }
23208 }
23209 if ((argc >= 3) && (argc <= 7)) {
23210 int _v;
23211 {
23212 void *ptr;
23213 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23214 _v = 0;
23215 PyErr_Clear();
23216 } else {
23217 _v = 1;
23218 }
23219 }
23220 if (_v) {
23221 _v = SWIG_CheckInt(argv[1]);
23222 if (_v) {
23223 _v = SWIG_CheckInt(argv[2]);
23224 if (_v) {
23225 if (argc <= 3) {
23226 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23227 }
23228 _v = SWIG_CheckInt(argv[3]);
23229 if (_v) {
23230 if (argc <= 4) {
23231 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23232 }
23233 _v = SWIG_CheckInt(argv[4]);
23234 if (_v) {
23235 if (argc <= 5) {
23236 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23237 }
23238 _v = SWIG_CheckInt(argv[5]);
23239 if (_v) {
23240 if (argc <= 6) {
23241 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23242 }
23243 _v = SWIG_CheckInt(argv[6]);
23244 if (_v) {
23245 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23246 }
23247 }
23248 }
23249 }
23250 }
23251 }
23252 }
23253 }
23254
23255 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetSizeHints'");
23256 return NULL;
23257 }
23258
23259
23260 static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject *self, PyObject *args) {
23261 PyObject *resultobj;
23262 wxWindow *arg1 = (wxWindow *) 0 ;
23263 wxSize *arg2 = 0 ;
23264 wxSize const &arg3_defvalue = wxDefaultSize ;
23265 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23266 wxSize temp2 ;
23267 wxSize temp3 ;
23268 PyObject * obj0 = 0 ;
23269 PyObject * obj1 = 0 ;
23270 PyObject * obj2 = 0 ;
23271
23272 if(!PyArg_ParseTuple(args,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2)) goto fail;
23273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23275 {
23276 arg2 = &temp2;
23277 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23278 }
23279 if (obj2) {
23280 {
23281 arg3 = &temp3;
23282 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23283 }
23284 }
23285 {
23286 PyThreadState* __tstate = wxPyBeginAllowThreads();
23287 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23288
23289 wxPyEndAllowThreads(__tstate);
23290 if (PyErr_Occurred()) SWIG_fail;
23291 }
23292 Py_INCREF(Py_None); resultobj = Py_None;
23293 return resultobj;
23294 fail:
23295 return NULL;
23296 }
23297
23298
23299 static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23300 PyObject *resultobj;
23301 wxWindow *arg1 = (wxWindow *) 0 ;
23302 int arg2 ;
23303 int arg3 ;
23304 int arg4 = (int) -1 ;
23305 int arg5 = (int) -1 ;
23306 PyObject * obj0 = 0 ;
23307 PyObject * obj1 = 0 ;
23308 PyObject * obj2 = 0 ;
23309 PyObject * obj3 = 0 ;
23310 PyObject * obj4 = 0 ;
23311
23312 if(!PyArg_ParseTuple(args,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23315 arg2 = (int) SWIG_AsInt(obj1);
23316 if (PyErr_Occurred()) SWIG_fail;
23317 arg3 = (int) SWIG_AsInt(obj2);
23318 if (PyErr_Occurred()) SWIG_fail;
23319 if (obj3) {
23320 arg4 = (int) SWIG_AsInt(obj3);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 if (obj4) {
23324 arg5 = (int) SWIG_AsInt(obj4);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 {
23328 PyThreadState* __tstate = wxPyBeginAllowThreads();
23329 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
23330
23331 wxPyEndAllowThreads(__tstate);
23332 if (PyErr_Occurred()) SWIG_fail;
23333 }
23334 Py_INCREF(Py_None); resultobj = Py_None;
23335 return resultobj;
23336 fail:
23337 return NULL;
23338 }
23339
23340
23341 static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args) {
23342 int argc;
23343 PyObject *argv[6];
23344 int ii;
23345
23346 argc = PyObject_Length(args);
23347 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
23348 argv[ii] = PyTuple_GetItem(args,ii);
23349 }
23350 if ((argc >= 2) && (argc <= 3)) {
23351 int _v;
23352 {
23353 void *ptr;
23354 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23355 _v = 0;
23356 PyErr_Clear();
23357 } else {
23358 _v = 1;
23359 }
23360 }
23361 if (_v) {
23362 {
23363 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23364 }
23365 if (_v) {
23366 if (argc <= 2) {
23367 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23368 }
23369 {
23370 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23371 }
23372 if (_v) {
23373 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23374 }
23375 }
23376 }
23377 }
23378 if ((argc >= 3) && (argc <= 5)) {
23379 int _v;
23380 {
23381 void *ptr;
23382 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23383 _v = 0;
23384 PyErr_Clear();
23385 } else {
23386 _v = 1;
23387 }
23388 }
23389 if (_v) {
23390 _v = SWIG_CheckInt(argv[1]);
23391 if (_v) {
23392 _v = SWIG_CheckInt(argv[2]);
23393 if (_v) {
23394 if (argc <= 3) {
23395 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23396 }
23397 _v = SWIG_CheckInt(argv[3]);
23398 if (_v) {
23399 if (argc <= 4) {
23400 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23401 }
23402 _v = SWIG_CheckInt(argv[4]);
23403 if (_v) {
23404 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23405 }
23406 }
23407 }
23408 }
23409 }
23410 }
23411
23412 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23413 return NULL;
23414 }
23415
23416
23417 static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23418 PyObject *resultobj;
23419 wxWindow *arg1 = (wxWindow *) 0 ;
23420 wxSize result;
23421 PyObject * obj0 = 0 ;
23422 char *kwnames[] = {
23423 (char *) "self", NULL
23424 };
23425
23426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
23427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23429 {
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 result = ((wxWindow const *)arg1)->GetMaxSize();
23432
23433 wxPyEndAllowThreads(__tstate);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
23436 {
23437 wxSize * resultptr;
23438 resultptr = new wxSize((wxSize &) result);
23439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23440 }
23441 return resultobj;
23442 fail:
23443 return NULL;
23444 }
23445
23446
23447 static PyObject *_wrap_Window_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23448 PyObject *resultobj;
23449 wxWindow *arg1 = (wxWindow *) 0 ;
23450 wxSize result;
23451 PyObject * obj0 = 0 ;
23452 char *kwnames[] = {
23453 (char *) "self", NULL
23454 };
23455
23456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
23457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 result = ((wxWindow const *)arg1)->GetMinSize();
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
23466 {
23467 wxSize * resultptr;
23468 resultptr = new wxSize((wxSize &) result);
23469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23470 }
23471 return resultobj;
23472 fail:
23473 return NULL;
23474 }
23475
23476
23477 static PyObject *_wrap_Window_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23478 PyObject *resultobj;
23479 wxWindow *arg1 = (wxWindow *) 0 ;
23480 wxSize *arg2 = 0 ;
23481 wxSize temp2 ;
23482 PyObject * obj0 = 0 ;
23483 PyObject * obj1 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "self",(char *) "minSize", NULL
23486 };
23487
23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
23489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23491 {
23492 arg2 = &temp2;
23493 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23494 }
23495 {
23496 PyThreadState* __tstate = wxPyBeginAllowThreads();
23497 (arg1)->SetMinSize((wxSize const &)*arg2);
23498
23499 wxPyEndAllowThreads(__tstate);
23500 if (PyErr_Occurred()) SWIG_fail;
23501 }
23502 Py_INCREF(Py_None); resultobj = Py_None;
23503 return resultobj;
23504 fail:
23505 return NULL;
23506 }
23507
23508
23509 static PyObject *_wrap_Window_SetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23510 PyObject *resultobj;
23511 wxWindow *arg1 = (wxWindow *) 0 ;
23512 wxSize *arg2 = 0 ;
23513 wxSize temp2 ;
23514 PyObject * obj0 = 0 ;
23515 PyObject * obj1 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self",(char *) "maxSize", NULL
23518 };
23519
23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail;
23521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23523 {
23524 arg2 = &temp2;
23525 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23526 }
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 (arg1)->SetMaxSize((wxSize const &)*arg2);
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 Py_INCREF(Py_None); resultobj = Py_None;
23535 return resultobj;
23536 fail:
23537 return NULL;
23538 }
23539
23540
23541 static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj;
23543 wxWindow *arg1 = (wxWindow *) 0 ;
23544 int result;
23545 PyObject * obj0 = 0 ;
23546 char *kwnames[] = {
23547 (char *) "self", NULL
23548 };
23549
23550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
23551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = (int)((wxWindow const *)arg1)->GetMinWidth();
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 resultobj = SWIG_FromInt((int)result);
23561 return resultobj;
23562 fail:
23563 return NULL;
23564 }
23565
23566
23567 static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxWindow *arg1 = (wxWindow *) 0 ;
23570 int result;
23571 PyObject * obj0 = 0 ;
23572 char *kwnames[] = {
23573 (char *) "self", NULL
23574 };
23575
23576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
23577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23579 {
23580 PyThreadState* __tstate = wxPyBeginAllowThreads();
23581 result = (int)((wxWindow const *)arg1)->GetMinHeight();
23582
23583 wxPyEndAllowThreads(__tstate);
23584 if (PyErr_Occurred()) SWIG_fail;
23585 }
23586 resultobj = SWIG_FromInt((int)result);
23587 return resultobj;
23588 fail:
23589 return NULL;
23590 }
23591
23592
23593 static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23594 PyObject *resultobj;
23595 wxWindow *arg1 = (wxWindow *) 0 ;
23596 int result;
23597 PyObject * obj0 = 0 ;
23598 char *kwnames[] = {
23599 (char *) "self", NULL
23600 };
23601
23602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
23603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23605 {
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
23608
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 resultobj = SWIG_FromInt((int)result);
23613 return resultobj;
23614 fail:
23615 return NULL;
23616 }
23617
23618
23619 static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23620 PyObject *resultobj;
23621 wxWindow *arg1 = (wxWindow *) 0 ;
23622 int result;
23623 PyObject * obj0 = 0 ;
23624 char *kwnames[] = {
23625 (char *) "self", NULL
23626 };
23627
23628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
23629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23631 {
23632 PyThreadState* __tstate = wxPyBeginAllowThreads();
23633 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
23634
23635 wxPyEndAllowThreads(__tstate);
23636 if (PyErr_Occurred()) SWIG_fail;
23637 }
23638 resultobj = SWIG_FromInt((int)result);
23639 return resultobj;
23640 fail:
23641 return NULL;
23642 }
23643
23644
23645 static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23646 PyObject *resultobj;
23647 wxWindow *arg1 = (wxWindow *) 0 ;
23648 wxSize *arg2 = 0 ;
23649 wxSize temp2 ;
23650 PyObject * obj0 = 0 ;
23651 PyObject * obj1 = 0 ;
23652 char *kwnames[] = {
23653 (char *) "self",(char *) "size", NULL
23654 };
23655
23656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
23657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23659 {
23660 arg2 = &temp2;
23661 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23662 }
23663 {
23664 PyThreadState* __tstate = wxPyBeginAllowThreads();
23665 (arg1)->SetVirtualSize((wxSize const &)*arg2);
23666
23667 wxPyEndAllowThreads(__tstate);
23668 if (PyErr_Occurred()) SWIG_fail;
23669 }
23670 Py_INCREF(Py_None); resultobj = Py_None;
23671 return resultobj;
23672 fail:
23673 return NULL;
23674 }
23675
23676
23677 static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
23678 PyObject *resultobj;
23679 wxWindow *arg1 = (wxWindow *) 0 ;
23680 int arg2 ;
23681 int arg3 ;
23682 PyObject * obj0 = 0 ;
23683 PyObject * obj1 = 0 ;
23684 PyObject * obj2 = 0 ;
23685 char *kwnames[] = {
23686 (char *) "self",(char *) "w",(char *) "h", NULL
23687 };
23688
23689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
23690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23692 arg2 = (int) SWIG_AsInt(obj1);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 arg3 = (int) SWIG_AsInt(obj2);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 (arg1)->SetVirtualSize(arg2,arg3);
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
23703 Py_INCREF(Py_None); resultobj = Py_None;
23704 return resultobj;
23705 fail:
23706 return NULL;
23707 }
23708
23709
23710 static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23711 PyObject *resultobj;
23712 wxWindow *arg1 = (wxWindow *) 0 ;
23713 wxSize result;
23714 PyObject * obj0 = 0 ;
23715 char *kwnames[] = {
23716 (char *) "self", NULL
23717 };
23718
23719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
23720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23722 {
23723 PyThreadState* __tstate = wxPyBeginAllowThreads();
23724 result = ((wxWindow const *)arg1)->GetVirtualSize();
23725
23726 wxPyEndAllowThreads(__tstate);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 }
23729 {
23730 wxSize * resultptr;
23731 resultptr = new wxSize((wxSize &) result);
23732 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23733 }
23734 return resultobj;
23735 fail:
23736 return NULL;
23737 }
23738
23739
23740 static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
23741 PyObject *resultobj;
23742 wxWindow *arg1 = (wxWindow *) 0 ;
23743 int *arg2 = (int *) 0 ;
23744 int *arg3 = (int *) 0 ;
23745 int temp2 ;
23746 int temp3 ;
23747 PyObject * obj0 = 0 ;
23748 char *kwnames[] = {
23749 (char *) "self", NULL
23750 };
23751
23752 arg2 = &temp2;
23753 arg3 = &temp3;
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
23755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
23759 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23760
23761 wxPyEndAllowThreads(__tstate);
23762 if (PyErr_Occurred()) SWIG_fail;
23763 }
23764 Py_INCREF(Py_None); resultobj = Py_None;
23765 {
23766 PyObject *o = PyInt_FromLong((long) (*arg2));
23767 resultobj = t_output_helper(resultobj,o);
23768 }
23769 {
23770 PyObject *o = PyInt_FromLong((long) (*arg3));
23771 resultobj = t_output_helper(resultobj,o);
23772 }
23773 return resultobj;
23774 fail:
23775 return NULL;
23776 }
23777
23778
23779 static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23780 PyObject *resultobj;
23781 wxWindow *arg1 = (wxWindow *) 0 ;
23782 wxSize result;
23783 PyObject * obj0 = 0 ;
23784 char *kwnames[] = {
23785 (char *) "self", NULL
23786 };
23787
23788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
23789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 {
23799 wxSize * resultptr;
23800 resultptr = new wxSize((wxSize &) result);
23801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23802 }
23803 return resultobj;
23804 fail:
23805 return NULL;
23806 }
23807
23808
23809 static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
23810 PyObject *resultobj;
23811 wxWindow *arg1 = (wxWindow *) 0 ;
23812 bool arg2 = (bool) True ;
23813 bool result;
23814 PyObject * obj0 = 0 ;
23815 PyObject * obj1 = 0 ;
23816 char *kwnames[] = {
23817 (char *) "self",(char *) "show", NULL
23818 };
23819
23820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
23821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23823 if (obj1) {
23824 arg2 = (bool) SWIG_AsBool(obj1);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 {
23828 PyThreadState* __tstate = wxPyBeginAllowThreads();
23829 result = (bool)(arg1)->Show(arg2);
23830
23831 wxPyEndAllowThreads(__tstate);
23832 if (PyErr_Occurred()) SWIG_fail;
23833 }
23834 {
23835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23836 }
23837 return resultobj;
23838 fail:
23839 return NULL;
23840 }
23841
23842
23843 static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
23844 PyObject *resultobj;
23845 wxWindow *arg1 = (wxWindow *) 0 ;
23846 bool result;
23847 PyObject * obj0 = 0 ;
23848 char *kwnames[] = {
23849 (char *) "self", NULL
23850 };
23851
23852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
23853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23855 {
23856 PyThreadState* __tstate = wxPyBeginAllowThreads();
23857 result = (bool)(arg1)->Hide();
23858
23859 wxPyEndAllowThreads(__tstate);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 }
23862 {
23863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23864 }
23865 return resultobj;
23866 fail:
23867 return NULL;
23868 }
23869
23870
23871 static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
23872 PyObject *resultobj;
23873 wxWindow *arg1 = (wxWindow *) 0 ;
23874 bool arg2 = (bool) True ;
23875 bool result;
23876 PyObject * obj0 = 0 ;
23877 PyObject * obj1 = 0 ;
23878 char *kwnames[] = {
23879 (char *) "self",(char *) "enable", NULL
23880 };
23881
23882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
23883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23885 if (obj1) {
23886 arg2 = (bool) SWIG_AsBool(obj1);
23887 if (PyErr_Occurred()) SWIG_fail;
23888 }
23889 {
23890 PyThreadState* __tstate = wxPyBeginAllowThreads();
23891 result = (bool)(arg1)->Enable(arg2);
23892
23893 wxPyEndAllowThreads(__tstate);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 }
23896 {
23897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23898 }
23899 return resultobj;
23900 fail:
23901 return NULL;
23902 }
23903
23904
23905 static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
23906 PyObject *resultobj;
23907 wxWindow *arg1 = (wxWindow *) 0 ;
23908 bool result;
23909 PyObject * obj0 = 0 ;
23910 char *kwnames[] = {
23911 (char *) "self", NULL
23912 };
23913
23914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
23915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 result = (bool)(arg1)->Disable();
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 {
23925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23926 }
23927 return resultobj;
23928 fail:
23929 return NULL;
23930 }
23931
23932
23933 static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
23934 PyObject *resultobj;
23935 wxWindow *arg1 = (wxWindow *) 0 ;
23936 bool result;
23937 PyObject * obj0 = 0 ;
23938 char *kwnames[] = {
23939 (char *) "self", NULL
23940 };
23941
23942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
23943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 result = (bool)((wxWindow const *)arg1)->IsShown();
23948
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 {
23953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23954 }
23955 return resultobj;
23956 fail:
23957 return NULL;
23958 }
23959
23960
23961 static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23962 PyObject *resultobj;
23963 wxWindow *arg1 = (wxWindow *) 0 ;
23964 bool result;
23965 PyObject * obj0 = 0 ;
23966 char *kwnames[] = {
23967 (char *) "self", NULL
23968 };
23969
23970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
23971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23973 {
23974 PyThreadState* __tstate = wxPyBeginAllowThreads();
23975 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23976
23977 wxPyEndAllowThreads(__tstate);
23978 if (PyErr_Occurred()) SWIG_fail;
23979 }
23980 {
23981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23982 }
23983 return resultobj;
23984 fail:
23985 return NULL;
23986 }
23987
23988
23989 static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23990 PyObject *resultobj;
23991 wxWindow *arg1 = (wxWindow *) 0 ;
23992 long arg2 ;
23993 PyObject * obj0 = 0 ;
23994 PyObject * obj1 = 0 ;
23995 char *kwnames[] = {
23996 (char *) "self",(char *) "style", NULL
23997 };
23998
23999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
24000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24002 arg2 = (long) SWIG_AsLong(obj1);
24003 if (PyErr_Occurred()) SWIG_fail;
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 (arg1)->SetWindowStyleFlag(arg2);
24007
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
24011 Py_INCREF(Py_None); resultobj = Py_None;
24012 return resultobj;
24013 fail:
24014 return NULL;
24015 }
24016
24017
24018 static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj;
24020 wxWindow *arg1 = (wxWindow *) 0 ;
24021 long result;
24022 PyObject * obj0 = 0 ;
24023 char *kwnames[] = {
24024 (char *) "self", NULL
24025 };
24026
24027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
24028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24030 {
24031 PyThreadState* __tstate = wxPyBeginAllowThreads();
24032 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
24033
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 resultobj = SWIG_FromLong((long)result);
24038 return resultobj;
24039 fail:
24040 return NULL;
24041 }
24042
24043
24044 static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
24045 PyObject *resultobj;
24046 wxWindow *arg1 = (wxWindow *) 0 ;
24047 int arg2 ;
24048 bool result;
24049 PyObject * obj0 = 0 ;
24050 PyObject * obj1 = 0 ;
24051 char *kwnames[] = {
24052 (char *) "self",(char *) "flag", NULL
24053 };
24054
24055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
24056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24058 arg2 = (int) SWIG_AsInt(obj1);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
24063
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 {
24068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24069 }
24070 return resultobj;
24071 fail:
24072 return NULL;
24073 }
24074
24075
24076 static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
24077 PyObject *resultobj;
24078 wxWindow *arg1 = (wxWindow *) 0 ;
24079 bool result;
24080 PyObject * obj0 = 0 ;
24081 char *kwnames[] = {
24082 (char *) "self", NULL
24083 };
24084
24085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
24086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24088 {
24089 PyThreadState* __tstate = wxPyBeginAllowThreads();
24090 result = (bool)((wxWindow const *)arg1)->IsRetained();
24091
24092 wxPyEndAllowThreads(__tstate);
24093 if (PyErr_Occurred()) SWIG_fail;
24094 }
24095 {
24096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24097 }
24098 return resultobj;
24099 fail:
24100 return NULL;
24101 }
24102
24103
24104 static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24105 PyObject *resultobj;
24106 wxWindow *arg1 = (wxWindow *) 0 ;
24107 long arg2 ;
24108 PyObject * obj0 = 0 ;
24109 PyObject * obj1 = 0 ;
24110 char *kwnames[] = {
24111 (char *) "self",(char *) "exStyle", NULL
24112 };
24113
24114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
24115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24117 arg2 = (long) SWIG_AsLong(obj1);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 (arg1)->SetExtraStyle(arg2);
24122
24123 wxPyEndAllowThreads(__tstate);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
24126 Py_INCREF(Py_None); resultobj = Py_None;
24127 return resultobj;
24128 fail:
24129 return NULL;
24130 }
24131
24132
24133 static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24134 PyObject *resultobj;
24135 wxWindow *arg1 = (wxWindow *) 0 ;
24136 long result;
24137 PyObject * obj0 = 0 ;
24138 char *kwnames[] = {
24139 (char *) "self", NULL
24140 };
24141
24142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
24143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
24148
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 resultobj = SWIG_FromLong((long)result);
24153 return resultobj;
24154 fail:
24155 return NULL;
24156 }
24157
24158
24159 static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxWindow *arg1 = (wxWindow *) 0 ;
24162 bool arg2 = (bool) True ;
24163 PyObject * obj0 = 0 ;
24164 PyObject * obj1 = 0 ;
24165 char *kwnames[] = {
24166 (char *) "self",(char *) "modal", NULL
24167 };
24168
24169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
24170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24172 if (obj1) {
24173 arg2 = (bool) SWIG_AsBool(obj1);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 }
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 (arg1)->MakeModal(arg2);
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 Py_INCREF(Py_None); resultobj = Py_None;
24184 return resultobj;
24185 fail:
24186 return NULL;
24187 }
24188
24189
24190 static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxWindow *arg1 = (wxWindow *) 0 ;
24193 bool arg2 ;
24194 PyObject * obj0 = 0 ;
24195 PyObject * obj1 = 0 ;
24196 char *kwnames[] = {
24197 (char *) "self",(char *) "enableTheme", NULL
24198 };
24199
24200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
24201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24203 arg2 = (bool) SWIG_AsBool(obj1);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 (arg1)->SetThemeEnabled(arg2);
24208
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 Py_INCREF(Py_None); resultobj = Py_None;
24213 return resultobj;
24214 fail:
24215 return NULL;
24216 }
24217
24218
24219 static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24220 PyObject *resultobj;
24221 wxWindow *arg1 = (wxWindow *) 0 ;
24222 bool result;
24223 PyObject * obj0 = 0 ;
24224 char *kwnames[] = {
24225 (char *) "self", NULL
24226 };
24227
24228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
24229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24234
24235 wxPyEndAllowThreads(__tstate);
24236 if (PyErr_Occurred()) SWIG_fail;
24237 }
24238 {
24239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24240 }
24241 return resultobj;
24242 fail:
24243 return NULL;
24244 }
24245
24246
24247 static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24248 PyObject *resultobj;
24249 wxWindow *arg1 = (wxWindow *) 0 ;
24250 PyObject * obj0 = 0 ;
24251 char *kwnames[] = {
24252 (char *) "self", NULL
24253 };
24254
24255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
24256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24258 {
24259 PyThreadState* __tstate = wxPyBeginAllowThreads();
24260 (arg1)->SetFocus();
24261
24262 wxPyEndAllowThreads(__tstate);
24263 if (PyErr_Occurred()) SWIG_fail;
24264 }
24265 Py_INCREF(Py_None); resultobj = Py_None;
24266 return resultobj;
24267 fail:
24268 return NULL;
24269 }
24270
24271
24272 static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
24273 PyObject *resultobj;
24274 wxWindow *arg1 = (wxWindow *) 0 ;
24275 PyObject * obj0 = 0 ;
24276 char *kwnames[] = {
24277 (char *) "self", NULL
24278 };
24279
24280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
24281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24283 {
24284 PyThreadState* __tstate = wxPyBeginAllowThreads();
24285 (arg1)->SetFocusFromKbd();
24286
24287 wxPyEndAllowThreads(__tstate);
24288 if (PyErr_Occurred()) SWIG_fail;
24289 }
24290 Py_INCREF(Py_None); resultobj = Py_None;
24291 return resultobj;
24292 fail:
24293 return NULL;
24294 }
24295
24296
24297 static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24298 PyObject *resultobj;
24299 wxWindow *result;
24300 char *kwnames[] = {
24301 NULL
24302 };
24303
24304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24305 {
24306 if (!wxPyCheckForApp()) SWIG_fail;
24307 PyThreadState* __tstate = wxPyBeginAllowThreads();
24308 result = (wxWindow *)wxWindow::FindFocus();
24309
24310 wxPyEndAllowThreads(__tstate);
24311 if (PyErr_Occurred()) SWIG_fail;
24312 }
24313 {
24314 resultobj = wxPyMake_wxObject(result);
24315 }
24316 return resultobj;
24317 fail:
24318 return NULL;
24319 }
24320
24321
24322 static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj;
24324 wxWindow *arg1 = (wxWindow *) 0 ;
24325 bool result;
24326 PyObject * obj0 = 0 ;
24327 char *kwnames[] = {
24328 (char *) "self", NULL
24329 };
24330
24331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
24332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24334 {
24335 PyThreadState* __tstate = wxPyBeginAllowThreads();
24336 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24337
24338 wxPyEndAllowThreads(__tstate);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 {
24342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24343 }
24344 return resultobj;
24345 fail:
24346 return NULL;
24347 }
24348
24349
24350 static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24351 PyObject *resultobj;
24352 wxWindow *arg1 = (wxWindow *) 0 ;
24353 bool result;
24354 PyObject * obj0 = 0 ;
24355 char *kwnames[] = {
24356 (char *) "self", NULL
24357 };
24358
24359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24365
24366 wxPyEndAllowThreads(__tstate);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 }
24369 {
24370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24371 }
24372 return resultobj;
24373 fail:
24374 return NULL;
24375 }
24376
24377
24378 static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24379 PyObject *resultobj;
24380 wxWindow *arg1 = (wxWindow *) 0 ;
24381 wxWindow *result;
24382 PyObject * obj0 = 0 ;
24383 char *kwnames[] = {
24384 (char *) "self", NULL
24385 };
24386
24387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
24388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 {
24398 resultobj = wxPyMake_wxObject(result);
24399 }
24400 return resultobj;
24401 fail:
24402 return NULL;
24403 }
24404
24405
24406 static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24407 PyObject *resultobj;
24408 wxWindow *arg1 = (wxWindow *) 0 ;
24409 wxWindow *arg2 = (wxWindow *) 0 ;
24410 wxWindow *result;
24411 PyObject * obj0 = 0 ;
24412 PyObject * obj1 = 0 ;
24413 char *kwnames[] = {
24414 (char *) "self",(char *) "child", NULL
24415 };
24416
24417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
24418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24420 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24422 {
24423 PyThreadState* __tstate = wxPyBeginAllowThreads();
24424 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24425
24426 wxPyEndAllowThreads(__tstate);
24427 if (PyErr_Occurred()) SWIG_fail;
24428 }
24429 {
24430 resultobj = wxPyMake_wxObject(result);
24431 }
24432 return resultobj;
24433 fail:
24434 return NULL;
24435 }
24436
24437
24438 static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24439 PyObject *resultobj;
24440 wxWindow *arg1 = (wxWindow *) 0 ;
24441 wxWindow *arg2 = (wxWindow *) 0 ;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 char *kwnames[] = {
24445 (char *) "self",(char *) "win", NULL
24446 };
24447
24448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
24449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 (arg1)->SetTmpDefaultItem(arg2);
24456
24457 wxPyEndAllowThreads(__tstate);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 }
24460 Py_INCREF(Py_None); resultobj = Py_None;
24461 return resultobj;
24462 fail:
24463 return NULL;
24464 }
24465
24466
24467 static PyObject *_wrap_Window_Navigate(PyObject *self, PyObject *args, PyObject *kwargs) {
24468 PyObject *resultobj;
24469 wxWindow *arg1 = (wxWindow *) 0 ;
24470 int arg2 = (int) wxNavigationKeyEvent::IsForward ;
24471 bool result;
24472 PyObject * obj0 = 0 ;
24473 PyObject * obj1 = 0 ;
24474 char *kwnames[] = {
24475 (char *) "self",(char *) "flags", NULL
24476 };
24477
24478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail;
24479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24481 if (obj1) {
24482 arg2 = (int) SWIG_AsInt(obj1);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 {
24486 PyThreadState* __tstate = wxPyBeginAllowThreads();
24487 result = (bool)(arg1)->Navigate(arg2);
24488
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 {
24493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24494 }
24495 return resultobj;
24496 fail:
24497 return NULL;
24498 }
24499
24500
24501 static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24502 PyObject *resultobj;
24503 wxWindow *arg1 = (wxWindow *) 0 ;
24504 PyObject *result;
24505 PyObject * obj0 = 0 ;
24506 char *kwnames[] = {
24507 (char *) "self", NULL
24508 };
24509
24510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
24511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24513 {
24514 PyThreadState* __tstate = wxPyBeginAllowThreads();
24515 result = (PyObject *)wxWindow_GetChildren(arg1);
24516
24517 wxPyEndAllowThreads(__tstate);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 }
24520 resultobj = result;
24521 return resultobj;
24522 fail:
24523 return NULL;
24524 }
24525
24526
24527 static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24528 PyObject *resultobj;
24529 wxWindow *arg1 = (wxWindow *) 0 ;
24530 wxWindow *result;
24531 PyObject * obj0 = 0 ;
24532 char *kwnames[] = {
24533 (char *) "self", NULL
24534 };
24535
24536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
24537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24539 {
24540 PyThreadState* __tstate = wxPyBeginAllowThreads();
24541 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
24542
24543 wxPyEndAllowThreads(__tstate);
24544 if (PyErr_Occurred()) SWIG_fail;
24545 }
24546 {
24547 resultobj = wxPyMake_wxObject(result);
24548 }
24549 return resultobj;
24550 fail:
24551 return NULL;
24552 }
24553
24554
24555 static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24556 PyObject *resultobj;
24557 wxWindow *arg1 = (wxWindow *) 0 ;
24558 wxWindow *result;
24559 PyObject * obj0 = 0 ;
24560 char *kwnames[] = {
24561 (char *) "self", NULL
24562 };
24563
24564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
24565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 {
24575 resultobj = wxPyMake_wxObject(result);
24576 }
24577 return resultobj;
24578 fail:
24579 return NULL;
24580 }
24581
24582
24583 static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
24584 PyObject *resultobj;
24585 wxWindow *arg1 = (wxWindow *) 0 ;
24586 bool result;
24587 PyObject * obj0 = 0 ;
24588 char *kwnames[] = {
24589 (char *) "self", NULL
24590 };
24591
24592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
24593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
24598
24599 wxPyEndAllowThreads(__tstate);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
24602 {
24603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24604 }
24605 return resultobj;
24606 fail:
24607 return NULL;
24608 }
24609
24610
24611 static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
24612 PyObject *resultobj;
24613 wxWindow *arg1 = (wxWindow *) 0 ;
24614 wxWindow *arg2 = (wxWindow *) 0 ;
24615 bool result;
24616 PyObject * obj0 = 0 ;
24617 PyObject * obj1 = 0 ;
24618 char *kwnames[] = {
24619 (char *) "self",(char *) "newParent", NULL
24620 };
24621
24622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
24623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24627 {
24628 PyThreadState* __tstate = wxPyBeginAllowThreads();
24629 result = (bool)(arg1)->Reparent(arg2);
24630
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 {
24635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24636 }
24637 return resultobj;
24638 fail:
24639 return NULL;
24640 }
24641
24642
24643 static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24644 PyObject *resultobj;
24645 wxWindow *arg1 = (wxWindow *) 0 ;
24646 wxWindow *arg2 = (wxWindow *) 0 ;
24647 PyObject * obj0 = 0 ;
24648 PyObject * obj1 = 0 ;
24649 char *kwnames[] = {
24650 (char *) "self",(char *) "child", NULL
24651 };
24652
24653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
24654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24658 {
24659 PyThreadState* __tstate = wxPyBeginAllowThreads();
24660 (arg1)->AddChild(arg2);
24661
24662 wxPyEndAllowThreads(__tstate);
24663 if (PyErr_Occurred()) SWIG_fail;
24664 }
24665 Py_INCREF(Py_None); resultobj = Py_None;
24666 return resultobj;
24667 fail:
24668 return NULL;
24669 }
24670
24671
24672 static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24673 PyObject *resultobj;
24674 wxWindow *arg1 = (wxWindow *) 0 ;
24675 wxWindow *arg2 = (wxWindow *) 0 ;
24676 PyObject * obj0 = 0 ;
24677 PyObject * obj1 = 0 ;
24678 char *kwnames[] = {
24679 (char *) "self",(char *) "child", NULL
24680 };
24681
24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 (arg1)->RemoveChild(arg2);
24690
24691 wxPyEndAllowThreads(__tstate);
24692 if (PyErr_Occurred()) SWIG_fail;
24693 }
24694 Py_INCREF(Py_None); resultobj = Py_None;
24695 return resultobj;
24696 fail:
24697 return NULL;
24698 }
24699
24700
24701 static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24702 PyObject *resultobj;
24703 wxWindow *arg1 = (wxWindow *) 0 ;
24704 long arg2 ;
24705 wxWindow *result;
24706 PyObject * obj0 = 0 ;
24707 PyObject * obj1 = 0 ;
24708 char *kwnames[] = {
24709 (char *) "self",(char *) "winid", NULL
24710 };
24711
24712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
24713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24715 arg2 = (long) SWIG_AsLong(obj1);
24716 if (PyErr_Occurred()) SWIG_fail;
24717 {
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 result = (wxWindow *)(arg1)->FindWindow(arg2);
24720
24721 wxPyEndAllowThreads(__tstate);
24722 if (PyErr_Occurred()) SWIG_fail;
24723 }
24724 {
24725 resultobj = wxPyMake_wxObject(result);
24726 }
24727 return resultobj;
24728 fail:
24729 return NULL;
24730 }
24731
24732
24733 static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24734 PyObject *resultobj;
24735 wxWindow *arg1 = (wxWindow *) 0 ;
24736 wxString *arg2 = 0 ;
24737 wxWindow *result;
24738 bool temp2 = False ;
24739 PyObject * obj0 = 0 ;
24740 PyObject * obj1 = 0 ;
24741 char *kwnames[] = {
24742 (char *) "self",(char *) "name", NULL
24743 };
24744
24745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24748 {
24749 arg2 = wxString_in_helper(obj1);
24750 if (arg2 == NULL) SWIG_fail;
24751 temp2 = True;
24752 }
24753 {
24754 PyThreadState* __tstate = wxPyBeginAllowThreads();
24755 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24756
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 {
24761 resultobj = wxPyMake_wxObject(result);
24762 }
24763 {
24764 if (temp2)
24765 delete arg2;
24766 }
24767 return resultobj;
24768 fail:
24769 {
24770 if (temp2)
24771 delete arg2;
24772 }
24773 return NULL;
24774 }
24775
24776
24777 static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24778 PyObject *resultobj;
24779 wxWindow *arg1 = (wxWindow *) 0 ;
24780 wxEvtHandler *result;
24781 PyObject * obj0 = 0 ;
24782 char *kwnames[] = {
24783 (char *) "self", NULL
24784 };
24785
24786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
24787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24792
24793 wxPyEndAllowThreads(__tstate);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 {
24797 resultobj = wxPyMake_wxObject(result);
24798 }
24799 return resultobj;
24800 fail:
24801 return NULL;
24802 }
24803
24804
24805 static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24806 PyObject *resultobj;
24807 wxWindow *arg1 = (wxWindow *) 0 ;
24808 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24809 PyObject * obj0 = 0 ;
24810 PyObject * obj1 = 0 ;
24811 char *kwnames[] = {
24812 (char *) "self",(char *) "handler", NULL
24813 };
24814
24815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
24816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24820 {
24821 PyThreadState* __tstate = wxPyBeginAllowThreads();
24822 (arg1)->SetEventHandler(arg2);
24823
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 Py_INCREF(Py_None); resultobj = Py_None;
24828 return resultobj;
24829 fail:
24830 return NULL;
24831 }
24832
24833
24834 static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24835 PyObject *resultobj;
24836 wxWindow *arg1 = (wxWindow *) 0 ;
24837 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24838 PyObject * obj0 = 0 ;
24839 PyObject * obj1 = 0 ;
24840 char *kwnames[] = {
24841 (char *) "self",(char *) "handler", NULL
24842 };
24843
24844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
24845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24849 {
24850 PyThreadState* __tstate = wxPyBeginAllowThreads();
24851 (arg1)->PushEventHandler(arg2);
24852
24853 wxPyEndAllowThreads(__tstate);
24854 if (PyErr_Occurred()) SWIG_fail;
24855 }
24856 Py_INCREF(Py_None); resultobj = Py_None;
24857 return resultobj;
24858 fail:
24859 return NULL;
24860 }
24861
24862
24863 static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24864 PyObject *resultobj;
24865 wxWindow *arg1 = (wxWindow *) 0 ;
24866 bool arg2 = (bool) False ;
24867 wxEvtHandler *result;
24868 PyObject * obj0 = 0 ;
24869 PyObject * obj1 = 0 ;
24870 char *kwnames[] = {
24871 (char *) "self",(char *) "deleteHandler", NULL
24872 };
24873
24874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
24875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24877 if (obj1) {
24878 arg2 = (bool) SWIG_AsBool(obj1);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 }
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24884
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
24888 {
24889 resultobj = wxPyMake_wxObject(result);
24890 }
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj;
24899 wxWindow *arg1 = (wxWindow *) 0 ;
24900 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24901 bool result;
24902 PyObject * obj0 = 0 ;
24903 PyObject * obj1 = 0 ;
24904 char *kwnames[] = {
24905 (char *) "self",(char *) "handler", NULL
24906 };
24907
24908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
24909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24913 {
24914 PyThreadState* __tstate = wxPyBeginAllowThreads();
24915 result = (bool)(arg1)->RemoveEventHandler(arg2);
24916
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 {
24921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24922 }
24923 return resultobj;
24924 fail:
24925 return NULL;
24926 }
24927
24928
24929 static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24930 PyObject *resultobj;
24931 wxWindow *arg1 = (wxWindow *) 0 ;
24932 wxValidator *arg2 = 0 ;
24933 PyObject * obj0 = 0 ;
24934 PyObject * obj1 = 0 ;
24935 char *kwnames[] = {
24936 (char *) "self",(char *) "validator", NULL
24937 };
24938
24939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
24940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
24943 SWIG_POINTER_EXCEPTION | 0)) == -1)
24944 SWIG_fail;
24945 if (arg2 == NULL) {
24946 PyErr_SetString(PyExc_TypeError,"null reference");
24947 SWIG_fail;
24948 }
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 (arg1)->SetValidator((wxValidator const &)*arg2);
24952
24953 wxPyEndAllowThreads(__tstate);
24954 if (PyErr_Occurred()) SWIG_fail;
24955 }
24956 Py_INCREF(Py_None); resultobj = Py_None;
24957 return resultobj;
24958 fail:
24959 return NULL;
24960 }
24961
24962
24963 static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24964 PyObject *resultobj;
24965 wxWindow *arg1 = (wxWindow *) 0 ;
24966 wxValidator *result;
24967 PyObject * obj0 = 0 ;
24968 char *kwnames[] = {
24969 (char *) "self", NULL
24970 };
24971
24972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
24973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24975 {
24976 PyThreadState* __tstate = wxPyBeginAllowThreads();
24977 result = (wxValidator *)(arg1)->GetValidator();
24978
24979 wxPyEndAllowThreads(__tstate);
24980 if (PyErr_Occurred()) SWIG_fail;
24981 }
24982 {
24983 resultobj = wxPyMake_wxObject(result);
24984 }
24985 return resultobj;
24986 fail:
24987 return NULL;
24988 }
24989
24990
24991 static PyObject *_wrap_Window_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24992 PyObject *resultobj;
24993 wxWindow *arg1 = (wxWindow *) 0 ;
24994 bool result;
24995 PyObject * obj0 = 0 ;
24996 char *kwnames[] = {
24997 (char *) "self", NULL
24998 };
24999
25000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
25001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25003 {
25004 PyThreadState* __tstate = wxPyBeginAllowThreads();
25005 result = (bool)(arg1)->Validate();
25006
25007 wxPyEndAllowThreads(__tstate);
25008 if (PyErr_Occurred()) SWIG_fail;
25009 }
25010 {
25011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25012 }
25013 return resultobj;
25014 fail:
25015 return NULL;
25016 }
25017
25018
25019 static PyObject *_wrap_Window_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25020 PyObject *resultobj;
25021 wxWindow *arg1 = (wxWindow *) 0 ;
25022 bool result;
25023 PyObject * obj0 = 0 ;
25024 char *kwnames[] = {
25025 (char *) "self", NULL
25026 };
25027
25028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
25029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25031 {
25032 PyThreadState* __tstate = wxPyBeginAllowThreads();
25033 result = (bool)(arg1)->TransferDataToWindow();
25034
25035 wxPyEndAllowThreads(__tstate);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 }
25038 {
25039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25040 }
25041 return resultobj;
25042 fail:
25043 return NULL;
25044 }
25045
25046
25047 static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25048 PyObject *resultobj;
25049 wxWindow *arg1 = (wxWindow *) 0 ;
25050 bool result;
25051 PyObject * obj0 = 0 ;
25052 char *kwnames[] = {
25053 (char *) "self", NULL
25054 };
25055
25056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25059 {
25060 PyThreadState* __tstate = wxPyBeginAllowThreads();
25061 result = (bool)(arg1)->TransferDataFromWindow();
25062
25063 wxPyEndAllowThreads(__tstate);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
25066 {
25067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25068 }
25069 return resultobj;
25070 fail:
25071 return NULL;
25072 }
25073
25074
25075 static PyObject *_wrap_Window_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25076 PyObject *resultobj;
25077 wxWindow *arg1 = (wxWindow *) 0 ;
25078 PyObject * obj0 = 0 ;
25079 char *kwnames[] = {
25080 (char *) "self", NULL
25081 };
25082
25083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
25084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25086 {
25087 PyThreadState* __tstate = wxPyBeginAllowThreads();
25088 (arg1)->InitDialog();
25089
25090 wxPyEndAllowThreads(__tstate);
25091 if (PyErr_Occurred()) SWIG_fail;
25092 }
25093 Py_INCREF(Py_None); resultobj = Py_None;
25094 return resultobj;
25095 fail:
25096 return NULL;
25097 }
25098
25099
25100 static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25101 PyObject *resultobj;
25102 wxWindow *arg1 = (wxWindow *) 0 ;
25103 wxAcceleratorTable *arg2 = 0 ;
25104 PyObject * obj0 = 0 ;
25105 PyObject * obj1 = 0 ;
25106 char *kwnames[] = {
25107 (char *) "self",(char *) "accel", NULL
25108 };
25109
25110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
25111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
25114 SWIG_POINTER_EXCEPTION | 0)) == -1)
25115 SWIG_fail;
25116 if (arg2 == NULL) {
25117 PyErr_SetString(PyExc_TypeError,"null reference");
25118 SWIG_fail;
25119 }
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
25123
25124 wxPyEndAllowThreads(__tstate);
25125 if (PyErr_Occurred()) SWIG_fail;
25126 }
25127 Py_INCREF(Py_None); resultobj = Py_None;
25128 return resultobj;
25129 fail:
25130 return NULL;
25131 }
25132
25133
25134 static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25135 PyObject *resultobj;
25136 wxWindow *arg1 = (wxWindow *) 0 ;
25137 wxAcceleratorTable *result;
25138 PyObject * obj0 = 0 ;
25139 char *kwnames[] = {
25140 (char *) "self", NULL
25141 };
25142
25143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
25144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
25149
25150 wxPyEndAllowThreads(__tstate);
25151 if (PyErr_Occurred()) SWIG_fail;
25152 }
25153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
25154 return resultobj;
25155 fail:
25156 return NULL;
25157 }
25158
25159
25160 static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25161 PyObject *resultobj;
25162 wxWindow *arg1 = (wxWindow *) 0 ;
25163 int arg2 ;
25164 int arg3 ;
25165 int arg4 ;
25166 bool result;
25167 PyObject * obj0 = 0 ;
25168 PyObject * obj1 = 0 ;
25169 PyObject * obj2 = 0 ;
25170 PyObject * obj3 = 0 ;
25171 char *kwnames[] = {
25172 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25173 };
25174
25175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25178 arg2 = (int) SWIG_AsInt(obj1);
25179 if (PyErr_Occurred()) SWIG_fail;
25180 arg3 = (int) SWIG_AsInt(obj2);
25181 if (PyErr_Occurred()) SWIG_fail;
25182 arg4 = (int) SWIG_AsInt(obj3);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 {
25185 PyThreadState* __tstate = wxPyBeginAllowThreads();
25186 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
25187
25188 wxPyEndAllowThreads(__tstate);
25189 if (PyErr_Occurred()) SWIG_fail;
25190 }
25191 {
25192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25193 }
25194 return resultobj;
25195 fail:
25196 return NULL;
25197 }
25198
25199
25200 static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25201 PyObject *resultobj;
25202 wxWindow *arg1 = (wxWindow *) 0 ;
25203 int arg2 ;
25204 bool result;
25205 PyObject * obj0 = 0 ;
25206 PyObject * obj1 = 0 ;
25207 char *kwnames[] = {
25208 (char *) "self",(char *) "hotkeyId", NULL
25209 };
25210
25211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
25212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25214 arg2 = (int) SWIG_AsInt(obj1);
25215 if (PyErr_Occurred()) SWIG_fail;
25216 {
25217 PyThreadState* __tstate = wxPyBeginAllowThreads();
25218 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25219
25220 wxPyEndAllowThreads(__tstate);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 {
25224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25225 }
25226 return resultobj;
25227 fail:
25228 return NULL;
25229 }
25230
25231
25232 static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25233 PyObject *resultobj;
25234 wxWindow *arg1 = (wxWindow *) 0 ;
25235 wxPoint *arg2 = 0 ;
25236 wxPoint result;
25237 wxPoint temp2 ;
25238 PyObject * obj0 = 0 ;
25239 PyObject * obj1 = 0 ;
25240 char *kwnames[] = {
25241 (char *) "self",(char *) "pt", NULL
25242 };
25243
25244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
25245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25247 {
25248 arg2 = &temp2;
25249 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25250 }
25251 {
25252 PyThreadState* __tstate = wxPyBeginAllowThreads();
25253 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25254
25255 wxPyEndAllowThreads(__tstate);
25256 if (PyErr_Occurred()) SWIG_fail;
25257 }
25258 {
25259 wxPoint * resultptr;
25260 resultptr = new wxPoint((wxPoint &) result);
25261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25262 }
25263 return resultobj;
25264 fail:
25265 return NULL;
25266 }
25267
25268
25269 static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25270 PyObject *resultobj;
25271 wxWindow *arg1 = (wxWindow *) 0 ;
25272 wxSize *arg2 = 0 ;
25273 wxSize result;
25274 wxSize temp2 ;
25275 PyObject * obj0 = 0 ;
25276 PyObject * obj1 = 0 ;
25277 char *kwnames[] = {
25278 (char *) "self",(char *) "sz", NULL
25279 };
25280
25281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
25282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25284 {
25285 arg2 = &temp2;
25286 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25287 }
25288 {
25289 PyThreadState* __tstate = wxPyBeginAllowThreads();
25290 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25291
25292 wxPyEndAllowThreads(__tstate);
25293 if (PyErr_Occurred()) SWIG_fail;
25294 }
25295 {
25296 wxSize * resultptr;
25297 resultptr = new wxSize((wxSize &) result);
25298 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25299 }
25300 return resultobj;
25301 fail:
25302 return NULL;
25303 }
25304
25305
25306 static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
25307 PyObject *resultobj;
25308 wxWindow *arg1 = (wxWindow *) 0 ;
25309 wxPoint *arg2 = 0 ;
25310 wxPoint result;
25311 wxPoint temp2 ;
25312 PyObject * obj0 = 0 ;
25313 PyObject * obj1 = 0 ;
25314 char *kwnames[] = {
25315 (char *) "self",(char *) "pt", NULL
25316 };
25317
25318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
25319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25321 {
25322 arg2 = &temp2;
25323 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25324 }
25325 {
25326 PyThreadState* __tstate = wxPyBeginAllowThreads();
25327 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25328
25329 wxPyEndAllowThreads(__tstate);
25330 if (PyErr_Occurred()) SWIG_fail;
25331 }
25332 {
25333 wxPoint * resultptr;
25334 resultptr = new wxPoint((wxPoint &) result);
25335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25336 }
25337 return resultobj;
25338 fail:
25339 return NULL;
25340 }
25341
25342
25343 static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
25344 PyObject *resultobj;
25345 wxWindow *arg1 = (wxWindow *) 0 ;
25346 wxSize *arg2 = 0 ;
25347 wxSize result;
25348 wxSize temp2 ;
25349 PyObject * obj0 = 0 ;
25350 PyObject * obj1 = 0 ;
25351 char *kwnames[] = {
25352 (char *) "self",(char *) "sz", NULL
25353 };
25354
25355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
25356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25358 {
25359 arg2 = &temp2;
25360 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25361 }
25362 {
25363 PyThreadState* __tstate = wxPyBeginAllowThreads();
25364 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25365
25366 wxPyEndAllowThreads(__tstate);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 }
25369 {
25370 wxSize * resultptr;
25371 resultptr = new wxSize((wxSize &) result);
25372 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25373 }
25374 return resultobj;
25375 fail:
25376 return NULL;
25377 }
25378
25379
25380 static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25381 PyObject *resultobj;
25382 wxWindow *arg1 = (wxWindow *) 0 ;
25383 wxPoint *arg2 = 0 ;
25384 wxPoint result;
25385 wxPoint temp2 ;
25386 PyObject * obj0 = 0 ;
25387 PyObject * obj1 = 0 ;
25388 char *kwnames[] = {
25389 (char *) "self",(char *) "pt", NULL
25390 };
25391
25392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
25393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25395 {
25396 arg2 = &temp2;
25397 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25398 }
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 {
25407 wxPoint * resultptr;
25408 resultptr = new wxPoint((wxPoint &) result);
25409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25410 }
25411 return resultobj;
25412 fail:
25413 return NULL;
25414 }
25415
25416
25417 static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25418 PyObject *resultobj;
25419 wxWindow *arg1 = (wxWindow *) 0 ;
25420 wxSize *arg2 = 0 ;
25421 wxSize result;
25422 wxSize temp2 ;
25423 PyObject * obj0 = 0 ;
25424 PyObject * obj1 = 0 ;
25425 char *kwnames[] = {
25426 (char *) "self",(char *) "sz", NULL
25427 };
25428
25429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
25430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25432 {
25433 arg2 = &temp2;
25434 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25435 }
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
25439
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 {
25444 wxSize * resultptr;
25445 resultptr = new wxSize((wxSize &) result);
25446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25447 }
25448 return resultobj;
25449 fail:
25450 return NULL;
25451 }
25452
25453
25454 static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
25455 PyObject *resultobj;
25456 wxWindow *arg1 = (wxWindow *) 0 ;
25457 int arg2 ;
25458 int arg3 ;
25459 PyObject * obj0 = 0 ;
25460 PyObject * obj1 = 0 ;
25461 PyObject * obj2 = 0 ;
25462 char *kwnames[] = {
25463 (char *) "self",(char *) "x",(char *) "y", NULL
25464 };
25465
25466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
25467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25469 arg2 = (int) SWIG_AsInt(obj1);
25470 if (PyErr_Occurred()) SWIG_fail;
25471 arg3 = (int) SWIG_AsInt(obj2);
25472 if (PyErr_Occurred()) SWIG_fail;
25473 {
25474 PyThreadState* __tstate = wxPyBeginAllowThreads();
25475 (arg1)->WarpPointer(arg2,arg3);
25476
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 Py_INCREF(Py_None); resultobj = Py_None;
25481 return resultobj;
25482 fail:
25483 return NULL;
25484 }
25485
25486
25487 static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25488 PyObject *resultobj;
25489 wxWindow *arg1 = (wxWindow *) 0 ;
25490 PyObject * obj0 = 0 ;
25491 char *kwnames[] = {
25492 (char *) "self", NULL
25493 };
25494
25495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
25496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25498 {
25499 PyThreadState* __tstate = wxPyBeginAllowThreads();
25500 (arg1)->CaptureMouse();
25501
25502 wxPyEndAllowThreads(__tstate);
25503 if (PyErr_Occurred()) SWIG_fail;
25504 }
25505 Py_INCREF(Py_None); resultobj = Py_None;
25506 return resultobj;
25507 fail:
25508 return NULL;
25509 }
25510
25511
25512 static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25513 PyObject *resultobj;
25514 wxWindow *arg1 = (wxWindow *) 0 ;
25515 PyObject * obj0 = 0 ;
25516 char *kwnames[] = {
25517 (char *) "self", NULL
25518 };
25519
25520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
25521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25523 {
25524 PyThreadState* __tstate = wxPyBeginAllowThreads();
25525 (arg1)->ReleaseMouse();
25526
25527 wxPyEndAllowThreads(__tstate);
25528 if (PyErr_Occurred()) SWIG_fail;
25529 }
25530 Py_INCREF(Py_None); resultobj = Py_None;
25531 return resultobj;
25532 fail:
25533 return NULL;
25534 }
25535
25536
25537 static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25538 PyObject *resultobj;
25539 wxWindow *result;
25540 char *kwnames[] = {
25541 NULL
25542 };
25543
25544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
25545 {
25546 if (!wxPyCheckForApp()) SWIG_fail;
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = (wxWindow *)wxWindow::GetCapture();
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 {
25554 resultobj = wxPyMake_wxObject(result);
25555 }
25556 return resultobj;
25557 fail:
25558 return NULL;
25559 }
25560
25561
25562 static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25563 PyObject *resultobj;
25564 wxWindow *arg1 = (wxWindow *) 0 ;
25565 bool result;
25566 PyObject * obj0 = 0 ;
25567 char *kwnames[] = {
25568 (char *) "self", NULL
25569 };
25570
25571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
25572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 result = (bool)((wxWindow const *)arg1)->HasCapture();
25577
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 {
25582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25583 }
25584 return resultobj;
25585 fail:
25586 return NULL;
25587 }
25588
25589
25590 static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
25591 PyObject *resultobj;
25592 wxWindow *arg1 = (wxWindow *) 0 ;
25593 bool arg2 = (bool) True ;
25594 wxRect *arg3 = (wxRect *) NULL ;
25595 PyObject * obj0 = 0 ;
25596 PyObject * obj1 = 0 ;
25597 PyObject * obj2 = 0 ;
25598 char *kwnames[] = {
25599 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25600 };
25601
25602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
25603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25605 if (obj1) {
25606 arg2 = (bool) SWIG_AsBool(obj1);
25607 if (PyErr_Occurred()) SWIG_fail;
25608 }
25609 if (obj2) {
25610 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
25611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25612 }
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 (arg1)->Refresh(arg2,(wxRect const *)arg3);
25616
25617 wxPyEndAllowThreads(__tstate);
25618 if (PyErr_Occurred()) SWIG_fail;
25619 }
25620 Py_INCREF(Py_None); resultobj = Py_None;
25621 return resultobj;
25622 fail:
25623 return NULL;
25624 }
25625
25626
25627 static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25628 PyObject *resultobj;
25629 wxWindow *arg1 = (wxWindow *) 0 ;
25630 wxRect *arg2 = 0 ;
25631 wxRect temp2 ;
25632 PyObject * obj0 = 0 ;
25633 PyObject * obj1 = 0 ;
25634 char *kwnames[] = {
25635 (char *) "self",(char *) "rect", NULL
25636 };
25637
25638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
25639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25641 {
25642 arg2 = &temp2;
25643 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25644 }
25645 {
25646 PyThreadState* __tstate = wxPyBeginAllowThreads();
25647 (arg1)->RefreshRect((wxRect const &)*arg2);
25648
25649 wxPyEndAllowThreads(__tstate);
25650 if (PyErr_Occurred()) SWIG_fail;
25651 }
25652 Py_INCREF(Py_None); resultobj = Py_None;
25653 return resultobj;
25654 fail:
25655 return NULL;
25656 }
25657
25658
25659 static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
25660 PyObject *resultobj;
25661 wxWindow *arg1 = (wxWindow *) 0 ;
25662 PyObject * obj0 = 0 ;
25663 char *kwnames[] = {
25664 (char *) "self", NULL
25665 };
25666
25667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
25668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25670 {
25671 PyThreadState* __tstate = wxPyBeginAllowThreads();
25672 (arg1)->Update();
25673
25674 wxPyEndAllowThreads(__tstate);
25675 if (PyErr_Occurred()) SWIG_fail;
25676 }
25677 Py_INCREF(Py_None); resultobj = Py_None;
25678 return resultobj;
25679 fail:
25680 return NULL;
25681 }
25682
25683
25684 static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
25685 PyObject *resultobj;
25686 wxWindow *arg1 = (wxWindow *) 0 ;
25687 PyObject * obj0 = 0 ;
25688 char *kwnames[] = {
25689 (char *) "self", NULL
25690 };
25691
25692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
25693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25695 {
25696 PyThreadState* __tstate = wxPyBeginAllowThreads();
25697 (arg1)->ClearBackground();
25698
25699 wxPyEndAllowThreads(__tstate);
25700 if (PyErr_Occurred()) SWIG_fail;
25701 }
25702 Py_INCREF(Py_None); resultobj = Py_None;
25703 return resultobj;
25704 fail:
25705 return NULL;
25706 }
25707
25708
25709 static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
25710 PyObject *resultobj;
25711 wxWindow *arg1 = (wxWindow *) 0 ;
25712 PyObject * obj0 = 0 ;
25713 char *kwnames[] = {
25714 (char *) "self", NULL
25715 };
25716
25717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
25718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25720 {
25721 PyThreadState* __tstate = wxPyBeginAllowThreads();
25722 (arg1)->Freeze();
25723
25724 wxPyEndAllowThreads(__tstate);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 Py_INCREF(Py_None); resultobj = Py_None;
25728 return resultobj;
25729 fail:
25730 return NULL;
25731 }
25732
25733
25734 static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
25735 PyObject *resultobj;
25736 wxWindow *arg1 = (wxWindow *) 0 ;
25737 PyObject * obj0 = 0 ;
25738 char *kwnames[] = {
25739 (char *) "self", NULL
25740 };
25741
25742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
25743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25745 {
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 (arg1)->Thaw();
25748
25749 wxPyEndAllowThreads(__tstate);
25750 if (PyErr_Occurred()) SWIG_fail;
25751 }
25752 Py_INCREF(Py_None); resultobj = Py_None;
25753 return resultobj;
25754 fail:
25755 return NULL;
25756 }
25757
25758
25759 static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
25760 PyObject *resultobj;
25761 wxWindow *arg1 = (wxWindow *) 0 ;
25762 wxDC *arg2 = 0 ;
25763 PyObject * obj0 = 0 ;
25764 PyObject * obj1 = 0 ;
25765 char *kwnames[] = {
25766 (char *) "self",(char *) "dc", NULL
25767 };
25768
25769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
25770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25773 SWIG_POINTER_EXCEPTION | 0)) == -1)
25774 SWIG_fail;
25775 if (arg2 == NULL) {
25776 PyErr_SetString(PyExc_TypeError,"null reference");
25777 SWIG_fail;
25778 }
25779 {
25780 PyThreadState* __tstate = wxPyBeginAllowThreads();
25781 (arg1)->PrepareDC(*arg2);
25782
25783 wxPyEndAllowThreads(__tstate);
25784 if (PyErr_Occurred()) SWIG_fail;
25785 }
25786 Py_INCREF(Py_None); resultobj = Py_None;
25787 return resultobj;
25788 fail:
25789 return NULL;
25790 }
25791
25792
25793 static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25794 PyObject *resultobj;
25795 wxWindow *arg1 = (wxWindow *) 0 ;
25796 wxRegion *result;
25797 PyObject * obj0 = 0 ;
25798 char *kwnames[] = {
25799 (char *) "self", NULL
25800 };
25801
25802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
25803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25805 {
25806 PyThreadState* __tstate = wxPyBeginAllowThreads();
25807 {
25808 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
25809 result = (wxRegion *) &_result_ref;
25810 }
25811
25812 wxPyEndAllowThreads(__tstate);
25813 if (PyErr_Occurred()) SWIG_fail;
25814 }
25815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
25816 return resultobj;
25817 fail:
25818 return NULL;
25819 }
25820
25821
25822 static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25823 PyObject *resultobj;
25824 wxWindow *arg1 = (wxWindow *) 0 ;
25825 wxRect result;
25826 PyObject * obj0 = 0 ;
25827 char *kwnames[] = {
25828 (char *) "self", NULL
25829 };
25830
25831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
25832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25834 {
25835 PyThreadState* __tstate = wxPyBeginAllowThreads();
25836 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25837
25838 wxPyEndAllowThreads(__tstate);
25839 if (PyErr_Occurred()) SWIG_fail;
25840 }
25841 {
25842 wxRect * resultptr;
25843 resultptr = new wxRect((wxRect &) result);
25844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25845 }
25846 return resultobj;
25847 fail:
25848 return NULL;
25849 }
25850
25851
25852 static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
25853 PyObject *resultobj;
25854 wxWindow *arg1 = (wxWindow *) 0 ;
25855 int arg2 ;
25856 int arg3 ;
25857 int arg4 = (int) 1 ;
25858 int arg5 = (int) 1 ;
25859 bool result;
25860 PyObject * obj0 = 0 ;
25861 PyObject * obj1 = 0 ;
25862 PyObject * obj2 = 0 ;
25863 PyObject * obj3 = 0 ;
25864 PyObject * obj4 = 0 ;
25865 char *kwnames[] = {
25866 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25867 };
25868
25869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25872 arg2 = (int) SWIG_AsInt(obj1);
25873 if (PyErr_Occurred()) SWIG_fail;
25874 arg3 = (int) SWIG_AsInt(obj2);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 if (obj3) {
25877 arg4 = (int) SWIG_AsInt(obj3);
25878 if (PyErr_Occurred()) SWIG_fail;
25879 }
25880 if (obj4) {
25881 arg5 = (int) SWIG_AsInt(obj4);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 }
25884 {
25885 PyThreadState* __tstate = wxPyBeginAllowThreads();
25886 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25887
25888 wxPyEndAllowThreads(__tstate);
25889 if (PyErr_Occurred()) SWIG_fail;
25890 }
25891 {
25892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25893 }
25894 return resultobj;
25895 fail:
25896 return NULL;
25897 }
25898
25899
25900 static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25901 PyObject *resultobj;
25902 wxWindow *arg1 = (wxWindow *) 0 ;
25903 wxPoint *arg2 = 0 ;
25904 bool result;
25905 wxPoint temp2 ;
25906 PyObject * obj0 = 0 ;
25907 PyObject * obj1 = 0 ;
25908 char *kwnames[] = {
25909 (char *) "self",(char *) "pt", NULL
25910 };
25911
25912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
25913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25915 {
25916 arg2 = &temp2;
25917 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25918 }
25919 {
25920 PyThreadState* __tstate = wxPyBeginAllowThreads();
25921 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25922
25923 wxPyEndAllowThreads(__tstate);
25924 if (PyErr_Occurred()) SWIG_fail;
25925 }
25926 {
25927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25928 }
25929 return resultobj;
25930 fail:
25931 return NULL;
25932 }
25933
25934
25935 static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25936 PyObject *resultobj;
25937 wxWindow *arg1 = (wxWindow *) 0 ;
25938 wxRect *arg2 = 0 ;
25939 bool result;
25940 wxRect temp2 ;
25941 PyObject * obj0 = 0 ;
25942 PyObject * obj1 = 0 ;
25943 char *kwnames[] = {
25944 (char *) "self",(char *) "rect", NULL
25945 };
25946
25947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
25948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25950 {
25951 arg2 = &temp2;
25952 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25953 }
25954 {
25955 PyThreadState* __tstate = wxPyBeginAllowThreads();
25956 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
25957
25958 wxPyEndAllowThreads(__tstate);
25959 if (PyErr_Occurred()) SWIG_fail;
25960 }
25961 {
25962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25963 }
25964 return resultobj;
25965 fail:
25966 return NULL;
25967 }
25968
25969
25970 static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25971 PyObject *resultobj;
25972 wxWindow *arg1 = (wxWindow *) 0 ;
25973 wxVisualAttributes result;
25974 PyObject * obj0 = 0 ;
25975 char *kwnames[] = {
25976 (char *) "self", NULL
25977 };
25978
25979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
25980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 {
25990 wxVisualAttributes * resultptr;
25991 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25993 }
25994 return resultobj;
25995 fail:
25996 return NULL;
25997 }
25998
25999
26000 static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26001 PyObject *resultobj;
26002 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26003 wxVisualAttributes result;
26004 PyObject * obj0 = 0 ;
26005 char *kwnames[] = {
26006 (char *) "variant", NULL
26007 };
26008
26009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26010 if (obj0) {
26011 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 {
26015 if (!wxPyCheckForApp()) SWIG_fail;
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
26018
26019 wxPyEndAllowThreads(__tstate);
26020 if (PyErr_Occurred()) SWIG_fail;
26021 }
26022 {
26023 wxVisualAttributes * resultptr;
26024 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26025 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26026 }
26027 return resultobj;
26028 fail:
26029 return NULL;
26030 }
26031
26032
26033 static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26034 PyObject *resultobj;
26035 wxWindow *arg1 = (wxWindow *) 0 ;
26036 wxColour *arg2 = 0 ;
26037 bool result;
26038 wxColour temp2 ;
26039 PyObject * obj0 = 0 ;
26040 PyObject * obj1 = 0 ;
26041 char *kwnames[] = {
26042 (char *) "self",(char *) "colour", NULL
26043 };
26044
26045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26048 {
26049 arg2 = &temp2;
26050 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26051 }
26052 {
26053 PyThreadState* __tstate = wxPyBeginAllowThreads();
26054 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
26055
26056 wxPyEndAllowThreads(__tstate);
26057 if (PyErr_Occurred()) SWIG_fail;
26058 }
26059 {
26060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26061 }
26062 return resultobj;
26063 fail:
26064 return NULL;
26065 }
26066
26067
26068 static PyObject *_wrap_Window_SetDefaultBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26069 PyObject *resultobj;
26070 wxWindow *arg1 = (wxWindow *) 0 ;
26071 wxColour *arg2 = 0 ;
26072 wxColour temp2 ;
26073 PyObject * obj0 = 0 ;
26074 PyObject * obj1 = 0 ;
26075 char *kwnames[] = {
26076 (char *) "self",(char *) "colour", NULL
26077 };
26078
26079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26082 {
26083 arg2 = &temp2;
26084 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26085 }
26086 {
26087 PyThreadState* __tstate = wxPyBeginAllowThreads();
26088 (arg1)->SetDefaultBackgroundColour((wxColour const &)*arg2);
26089
26090 wxPyEndAllowThreads(__tstate);
26091 if (PyErr_Occurred()) SWIG_fail;
26092 }
26093 Py_INCREF(Py_None); resultobj = Py_None;
26094 return resultobj;
26095 fail:
26096 return NULL;
26097 }
26098
26099
26100 static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26101 PyObject *resultobj;
26102 wxWindow *arg1 = (wxWindow *) 0 ;
26103 wxColour *arg2 = 0 ;
26104 bool result;
26105 wxColour temp2 ;
26106 PyObject * obj0 = 0 ;
26107 PyObject * obj1 = 0 ;
26108 char *kwnames[] = {
26109 (char *) "self",(char *) "colour", NULL
26110 };
26111
26112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
26113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26115 {
26116 arg2 = &temp2;
26117 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26118 }
26119 {
26120 PyThreadState* __tstate = wxPyBeginAllowThreads();
26121 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
26122
26123 wxPyEndAllowThreads(__tstate);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
26126 {
26127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26128 }
26129 return resultobj;
26130 fail:
26131 return NULL;
26132 }
26133
26134
26135 static PyObject *_wrap_Window_SetDefaultForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26136 PyObject *resultobj;
26137 wxWindow *arg1 = (wxWindow *) 0 ;
26138 wxColour *arg2 = 0 ;
26139 wxColour temp2 ;
26140 PyObject * obj0 = 0 ;
26141 PyObject * obj1 = 0 ;
26142 char *kwnames[] = {
26143 (char *) "self",(char *) "colour", NULL
26144 };
26145
26146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultForegroundColour",kwnames,&obj0,&obj1)) goto fail;
26147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26149 {
26150 arg2 = &temp2;
26151 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26152 }
26153 {
26154 PyThreadState* __tstate = wxPyBeginAllowThreads();
26155 (arg1)->SetDefaultForegroundColour((wxColour const &)*arg2);
26156
26157 wxPyEndAllowThreads(__tstate);
26158 if (PyErr_Occurred()) SWIG_fail;
26159 }
26160 Py_INCREF(Py_None); resultobj = Py_None;
26161 return resultobj;
26162 fail:
26163 return NULL;
26164 }
26165
26166
26167 static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26168 PyObject *resultobj;
26169 wxWindow *arg1 = (wxWindow *) 0 ;
26170 wxColour result;
26171 PyObject * obj0 = 0 ;
26172 char *kwnames[] = {
26173 (char *) "self", NULL
26174 };
26175
26176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
26177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26179 {
26180 PyThreadState* __tstate = wxPyBeginAllowThreads();
26181 result = ((wxWindow const *)arg1)->GetBackgroundColour();
26182
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 {
26187 wxColour * resultptr;
26188 resultptr = new wxColour((wxColour &) result);
26189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26190 }
26191 return resultobj;
26192 fail:
26193 return NULL;
26194 }
26195
26196
26197 static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26198 PyObject *resultobj;
26199 wxWindow *arg1 = (wxWindow *) 0 ;
26200 wxColour result;
26201 PyObject * obj0 = 0 ;
26202 char *kwnames[] = {
26203 (char *) "self", NULL
26204 };
26205
26206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
26207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26209 {
26210 PyThreadState* __tstate = wxPyBeginAllowThreads();
26211 result = ((wxWindow const *)arg1)->GetForegroundColour();
26212
26213 wxPyEndAllowThreads(__tstate);
26214 if (PyErr_Occurred()) SWIG_fail;
26215 }
26216 {
26217 wxColour * resultptr;
26218 resultptr = new wxColour((wxColour &) result);
26219 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26220 }
26221 return resultobj;
26222 fail:
26223 return NULL;
26224 }
26225
26226
26227 static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26228 PyObject *resultobj;
26229 wxWindow *arg1 = (wxWindow *) 0 ;
26230 wxCursor *arg2 = 0 ;
26231 bool result;
26232 PyObject * obj0 = 0 ;
26233 PyObject * obj1 = 0 ;
26234 char *kwnames[] = {
26235 (char *) "self",(char *) "cursor", NULL
26236 };
26237
26238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
26239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26242 SWIG_POINTER_EXCEPTION | 0)) == -1)
26243 SWIG_fail;
26244 if (arg2 == NULL) {
26245 PyErr_SetString(PyExc_TypeError,"null reference");
26246 SWIG_fail;
26247 }
26248 {
26249 PyThreadState* __tstate = wxPyBeginAllowThreads();
26250 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26251
26252 wxPyEndAllowThreads(__tstate);
26253 if (PyErr_Occurred()) SWIG_fail;
26254 }
26255 {
26256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26257 }
26258 return resultobj;
26259 fail:
26260 return NULL;
26261 }
26262
26263
26264 static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26265 PyObject *resultobj;
26266 wxWindow *arg1 = (wxWindow *) 0 ;
26267 wxCursor *result;
26268 PyObject * obj0 = 0 ;
26269 char *kwnames[] = {
26270 (char *) "self", NULL
26271 };
26272
26273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
26274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26276 {
26277 PyThreadState* __tstate = wxPyBeginAllowThreads();
26278 {
26279 wxCursor &_result_ref = (arg1)->GetCursor();
26280 result = (wxCursor *) &_result_ref;
26281 }
26282
26283 wxPyEndAllowThreads(__tstate);
26284 if (PyErr_Occurred()) SWIG_fail;
26285 }
26286 {
26287 wxCursor* resultptr = new wxCursor(*result);
26288 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
26289 }
26290 return resultobj;
26291 fail:
26292 return NULL;
26293 }
26294
26295
26296 static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26297 PyObject *resultobj;
26298 wxWindow *arg1 = (wxWindow *) 0 ;
26299 wxFont *arg2 = 0 ;
26300 bool result;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 char *kwnames[] = {
26304 (char *) "self",(char *) "font", NULL
26305 };
26306
26307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
26308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26311 SWIG_POINTER_EXCEPTION | 0)) == -1)
26312 SWIG_fail;
26313 if (arg2 == NULL) {
26314 PyErr_SetString(PyExc_TypeError,"null reference");
26315 SWIG_fail;
26316 }
26317 {
26318 PyThreadState* __tstate = wxPyBeginAllowThreads();
26319 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26320
26321 wxPyEndAllowThreads(__tstate);
26322 if (PyErr_Occurred()) SWIG_fail;
26323 }
26324 {
26325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26326 }
26327 return resultobj;
26328 fail:
26329 return NULL;
26330 }
26331
26332
26333 static PyObject *_wrap_Window_SetDefaultFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26334 PyObject *resultobj;
26335 wxWindow *arg1 = (wxWindow *) 0 ;
26336 wxFont *arg2 = 0 ;
26337 PyObject * obj0 = 0 ;
26338 PyObject * obj1 = 0 ;
26339 char *kwnames[] = {
26340 (char *) "self",(char *) "font", NULL
26341 };
26342
26343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultFont",kwnames,&obj0,&obj1)) goto fail;
26344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26347 SWIG_POINTER_EXCEPTION | 0)) == -1)
26348 SWIG_fail;
26349 if (arg2 == NULL) {
26350 PyErr_SetString(PyExc_TypeError,"null reference");
26351 SWIG_fail;
26352 }
26353 {
26354 PyThreadState* __tstate = wxPyBeginAllowThreads();
26355 (arg1)->SetDefaultFont((wxFont const &)*arg2);
26356
26357 wxPyEndAllowThreads(__tstate);
26358 if (PyErr_Occurred()) SWIG_fail;
26359 }
26360 Py_INCREF(Py_None); resultobj = Py_None;
26361 return resultobj;
26362 fail:
26363 return NULL;
26364 }
26365
26366
26367 static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26368 PyObject *resultobj;
26369 wxWindow *arg1 = (wxWindow *) 0 ;
26370 wxFont *result;
26371 PyObject * obj0 = 0 ;
26372 char *kwnames[] = {
26373 (char *) "self", NULL
26374 };
26375
26376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
26377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26379 {
26380 PyThreadState* __tstate = wxPyBeginAllowThreads();
26381 {
26382 wxFont &_result_ref = (arg1)->GetFont();
26383 result = (wxFont *) &_result_ref;
26384 }
26385
26386 wxPyEndAllowThreads(__tstate);
26387 if (PyErr_Occurred()) SWIG_fail;
26388 }
26389 {
26390 wxFont* resultptr = new wxFont(*result);
26391 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
26392 }
26393 return resultobj;
26394 fail:
26395 return NULL;
26396 }
26397
26398
26399 static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26400 PyObject *resultobj;
26401 wxWindow *arg1 = (wxWindow *) 0 ;
26402 wxCaret *arg2 = (wxCaret *) 0 ;
26403 PyObject * obj0 = 0 ;
26404 PyObject * obj1 = 0 ;
26405 char *kwnames[] = {
26406 (char *) "self",(char *) "caret", NULL
26407 };
26408
26409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
26410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
26413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26414 {
26415 PyThreadState* __tstate = wxPyBeginAllowThreads();
26416 (arg1)->SetCaret(arg2);
26417
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 Py_INCREF(Py_None); resultobj = Py_None;
26422 return resultobj;
26423 fail:
26424 return NULL;
26425 }
26426
26427
26428 static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26429 PyObject *resultobj;
26430 wxWindow *arg1 = (wxWindow *) 0 ;
26431 wxCaret *result;
26432 PyObject * obj0 = 0 ;
26433 char *kwnames[] = {
26434 (char *) "self", NULL
26435 };
26436
26437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
26438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
26443
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
26448 return resultobj;
26449 fail:
26450 return NULL;
26451 }
26452
26453
26454 static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj;
26456 wxWindow *arg1 = (wxWindow *) 0 ;
26457 int result;
26458 PyObject * obj0 = 0 ;
26459 char *kwnames[] = {
26460 (char *) "self", NULL
26461 };
26462
26463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
26464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26466 {
26467 PyThreadState* __tstate = wxPyBeginAllowThreads();
26468 result = (int)((wxWindow const *)arg1)->GetCharHeight();
26469
26470 wxPyEndAllowThreads(__tstate);
26471 if (PyErr_Occurred()) SWIG_fail;
26472 }
26473 resultobj = SWIG_FromInt((int)result);
26474 return resultobj;
26475 fail:
26476 return NULL;
26477 }
26478
26479
26480 static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26481 PyObject *resultobj;
26482 wxWindow *arg1 = (wxWindow *) 0 ;
26483 int result;
26484 PyObject * obj0 = 0 ;
26485 char *kwnames[] = {
26486 (char *) "self", NULL
26487 };
26488
26489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
26490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26492 {
26493 PyThreadState* __tstate = wxPyBeginAllowThreads();
26494 result = (int)((wxWindow const *)arg1)->GetCharWidth();
26495
26496 wxPyEndAllowThreads(__tstate);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 }
26499 resultobj = SWIG_FromInt((int)result);
26500 return resultobj;
26501 fail:
26502 return NULL;
26503 }
26504
26505
26506 static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26507 PyObject *resultobj;
26508 wxWindow *arg1 = (wxWindow *) 0 ;
26509 wxString *arg2 = 0 ;
26510 int *arg3 = (int *) 0 ;
26511 int *arg4 = (int *) 0 ;
26512 bool temp2 = False ;
26513 int temp3 ;
26514 int temp4 ;
26515 PyObject * obj0 = 0 ;
26516 PyObject * obj1 = 0 ;
26517 char *kwnames[] = {
26518 (char *) "self",(char *) "string", NULL
26519 };
26520
26521 arg3 = &temp3;
26522 arg4 = &temp4;
26523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
26524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26526 {
26527 arg2 = wxString_in_helper(obj1);
26528 if (arg2 == NULL) SWIG_fail;
26529 temp2 = True;
26530 }
26531 {
26532 PyThreadState* __tstate = wxPyBeginAllowThreads();
26533 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
26534
26535 wxPyEndAllowThreads(__tstate);
26536 if (PyErr_Occurred()) SWIG_fail;
26537 }
26538 Py_INCREF(Py_None); resultobj = Py_None;
26539 {
26540 PyObject *o = PyInt_FromLong((long) (*arg3));
26541 resultobj = t_output_helper(resultobj,o);
26542 }
26543 {
26544 PyObject *o = PyInt_FromLong((long) (*arg4));
26545 resultobj = t_output_helper(resultobj,o);
26546 }
26547 {
26548 if (temp2)
26549 delete arg2;
26550 }
26551 return resultobj;
26552 fail:
26553 {
26554 if (temp2)
26555 delete arg2;
26556 }
26557 return NULL;
26558 }
26559
26560
26561 static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26562 PyObject *resultobj;
26563 wxWindow *arg1 = (wxWindow *) 0 ;
26564 wxString *arg2 = 0 ;
26565 int *arg3 = (int *) 0 ;
26566 int *arg4 = (int *) 0 ;
26567 int *arg5 = (int *) 0 ;
26568 int *arg6 = (int *) 0 ;
26569 wxFont *arg7 = (wxFont *) NULL ;
26570 bool temp2 = False ;
26571 int temp3 ;
26572 int temp4 ;
26573 int temp5 ;
26574 int temp6 ;
26575 PyObject * obj0 = 0 ;
26576 PyObject * obj1 = 0 ;
26577 PyObject * obj2 = 0 ;
26578 char *kwnames[] = {
26579 (char *) "self",(char *) "string",(char *) "font", NULL
26580 };
26581
26582 arg3 = &temp3;
26583 arg4 = &temp4;
26584 arg5 = &temp5;
26585 arg6 = &temp6;
26586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
26587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26589 {
26590 arg2 = wxString_in_helper(obj1);
26591 if (arg2 == NULL) SWIG_fail;
26592 temp2 = True;
26593 }
26594 if (obj2) {
26595 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
26596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26597 }
26598 {
26599 PyThreadState* __tstate = wxPyBeginAllowThreads();
26600 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
26601
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 Py_INCREF(Py_None); resultobj = Py_None;
26606 {
26607 PyObject *o = PyInt_FromLong((long) (*arg3));
26608 resultobj = t_output_helper(resultobj,o);
26609 }
26610 {
26611 PyObject *o = PyInt_FromLong((long) (*arg4));
26612 resultobj = t_output_helper(resultobj,o);
26613 }
26614 {
26615 PyObject *o = PyInt_FromLong((long) (*arg5));
26616 resultobj = t_output_helper(resultobj,o);
26617 }
26618 {
26619 PyObject *o = PyInt_FromLong((long) (*arg6));
26620 resultobj = t_output_helper(resultobj,o);
26621 }
26622 {
26623 if (temp2)
26624 delete arg2;
26625 }
26626 return resultobj;
26627 fail:
26628 {
26629 if (temp2)
26630 delete arg2;
26631 }
26632 return NULL;
26633 }
26634
26635
26636 static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26637 PyObject *resultobj;
26638 wxWindow *arg1 = (wxWindow *) 0 ;
26639 int *arg2 = (int *) 0 ;
26640 int *arg3 = (int *) 0 ;
26641 int temp2 ;
26642 int temp3 ;
26643 PyObject * obj0 = 0 ;
26644 PyObject * obj1 = 0 ;
26645 PyObject * obj2 = 0 ;
26646 char *kwnames[] = {
26647 (char *) "self",(char *) "x",(char *) "y", NULL
26648 };
26649
26650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
26651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26653 {
26654 temp2 = PyInt_AsLong(obj1);
26655 if (PyErr_Occurred()) SWIG_fail;
26656 arg2 = &temp2;
26657 }
26658 {
26659 temp3 = PyInt_AsLong(obj2);
26660 if (PyErr_Occurred()) SWIG_fail;
26661 arg3 = &temp3;
26662 }
26663 {
26664 PyThreadState* __tstate = wxPyBeginAllowThreads();
26665 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
26666
26667 wxPyEndAllowThreads(__tstate);
26668 if (PyErr_Occurred()) SWIG_fail;
26669 }
26670 Py_INCREF(Py_None); resultobj = Py_None;
26671 {
26672 PyObject *o = PyInt_FromLong((long) (*arg2));
26673 resultobj = t_output_helper(resultobj,o);
26674 }
26675 {
26676 PyObject *o = PyInt_FromLong((long) (*arg3));
26677 resultobj = t_output_helper(resultobj,o);
26678 }
26679 return resultobj;
26680 fail:
26681 return NULL;
26682 }
26683
26684
26685 static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26686 PyObject *resultobj;
26687 wxWindow *arg1 = (wxWindow *) 0 ;
26688 int *arg2 = (int *) 0 ;
26689 int *arg3 = (int *) 0 ;
26690 int temp2 ;
26691 int temp3 ;
26692 PyObject * obj0 = 0 ;
26693 PyObject * obj1 = 0 ;
26694 PyObject * obj2 = 0 ;
26695 char *kwnames[] = {
26696 (char *) "self",(char *) "x",(char *) "y", NULL
26697 };
26698
26699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
26700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26702 {
26703 temp2 = PyInt_AsLong(obj1);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 arg2 = &temp2;
26706 }
26707 {
26708 temp3 = PyInt_AsLong(obj2);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 arg3 = &temp3;
26711 }
26712 {
26713 PyThreadState* __tstate = wxPyBeginAllowThreads();
26714 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
26715
26716 wxPyEndAllowThreads(__tstate);
26717 if (PyErr_Occurred()) SWIG_fail;
26718 }
26719 Py_INCREF(Py_None); resultobj = Py_None;
26720 {
26721 PyObject *o = PyInt_FromLong((long) (*arg2));
26722 resultobj = t_output_helper(resultobj,o);
26723 }
26724 {
26725 PyObject *o = PyInt_FromLong((long) (*arg3));
26726 resultobj = t_output_helper(resultobj,o);
26727 }
26728 return resultobj;
26729 fail:
26730 return NULL;
26731 }
26732
26733
26734 static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
26735 PyObject *resultobj;
26736 wxWindow *arg1 = (wxWindow *) 0 ;
26737 wxPoint *arg2 = 0 ;
26738 wxPoint result;
26739 wxPoint temp2 ;
26740 PyObject * obj0 = 0 ;
26741 PyObject * obj1 = 0 ;
26742 char *kwnames[] = {
26743 (char *) "self",(char *) "pt", NULL
26744 };
26745
26746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
26747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26749 {
26750 arg2 = &temp2;
26751 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26752 }
26753 {
26754 PyThreadState* __tstate = wxPyBeginAllowThreads();
26755 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
26756
26757 wxPyEndAllowThreads(__tstate);
26758 if (PyErr_Occurred()) SWIG_fail;
26759 }
26760 {
26761 wxPoint * resultptr;
26762 resultptr = new wxPoint((wxPoint &) result);
26763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26764 }
26765 return resultobj;
26766 fail:
26767 return NULL;
26768 }
26769
26770
26771 static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
26772 PyObject *resultobj;
26773 wxWindow *arg1 = (wxWindow *) 0 ;
26774 wxPoint *arg2 = 0 ;
26775 wxPoint result;
26776 wxPoint temp2 ;
26777 PyObject * obj0 = 0 ;
26778 PyObject * obj1 = 0 ;
26779 char *kwnames[] = {
26780 (char *) "self",(char *) "pt", NULL
26781 };
26782
26783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
26784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26786 {
26787 arg2 = &temp2;
26788 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26789 }
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
26793
26794 wxPyEndAllowThreads(__tstate);
26795 if (PyErr_Occurred()) SWIG_fail;
26796 }
26797 {
26798 wxPoint * resultptr;
26799 resultptr = new wxPoint((wxPoint &) result);
26800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26801 }
26802 return resultobj;
26803 fail:
26804 return NULL;
26805 }
26806
26807
26808 static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26809 PyObject *resultobj;
26810 wxWindow *arg1 = (wxWindow *) 0 ;
26811 int arg2 ;
26812 int arg3 ;
26813 int result;
26814 PyObject * obj0 = 0 ;
26815 PyObject * obj1 = 0 ;
26816 PyObject * obj2 = 0 ;
26817 char *kwnames[] = {
26818 (char *) "self",(char *) "x",(char *) "y", NULL
26819 };
26820
26821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
26822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26824 arg2 = (int) SWIG_AsInt(obj1);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 arg3 = (int) SWIG_AsInt(obj2);
26827 if (PyErr_Occurred()) SWIG_fail;
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
26831
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 resultobj = SWIG_FromInt((int)result);
26836 return resultobj;
26837 fail:
26838 return NULL;
26839 }
26840
26841
26842 static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26843 PyObject *resultobj;
26844 wxWindow *arg1 = (wxWindow *) 0 ;
26845 wxPoint *arg2 = 0 ;
26846 int result;
26847 wxPoint temp2 ;
26848 PyObject * obj0 = 0 ;
26849 PyObject * obj1 = 0 ;
26850 char *kwnames[] = {
26851 (char *) "self",(char *) "pt", NULL
26852 };
26853
26854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
26855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26857 {
26858 arg2 = &temp2;
26859 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26860 }
26861 {
26862 PyThreadState* __tstate = wxPyBeginAllowThreads();
26863 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
26864
26865 wxPyEndAllowThreads(__tstate);
26866 if (PyErr_Occurred()) SWIG_fail;
26867 }
26868 resultobj = SWIG_FromInt((int)result);
26869 return resultobj;
26870 fail:
26871 return NULL;
26872 }
26873
26874
26875 static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
26876 PyObject *resultobj;
26877 wxWindow *arg1 = (wxWindow *) 0 ;
26878 long arg2 ;
26879 int result;
26880 PyObject * obj0 = 0 ;
26881 PyObject * obj1 = 0 ;
26882
26883 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
26884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26886 arg2 = (long) SWIG_AsLong(obj1);
26887 if (PyErr_Occurred()) SWIG_fail;
26888 {
26889 PyThreadState* __tstate = wxPyBeginAllowThreads();
26890 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
26891
26892 wxPyEndAllowThreads(__tstate);
26893 if (PyErr_Occurred()) SWIG_fail;
26894 }
26895 resultobj = SWIG_FromInt((int)result);
26896 return resultobj;
26897 fail:
26898 return NULL;
26899 }
26900
26901
26902 static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
26903 PyObject *resultobj;
26904 wxWindow *arg1 = (wxWindow *) 0 ;
26905 int result;
26906 PyObject * obj0 = 0 ;
26907
26908 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
26909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26911 {
26912 PyThreadState* __tstate = wxPyBeginAllowThreads();
26913 result = (int)((wxWindow const *)arg1)->GetBorder();
26914
26915 wxPyEndAllowThreads(__tstate);
26916 if (PyErr_Occurred()) SWIG_fail;
26917 }
26918 resultobj = SWIG_FromInt((int)result);
26919 return resultobj;
26920 fail:
26921 return NULL;
26922 }
26923
26924
26925 static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
26926 int argc;
26927 PyObject *argv[3];
26928 int ii;
26929
26930 argc = PyObject_Length(args);
26931 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26932 argv[ii] = PyTuple_GetItem(args,ii);
26933 }
26934 if (argc == 1) {
26935 int _v;
26936 {
26937 void *ptr;
26938 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26939 _v = 0;
26940 PyErr_Clear();
26941 } else {
26942 _v = 1;
26943 }
26944 }
26945 if (_v) {
26946 return _wrap_Window_GetBorder__SWIG_1(self,args);
26947 }
26948 }
26949 if (argc == 2) {
26950 int _v;
26951 {
26952 void *ptr;
26953 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26954 _v = 0;
26955 PyErr_Clear();
26956 } else {
26957 _v = 1;
26958 }
26959 }
26960 if (_v) {
26961 _v = SWIG_CheckLong(argv[1]);
26962 if (_v) {
26963 return _wrap_Window_GetBorder__SWIG_0(self,args);
26964 }
26965 }
26966 }
26967
26968 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
26969 return NULL;
26970 }
26971
26972
26973 static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26974 PyObject *resultobj;
26975 wxWindow *arg1 = (wxWindow *) 0 ;
26976 long arg2 = (long) wxUPDATE_UI_NONE ;
26977 PyObject * obj0 = 0 ;
26978 PyObject * obj1 = 0 ;
26979 char *kwnames[] = {
26980 (char *) "self",(char *) "flags", NULL
26981 };
26982
26983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
26984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26986 if (obj1) {
26987 arg2 = (long) SWIG_AsLong(obj1);
26988 if (PyErr_Occurred()) SWIG_fail;
26989 }
26990 {
26991 PyThreadState* __tstate = wxPyBeginAllowThreads();
26992 (arg1)->UpdateWindowUI(arg2);
26993
26994 wxPyEndAllowThreads(__tstate);
26995 if (PyErr_Occurred()) SWIG_fail;
26996 }
26997 Py_INCREF(Py_None); resultobj = Py_None;
26998 return resultobj;
26999 fail:
27000 return NULL;
27001 }
27002
27003
27004 static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
27005 PyObject *resultobj;
27006 wxWindow *arg1 = (wxWindow *) 0 ;
27007 wxMenu *arg2 = (wxMenu *) 0 ;
27008 int arg3 = (int) -1 ;
27009 int arg4 = (int) -1 ;
27010 bool result;
27011 PyObject * obj0 = 0 ;
27012 PyObject * obj1 = 0 ;
27013 PyObject * obj2 = 0 ;
27014 PyObject * obj3 = 0 ;
27015 char *kwnames[] = {
27016 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27017 };
27018
27019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27024 if (obj2) {
27025 arg3 = (int) SWIG_AsInt(obj2);
27026 if (PyErr_Occurred()) SWIG_fail;
27027 }
27028 if (obj3) {
27029 arg4 = (int) SWIG_AsInt(obj3);
27030 if (PyErr_Occurred()) SWIG_fail;
27031 }
27032 {
27033 PyThreadState* __tstate = wxPyBeginAllowThreads();
27034 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
27035
27036 wxPyEndAllowThreads(__tstate);
27037 if (PyErr_Occurred()) SWIG_fail;
27038 }
27039 {
27040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27041 }
27042 return resultobj;
27043 fail:
27044 return NULL;
27045 }
27046
27047
27048 static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27049 PyObject *resultobj;
27050 wxWindow *arg1 = (wxWindow *) 0 ;
27051 wxMenu *arg2 = (wxMenu *) 0 ;
27052 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27053 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27054 bool result;
27055 wxPoint temp3 ;
27056 PyObject * obj0 = 0 ;
27057 PyObject * obj1 = 0 ;
27058 PyObject * obj2 = 0 ;
27059 char *kwnames[] = {
27060 (char *) "self",(char *) "menu",(char *) "pos", NULL
27061 };
27062
27063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
27064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27068 if (obj2) {
27069 {
27070 arg3 = &temp3;
27071 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27072 }
27073 }
27074 {
27075 PyThreadState* __tstate = wxPyBeginAllowThreads();
27076 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
27077
27078 wxPyEndAllowThreads(__tstate);
27079 if (PyErr_Occurred()) SWIG_fail;
27080 }
27081 {
27082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27083 }
27084 return resultobj;
27085 fail:
27086 return NULL;
27087 }
27088
27089
27090 static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
27091 PyObject *resultobj;
27092 wxWindow *arg1 = (wxWindow *) 0 ;
27093 long result;
27094 PyObject * obj0 = 0 ;
27095 char *kwnames[] = {
27096 (char *) "self", NULL
27097 };
27098
27099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
27100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27102 {
27103 PyThreadState* __tstate = wxPyBeginAllowThreads();
27104 result = (long)wxWindow_GetHandle(arg1);
27105
27106 wxPyEndAllowThreads(__tstate);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 }
27109 resultobj = SWIG_FromLong((long)result);
27110 return resultobj;
27111 fail:
27112 return NULL;
27113 }
27114
27115
27116 static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27117 PyObject *resultobj;
27118 wxWindow *arg1 = (wxWindow *) 0 ;
27119 int arg2 ;
27120 bool result;
27121 PyObject * obj0 = 0 ;
27122 PyObject * obj1 = 0 ;
27123 char *kwnames[] = {
27124 (char *) "self",(char *) "orient", NULL
27125 };
27126
27127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
27128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27130 arg2 = (int) SWIG_AsInt(obj1);
27131 if (PyErr_Occurred()) SWIG_fail;
27132 {
27133 PyThreadState* __tstate = wxPyBeginAllowThreads();
27134 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
27135
27136 wxPyEndAllowThreads(__tstate);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 }
27139 {
27140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27141 }
27142 return resultobj;
27143 fail:
27144 return NULL;
27145 }
27146
27147
27148 static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27149 PyObject *resultobj;
27150 wxWindow *arg1 = (wxWindow *) 0 ;
27151 int arg2 ;
27152 int arg3 ;
27153 int arg4 ;
27154 int arg5 ;
27155 bool arg6 = (bool) True ;
27156 PyObject * obj0 = 0 ;
27157 PyObject * obj1 = 0 ;
27158 PyObject * obj2 = 0 ;
27159 PyObject * obj3 = 0 ;
27160 PyObject * obj4 = 0 ;
27161 PyObject * obj5 = 0 ;
27162 char *kwnames[] = {
27163 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27164 };
27165
27166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27169 arg2 = (int) SWIG_AsInt(obj1);
27170 if (PyErr_Occurred()) SWIG_fail;
27171 arg3 = (int) SWIG_AsInt(obj2);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 arg4 = (int) SWIG_AsInt(obj3);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 arg5 = (int) SWIG_AsInt(obj4);
27176 if (PyErr_Occurred()) SWIG_fail;
27177 if (obj5) {
27178 arg6 = (bool) SWIG_AsBool(obj5);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 {
27182 PyThreadState* __tstate = wxPyBeginAllowThreads();
27183 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
27184
27185 wxPyEndAllowThreads(__tstate);
27186 if (PyErr_Occurred()) SWIG_fail;
27187 }
27188 Py_INCREF(Py_None); resultobj = Py_None;
27189 return resultobj;
27190 fail:
27191 return NULL;
27192 }
27193
27194
27195 static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27196 PyObject *resultobj;
27197 wxWindow *arg1 = (wxWindow *) 0 ;
27198 int arg2 ;
27199 int arg3 ;
27200 bool arg4 = (bool) True ;
27201 PyObject * obj0 = 0 ;
27202 PyObject * obj1 = 0 ;
27203 PyObject * obj2 = 0 ;
27204 PyObject * obj3 = 0 ;
27205 char *kwnames[] = {
27206 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27207 };
27208
27209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27212 arg2 = (int) SWIG_AsInt(obj1);
27213 if (PyErr_Occurred()) SWIG_fail;
27214 arg3 = (int) SWIG_AsInt(obj2);
27215 if (PyErr_Occurred()) SWIG_fail;
27216 if (obj3) {
27217 arg4 = (bool) SWIG_AsBool(obj3);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 (arg1)->SetScrollPos(arg2,arg3,arg4);
27223
27224 wxPyEndAllowThreads(__tstate);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 Py_INCREF(Py_None); resultobj = Py_None;
27228 return resultobj;
27229 fail:
27230 return NULL;
27231 }
27232
27233
27234 static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27235 PyObject *resultobj;
27236 wxWindow *arg1 = (wxWindow *) 0 ;
27237 int arg2 ;
27238 int result;
27239 PyObject * obj0 = 0 ;
27240 PyObject * obj1 = 0 ;
27241 char *kwnames[] = {
27242 (char *) "self",(char *) "orientation", NULL
27243 };
27244
27245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
27246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27248 arg2 = (int) SWIG_AsInt(obj1);
27249 if (PyErr_Occurred()) SWIG_fail;
27250 {
27251 PyThreadState* __tstate = wxPyBeginAllowThreads();
27252 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27253
27254 wxPyEndAllowThreads(__tstate);
27255 if (PyErr_Occurred()) SWIG_fail;
27256 }
27257 resultobj = SWIG_FromInt((int)result);
27258 return resultobj;
27259 fail:
27260 return NULL;
27261 }
27262
27263
27264 static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
27265 PyObject *resultobj;
27266 wxWindow *arg1 = (wxWindow *) 0 ;
27267 int arg2 ;
27268 int result;
27269 PyObject * obj0 = 0 ;
27270 PyObject * obj1 = 0 ;
27271 char *kwnames[] = {
27272 (char *) "self",(char *) "orientation", NULL
27273 };
27274
27275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
27276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27278 arg2 = (int) SWIG_AsInt(obj1);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 {
27281 PyThreadState* __tstate = wxPyBeginAllowThreads();
27282 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
27283
27284 wxPyEndAllowThreads(__tstate);
27285 if (PyErr_Occurred()) SWIG_fail;
27286 }
27287 resultobj = SWIG_FromInt((int)result);
27288 return resultobj;
27289 fail:
27290 return NULL;
27291 }
27292
27293
27294 static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
27295 PyObject *resultobj;
27296 wxWindow *arg1 = (wxWindow *) 0 ;
27297 int arg2 ;
27298 int result;
27299 PyObject * obj0 = 0 ;
27300 PyObject * obj1 = 0 ;
27301 char *kwnames[] = {
27302 (char *) "self",(char *) "orientation", NULL
27303 };
27304
27305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
27306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27308 arg2 = (int) SWIG_AsInt(obj1);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 {
27311 PyThreadState* __tstate = wxPyBeginAllowThreads();
27312 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
27313
27314 wxPyEndAllowThreads(__tstate);
27315 if (PyErr_Occurred()) SWIG_fail;
27316 }
27317 resultobj = SWIG_FromInt((int)result);
27318 return resultobj;
27319 fail:
27320 return NULL;
27321 }
27322
27323
27324 static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27325 PyObject *resultobj;
27326 wxWindow *arg1 = (wxWindow *) 0 ;
27327 int arg2 ;
27328 int arg3 ;
27329 wxRect *arg4 = (wxRect *) NULL ;
27330 PyObject * obj0 = 0 ;
27331 PyObject * obj1 = 0 ;
27332 PyObject * obj2 = 0 ;
27333 PyObject * obj3 = 0 ;
27334 char *kwnames[] = {
27335 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27336 };
27337
27338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27341 arg2 = (int) SWIG_AsInt(obj1);
27342 if (PyErr_Occurred()) SWIG_fail;
27343 arg3 = (int) SWIG_AsInt(obj2);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 if (obj3) {
27346 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
27347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27348 }
27349 {
27350 PyThreadState* __tstate = wxPyBeginAllowThreads();
27351 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
27352
27353 wxPyEndAllowThreads(__tstate);
27354 if (PyErr_Occurred()) SWIG_fail;
27355 }
27356 Py_INCREF(Py_None); resultobj = Py_None;
27357 return resultobj;
27358 fail:
27359 return NULL;
27360 }
27361
27362
27363 static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
27364 PyObject *resultobj;
27365 wxWindow *arg1 = (wxWindow *) 0 ;
27366 int arg2 ;
27367 bool result;
27368 PyObject * obj0 = 0 ;
27369 PyObject * obj1 = 0 ;
27370 char *kwnames[] = {
27371 (char *) "self",(char *) "lines", NULL
27372 };
27373
27374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
27375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27377 arg2 = (int) SWIG_AsInt(obj1);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 {
27380 PyThreadState* __tstate = wxPyBeginAllowThreads();
27381 result = (bool)(arg1)->ScrollLines(arg2);
27382
27383 wxPyEndAllowThreads(__tstate);
27384 if (PyErr_Occurred()) SWIG_fail;
27385 }
27386 {
27387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27388 }
27389 return resultobj;
27390 fail:
27391 return NULL;
27392 }
27393
27394
27395 static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
27396 PyObject *resultobj;
27397 wxWindow *arg1 = (wxWindow *) 0 ;
27398 int arg2 ;
27399 bool result;
27400 PyObject * obj0 = 0 ;
27401 PyObject * obj1 = 0 ;
27402 char *kwnames[] = {
27403 (char *) "self",(char *) "pages", NULL
27404 };
27405
27406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
27407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27409 arg2 = (int) SWIG_AsInt(obj1);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 {
27412 PyThreadState* __tstate = wxPyBeginAllowThreads();
27413 result = (bool)(arg1)->ScrollPages(arg2);
27414
27415 wxPyEndAllowThreads(__tstate);
27416 if (PyErr_Occurred()) SWIG_fail;
27417 }
27418 {
27419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27420 }
27421 return resultobj;
27422 fail:
27423 return NULL;
27424 }
27425
27426
27427 static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27428 PyObject *resultobj;
27429 wxWindow *arg1 = (wxWindow *) 0 ;
27430 bool result;
27431 PyObject * obj0 = 0 ;
27432 char *kwnames[] = {
27433 (char *) "self", NULL
27434 };
27435
27436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
27437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27439 {
27440 PyThreadState* __tstate = wxPyBeginAllowThreads();
27441 result = (bool)(arg1)->LineUp();
27442
27443 wxPyEndAllowThreads(__tstate);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 {
27447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27448 }
27449 return resultobj;
27450 fail:
27451 return NULL;
27452 }
27453
27454
27455 static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27456 PyObject *resultobj;
27457 wxWindow *arg1 = (wxWindow *) 0 ;
27458 bool result;
27459 PyObject * obj0 = 0 ;
27460 char *kwnames[] = {
27461 (char *) "self", NULL
27462 };
27463
27464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
27465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27467 {
27468 PyThreadState* __tstate = wxPyBeginAllowThreads();
27469 result = (bool)(arg1)->LineDown();
27470
27471 wxPyEndAllowThreads(__tstate);
27472 if (PyErr_Occurred()) SWIG_fail;
27473 }
27474 {
27475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27476 }
27477 return resultobj;
27478 fail:
27479 return NULL;
27480 }
27481
27482
27483 static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27484 PyObject *resultobj;
27485 wxWindow *arg1 = (wxWindow *) 0 ;
27486 bool result;
27487 PyObject * obj0 = 0 ;
27488 char *kwnames[] = {
27489 (char *) "self", NULL
27490 };
27491
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
27493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27495 {
27496 PyThreadState* __tstate = wxPyBeginAllowThreads();
27497 result = (bool)(arg1)->PageUp();
27498
27499 wxPyEndAllowThreads(__tstate);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 {
27503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27504 }
27505 return resultobj;
27506 fail:
27507 return NULL;
27508 }
27509
27510
27511 static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27512 PyObject *resultobj;
27513 wxWindow *arg1 = (wxWindow *) 0 ;
27514 bool result;
27515 PyObject * obj0 = 0 ;
27516 char *kwnames[] = {
27517 (char *) "self", NULL
27518 };
27519
27520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
27521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 result = (bool)(arg1)->PageDown();
27526
27527 wxPyEndAllowThreads(__tstate);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 {
27531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27532 }
27533 return resultobj;
27534 fail:
27535 return NULL;
27536 }
27537
27538
27539 static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27540 PyObject *resultobj;
27541 wxWindow *arg1 = (wxWindow *) 0 ;
27542 wxString *arg2 = 0 ;
27543 bool temp2 = False ;
27544 PyObject * obj0 = 0 ;
27545 PyObject * obj1 = 0 ;
27546 char *kwnames[] = {
27547 (char *) "self",(char *) "text", NULL
27548 };
27549
27550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
27551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27553 {
27554 arg2 = wxString_in_helper(obj1);
27555 if (arg2 == NULL) SWIG_fail;
27556 temp2 = True;
27557 }
27558 {
27559 PyThreadState* __tstate = wxPyBeginAllowThreads();
27560 (arg1)->SetHelpText((wxString const &)*arg2);
27561
27562 wxPyEndAllowThreads(__tstate);
27563 if (PyErr_Occurred()) SWIG_fail;
27564 }
27565 Py_INCREF(Py_None); resultobj = Py_None;
27566 {
27567 if (temp2)
27568 delete arg2;
27569 }
27570 return resultobj;
27571 fail:
27572 {
27573 if (temp2)
27574 delete arg2;
27575 }
27576 return NULL;
27577 }
27578
27579
27580 static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
27581 PyObject *resultobj;
27582 wxWindow *arg1 = (wxWindow *) 0 ;
27583 wxString *arg2 = 0 ;
27584 bool temp2 = False ;
27585 PyObject * obj0 = 0 ;
27586 PyObject * obj1 = 0 ;
27587 char *kwnames[] = {
27588 (char *) "self",(char *) "text", NULL
27589 };
27590
27591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
27592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27594 {
27595 arg2 = wxString_in_helper(obj1);
27596 if (arg2 == NULL) SWIG_fail;
27597 temp2 = True;
27598 }
27599 {
27600 PyThreadState* __tstate = wxPyBeginAllowThreads();
27601 (arg1)->SetHelpTextForId((wxString const &)*arg2);
27602
27603 wxPyEndAllowThreads(__tstate);
27604 if (PyErr_Occurred()) SWIG_fail;
27605 }
27606 Py_INCREF(Py_None); resultobj = Py_None;
27607 {
27608 if (temp2)
27609 delete arg2;
27610 }
27611 return resultobj;
27612 fail:
27613 {
27614 if (temp2)
27615 delete arg2;
27616 }
27617 return NULL;
27618 }
27619
27620
27621 static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27622 PyObject *resultobj;
27623 wxWindow *arg1 = (wxWindow *) 0 ;
27624 wxString result;
27625 PyObject * obj0 = 0 ;
27626 char *kwnames[] = {
27627 (char *) "self", NULL
27628 };
27629
27630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
27631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27633 {
27634 PyThreadState* __tstate = wxPyBeginAllowThreads();
27635 result = ((wxWindow const *)arg1)->GetHelpText();
27636
27637 wxPyEndAllowThreads(__tstate);
27638 if (PyErr_Occurred()) SWIG_fail;
27639 }
27640 {
27641 #if wxUSE_UNICODE
27642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27643 #else
27644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27645 #endif
27646 }
27647 return resultobj;
27648 fail:
27649 return NULL;
27650 }
27651
27652
27653 static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
27654 PyObject *resultobj;
27655 wxWindow *arg1 = (wxWindow *) 0 ;
27656 wxString *arg2 = 0 ;
27657 bool temp2 = False ;
27658 PyObject * obj0 = 0 ;
27659 PyObject * obj1 = 0 ;
27660 char *kwnames[] = {
27661 (char *) "self",(char *) "tip", NULL
27662 };
27663
27664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
27665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27667 {
27668 arg2 = wxString_in_helper(obj1);
27669 if (arg2 == NULL) SWIG_fail;
27670 temp2 = True;
27671 }
27672 {
27673 PyThreadState* __tstate = wxPyBeginAllowThreads();
27674 (arg1)->SetToolTip((wxString const &)*arg2);
27675
27676 wxPyEndAllowThreads(__tstate);
27677 if (PyErr_Occurred()) SWIG_fail;
27678 }
27679 Py_INCREF(Py_None); resultobj = Py_None;
27680 {
27681 if (temp2)
27682 delete arg2;
27683 }
27684 return resultobj;
27685 fail:
27686 {
27687 if (temp2)
27688 delete arg2;
27689 }
27690 return NULL;
27691 }
27692
27693
27694 static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27695 PyObject *resultobj;
27696 wxWindow *arg1 = (wxWindow *) 0 ;
27697 wxToolTip *arg2 = (wxToolTip *) 0 ;
27698 PyObject * obj0 = 0 ;
27699 PyObject * obj1 = 0 ;
27700 char *kwnames[] = {
27701 (char *) "self",(char *) "tip", NULL
27702 };
27703
27704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
27708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27709 {
27710 PyThreadState* __tstate = wxPyBeginAllowThreads();
27711 (arg1)->SetToolTip(arg2);
27712
27713 wxPyEndAllowThreads(__tstate);
27714 if (PyErr_Occurred()) SWIG_fail;
27715 }
27716 Py_INCREF(Py_None); resultobj = Py_None;
27717 return resultobj;
27718 fail:
27719 return NULL;
27720 }
27721
27722
27723 static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27724 PyObject *resultobj;
27725 wxWindow *arg1 = (wxWindow *) 0 ;
27726 wxToolTip *result;
27727 PyObject * obj0 = 0 ;
27728 char *kwnames[] = {
27729 (char *) "self", NULL
27730 };
27731
27732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
27733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27735 {
27736 PyThreadState* __tstate = wxPyBeginAllowThreads();
27737 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
27738
27739 wxPyEndAllowThreads(__tstate);
27740 if (PyErr_Occurred()) SWIG_fail;
27741 }
27742 {
27743 resultobj = wxPyMake_wxObject(result);
27744 }
27745 return resultobj;
27746 fail:
27747 return NULL;
27748 }
27749
27750
27751 static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27752 PyObject *resultobj;
27753 wxWindow *arg1 = (wxWindow *) 0 ;
27754 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
27755 PyObject * obj0 = 0 ;
27756 PyObject * obj1 = 0 ;
27757 char *kwnames[] = {
27758 (char *) "self",(char *) "dropTarget", NULL
27759 };
27760
27761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
27762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27764 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
27765 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27766 {
27767 PyThreadState* __tstate = wxPyBeginAllowThreads();
27768 (arg1)->SetDropTarget(arg2);
27769
27770 wxPyEndAllowThreads(__tstate);
27771 if (PyErr_Occurred()) SWIG_fail;
27772 }
27773 Py_INCREF(Py_None); resultobj = Py_None;
27774 return resultobj;
27775 fail:
27776 return NULL;
27777 }
27778
27779
27780 static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27781 PyObject *resultobj;
27782 wxWindow *arg1 = (wxWindow *) 0 ;
27783 wxPyDropTarget *result;
27784 PyObject * obj0 = 0 ;
27785 char *kwnames[] = {
27786 (char *) "self", NULL
27787 };
27788
27789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
27790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27792 {
27793 PyThreadState* __tstate = wxPyBeginAllowThreads();
27794 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
27795
27796 wxPyEndAllowThreads(__tstate);
27797 if (PyErr_Occurred()) SWIG_fail;
27798 }
27799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
27800 return resultobj;
27801 fail:
27802 return NULL;
27803 }
27804
27805
27806 static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27807 PyObject *resultobj;
27808 wxWindow *arg1 = (wxWindow *) 0 ;
27809 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
27810 PyObject * obj0 = 0 ;
27811 PyObject * obj1 = 0 ;
27812 char *kwnames[] = {
27813 (char *) "self",(char *) "constraints", NULL
27814 };
27815
27816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
27817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
27820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27821 {
27822 PyThreadState* __tstate = wxPyBeginAllowThreads();
27823 (arg1)->SetConstraints(arg2);
27824
27825 wxPyEndAllowThreads(__tstate);
27826 if (PyErr_Occurred()) SWIG_fail;
27827 }
27828 Py_INCREF(Py_None); resultobj = Py_None;
27829 return resultobj;
27830 fail:
27831 return NULL;
27832 }
27833
27834
27835 static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27836 PyObject *resultobj;
27837 wxWindow *arg1 = (wxWindow *) 0 ;
27838 wxLayoutConstraints *result;
27839 PyObject * obj0 = 0 ;
27840 char *kwnames[] = {
27841 (char *) "self", NULL
27842 };
27843
27844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
27845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27847 {
27848 PyThreadState* __tstate = wxPyBeginAllowThreads();
27849 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
27850
27851 wxPyEndAllowThreads(__tstate);
27852 if (PyErr_Occurred()) SWIG_fail;
27853 }
27854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
27855 return resultobj;
27856 fail:
27857 return NULL;
27858 }
27859
27860
27861 static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27862 PyObject *resultobj;
27863 wxWindow *arg1 = (wxWindow *) 0 ;
27864 bool arg2 ;
27865 PyObject * obj0 = 0 ;
27866 PyObject * obj1 = 0 ;
27867 char *kwnames[] = {
27868 (char *) "self",(char *) "autoLayout", NULL
27869 };
27870
27871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
27872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27874 arg2 = (bool) SWIG_AsBool(obj1);
27875 if (PyErr_Occurred()) SWIG_fail;
27876 {
27877 PyThreadState* __tstate = wxPyBeginAllowThreads();
27878 (arg1)->SetAutoLayout(arg2);
27879
27880 wxPyEndAllowThreads(__tstate);
27881 if (PyErr_Occurred()) SWIG_fail;
27882 }
27883 Py_INCREF(Py_None); resultobj = Py_None;
27884 return resultobj;
27885 fail:
27886 return NULL;
27887 }
27888
27889
27890 static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27891 PyObject *resultobj;
27892 wxWindow *arg1 = (wxWindow *) 0 ;
27893 bool result;
27894 PyObject * obj0 = 0 ;
27895 char *kwnames[] = {
27896 (char *) "self", NULL
27897 };
27898
27899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
27900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27902 {
27903 PyThreadState* __tstate = wxPyBeginAllowThreads();
27904 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
27905
27906 wxPyEndAllowThreads(__tstate);
27907 if (PyErr_Occurred()) SWIG_fail;
27908 }
27909 {
27910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27911 }
27912 return resultobj;
27913 fail:
27914 return NULL;
27915 }
27916
27917
27918 static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
27919 PyObject *resultobj;
27920 wxWindow *arg1 = (wxWindow *) 0 ;
27921 bool result;
27922 PyObject * obj0 = 0 ;
27923 char *kwnames[] = {
27924 (char *) "self", NULL
27925 };
27926
27927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
27928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27930 {
27931 PyThreadState* __tstate = wxPyBeginAllowThreads();
27932 result = (bool)(arg1)->Layout();
27933
27934 wxPyEndAllowThreads(__tstate);
27935 if (PyErr_Occurred()) SWIG_fail;
27936 }
27937 {
27938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27939 }
27940 return resultobj;
27941 fail:
27942 return NULL;
27943 }
27944
27945
27946 static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27947 PyObject *resultobj;
27948 wxWindow *arg1 = (wxWindow *) 0 ;
27949 wxSizer *arg2 = (wxSizer *) 0 ;
27950 bool arg3 = (bool) True ;
27951 PyObject * obj0 = 0 ;
27952 PyObject * obj1 = 0 ;
27953 PyObject * obj2 = 0 ;
27954 char *kwnames[] = {
27955 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27956 };
27957
27958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
27959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27963 if (obj2) {
27964 arg3 = (bool) SWIG_AsBool(obj2);
27965 if (PyErr_Occurred()) SWIG_fail;
27966 }
27967 {
27968 PyThreadState* __tstate = wxPyBeginAllowThreads();
27969 (arg1)->SetSizer(arg2,arg3);
27970
27971 wxPyEndAllowThreads(__tstate);
27972 if (PyErr_Occurred()) SWIG_fail;
27973 }
27974 Py_INCREF(Py_None); resultobj = Py_None;
27975 return resultobj;
27976 fail:
27977 return NULL;
27978 }
27979
27980
27981 static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
27982 PyObject *resultobj;
27983 wxWindow *arg1 = (wxWindow *) 0 ;
27984 wxSizer *arg2 = (wxSizer *) 0 ;
27985 bool arg3 = (bool) True ;
27986 PyObject * obj0 = 0 ;
27987 PyObject * obj1 = 0 ;
27988 PyObject * obj2 = 0 ;
27989 char *kwnames[] = {
27990 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27991 };
27992
27993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
27994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27998 if (obj2) {
27999 arg3 = (bool) SWIG_AsBool(obj2);
28000 if (PyErr_Occurred()) SWIG_fail;
28001 }
28002 {
28003 PyThreadState* __tstate = wxPyBeginAllowThreads();
28004 (arg1)->SetSizerAndFit(arg2,arg3);
28005
28006 wxPyEndAllowThreads(__tstate);
28007 if (PyErr_Occurred()) SWIG_fail;
28008 }
28009 Py_INCREF(Py_None); resultobj = Py_None;
28010 return resultobj;
28011 fail:
28012 return NULL;
28013 }
28014
28015
28016 static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28017 PyObject *resultobj;
28018 wxWindow *arg1 = (wxWindow *) 0 ;
28019 wxSizer *result;
28020 PyObject * obj0 = 0 ;
28021 char *kwnames[] = {
28022 (char *) "self", NULL
28023 };
28024
28025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
28026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28028 {
28029 PyThreadState* __tstate = wxPyBeginAllowThreads();
28030 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
28031
28032 wxPyEndAllowThreads(__tstate);
28033 if (PyErr_Occurred()) SWIG_fail;
28034 }
28035 {
28036 resultobj = wxPyMake_wxSizer(result);
28037 }
28038 return resultobj;
28039 fail:
28040 return NULL;
28041 }
28042
28043
28044 static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28045 PyObject *resultobj;
28046 wxWindow *arg1 = (wxWindow *) 0 ;
28047 wxSizer *arg2 = (wxSizer *) 0 ;
28048 PyObject * obj0 = 0 ;
28049 PyObject * obj1 = 0 ;
28050 char *kwnames[] = {
28051 (char *) "self",(char *) "sizer", NULL
28052 };
28053
28054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
28055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28059 {
28060 PyThreadState* __tstate = wxPyBeginAllowThreads();
28061 (arg1)->SetContainingSizer(arg2);
28062
28063 wxPyEndAllowThreads(__tstate);
28064 if (PyErr_Occurred()) SWIG_fail;
28065 }
28066 Py_INCREF(Py_None); resultobj = Py_None;
28067 return resultobj;
28068 fail:
28069 return NULL;
28070 }
28071
28072
28073 static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28074 PyObject *resultobj;
28075 wxWindow *arg1 = (wxWindow *) 0 ;
28076 wxSizer *result;
28077 PyObject * obj0 = 0 ;
28078 char *kwnames[] = {
28079 (char *) "self", NULL
28080 };
28081
28082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
28083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28085 {
28086 PyThreadState* __tstate = wxPyBeginAllowThreads();
28087 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
28088
28089 wxPyEndAllowThreads(__tstate);
28090 if (PyErr_Occurred()) SWIG_fail;
28091 }
28092 {
28093 resultobj = wxPyMake_wxSizer(result);
28094 }
28095 return resultobj;
28096 fail:
28097 return NULL;
28098 }
28099
28100
28101 static PyObject *_wrap_Window_InheritAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
28102 PyObject *resultobj;
28103 wxWindow *arg1 = (wxWindow *) 0 ;
28104 PyObject * obj0 = 0 ;
28105 char *kwnames[] = {
28106 (char *) "self", NULL
28107 };
28108
28109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
28110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 (arg1)->InheritAttributes();
28115
28116 wxPyEndAllowThreads(__tstate);
28117 if (PyErr_Occurred()) SWIG_fail;
28118 }
28119 Py_INCREF(Py_None); resultobj = Py_None;
28120 return resultobj;
28121 fail:
28122 return NULL;
28123 }
28124
28125
28126 static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28127 PyObject *resultobj;
28128 wxWindow *arg1 = (wxWindow *) 0 ;
28129 bool result;
28130 PyObject * obj0 = 0 ;
28131 char *kwnames[] = {
28132 (char *) "self", NULL
28133 };
28134
28135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
28136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28138 {
28139 PyThreadState* __tstate = wxPyBeginAllowThreads();
28140 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
28141
28142 wxPyEndAllowThreads(__tstate);
28143 if (PyErr_Occurred()) SWIG_fail;
28144 }
28145 {
28146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28147 }
28148 return resultobj;
28149 fail:
28150 return NULL;
28151 }
28152
28153
28154 static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
28155 PyObject *obj;
28156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28157 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
28158 Py_INCREF(obj);
28159 return Py_BuildValue((char *)"");
28160 }
28161 static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
28162 PyObject *resultobj;
28163 long arg1 ;
28164 wxWindow *arg2 = (wxWindow *) NULL ;
28165 wxWindow *result;
28166 PyObject * obj0 = 0 ;
28167 PyObject * obj1 = 0 ;
28168 char *kwnames[] = {
28169 (char *) "id",(char *) "parent", NULL
28170 };
28171
28172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
28173 arg1 = (long) SWIG_AsLong(obj0);
28174 if (PyErr_Occurred()) SWIG_fail;
28175 if (obj1) {
28176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28178 }
28179 {
28180 if (!wxPyCheckForApp()) SWIG_fail;
28181 PyThreadState* __tstate = wxPyBeginAllowThreads();
28182 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
28183
28184 wxPyEndAllowThreads(__tstate);
28185 if (PyErr_Occurred()) SWIG_fail;
28186 }
28187 {
28188 resultobj = wxPyMake_wxObject(result);
28189 }
28190 return resultobj;
28191 fail:
28192 return NULL;
28193 }
28194
28195
28196 static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
28197 PyObject *resultobj;
28198 wxString *arg1 = 0 ;
28199 wxWindow *arg2 = (wxWindow *) NULL ;
28200 wxWindow *result;
28201 bool temp1 = False ;
28202 PyObject * obj0 = 0 ;
28203 PyObject * obj1 = 0 ;
28204 char *kwnames[] = {
28205 (char *) "name",(char *) "parent", NULL
28206 };
28207
28208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
28209 {
28210 arg1 = wxString_in_helper(obj0);
28211 if (arg1 == NULL) SWIG_fail;
28212 temp1 = True;
28213 }
28214 if (obj1) {
28215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28217 }
28218 {
28219 if (!wxPyCheckForApp()) SWIG_fail;
28220 PyThreadState* __tstate = wxPyBeginAllowThreads();
28221 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
28222
28223 wxPyEndAllowThreads(__tstate);
28224 if (PyErr_Occurred()) SWIG_fail;
28225 }
28226 {
28227 resultobj = wxPyMake_wxObject(result);
28228 }
28229 {
28230 if (temp1)
28231 delete arg1;
28232 }
28233 return resultobj;
28234 fail:
28235 {
28236 if (temp1)
28237 delete arg1;
28238 }
28239 return NULL;
28240 }
28241
28242
28243 static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28244 PyObject *resultobj;
28245 wxString *arg1 = 0 ;
28246 wxWindow *arg2 = (wxWindow *) NULL ;
28247 wxWindow *result;
28248 bool temp1 = False ;
28249 PyObject * obj0 = 0 ;
28250 PyObject * obj1 = 0 ;
28251 char *kwnames[] = {
28252 (char *) "label",(char *) "parent", NULL
28253 };
28254
28255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
28256 {
28257 arg1 = wxString_in_helper(obj0);
28258 if (arg1 == NULL) SWIG_fail;
28259 temp1 = True;
28260 }
28261 if (obj1) {
28262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28264 }
28265 {
28266 if (!wxPyCheckForApp()) SWIG_fail;
28267 PyThreadState* __tstate = wxPyBeginAllowThreads();
28268 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
28269
28270 wxPyEndAllowThreads(__tstate);
28271 if (PyErr_Occurred()) SWIG_fail;
28272 }
28273 {
28274 resultobj = wxPyMake_wxObject(result);
28275 }
28276 {
28277 if (temp1)
28278 delete arg1;
28279 }
28280 return resultobj;
28281 fail:
28282 {
28283 if (temp1)
28284 delete arg1;
28285 }
28286 return NULL;
28287 }
28288
28289
28290 static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
28291 PyObject *resultobj;
28292 wxWindow *arg1 = (wxWindow *) 0 ;
28293 unsigned long arg2 ;
28294 wxWindow *result;
28295 PyObject * obj0 = 0 ;
28296 PyObject * obj1 = 0 ;
28297 char *kwnames[] = {
28298 (char *) "parent",(char *) "_hWnd", NULL
28299 };
28300
28301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
28302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28304 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
28305 if (PyErr_Occurred()) SWIG_fail;
28306 {
28307 PyThreadState* __tstate = wxPyBeginAllowThreads();
28308 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
28309
28310 wxPyEndAllowThreads(__tstate);
28311 if (PyErr_Occurred()) SWIG_fail;
28312 }
28313 {
28314 resultobj = wxPyMake_wxObject(result);
28315 }
28316 return resultobj;
28317 fail:
28318 return NULL;
28319 }
28320
28321
28322 static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
28323 PyObject *resultobj;
28324 wxValidator *result;
28325 char *kwnames[] = {
28326 NULL
28327 };
28328
28329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
28330 {
28331 PyThreadState* __tstate = wxPyBeginAllowThreads();
28332 result = (wxValidator *)new wxValidator();
28333
28334 wxPyEndAllowThreads(__tstate);
28335 if (PyErr_Occurred()) SWIG_fail;
28336 }
28337 {
28338 resultobj = wxPyMake_wxObject(result);
28339 }
28340 return resultobj;
28341 fail:
28342 return NULL;
28343 }
28344
28345
28346 static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
28347 PyObject *resultobj;
28348 wxValidator *arg1 = (wxValidator *) 0 ;
28349 wxValidator *result;
28350 PyObject * obj0 = 0 ;
28351 char *kwnames[] = {
28352 (char *) "self", NULL
28353 };
28354
28355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
28356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28358 {
28359 PyThreadState* __tstate = wxPyBeginAllowThreads();
28360 result = (wxValidator *)(arg1)->Clone();
28361
28362 wxPyEndAllowThreads(__tstate);
28363 if (PyErr_Occurred()) SWIG_fail;
28364 }
28365 {
28366 resultobj = wxPyMake_wxObject(result);
28367 }
28368 return resultobj;
28369 fail:
28370 return NULL;
28371 }
28372
28373
28374 static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28375 PyObject *resultobj;
28376 wxValidator *arg1 = (wxValidator *) 0 ;
28377 wxWindow *arg2 = (wxWindow *) 0 ;
28378 bool result;
28379 PyObject * obj0 = 0 ;
28380 PyObject * obj1 = 0 ;
28381 char *kwnames[] = {
28382 (char *) "self",(char *) "parent", NULL
28383 };
28384
28385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
28386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28390 {
28391 PyThreadState* __tstate = wxPyBeginAllowThreads();
28392 result = (bool)(arg1)->Validate(arg2);
28393
28394 wxPyEndAllowThreads(__tstate);
28395 if (PyErr_Occurred()) SWIG_fail;
28396 }
28397 {
28398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28399 }
28400 return resultobj;
28401 fail:
28402 return NULL;
28403 }
28404
28405
28406 static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28407 PyObject *resultobj;
28408 wxValidator *arg1 = (wxValidator *) 0 ;
28409 bool result;
28410 PyObject * obj0 = 0 ;
28411 char *kwnames[] = {
28412 (char *) "self", NULL
28413 };
28414
28415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
28416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28418 {
28419 PyThreadState* __tstate = wxPyBeginAllowThreads();
28420 result = (bool)(arg1)->TransferToWindow();
28421
28422 wxPyEndAllowThreads(__tstate);
28423 if (PyErr_Occurred()) SWIG_fail;
28424 }
28425 {
28426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28427 }
28428 return resultobj;
28429 fail:
28430 return NULL;
28431 }
28432
28433
28434 static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28435 PyObject *resultobj;
28436 wxValidator *arg1 = (wxValidator *) 0 ;
28437 bool result;
28438 PyObject * obj0 = 0 ;
28439 char *kwnames[] = {
28440 (char *) "self", NULL
28441 };
28442
28443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
28444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28446 {
28447 PyThreadState* __tstate = wxPyBeginAllowThreads();
28448 result = (bool)(arg1)->TransferFromWindow();
28449
28450 wxPyEndAllowThreads(__tstate);
28451 if (PyErr_Occurred()) SWIG_fail;
28452 }
28453 {
28454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28455 }
28456 return resultobj;
28457 fail:
28458 return NULL;
28459 }
28460
28461
28462 static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28463 PyObject *resultobj;
28464 wxValidator *arg1 = (wxValidator *) 0 ;
28465 wxWindow *result;
28466 PyObject * obj0 = 0 ;
28467 char *kwnames[] = {
28468 (char *) "self", NULL
28469 };
28470
28471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
28472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28474 {
28475 PyThreadState* __tstate = wxPyBeginAllowThreads();
28476 result = (wxWindow *)(arg1)->GetWindow();
28477
28478 wxPyEndAllowThreads(__tstate);
28479 if (PyErr_Occurred()) SWIG_fail;
28480 }
28481 {
28482 resultobj = wxPyMake_wxObject(result);
28483 }
28484 return resultobj;
28485 fail:
28486 return NULL;
28487 }
28488
28489
28490 static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28491 PyObject *resultobj;
28492 wxValidator *arg1 = (wxValidator *) 0 ;
28493 wxWindow *arg2 = (wxWindow *) 0 ;
28494 PyObject * obj0 = 0 ;
28495 PyObject * obj1 = 0 ;
28496 char *kwnames[] = {
28497 (char *) "self",(char *) "window", NULL
28498 };
28499
28500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
28501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28505 {
28506 PyThreadState* __tstate = wxPyBeginAllowThreads();
28507 (arg1)->SetWindow(arg2);
28508
28509 wxPyEndAllowThreads(__tstate);
28510 if (PyErr_Occurred()) SWIG_fail;
28511 }
28512 Py_INCREF(Py_None); resultobj = Py_None;
28513 return resultobj;
28514 fail:
28515 return NULL;
28516 }
28517
28518
28519 static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
28520 PyObject *resultobj;
28521 bool result;
28522 char *kwnames[] = {
28523 NULL
28524 };
28525
28526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
28527 {
28528 PyThreadState* __tstate = wxPyBeginAllowThreads();
28529 result = (bool)wxValidator::IsSilent();
28530
28531 wxPyEndAllowThreads(__tstate);
28532 if (PyErr_Occurred()) SWIG_fail;
28533 }
28534 {
28535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28536 }
28537 return resultobj;
28538 fail:
28539 return NULL;
28540 }
28541
28542
28543 static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
28544 PyObject *resultobj;
28545 int arg1 = (int) True ;
28546 PyObject * obj0 = 0 ;
28547 char *kwnames[] = {
28548 (char *) "doIt", NULL
28549 };
28550
28551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
28552 if (obj0) {
28553 arg1 = (int) SWIG_AsInt(obj0);
28554 if (PyErr_Occurred()) SWIG_fail;
28555 }
28556 {
28557 PyThreadState* __tstate = wxPyBeginAllowThreads();
28558 wxValidator::SetBellOnError(arg1);
28559
28560 wxPyEndAllowThreads(__tstate);
28561 if (PyErr_Occurred()) SWIG_fail;
28562 }
28563 Py_INCREF(Py_None); resultobj = Py_None;
28564 return resultobj;
28565 fail:
28566 return NULL;
28567 }
28568
28569
28570 static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
28571 PyObject *obj;
28572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28573 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
28574 Py_INCREF(obj);
28575 return Py_BuildValue((char *)"");
28576 }
28577 static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
28578 PyObject *resultobj;
28579 wxPyValidator *result;
28580 char *kwnames[] = {
28581 NULL
28582 };
28583
28584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
28585 {
28586 PyThreadState* __tstate = wxPyBeginAllowThreads();
28587 result = (wxPyValidator *)new wxPyValidator();
28588
28589 wxPyEndAllowThreads(__tstate);
28590 if (PyErr_Occurred()) SWIG_fail;
28591 }
28592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
28593 return resultobj;
28594 fail:
28595 return NULL;
28596 }
28597
28598
28599 static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28600 PyObject *resultobj;
28601 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
28602 PyObject *arg2 = (PyObject *) 0 ;
28603 PyObject *arg3 = (PyObject *) 0 ;
28604 int arg4 = (int) True ;
28605 PyObject * obj0 = 0 ;
28606 PyObject * obj1 = 0 ;
28607 PyObject * obj2 = 0 ;
28608 PyObject * obj3 = 0 ;
28609 char *kwnames[] = {
28610 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28611 };
28612
28613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
28615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28616 arg2 = obj1;
28617 arg3 = obj2;
28618 if (obj3) {
28619 arg4 = (int) SWIG_AsInt(obj3);
28620 if (PyErr_Occurred()) SWIG_fail;
28621 }
28622 {
28623 PyThreadState* __tstate = wxPyBeginAllowThreads();
28624 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28625
28626 wxPyEndAllowThreads(__tstate);
28627 if (PyErr_Occurred()) SWIG_fail;
28628 }
28629 Py_INCREF(Py_None); resultobj = Py_None;
28630 return resultobj;
28631 fail:
28632 return NULL;
28633 }
28634
28635
28636 static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
28637 PyObject *obj;
28638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28639 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
28640 Py_INCREF(obj);
28641 return Py_BuildValue((char *)"");
28642 }
28643 static int _wrap_DefaultValidator_set(PyObject *_val) {
28644 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
28645 return 1;
28646 }
28647
28648
28649 static PyObject *_wrap_DefaultValidator_get() {
28650 PyObject *pyobj;
28651
28652 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
28653 return pyobj;
28654 }
28655
28656
28657 static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
28658 PyObject *resultobj;
28659 wxString const &arg1_defvalue = wxPyEmptyString ;
28660 wxString *arg1 = (wxString *) &arg1_defvalue ;
28661 long arg2 = (long) 0 ;
28662 wxMenu *result;
28663 bool temp1 = False ;
28664 PyObject * obj0 = 0 ;
28665 PyObject * obj1 = 0 ;
28666 char *kwnames[] = {
28667 (char *) "title",(char *) "style", NULL
28668 };
28669
28670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
28671 if (obj0) {
28672 {
28673 arg1 = wxString_in_helper(obj0);
28674 if (arg1 == NULL) SWIG_fail;
28675 temp1 = True;
28676 }
28677 }
28678 if (obj1) {
28679 arg2 = (long) SWIG_AsLong(obj1);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
28682 {
28683 if (!wxPyCheckForApp()) SWIG_fail;
28684 PyThreadState* __tstate = wxPyBeginAllowThreads();
28685 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
28686
28687 wxPyEndAllowThreads(__tstate);
28688 if (PyErr_Occurred()) SWIG_fail;
28689 }
28690 {
28691 resultobj = wxPyMake_wxObject(result);
28692 }
28693 {
28694 if (temp1)
28695 delete arg1;
28696 }
28697 return resultobj;
28698 fail:
28699 {
28700 if (temp1)
28701 delete arg1;
28702 }
28703 return NULL;
28704 }
28705
28706
28707 static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28708 PyObject *resultobj;
28709 wxMenu *arg1 = (wxMenu *) 0 ;
28710 int arg2 ;
28711 wxString *arg3 = 0 ;
28712 wxString const &arg4_defvalue = wxPyEmptyString ;
28713 wxString *arg4 = (wxString *) &arg4_defvalue ;
28714 int arg5 = (int) wxITEM_NORMAL ;
28715 wxMenuItem *result;
28716 bool temp3 = False ;
28717 bool temp4 = False ;
28718 PyObject * obj0 = 0 ;
28719 PyObject * obj1 = 0 ;
28720 PyObject * obj2 = 0 ;
28721 PyObject * obj3 = 0 ;
28722 PyObject * obj4 = 0 ;
28723 char *kwnames[] = {
28724 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28725 };
28726
28727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28730 arg2 = (int) SWIG_AsInt(obj1);
28731 if (PyErr_Occurred()) SWIG_fail;
28732 {
28733 arg3 = wxString_in_helper(obj2);
28734 if (arg3 == NULL) SWIG_fail;
28735 temp3 = True;
28736 }
28737 if (obj3) {
28738 {
28739 arg4 = wxString_in_helper(obj3);
28740 if (arg4 == NULL) SWIG_fail;
28741 temp4 = True;
28742 }
28743 }
28744 if (obj4) {
28745 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28746 if (PyErr_Occurred()) SWIG_fail;
28747 }
28748 {
28749 PyThreadState* __tstate = wxPyBeginAllowThreads();
28750 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
28751
28752 wxPyEndAllowThreads(__tstate);
28753 if (PyErr_Occurred()) SWIG_fail;
28754 }
28755 {
28756 resultobj = wxPyMake_wxObject(result);
28757 }
28758 {
28759 if (temp3)
28760 delete arg3;
28761 }
28762 {
28763 if (temp4)
28764 delete arg4;
28765 }
28766 return resultobj;
28767 fail:
28768 {
28769 if (temp3)
28770 delete arg3;
28771 }
28772 {
28773 if (temp4)
28774 delete arg4;
28775 }
28776 return NULL;
28777 }
28778
28779
28780 static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28781 PyObject *resultobj;
28782 wxMenu *arg1 = (wxMenu *) 0 ;
28783 wxMenuItem *result;
28784 PyObject * obj0 = 0 ;
28785 char *kwnames[] = {
28786 (char *) "self", NULL
28787 };
28788
28789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
28790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28792 {
28793 PyThreadState* __tstate = wxPyBeginAllowThreads();
28794 result = (wxMenuItem *)(arg1)->AppendSeparator();
28795
28796 wxPyEndAllowThreads(__tstate);
28797 if (PyErr_Occurred()) SWIG_fail;
28798 }
28799 {
28800 resultobj = wxPyMake_wxObject(result);
28801 }
28802 return resultobj;
28803 fail:
28804 return NULL;
28805 }
28806
28807
28808 static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28809 PyObject *resultobj;
28810 wxMenu *arg1 = (wxMenu *) 0 ;
28811 int arg2 ;
28812 wxString *arg3 = 0 ;
28813 wxString const &arg4_defvalue = wxPyEmptyString ;
28814 wxString *arg4 = (wxString *) &arg4_defvalue ;
28815 wxMenuItem *result;
28816 bool temp3 = False ;
28817 bool temp4 = False ;
28818 PyObject * obj0 = 0 ;
28819 PyObject * obj1 = 0 ;
28820 PyObject * obj2 = 0 ;
28821 PyObject * obj3 = 0 ;
28822 char *kwnames[] = {
28823 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28824 };
28825
28826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28829 arg2 = (int) SWIG_AsInt(obj1);
28830 if (PyErr_Occurred()) SWIG_fail;
28831 {
28832 arg3 = wxString_in_helper(obj2);
28833 if (arg3 == NULL) SWIG_fail;
28834 temp3 = True;
28835 }
28836 if (obj3) {
28837 {
28838 arg4 = wxString_in_helper(obj3);
28839 if (arg4 == NULL) SWIG_fail;
28840 temp4 = True;
28841 }
28842 }
28843 {
28844 PyThreadState* __tstate = wxPyBeginAllowThreads();
28845 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
28846
28847 wxPyEndAllowThreads(__tstate);
28848 if (PyErr_Occurred()) SWIG_fail;
28849 }
28850 {
28851 resultobj = wxPyMake_wxObject(result);
28852 }
28853 {
28854 if (temp3)
28855 delete arg3;
28856 }
28857 {
28858 if (temp4)
28859 delete arg4;
28860 }
28861 return resultobj;
28862 fail:
28863 {
28864 if (temp3)
28865 delete arg3;
28866 }
28867 {
28868 if (temp4)
28869 delete arg4;
28870 }
28871 return NULL;
28872 }
28873
28874
28875 static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28876 PyObject *resultobj;
28877 wxMenu *arg1 = (wxMenu *) 0 ;
28878 int arg2 ;
28879 wxString *arg3 = 0 ;
28880 wxString const &arg4_defvalue = wxPyEmptyString ;
28881 wxString *arg4 = (wxString *) &arg4_defvalue ;
28882 wxMenuItem *result;
28883 bool temp3 = False ;
28884 bool temp4 = False ;
28885 PyObject * obj0 = 0 ;
28886 PyObject * obj1 = 0 ;
28887 PyObject * obj2 = 0 ;
28888 PyObject * obj3 = 0 ;
28889 char *kwnames[] = {
28890 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28891 };
28892
28893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28896 arg2 = (int) SWIG_AsInt(obj1);
28897 if (PyErr_Occurred()) SWIG_fail;
28898 {
28899 arg3 = wxString_in_helper(obj2);
28900 if (arg3 == NULL) SWIG_fail;
28901 temp3 = True;
28902 }
28903 if (obj3) {
28904 {
28905 arg4 = wxString_in_helper(obj3);
28906 if (arg4 == NULL) SWIG_fail;
28907 temp4 = True;
28908 }
28909 }
28910 {
28911 PyThreadState* __tstate = wxPyBeginAllowThreads();
28912 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
28913
28914 wxPyEndAllowThreads(__tstate);
28915 if (PyErr_Occurred()) SWIG_fail;
28916 }
28917 {
28918 resultobj = wxPyMake_wxObject(result);
28919 }
28920 {
28921 if (temp3)
28922 delete arg3;
28923 }
28924 {
28925 if (temp4)
28926 delete arg4;
28927 }
28928 return resultobj;
28929 fail:
28930 {
28931 if (temp3)
28932 delete arg3;
28933 }
28934 {
28935 if (temp4)
28936 delete arg4;
28937 }
28938 return NULL;
28939 }
28940
28941
28942 static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28943 PyObject *resultobj;
28944 wxMenu *arg1 = (wxMenu *) 0 ;
28945 int arg2 ;
28946 wxString *arg3 = 0 ;
28947 wxMenu *arg4 = (wxMenu *) 0 ;
28948 wxString const &arg5_defvalue = wxPyEmptyString ;
28949 wxString *arg5 = (wxString *) &arg5_defvalue ;
28950 wxMenuItem *result;
28951 bool temp3 = False ;
28952 bool temp5 = False ;
28953 PyObject * obj0 = 0 ;
28954 PyObject * obj1 = 0 ;
28955 PyObject * obj2 = 0 ;
28956 PyObject * obj3 = 0 ;
28957 PyObject * obj4 = 0 ;
28958 char *kwnames[] = {
28959 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28960 };
28961
28962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28965 arg2 = (int) SWIG_AsInt(obj1);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 {
28968 arg3 = wxString_in_helper(obj2);
28969 if (arg3 == NULL) SWIG_fail;
28970 temp3 = True;
28971 }
28972 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28974 if (obj4) {
28975 {
28976 arg5 = wxString_in_helper(obj4);
28977 if (arg5 == NULL) SWIG_fail;
28978 temp5 = True;
28979 }
28980 }
28981 {
28982 PyThreadState* __tstate = wxPyBeginAllowThreads();
28983 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
28984
28985 wxPyEndAllowThreads(__tstate);
28986 if (PyErr_Occurred()) SWIG_fail;
28987 }
28988 {
28989 resultobj = wxPyMake_wxObject(result);
28990 }
28991 {
28992 if (temp3)
28993 delete arg3;
28994 }
28995 {
28996 if (temp5)
28997 delete arg5;
28998 }
28999 return resultobj;
29000 fail:
29001 {
29002 if (temp3)
29003 delete arg3;
29004 }
29005 {
29006 if (temp5)
29007 delete arg5;
29008 }
29009 return NULL;
29010 }
29011
29012
29013 static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29014 PyObject *resultobj;
29015 wxMenu *arg1 = (wxMenu *) 0 ;
29016 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29017 wxMenuItem *result;
29018 PyObject * obj0 = 0 ;
29019 PyObject * obj1 = 0 ;
29020 char *kwnames[] = {
29021 (char *) "self",(char *) "item", NULL
29022 };
29023
29024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
29025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29029 {
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 result = (wxMenuItem *)(arg1)->Append(arg2);
29032
29033 wxPyEndAllowThreads(__tstate);
29034 if (PyErr_Occurred()) SWIG_fail;
29035 }
29036 {
29037 resultobj = wxPyMake_wxObject(result);
29038 }
29039 return resultobj;
29040 fail:
29041 return NULL;
29042 }
29043
29044
29045 static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
29046 PyObject *resultobj;
29047 wxMenu *arg1 = (wxMenu *) 0 ;
29048 PyObject * obj0 = 0 ;
29049 char *kwnames[] = {
29050 (char *) "self", NULL
29051 };
29052
29053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
29054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29056 {
29057 PyThreadState* __tstate = wxPyBeginAllowThreads();
29058 (arg1)->Break();
29059
29060 wxPyEndAllowThreads(__tstate);
29061 if (PyErr_Occurred()) SWIG_fail;
29062 }
29063 Py_INCREF(Py_None); resultobj = Py_None;
29064 return resultobj;
29065 fail:
29066 return NULL;
29067 }
29068
29069
29070 static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29071 PyObject *resultobj;
29072 wxMenu *arg1 = (wxMenu *) 0 ;
29073 size_t arg2 ;
29074 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
29075 wxMenuItem *result;
29076 PyObject * obj0 = 0 ;
29077 PyObject * obj1 = 0 ;
29078 PyObject * obj2 = 0 ;
29079 char *kwnames[] = {
29080 (char *) "self",(char *) "pos",(char *) "item", NULL
29081 };
29082
29083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
29084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29086 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29087 if (PyErr_Occurred()) SWIG_fail;
29088 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
29089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29090 {
29091 PyThreadState* __tstate = wxPyBeginAllowThreads();
29092 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
29093
29094 wxPyEndAllowThreads(__tstate);
29095 if (PyErr_Occurred()) SWIG_fail;
29096 }
29097 {
29098 resultobj = wxPyMake_wxObject(result);
29099 }
29100 return resultobj;
29101 fail:
29102 return NULL;
29103 }
29104
29105
29106 static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29107 PyObject *resultobj;
29108 wxMenu *arg1 = (wxMenu *) 0 ;
29109 size_t arg2 ;
29110 int arg3 ;
29111 wxString *arg4 = 0 ;
29112 wxString const &arg5_defvalue = wxPyEmptyString ;
29113 wxString *arg5 = (wxString *) &arg5_defvalue ;
29114 int arg6 = (int) wxITEM_NORMAL ;
29115 wxMenuItem *result;
29116 bool temp4 = False ;
29117 bool temp5 = False ;
29118 PyObject * obj0 = 0 ;
29119 PyObject * obj1 = 0 ;
29120 PyObject * obj2 = 0 ;
29121 PyObject * obj3 = 0 ;
29122 PyObject * obj4 = 0 ;
29123 PyObject * obj5 = 0 ;
29124 char *kwnames[] = {
29125 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29126 };
29127
29128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29131 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29132 if (PyErr_Occurred()) SWIG_fail;
29133 arg3 = (int) SWIG_AsInt(obj2);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 {
29136 arg4 = wxString_in_helper(obj3);
29137 if (arg4 == NULL) SWIG_fail;
29138 temp4 = True;
29139 }
29140 if (obj4) {
29141 {
29142 arg5 = wxString_in_helper(obj4);
29143 if (arg5 == NULL) SWIG_fail;
29144 temp5 = True;
29145 }
29146 }
29147 if (obj5) {
29148 arg6 = (wxItemKind) SWIG_AsInt(obj5);
29149 if (PyErr_Occurred()) SWIG_fail;
29150 }
29151 {
29152 PyThreadState* __tstate = wxPyBeginAllowThreads();
29153 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
29154
29155 wxPyEndAllowThreads(__tstate);
29156 if (PyErr_Occurred()) SWIG_fail;
29157 }
29158 {
29159 resultobj = wxPyMake_wxObject(result);
29160 }
29161 {
29162 if (temp4)
29163 delete arg4;
29164 }
29165 {
29166 if (temp5)
29167 delete arg5;
29168 }
29169 return resultobj;
29170 fail:
29171 {
29172 if (temp4)
29173 delete arg4;
29174 }
29175 {
29176 if (temp5)
29177 delete arg5;
29178 }
29179 return NULL;
29180 }
29181
29182
29183 static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29184 PyObject *resultobj;
29185 wxMenu *arg1 = (wxMenu *) 0 ;
29186 size_t arg2 ;
29187 wxMenuItem *result;
29188 PyObject * obj0 = 0 ;
29189 PyObject * obj1 = 0 ;
29190 char *kwnames[] = {
29191 (char *) "self",(char *) "pos", NULL
29192 };
29193
29194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
29195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29197 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29198 if (PyErr_Occurred()) SWIG_fail;
29199 {
29200 PyThreadState* __tstate = wxPyBeginAllowThreads();
29201 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
29202
29203 wxPyEndAllowThreads(__tstate);
29204 if (PyErr_Occurred()) SWIG_fail;
29205 }
29206 {
29207 resultobj = wxPyMake_wxObject(result);
29208 }
29209 return resultobj;
29210 fail:
29211 return NULL;
29212 }
29213
29214
29215 static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29216 PyObject *resultobj;
29217 wxMenu *arg1 = (wxMenu *) 0 ;
29218 size_t arg2 ;
29219 int arg3 ;
29220 wxString *arg4 = 0 ;
29221 wxString const &arg5_defvalue = wxPyEmptyString ;
29222 wxString *arg5 = (wxString *) &arg5_defvalue ;
29223 wxMenuItem *result;
29224 bool temp4 = False ;
29225 bool temp5 = False ;
29226 PyObject * obj0 = 0 ;
29227 PyObject * obj1 = 0 ;
29228 PyObject * obj2 = 0 ;
29229 PyObject * obj3 = 0 ;
29230 PyObject * obj4 = 0 ;
29231 char *kwnames[] = {
29232 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29233 };
29234
29235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29238 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29239 if (PyErr_Occurred()) SWIG_fail;
29240 arg3 = (int) SWIG_AsInt(obj2);
29241 if (PyErr_Occurred()) SWIG_fail;
29242 {
29243 arg4 = wxString_in_helper(obj3);
29244 if (arg4 == NULL) SWIG_fail;
29245 temp4 = True;
29246 }
29247 if (obj4) {
29248 {
29249 arg5 = wxString_in_helper(obj4);
29250 if (arg5 == NULL) SWIG_fail;
29251 temp5 = True;
29252 }
29253 }
29254 {
29255 PyThreadState* __tstate = wxPyBeginAllowThreads();
29256 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
29257
29258 wxPyEndAllowThreads(__tstate);
29259 if (PyErr_Occurred()) SWIG_fail;
29260 }
29261 {
29262 resultobj = wxPyMake_wxObject(result);
29263 }
29264 {
29265 if (temp4)
29266 delete arg4;
29267 }
29268 {
29269 if (temp5)
29270 delete arg5;
29271 }
29272 return resultobj;
29273 fail:
29274 {
29275 if (temp4)
29276 delete arg4;
29277 }
29278 {
29279 if (temp5)
29280 delete arg5;
29281 }
29282 return NULL;
29283 }
29284
29285
29286 static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29287 PyObject *resultobj;
29288 wxMenu *arg1 = (wxMenu *) 0 ;
29289 size_t arg2 ;
29290 int arg3 ;
29291 wxString *arg4 = 0 ;
29292 wxString const &arg5_defvalue = wxPyEmptyString ;
29293 wxString *arg5 = (wxString *) &arg5_defvalue ;
29294 wxMenuItem *result;
29295 bool temp4 = False ;
29296 bool temp5 = False ;
29297 PyObject * obj0 = 0 ;
29298 PyObject * obj1 = 0 ;
29299 PyObject * obj2 = 0 ;
29300 PyObject * obj3 = 0 ;
29301 PyObject * obj4 = 0 ;
29302 char *kwnames[] = {
29303 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29304 };
29305
29306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29309 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29310 if (PyErr_Occurred()) SWIG_fail;
29311 arg3 = (int) SWIG_AsInt(obj2);
29312 if (PyErr_Occurred()) SWIG_fail;
29313 {
29314 arg4 = wxString_in_helper(obj3);
29315 if (arg4 == NULL) SWIG_fail;
29316 temp4 = True;
29317 }
29318 if (obj4) {
29319 {
29320 arg5 = wxString_in_helper(obj4);
29321 if (arg5 == NULL) SWIG_fail;
29322 temp5 = True;
29323 }
29324 }
29325 {
29326 PyThreadState* __tstate = wxPyBeginAllowThreads();
29327 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
29328
29329 wxPyEndAllowThreads(__tstate);
29330 if (PyErr_Occurred()) SWIG_fail;
29331 }
29332 {
29333 resultobj = wxPyMake_wxObject(result);
29334 }
29335 {
29336 if (temp4)
29337 delete arg4;
29338 }
29339 {
29340 if (temp5)
29341 delete arg5;
29342 }
29343 return resultobj;
29344 fail:
29345 {
29346 if (temp4)
29347 delete arg4;
29348 }
29349 {
29350 if (temp5)
29351 delete arg5;
29352 }
29353 return NULL;
29354 }
29355
29356
29357 static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29358 PyObject *resultobj;
29359 wxMenu *arg1 = (wxMenu *) 0 ;
29360 size_t arg2 ;
29361 int arg3 ;
29362 wxString *arg4 = 0 ;
29363 wxMenu *arg5 = (wxMenu *) 0 ;
29364 wxString const &arg6_defvalue = wxPyEmptyString ;
29365 wxString *arg6 = (wxString *) &arg6_defvalue ;
29366 wxMenuItem *result;
29367 bool temp4 = False ;
29368 bool temp6 = False ;
29369 PyObject * obj0 = 0 ;
29370 PyObject * obj1 = 0 ;
29371 PyObject * obj2 = 0 ;
29372 PyObject * obj3 = 0 ;
29373 PyObject * obj4 = 0 ;
29374 PyObject * obj5 = 0 ;
29375 char *kwnames[] = {
29376 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29377 };
29378
29379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29382 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29383 if (PyErr_Occurred()) SWIG_fail;
29384 arg3 = (int) SWIG_AsInt(obj2);
29385 if (PyErr_Occurred()) SWIG_fail;
29386 {
29387 arg4 = wxString_in_helper(obj3);
29388 if (arg4 == NULL) SWIG_fail;
29389 temp4 = True;
29390 }
29391 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
29392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29393 if (obj5) {
29394 {
29395 arg6 = wxString_in_helper(obj5);
29396 if (arg6 == NULL) SWIG_fail;
29397 temp6 = True;
29398 }
29399 }
29400 {
29401 PyThreadState* __tstate = wxPyBeginAllowThreads();
29402 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
29403
29404 wxPyEndAllowThreads(__tstate);
29405 if (PyErr_Occurred()) SWIG_fail;
29406 }
29407 {
29408 resultobj = wxPyMake_wxObject(result);
29409 }
29410 {
29411 if (temp4)
29412 delete arg4;
29413 }
29414 {
29415 if (temp6)
29416 delete arg6;
29417 }
29418 return resultobj;
29419 fail:
29420 {
29421 if (temp4)
29422 delete arg4;
29423 }
29424 {
29425 if (temp6)
29426 delete arg6;
29427 }
29428 return NULL;
29429 }
29430
29431
29432 static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29433 PyObject *resultobj;
29434 wxMenu *arg1 = (wxMenu *) 0 ;
29435 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29436 wxMenuItem *result;
29437 PyObject * obj0 = 0 ;
29438 PyObject * obj1 = 0 ;
29439 char *kwnames[] = {
29440 (char *) "self",(char *) "item", NULL
29441 };
29442
29443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
29444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29448 {
29449 PyThreadState* __tstate = wxPyBeginAllowThreads();
29450 result = (wxMenuItem *)(arg1)->Prepend(arg2);
29451
29452 wxPyEndAllowThreads(__tstate);
29453 if (PyErr_Occurred()) SWIG_fail;
29454 }
29455 {
29456 resultobj = wxPyMake_wxObject(result);
29457 }
29458 return resultobj;
29459 fail:
29460 return NULL;
29461 }
29462
29463
29464 static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
29465 PyObject *resultobj;
29466 wxMenu *arg1 = (wxMenu *) 0 ;
29467 int arg2 ;
29468 wxString *arg3 = 0 ;
29469 wxString const &arg4_defvalue = wxPyEmptyString ;
29470 wxString *arg4 = (wxString *) &arg4_defvalue ;
29471 int arg5 = (int) wxITEM_NORMAL ;
29472 wxMenuItem *result;
29473 bool temp3 = False ;
29474 bool temp4 = False ;
29475 PyObject * obj0 = 0 ;
29476 PyObject * obj1 = 0 ;
29477 PyObject * obj2 = 0 ;
29478 PyObject * obj3 = 0 ;
29479 PyObject * obj4 = 0 ;
29480 char *kwnames[] = {
29481 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29482 };
29483
29484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29487 arg2 = (int) SWIG_AsInt(obj1);
29488 if (PyErr_Occurred()) SWIG_fail;
29489 {
29490 arg3 = wxString_in_helper(obj2);
29491 if (arg3 == NULL) SWIG_fail;
29492 temp3 = True;
29493 }
29494 if (obj3) {
29495 {
29496 arg4 = wxString_in_helper(obj3);
29497 if (arg4 == NULL) SWIG_fail;
29498 temp4 = True;
29499 }
29500 }
29501 if (obj4) {
29502 arg5 = (wxItemKind) SWIG_AsInt(obj4);
29503 if (PyErr_Occurred()) SWIG_fail;
29504 }
29505 {
29506 PyThreadState* __tstate = wxPyBeginAllowThreads();
29507 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
29508
29509 wxPyEndAllowThreads(__tstate);
29510 if (PyErr_Occurred()) SWIG_fail;
29511 }
29512 {
29513 resultobj = wxPyMake_wxObject(result);
29514 }
29515 {
29516 if (temp3)
29517 delete arg3;
29518 }
29519 {
29520 if (temp4)
29521 delete arg4;
29522 }
29523 return resultobj;
29524 fail:
29525 {
29526 if (temp3)
29527 delete arg3;
29528 }
29529 {
29530 if (temp4)
29531 delete arg4;
29532 }
29533 return NULL;
29534 }
29535
29536
29537 static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29538 PyObject *resultobj;
29539 wxMenu *arg1 = (wxMenu *) 0 ;
29540 wxMenuItem *result;
29541 PyObject * obj0 = 0 ;
29542 char *kwnames[] = {
29543 (char *) "self", NULL
29544 };
29545
29546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
29547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29549 {
29550 PyThreadState* __tstate = wxPyBeginAllowThreads();
29551 result = (wxMenuItem *)(arg1)->PrependSeparator();
29552
29553 wxPyEndAllowThreads(__tstate);
29554 if (PyErr_Occurred()) SWIG_fail;
29555 }
29556 {
29557 resultobj = wxPyMake_wxObject(result);
29558 }
29559 return resultobj;
29560 fail:
29561 return NULL;
29562 }
29563
29564
29565 static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29566 PyObject *resultobj;
29567 wxMenu *arg1 = (wxMenu *) 0 ;
29568 int arg2 ;
29569 wxString *arg3 = 0 ;
29570 wxString const &arg4_defvalue = wxPyEmptyString ;
29571 wxString *arg4 = (wxString *) &arg4_defvalue ;
29572 wxMenuItem *result;
29573 bool temp3 = False ;
29574 bool temp4 = False ;
29575 PyObject * obj0 = 0 ;
29576 PyObject * obj1 = 0 ;
29577 PyObject * obj2 = 0 ;
29578 PyObject * obj3 = 0 ;
29579 char *kwnames[] = {
29580 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29581 };
29582
29583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29586 arg2 = (int) SWIG_AsInt(obj1);
29587 if (PyErr_Occurred()) SWIG_fail;
29588 {
29589 arg3 = wxString_in_helper(obj2);
29590 if (arg3 == NULL) SWIG_fail;
29591 temp3 = True;
29592 }
29593 if (obj3) {
29594 {
29595 arg4 = wxString_in_helper(obj3);
29596 if (arg4 == NULL) SWIG_fail;
29597 temp4 = True;
29598 }
29599 }
29600 {
29601 PyThreadState* __tstate = wxPyBeginAllowThreads();
29602 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
29603
29604 wxPyEndAllowThreads(__tstate);
29605 if (PyErr_Occurred()) SWIG_fail;
29606 }
29607 {
29608 resultobj = wxPyMake_wxObject(result);
29609 }
29610 {
29611 if (temp3)
29612 delete arg3;
29613 }
29614 {
29615 if (temp4)
29616 delete arg4;
29617 }
29618 return resultobj;
29619 fail:
29620 {
29621 if (temp3)
29622 delete arg3;
29623 }
29624 {
29625 if (temp4)
29626 delete arg4;
29627 }
29628 return NULL;
29629 }
29630
29631
29632 static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29633 PyObject *resultobj;
29634 wxMenu *arg1 = (wxMenu *) 0 ;
29635 int arg2 ;
29636 wxString *arg3 = 0 ;
29637 wxString const &arg4_defvalue = wxPyEmptyString ;
29638 wxString *arg4 = (wxString *) &arg4_defvalue ;
29639 wxMenuItem *result;
29640 bool temp3 = False ;
29641 bool temp4 = False ;
29642 PyObject * obj0 = 0 ;
29643 PyObject * obj1 = 0 ;
29644 PyObject * obj2 = 0 ;
29645 PyObject * obj3 = 0 ;
29646 char *kwnames[] = {
29647 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29648 };
29649
29650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29653 arg2 = (int) SWIG_AsInt(obj1);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 {
29656 arg3 = wxString_in_helper(obj2);
29657 if (arg3 == NULL) SWIG_fail;
29658 temp3 = True;
29659 }
29660 if (obj3) {
29661 {
29662 arg4 = wxString_in_helper(obj3);
29663 if (arg4 == NULL) SWIG_fail;
29664 temp4 = True;
29665 }
29666 }
29667 {
29668 PyThreadState* __tstate = wxPyBeginAllowThreads();
29669 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
29670
29671 wxPyEndAllowThreads(__tstate);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 }
29674 {
29675 resultobj = wxPyMake_wxObject(result);
29676 }
29677 {
29678 if (temp3)
29679 delete arg3;
29680 }
29681 {
29682 if (temp4)
29683 delete arg4;
29684 }
29685 return resultobj;
29686 fail:
29687 {
29688 if (temp3)
29689 delete arg3;
29690 }
29691 {
29692 if (temp4)
29693 delete arg4;
29694 }
29695 return NULL;
29696 }
29697
29698
29699 static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29700 PyObject *resultobj;
29701 wxMenu *arg1 = (wxMenu *) 0 ;
29702 int arg2 ;
29703 wxString *arg3 = 0 ;
29704 wxMenu *arg4 = (wxMenu *) 0 ;
29705 wxString const &arg5_defvalue = wxPyEmptyString ;
29706 wxString *arg5 = (wxString *) &arg5_defvalue ;
29707 wxMenuItem *result;
29708 bool temp3 = False ;
29709 bool temp5 = False ;
29710 PyObject * obj0 = 0 ;
29711 PyObject * obj1 = 0 ;
29712 PyObject * obj2 = 0 ;
29713 PyObject * obj3 = 0 ;
29714 PyObject * obj4 = 0 ;
29715 char *kwnames[] = {
29716 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29717 };
29718
29719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29722 arg2 = (int) SWIG_AsInt(obj1);
29723 if (PyErr_Occurred()) SWIG_fail;
29724 {
29725 arg3 = wxString_in_helper(obj2);
29726 if (arg3 == NULL) SWIG_fail;
29727 temp3 = True;
29728 }
29729 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29731 if (obj4) {
29732 {
29733 arg5 = wxString_in_helper(obj4);
29734 if (arg5 == NULL) SWIG_fail;
29735 temp5 = True;
29736 }
29737 }
29738 {
29739 PyThreadState* __tstate = wxPyBeginAllowThreads();
29740 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
29741
29742 wxPyEndAllowThreads(__tstate);
29743 if (PyErr_Occurred()) SWIG_fail;
29744 }
29745 {
29746 resultobj = wxPyMake_wxObject(result);
29747 }
29748 {
29749 if (temp3)
29750 delete arg3;
29751 }
29752 {
29753 if (temp5)
29754 delete arg5;
29755 }
29756 return resultobj;
29757 fail:
29758 {
29759 if (temp3)
29760 delete arg3;
29761 }
29762 {
29763 if (temp5)
29764 delete arg5;
29765 }
29766 return NULL;
29767 }
29768
29769
29770 static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29771 PyObject *resultobj;
29772 wxMenu *arg1 = (wxMenu *) 0 ;
29773 int arg2 ;
29774 wxMenuItem *result;
29775 PyObject * obj0 = 0 ;
29776 PyObject * obj1 = 0 ;
29777 char *kwnames[] = {
29778 (char *) "self",(char *) "id", NULL
29779 };
29780
29781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
29782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29784 arg2 = (int) SWIG_AsInt(obj1);
29785 if (PyErr_Occurred()) SWIG_fail;
29786 {
29787 PyThreadState* __tstate = wxPyBeginAllowThreads();
29788 result = (wxMenuItem *)(arg1)->Remove(arg2);
29789
29790 wxPyEndAllowThreads(__tstate);
29791 if (PyErr_Occurred()) SWIG_fail;
29792 }
29793 {
29794 resultobj = wxPyMake_wxObject(result);
29795 }
29796 return resultobj;
29797 fail:
29798 return NULL;
29799 }
29800
29801
29802 static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29803 PyObject *resultobj;
29804 wxMenu *arg1 = (wxMenu *) 0 ;
29805 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29806 wxMenuItem *result;
29807 PyObject * obj0 = 0 ;
29808 PyObject * obj1 = 0 ;
29809 char *kwnames[] = {
29810 (char *) "self",(char *) "item", NULL
29811 };
29812
29813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
29814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29818 {
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
29820 result = (wxMenuItem *)(arg1)->Remove(arg2);
29821
29822 wxPyEndAllowThreads(__tstate);
29823 if (PyErr_Occurred()) SWIG_fail;
29824 }
29825 {
29826 resultobj = wxPyMake_wxObject(result);
29827 }
29828 return resultobj;
29829 fail:
29830 return NULL;
29831 }
29832
29833
29834 static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29835 PyObject *resultobj;
29836 wxMenu *arg1 = (wxMenu *) 0 ;
29837 int arg2 ;
29838 bool result;
29839 PyObject * obj0 = 0 ;
29840 PyObject * obj1 = 0 ;
29841 char *kwnames[] = {
29842 (char *) "self",(char *) "id", NULL
29843 };
29844
29845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
29846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29848 arg2 = (int) SWIG_AsInt(obj1);
29849 if (PyErr_Occurred()) SWIG_fail;
29850 {
29851 PyThreadState* __tstate = wxPyBeginAllowThreads();
29852 result = (bool)(arg1)->Delete(arg2);
29853
29854 wxPyEndAllowThreads(__tstate);
29855 if (PyErr_Occurred()) SWIG_fail;
29856 }
29857 {
29858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29859 }
29860 return resultobj;
29861 fail:
29862 return NULL;
29863 }
29864
29865
29866 static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29867 PyObject *resultobj;
29868 wxMenu *arg1 = (wxMenu *) 0 ;
29869 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29870 bool result;
29871 PyObject * obj0 = 0 ;
29872 PyObject * obj1 = 0 ;
29873 char *kwnames[] = {
29874 (char *) "self",(char *) "item", NULL
29875 };
29876
29877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
29878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29882 {
29883 PyThreadState* __tstate = wxPyBeginAllowThreads();
29884 result = (bool)(arg1)->Delete(arg2);
29885
29886 wxPyEndAllowThreads(__tstate);
29887 if (PyErr_Occurred()) SWIG_fail;
29888 }
29889 {
29890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29891 }
29892 return resultobj;
29893 fail:
29894 return NULL;
29895 }
29896
29897
29898 static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29899 PyObject *resultobj;
29900 wxMenu *arg1 = (wxMenu *) 0 ;
29901 PyObject * obj0 = 0 ;
29902 char *kwnames[] = {
29903 (char *) "self", NULL
29904 };
29905
29906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
29907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29909 {
29910 PyThreadState* __tstate = wxPyBeginAllowThreads();
29911 wxMenu_Destroy(arg1);
29912
29913 wxPyEndAllowThreads(__tstate);
29914 if (PyErr_Occurred()) SWIG_fail;
29915 }
29916 Py_INCREF(Py_None); resultobj = Py_None;
29917 return resultobj;
29918 fail:
29919 return NULL;
29920 }
29921
29922
29923 static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
29924 PyObject *resultobj;
29925 wxMenu *arg1 = (wxMenu *) 0 ;
29926 int arg2 ;
29927 bool result;
29928 PyObject * obj0 = 0 ;
29929 PyObject * obj1 = 0 ;
29930 char *kwnames[] = {
29931 (char *) "self",(char *) "id", NULL
29932 };
29933
29934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
29935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29937 arg2 = (int) SWIG_AsInt(obj1);
29938 if (PyErr_Occurred()) SWIG_fail;
29939 {
29940 PyThreadState* __tstate = wxPyBeginAllowThreads();
29941 result = (bool)(arg1)->Destroy(arg2);
29942
29943 wxPyEndAllowThreads(__tstate);
29944 if (PyErr_Occurred()) SWIG_fail;
29945 }
29946 {
29947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29948 }
29949 return resultobj;
29950 fail:
29951 return NULL;
29952 }
29953
29954
29955 static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29956 PyObject *resultobj;
29957 wxMenu *arg1 = (wxMenu *) 0 ;
29958 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29959 bool result;
29960 PyObject * obj0 = 0 ;
29961 PyObject * obj1 = 0 ;
29962 char *kwnames[] = {
29963 (char *) "self",(char *) "item", NULL
29964 };
29965
29966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
29967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29971 {
29972 PyThreadState* __tstate = wxPyBeginAllowThreads();
29973 result = (bool)(arg1)->Destroy(arg2);
29974
29975 wxPyEndAllowThreads(__tstate);
29976 if (PyErr_Occurred()) SWIG_fail;
29977 }
29978 {
29979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29980 }
29981 return resultobj;
29982 fail:
29983 return NULL;
29984 }
29985
29986
29987 static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29988 PyObject *resultobj;
29989 wxMenu *arg1 = (wxMenu *) 0 ;
29990 size_t result;
29991 PyObject * obj0 = 0 ;
29992 char *kwnames[] = {
29993 (char *) "self", NULL
29994 };
29995
29996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
29997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29999 {
30000 PyThreadState* __tstate = wxPyBeginAllowThreads();
30001 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
30002
30003 wxPyEndAllowThreads(__tstate);
30004 if (PyErr_Occurred()) SWIG_fail;
30005 }
30006 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
30007 return resultobj;
30008 fail:
30009 return NULL;
30010 }
30011
30012
30013 static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
30014 PyObject *resultobj;
30015 wxMenu *arg1 = (wxMenu *) 0 ;
30016 PyObject *result;
30017 PyObject * obj0 = 0 ;
30018 char *kwnames[] = {
30019 (char *) "self", NULL
30020 };
30021
30022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
30023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30025 {
30026 PyThreadState* __tstate = wxPyBeginAllowThreads();
30027 result = (PyObject *)wxMenu_GetMenuItems(arg1);
30028
30029 wxPyEndAllowThreads(__tstate);
30030 if (PyErr_Occurred()) SWIG_fail;
30031 }
30032 resultobj = result;
30033 return resultobj;
30034 fail:
30035 return NULL;
30036 }
30037
30038
30039 static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30040 PyObject *resultobj;
30041 wxMenu *arg1 = (wxMenu *) 0 ;
30042 wxString *arg2 = 0 ;
30043 int result;
30044 bool temp2 = False ;
30045 PyObject * obj0 = 0 ;
30046 PyObject * obj1 = 0 ;
30047 char *kwnames[] = {
30048 (char *) "self",(char *) "item", NULL
30049 };
30050
30051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
30052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30054 {
30055 arg2 = wxString_in_helper(obj1);
30056 if (arg2 == NULL) SWIG_fail;
30057 temp2 = True;
30058 }
30059 {
30060 PyThreadState* __tstate = wxPyBeginAllowThreads();
30061 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
30062
30063 wxPyEndAllowThreads(__tstate);
30064 if (PyErr_Occurred()) SWIG_fail;
30065 }
30066 resultobj = SWIG_FromInt((int)result);
30067 {
30068 if (temp2)
30069 delete arg2;
30070 }
30071 return resultobj;
30072 fail:
30073 {
30074 if (temp2)
30075 delete arg2;
30076 }
30077 return NULL;
30078 }
30079
30080
30081 static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
30082 PyObject *resultobj;
30083 wxMenu *arg1 = (wxMenu *) 0 ;
30084 int arg2 ;
30085 wxMenuItem *result;
30086 PyObject * obj0 = 0 ;
30087 PyObject * obj1 = 0 ;
30088 char *kwnames[] = {
30089 (char *) "self",(char *) "id", NULL
30090 };
30091
30092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
30093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30095 arg2 = (int) SWIG_AsInt(obj1);
30096 if (PyErr_Occurred()) SWIG_fail;
30097 {
30098 PyThreadState* __tstate = wxPyBeginAllowThreads();
30099 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
30100
30101 wxPyEndAllowThreads(__tstate);
30102 if (PyErr_Occurred()) SWIG_fail;
30103 }
30104 {
30105 resultobj = wxPyMake_wxObject(result);
30106 }
30107 return resultobj;
30108 fail:
30109 return NULL;
30110 }
30111
30112
30113 static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30114 PyObject *resultobj;
30115 wxMenu *arg1 = (wxMenu *) 0 ;
30116 size_t arg2 ;
30117 wxMenuItem *result;
30118 PyObject * obj0 = 0 ;
30119 PyObject * obj1 = 0 ;
30120 char *kwnames[] = {
30121 (char *) "self",(char *) "position", NULL
30122 };
30123
30124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
30125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30127 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30128 if (PyErr_Occurred()) SWIG_fail;
30129 {
30130 PyThreadState* __tstate = wxPyBeginAllowThreads();
30131 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
30132
30133 wxPyEndAllowThreads(__tstate);
30134 if (PyErr_Occurred()) SWIG_fail;
30135 }
30136 {
30137 resultobj = wxPyMake_wxObject(result);
30138 }
30139 return resultobj;
30140 fail:
30141 return NULL;
30142 }
30143
30144
30145 static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
30146 PyObject *resultobj;
30147 wxMenu *arg1 = (wxMenu *) 0 ;
30148 int arg2 ;
30149 bool arg3 ;
30150 PyObject * obj0 = 0 ;
30151 PyObject * obj1 = 0 ;
30152 PyObject * obj2 = 0 ;
30153 char *kwnames[] = {
30154 (char *) "self",(char *) "id",(char *) "enable", NULL
30155 };
30156
30157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
30158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30160 arg2 = (int) SWIG_AsInt(obj1);
30161 if (PyErr_Occurred()) SWIG_fail;
30162 arg3 = (bool) SWIG_AsBool(obj2);
30163 if (PyErr_Occurred()) SWIG_fail;
30164 {
30165 PyThreadState* __tstate = wxPyBeginAllowThreads();
30166 (arg1)->Enable(arg2,arg3);
30167
30168 wxPyEndAllowThreads(__tstate);
30169 if (PyErr_Occurred()) SWIG_fail;
30170 }
30171 Py_INCREF(Py_None); resultobj = Py_None;
30172 return resultobj;
30173 fail:
30174 return NULL;
30175 }
30176
30177
30178 static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
30179 PyObject *resultobj;
30180 wxMenu *arg1 = (wxMenu *) 0 ;
30181 int arg2 ;
30182 bool result;
30183 PyObject * obj0 = 0 ;
30184 PyObject * obj1 = 0 ;
30185 char *kwnames[] = {
30186 (char *) "self",(char *) "id", NULL
30187 };
30188
30189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
30190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30192 arg2 = (int) SWIG_AsInt(obj1);
30193 if (PyErr_Occurred()) SWIG_fail;
30194 {
30195 PyThreadState* __tstate = wxPyBeginAllowThreads();
30196 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
30197
30198 wxPyEndAllowThreads(__tstate);
30199 if (PyErr_Occurred()) SWIG_fail;
30200 }
30201 {
30202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30203 }
30204 return resultobj;
30205 fail:
30206 return NULL;
30207 }
30208
30209
30210 static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
30211 PyObject *resultobj;
30212 wxMenu *arg1 = (wxMenu *) 0 ;
30213 int arg2 ;
30214 bool arg3 ;
30215 PyObject * obj0 = 0 ;
30216 PyObject * obj1 = 0 ;
30217 PyObject * obj2 = 0 ;
30218 char *kwnames[] = {
30219 (char *) "self",(char *) "id",(char *) "check", NULL
30220 };
30221
30222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
30223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30225 arg2 = (int) SWIG_AsInt(obj1);
30226 if (PyErr_Occurred()) SWIG_fail;
30227 arg3 = (bool) SWIG_AsBool(obj2);
30228 if (PyErr_Occurred()) SWIG_fail;
30229 {
30230 PyThreadState* __tstate = wxPyBeginAllowThreads();
30231 (arg1)->Check(arg2,arg3);
30232
30233 wxPyEndAllowThreads(__tstate);
30234 if (PyErr_Occurred()) SWIG_fail;
30235 }
30236 Py_INCREF(Py_None); resultobj = Py_None;
30237 return resultobj;
30238 fail:
30239 return NULL;
30240 }
30241
30242
30243 static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30244 PyObject *resultobj;
30245 wxMenu *arg1 = (wxMenu *) 0 ;
30246 int arg2 ;
30247 bool result;
30248 PyObject * obj0 = 0 ;
30249 PyObject * obj1 = 0 ;
30250 char *kwnames[] = {
30251 (char *) "self",(char *) "id", NULL
30252 };
30253
30254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
30255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30257 arg2 = (int) SWIG_AsInt(obj1);
30258 if (PyErr_Occurred()) SWIG_fail;
30259 {
30260 PyThreadState* __tstate = wxPyBeginAllowThreads();
30261 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
30262
30263 wxPyEndAllowThreads(__tstate);
30264 if (PyErr_Occurred()) SWIG_fail;
30265 }
30266 {
30267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30268 }
30269 return resultobj;
30270 fail:
30271 return NULL;
30272 }
30273
30274
30275 static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30276 PyObject *resultobj;
30277 wxMenu *arg1 = (wxMenu *) 0 ;
30278 int arg2 ;
30279 wxString *arg3 = 0 ;
30280 bool temp3 = False ;
30281 PyObject * obj0 = 0 ;
30282 PyObject * obj1 = 0 ;
30283 PyObject * obj2 = 0 ;
30284 char *kwnames[] = {
30285 (char *) "self",(char *) "id",(char *) "label", NULL
30286 };
30287
30288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
30289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30291 arg2 = (int) SWIG_AsInt(obj1);
30292 if (PyErr_Occurred()) SWIG_fail;
30293 {
30294 arg3 = wxString_in_helper(obj2);
30295 if (arg3 == NULL) SWIG_fail;
30296 temp3 = True;
30297 }
30298 {
30299 PyThreadState* __tstate = wxPyBeginAllowThreads();
30300 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30301
30302 wxPyEndAllowThreads(__tstate);
30303 if (PyErr_Occurred()) SWIG_fail;
30304 }
30305 Py_INCREF(Py_None); resultobj = Py_None;
30306 {
30307 if (temp3)
30308 delete arg3;
30309 }
30310 return resultobj;
30311 fail:
30312 {
30313 if (temp3)
30314 delete arg3;
30315 }
30316 return NULL;
30317 }
30318
30319
30320 static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30321 PyObject *resultobj;
30322 wxMenu *arg1 = (wxMenu *) 0 ;
30323 int arg2 ;
30324 wxString result;
30325 PyObject * obj0 = 0 ;
30326 PyObject * obj1 = 0 ;
30327 char *kwnames[] = {
30328 (char *) "self",(char *) "id", NULL
30329 };
30330
30331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
30332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30334 arg2 = (int) SWIG_AsInt(obj1);
30335 if (PyErr_Occurred()) SWIG_fail;
30336 {
30337 PyThreadState* __tstate = wxPyBeginAllowThreads();
30338 result = ((wxMenu const *)arg1)->GetLabel(arg2);
30339
30340 wxPyEndAllowThreads(__tstate);
30341 if (PyErr_Occurred()) SWIG_fail;
30342 }
30343 {
30344 #if wxUSE_UNICODE
30345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30346 #else
30347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30348 #endif
30349 }
30350 return resultobj;
30351 fail:
30352 return NULL;
30353 }
30354
30355
30356 static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30357 PyObject *resultobj;
30358 wxMenu *arg1 = (wxMenu *) 0 ;
30359 int arg2 ;
30360 wxString *arg3 = 0 ;
30361 bool temp3 = False ;
30362 PyObject * obj0 = 0 ;
30363 PyObject * obj1 = 0 ;
30364 PyObject * obj2 = 0 ;
30365 char *kwnames[] = {
30366 (char *) "self",(char *) "id",(char *) "helpString", NULL
30367 };
30368
30369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
30370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30372 arg2 = (int) SWIG_AsInt(obj1);
30373 if (PyErr_Occurred()) SWIG_fail;
30374 {
30375 arg3 = wxString_in_helper(obj2);
30376 if (arg3 == NULL) SWIG_fail;
30377 temp3 = True;
30378 }
30379 {
30380 PyThreadState* __tstate = wxPyBeginAllowThreads();
30381 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30382
30383 wxPyEndAllowThreads(__tstate);
30384 if (PyErr_Occurred()) SWIG_fail;
30385 }
30386 Py_INCREF(Py_None); resultobj = Py_None;
30387 {
30388 if (temp3)
30389 delete arg3;
30390 }
30391 return resultobj;
30392 fail:
30393 {
30394 if (temp3)
30395 delete arg3;
30396 }
30397 return NULL;
30398 }
30399
30400
30401 static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30402 PyObject *resultobj;
30403 wxMenu *arg1 = (wxMenu *) 0 ;
30404 int arg2 ;
30405 wxString result;
30406 PyObject * obj0 = 0 ;
30407 PyObject * obj1 = 0 ;
30408 char *kwnames[] = {
30409 (char *) "self",(char *) "id", NULL
30410 };
30411
30412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
30413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30415 arg2 = (int) SWIG_AsInt(obj1);
30416 if (PyErr_Occurred()) SWIG_fail;
30417 {
30418 PyThreadState* __tstate = wxPyBeginAllowThreads();
30419 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
30420
30421 wxPyEndAllowThreads(__tstate);
30422 if (PyErr_Occurred()) SWIG_fail;
30423 }
30424 {
30425 #if wxUSE_UNICODE
30426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30427 #else
30428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30429 #endif
30430 }
30431 return resultobj;
30432 fail:
30433 return NULL;
30434 }
30435
30436
30437 static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30438 PyObject *resultobj;
30439 wxMenu *arg1 = (wxMenu *) 0 ;
30440 wxString *arg2 = 0 ;
30441 bool temp2 = False ;
30442 PyObject * obj0 = 0 ;
30443 PyObject * obj1 = 0 ;
30444 char *kwnames[] = {
30445 (char *) "self",(char *) "title", NULL
30446 };
30447
30448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
30449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30451 {
30452 arg2 = wxString_in_helper(obj1);
30453 if (arg2 == NULL) SWIG_fail;
30454 temp2 = True;
30455 }
30456 {
30457 PyThreadState* __tstate = wxPyBeginAllowThreads();
30458 (arg1)->SetTitle((wxString const &)*arg2);
30459
30460 wxPyEndAllowThreads(__tstate);
30461 if (PyErr_Occurred()) SWIG_fail;
30462 }
30463 Py_INCREF(Py_None); resultobj = Py_None;
30464 {
30465 if (temp2)
30466 delete arg2;
30467 }
30468 return resultobj;
30469 fail:
30470 {
30471 if (temp2)
30472 delete arg2;
30473 }
30474 return NULL;
30475 }
30476
30477
30478 static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30479 PyObject *resultobj;
30480 wxMenu *arg1 = (wxMenu *) 0 ;
30481 wxString result;
30482 PyObject * obj0 = 0 ;
30483 char *kwnames[] = {
30484 (char *) "self", NULL
30485 };
30486
30487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
30488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30490 {
30491 PyThreadState* __tstate = wxPyBeginAllowThreads();
30492 result = ((wxMenu const *)arg1)->GetTitle();
30493
30494 wxPyEndAllowThreads(__tstate);
30495 if (PyErr_Occurred()) SWIG_fail;
30496 }
30497 {
30498 #if wxUSE_UNICODE
30499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30500 #else
30501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30502 #endif
30503 }
30504 return resultobj;
30505 fail:
30506 return NULL;
30507 }
30508
30509
30510 static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30511 PyObject *resultobj;
30512 wxMenu *arg1 = (wxMenu *) 0 ;
30513 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
30514 PyObject * obj0 = 0 ;
30515 PyObject * obj1 = 0 ;
30516 char *kwnames[] = {
30517 (char *) "self",(char *) "handler", NULL
30518 };
30519
30520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
30521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30525 {
30526 PyThreadState* __tstate = wxPyBeginAllowThreads();
30527 (arg1)->SetEventHandler(arg2);
30528
30529 wxPyEndAllowThreads(__tstate);
30530 if (PyErr_Occurred()) SWIG_fail;
30531 }
30532 Py_INCREF(Py_None); resultobj = Py_None;
30533 return resultobj;
30534 fail:
30535 return NULL;
30536 }
30537
30538
30539 static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30540 PyObject *resultobj;
30541 wxMenu *arg1 = (wxMenu *) 0 ;
30542 wxEvtHandler *result;
30543 PyObject * obj0 = 0 ;
30544 char *kwnames[] = {
30545 (char *) "self", NULL
30546 };
30547
30548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
30549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30551 {
30552 PyThreadState* __tstate = wxPyBeginAllowThreads();
30553 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
30554
30555 wxPyEndAllowThreads(__tstate);
30556 if (PyErr_Occurred()) SWIG_fail;
30557 }
30558 {
30559 resultobj = wxPyMake_wxObject(result);
30560 }
30561 return resultobj;
30562 fail:
30563 return NULL;
30564 }
30565
30566
30567 static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30568 PyObject *resultobj;
30569 wxMenu *arg1 = (wxMenu *) 0 ;
30570 wxWindow *arg2 = (wxWindow *) 0 ;
30571 PyObject * obj0 = 0 ;
30572 PyObject * obj1 = 0 ;
30573 char *kwnames[] = {
30574 (char *) "self",(char *) "win", NULL
30575 };
30576
30577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
30578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30582 {
30583 PyThreadState* __tstate = wxPyBeginAllowThreads();
30584 (arg1)->SetInvokingWindow(arg2);
30585
30586 wxPyEndAllowThreads(__tstate);
30587 if (PyErr_Occurred()) SWIG_fail;
30588 }
30589 Py_INCREF(Py_None); resultobj = Py_None;
30590 return resultobj;
30591 fail:
30592 return NULL;
30593 }
30594
30595
30596 static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30597 PyObject *resultobj;
30598 wxMenu *arg1 = (wxMenu *) 0 ;
30599 wxWindow *result;
30600 PyObject * obj0 = 0 ;
30601 char *kwnames[] = {
30602 (char *) "self", NULL
30603 };
30604
30605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
30606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30608 {
30609 PyThreadState* __tstate = wxPyBeginAllowThreads();
30610 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
30611
30612 wxPyEndAllowThreads(__tstate);
30613 if (PyErr_Occurred()) SWIG_fail;
30614 }
30615 {
30616 resultobj = wxPyMake_wxObject(result);
30617 }
30618 return resultobj;
30619 fail:
30620 return NULL;
30621 }
30622
30623
30624 static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
30625 PyObject *resultobj;
30626 wxMenu *arg1 = (wxMenu *) 0 ;
30627 long result;
30628 PyObject * obj0 = 0 ;
30629 char *kwnames[] = {
30630 (char *) "self", NULL
30631 };
30632
30633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
30634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30636 {
30637 PyThreadState* __tstate = wxPyBeginAllowThreads();
30638 result = (long)((wxMenu const *)arg1)->GetStyle();
30639
30640 wxPyEndAllowThreads(__tstate);
30641 if (PyErr_Occurred()) SWIG_fail;
30642 }
30643 resultobj = SWIG_FromLong((long)result);
30644 return resultobj;
30645 fail:
30646 return NULL;
30647 }
30648
30649
30650 static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
30651 PyObject *resultobj;
30652 wxMenu *arg1 = (wxMenu *) 0 ;
30653 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
30654 PyObject * obj0 = 0 ;
30655 PyObject * obj1 = 0 ;
30656 char *kwnames[] = {
30657 (char *) "self",(char *) "source", NULL
30658 };
30659
30660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
30661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30663 if (obj1) {
30664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30666 }
30667 {
30668 PyThreadState* __tstate = wxPyBeginAllowThreads();
30669 (arg1)->UpdateUI(arg2);
30670
30671 wxPyEndAllowThreads(__tstate);
30672 if (PyErr_Occurred()) SWIG_fail;
30673 }
30674 Py_INCREF(Py_None); resultobj = Py_None;
30675 return resultobj;
30676 fail:
30677 return NULL;
30678 }
30679
30680
30681 static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30682 PyObject *resultobj;
30683 wxMenu *arg1 = (wxMenu *) 0 ;
30684 wxMenuBar *result;
30685 PyObject * obj0 = 0 ;
30686 char *kwnames[] = {
30687 (char *) "self", NULL
30688 };
30689
30690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
30691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30693 {
30694 PyThreadState* __tstate = wxPyBeginAllowThreads();
30695 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
30696
30697 wxPyEndAllowThreads(__tstate);
30698 if (PyErr_Occurred()) SWIG_fail;
30699 }
30700 {
30701 resultobj = wxPyMake_wxObject(result);
30702 }
30703 return resultobj;
30704 fail:
30705 return NULL;
30706 }
30707
30708
30709 static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30710 PyObject *resultobj;
30711 wxMenu *arg1 = (wxMenu *) 0 ;
30712 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
30713 PyObject * obj0 = 0 ;
30714 PyObject * obj1 = 0 ;
30715 char *kwnames[] = {
30716 (char *) "self",(char *) "menubar", NULL
30717 };
30718
30719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
30720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
30723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30724 {
30725 PyThreadState* __tstate = wxPyBeginAllowThreads();
30726 (arg1)->Attach(arg2);
30727
30728 wxPyEndAllowThreads(__tstate);
30729 if (PyErr_Occurred()) SWIG_fail;
30730 }
30731 Py_INCREF(Py_None); resultobj = Py_None;
30732 return resultobj;
30733 fail:
30734 return NULL;
30735 }
30736
30737
30738 static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30739 PyObject *resultobj;
30740 wxMenu *arg1 = (wxMenu *) 0 ;
30741 PyObject * obj0 = 0 ;
30742 char *kwnames[] = {
30743 (char *) "self", NULL
30744 };
30745
30746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
30747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30749 {
30750 PyThreadState* __tstate = wxPyBeginAllowThreads();
30751 (arg1)->Detach();
30752
30753 wxPyEndAllowThreads(__tstate);
30754 if (PyErr_Occurred()) SWIG_fail;
30755 }
30756 Py_INCREF(Py_None); resultobj = Py_None;
30757 return resultobj;
30758 fail:
30759 return NULL;
30760 }
30761
30762
30763 static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30764 PyObject *resultobj;
30765 wxMenu *arg1 = (wxMenu *) 0 ;
30766 bool result;
30767 PyObject * obj0 = 0 ;
30768 char *kwnames[] = {
30769 (char *) "self", NULL
30770 };
30771
30772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
30773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30775 {
30776 PyThreadState* __tstate = wxPyBeginAllowThreads();
30777 result = (bool)((wxMenu const *)arg1)->IsAttached();
30778
30779 wxPyEndAllowThreads(__tstate);
30780 if (PyErr_Occurred()) SWIG_fail;
30781 }
30782 {
30783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30784 }
30785 return resultobj;
30786 fail:
30787 return NULL;
30788 }
30789
30790
30791 static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30792 PyObject *resultobj;
30793 wxMenu *arg1 = (wxMenu *) 0 ;
30794 wxMenu *arg2 = (wxMenu *) 0 ;
30795 PyObject * obj0 = 0 ;
30796 PyObject * obj1 = 0 ;
30797 char *kwnames[] = {
30798 (char *) "self",(char *) "parent", NULL
30799 };
30800
30801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
30802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30806 {
30807 PyThreadState* __tstate = wxPyBeginAllowThreads();
30808 (arg1)->SetParent(arg2);
30809
30810 wxPyEndAllowThreads(__tstate);
30811 if (PyErr_Occurred()) SWIG_fail;
30812 }
30813 Py_INCREF(Py_None); resultobj = Py_None;
30814 return resultobj;
30815 fail:
30816 return NULL;
30817 }
30818
30819
30820 static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30821 PyObject *resultobj;
30822 wxMenu *arg1 = (wxMenu *) 0 ;
30823 wxMenu *result;
30824 PyObject * obj0 = 0 ;
30825 char *kwnames[] = {
30826 (char *) "self", NULL
30827 };
30828
30829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
30830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30832 {
30833 PyThreadState* __tstate = wxPyBeginAllowThreads();
30834 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
30835
30836 wxPyEndAllowThreads(__tstate);
30837 if (PyErr_Occurred()) SWIG_fail;
30838 }
30839 {
30840 resultobj = wxPyMake_wxObject(result);
30841 }
30842 return resultobj;
30843 fail:
30844 return NULL;
30845 }
30846
30847
30848 static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
30849 PyObject *obj;
30850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30851 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
30852 Py_INCREF(obj);
30853 return Py_BuildValue((char *)"");
30854 }
30855 static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30856 PyObject *resultobj;
30857 long arg1 = (long) 0 ;
30858 wxMenuBar *result;
30859 PyObject * obj0 = 0 ;
30860 char *kwnames[] = {
30861 (char *) "style", NULL
30862 };
30863
30864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
30865 if (obj0) {
30866 arg1 = (long) SWIG_AsLong(obj0);
30867 if (PyErr_Occurred()) SWIG_fail;
30868 }
30869 {
30870 if (!wxPyCheckForApp()) SWIG_fail;
30871 PyThreadState* __tstate = wxPyBeginAllowThreads();
30872 result = (wxMenuBar *)new wxMenuBar(arg1);
30873
30874 wxPyEndAllowThreads(__tstate);
30875 if (PyErr_Occurred()) SWIG_fail;
30876 }
30877 {
30878 resultobj = wxPyMake_wxObject(result);
30879 }
30880 return resultobj;
30881 fail:
30882 return NULL;
30883 }
30884
30885
30886 static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
30887 PyObject *resultobj;
30888 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30889 wxMenu *arg2 = (wxMenu *) 0 ;
30890 wxString *arg3 = 0 ;
30891 bool result;
30892 bool temp3 = False ;
30893 PyObject * obj0 = 0 ;
30894 PyObject * obj1 = 0 ;
30895 PyObject * obj2 = 0 ;
30896 char *kwnames[] = {
30897 (char *) "self",(char *) "menu",(char *) "title", NULL
30898 };
30899
30900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
30901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30905 {
30906 arg3 = wxString_in_helper(obj2);
30907 if (arg3 == NULL) SWIG_fail;
30908 temp3 = True;
30909 }
30910 {
30911 PyThreadState* __tstate = wxPyBeginAllowThreads();
30912 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
30913
30914 wxPyEndAllowThreads(__tstate);
30915 if (PyErr_Occurred()) SWIG_fail;
30916 }
30917 {
30918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30919 }
30920 {
30921 if (temp3)
30922 delete arg3;
30923 }
30924 return resultobj;
30925 fail:
30926 {
30927 if (temp3)
30928 delete arg3;
30929 }
30930 return NULL;
30931 }
30932
30933
30934 static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30935 PyObject *resultobj;
30936 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30937 size_t arg2 ;
30938 wxMenu *arg3 = (wxMenu *) 0 ;
30939 wxString *arg4 = 0 ;
30940 bool result;
30941 bool temp4 = False ;
30942 PyObject * obj0 = 0 ;
30943 PyObject * obj1 = 0 ;
30944 PyObject * obj2 = 0 ;
30945 PyObject * obj3 = 0 ;
30946 char *kwnames[] = {
30947 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30948 };
30949
30950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30953 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30954 if (PyErr_Occurred()) SWIG_fail;
30955 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30957 {
30958 arg4 = wxString_in_helper(obj3);
30959 if (arg4 == NULL) SWIG_fail;
30960 temp4 = True;
30961 }
30962 {
30963 PyThreadState* __tstate = wxPyBeginAllowThreads();
30964 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
30965
30966 wxPyEndAllowThreads(__tstate);
30967 if (PyErr_Occurred()) SWIG_fail;
30968 }
30969 {
30970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30971 }
30972 {
30973 if (temp4)
30974 delete arg4;
30975 }
30976 return resultobj;
30977 fail:
30978 {
30979 if (temp4)
30980 delete arg4;
30981 }
30982 return NULL;
30983 }
30984
30985
30986 static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30987 PyObject *resultobj;
30988 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30989 size_t result;
30990 PyObject * obj0 = 0 ;
30991 char *kwnames[] = {
30992 (char *) "self", NULL
30993 };
30994
30995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
30996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30998 {
30999 PyThreadState* __tstate = wxPyBeginAllowThreads();
31000 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
31001
31002 wxPyEndAllowThreads(__tstate);
31003 if (PyErr_Occurred()) SWIG_fail;
31004 }
31005 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
31006 return resultobj;
31007 fail:
31008 return NULL;
31009 }
31010
31011
31012 static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31013 PyObject *resultobj;
31014 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31015 size_t arg2 ;
31016 wxMenu *result;
31017 PyObject * obj0 = 0 ;
31018 PyObject * obj1 = 0 ;
31019 char *kwnames[] = {
31020 (char *) "self",(char *) "pos", NULL
31021 };
31022
31023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
31024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31026 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31027 if (PyErr_Occurred()) SWIG_fail;
31028 {
31029 PyThreadState* __tstate = wxPyBeginAllowThreads();
31030 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
31031
31032 wxPyEndAllowThreads(__tstate);
31033 if (PyErr_Occurred()) SWIG_fail;
31034 }
31035 {
31036 resultobj = wxPyMake_wxObject(result);
31037 }
31038 return resultobj;
31039 fail:
31040 return NULL;
31041 }
31042
31043
31044 static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
31045 PyObject *resultobj;
31046 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31047 size_t arg2 ;
31048 wxMenu *arg3 = (wxMenu *) 0 ;
31049 wxString *arg4 = 0 ;
31050 wxMenu *result;
31051 bool temp4 = False ;
31052 PyObject * obj0 = 0 ;
31053 PyObject * obj1 = 0 ;
31054 PyObject * obj2 = 0 ;
31055 PyObject * obj3 = 0 ;
31056 char *kwnames[] = {
31057 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31058 };
31059
31060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31063 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31064 if (PyErr_Occurred()) SWIG_fail;
31065 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31067 {
31068 arg4 = wxString_in_helper(obj3);
31069 if (arg4 == NULL) SWIG_fail;
31070 temp4 = True;
31071 }
31072 {
31073 PyThreadState* __tstate = wxPyBeginAllowThreads();
31074 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
31075
31076 wxPyEndAllowThreads(__tstate);
31077 if (PyErr_Occurred()) SWIG_fail;
31078 }
31079 {
31080 resultobj = wxPyMake_wxObject(result);
31081 }
31082 {
31083 if (temp4)
31084 delete arg4;
31085 }
31086 return resultobj;
31087 fail:
31088 {
31089 if (temp4)
31090 delete arg4;
31091 }
31092 return NULL;
31093 }
31094
31095
31096 static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
31097 PyObject *resultobj;
31098 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31099 size_t arg2 ;
31100 wxMenu *result;
31101 PyObject * obj0 = 0 ;
31102 PyObject * obj1 = 0 ;
31103 char *kwnames[] = {
31104 (char *) "self",(char *) "pos", NULL
31105 };
31106
31107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
31108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31110 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31111 if (PyErr_Occurred()) SWIG_fail;
31112 {
31113 PyThreadState* __tstate = wxPyBeginAllowThreads();
31114 result = (wxMenu *)(arg1)->Remove(arg2);
31115
31116 wxPyEndAllowThreads(__tstate);
31117 if (PyErr_Occurred()) SWIG_fail;
31118 }
31119 {
31120 resultobj = wxPyMake_wxObject(result);
31121 }
31122 return resultobj;
31123 fail:
31124 return NULL;
31125 }
31126
31127
31128 static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31129 PyObject *resultobj;
31130 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31131 size_t arg2 ;
31132 bool arg3 ;
31133 PyObject * obj0 = 0 ;
31134 PyObject * obj1 = 0 ;
31135 PyObject * obj2 = 0 ;
31136 char *kwnames[] = {
31137 (char *) "self",(char *) "pos",(char *) "enable", NULL
31138 };
31139
31140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
31141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31143 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31144 if (PyErr_Occurred()) SWIG_fail;
31145 arg3 = (bool) SWIG_AsBool(obj2);
31146 if (PyErr_Occurred()) SWIG_fail;
31147 {
31148 PyThreadState* __tstate = wxPyBeginAllowThreads();
31149 (arg1)->EnableTop(arg2,arg3);
31150
31151 wxPyEndAllowThreads(__tstate);
31152 if (PyErr_Occurred()) SWIG_fail;
31153 }
31154 Py_INCREF(Py_None); resultobj = Py_None;
31155 return resultobj;
31156 fail:
31157 return NULL;
31158 }
31159
31160
31161 static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31162 PyObject *resultobj;
31163 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31164 size_t arg2 ;
31165 bool result;
31166 PyObject * obj0 = 0 ;
31167 PyObject * obj1 = 0 ;
31168 char *kwnames[] = {
31169 (char *) "self",(char *) "pos", NULL
31170 };
31171
31172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
31173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31175 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31176 if (PyErr_Occurred()) SWIG_fail;
31177 {
31178 PyThreadState* __tstate = wxPyBeginAllowThreads();
31179 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
31180
31181 wxPyEndAllowThreads(__tstate);
31182 if (PyErr_Occurred()) SWIG_fail;
31183 }
31184 {
31185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31186 }
31187 return resultobj;
31188 fail:
31189 return NULL;
31190 }
31191
31192
31193 static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31194 PyObject *resultobj;
31195 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31196 size_t arg2 ;
31197 wxString *arg3 = 0 ;
31198 bool temp3 = False ;
31199 PyObject * obj0 = 0 ;
31200 PyObject * obj1 = 0 ;
31201 PyObject * obj2 = 0 ;
31202 char *kwnames[] = {
31203 (char *) "self",(char *) "pos",(char *) "label", NULL
31204 };
31205
31206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
31207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31209 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31210 if (PyErr_Occurred()) SWIG_fail;
31211 {
31212 arg3 = wxString_in_helper(obj2);
31213 if (arg3 == NULL) SWIG_fail;
31214 temp3 = True;
31215 }
31216 {
31217 PyThreadState* __tstate = wxPyBeginAllowThreads();
31218 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
31219
31220 wxPyEndAllowThreads(__tstate);
31221 if (PyErr_Occurred()) SWIG_fail;
31222 }
31223 Py_INCREF(Py_None); resultobj = Py_None;
31224 {
31225 if (temp3)
31226 delete arg3;
31227 }
31228 return resultobj;
31229 fail:
31230 {
31231 if (temp3)
31232 delete arg3;
31233 }
31234 return NULL;
31235 }
31236
31237
31238 static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31239 PyObject *resultobj;
31240 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31241 size_t arg2 ;
31242 wxString result;
31243 PyObject * obj0 = 0 ;
31244 PyObject * obj1 = 0 ;
31245 char *kwnames[] = {
31246 (char *) "self",(char *) "pos", NULL
31247 };
31248
31249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
31250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31252 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31253 if (PyErr_Occurred()) SWIG_fail;
31254 {
31255 PyThreadState* __tstate = wxPyBeginAllowThreads();
31256 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31257
31258 wxPyEndAllowThreads(__tstate);
31259 if (PyErr_Occurred()) SWIG_fail;
31260 }
31261 {
31262 #if wxUSE_UNICODE
31263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31264 #else
31265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31266 #endif
31267 }
31268 return resultobj;
31269 fail:
31270 return NULL;
31271 }
31272
31273
31274 static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31275 PyObject *resultobj;
31276 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31277 wxString *arg2 = 0 ;
31278 wxString *arg3 = 0 ;
31279 int result;
31280 bool temp2 = False ;
31281 bool temp3 = False ;
31282 PyObject * obj0 = 0 ;
31283 PyObject * obj1 = 0 ;
31284 PyObject * obj2 = 0 ;
31285 char *kwnames[] = {
31286 (char *) "self",(char *) "menu",(char *) "item", NULL
31287 };
31288
31289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
31290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31292 {
31293 arg2 = wxString_in_helper(obj1);
31294 if (arg2 == NULL) SWIG_fail;
31295 temp2 = True;
31296 }
31297 {
31298 arg3 = wxString_in_helper(obj2);
31299 if (arg3 == NULL) SWIG_fail;
31300 temp3 = True;
31301 }
31302 {
31303 PyThreadState* __tstate = wxPyBeginAllowThreads();
31304 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
31305
31306 wxPyEndAllowThreads(__tstate);
31307 if (PyErr_Occurred()) SWIG_fail;
31308 }
31309 resultobj = SWIG_FromInt((int)result);
31310 {
31311 if (temp2)
31312 delete arg2;
31313 }
31314 {
31315 if (temp3)
31316 delete arg3;
31317 }
31318 return resultobj;
31319 fail:
31320 {
31321 if (temp2)
31322 delete arg2;
31323 }
31324 {
31325 if (temp3)
31326 delete arg3;
31327 }
31328 return NULL;
31329 }
31330
31331
31332 static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
31333 PyObject *resultobj;
31334 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31335 int arg2 ;
31336 wxMenuItem *result;
31337 PyObject * obj0 = 0 ;
31338 PyObject * obj1 = 0 ;
31339 char *kwnames[] = {
31340 (char *) "self",(char *) "id", NULL
31341 };
31342
31343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
31344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31346 arg2 = (int) SWIG_AsInt(obj1);
31347 if (PyErr_Occurred()) SWIG_fail;
31348 {
31349 PyThreadState* __tstate = wxPyBeginAllowThreads();
31350 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
31351
31352 wxPyEndAllowThreads(__tstate);
31353 if (PyErr_Occurred()) SWIG_fail;
31354 }
31355 {
31356 resultobj = wxPyMake_wxObject(result);
31357 }
31358 return resultobj;
31359 fail:
31360 return NULL;
31361 }
31362
31363
31364 static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31365 PyObject *resultobj;
31366 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31367 wxString *arg2 = 0 ;
31368 int result;
31369 bool temp2 = False ;
31370 PyObject * obj0 = 0 ;
31371 PyObject * obj1 = 0 ;
31372 char *kwnames[] = {
31373 (char *) "self",(char *) "title", NULL
31374 };
31375
31376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
31377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31379 {
31380 arg2 = wxString_in_helper(obj1);
31381 if (arg2 == NULL) SWIG_fail;
31382 temp2 = True;
31383 }
31384 {
31385 PyThreadState* __tstate = wxPyBeginAllowThreads();
31386 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
31387
31388 wxPyEndAllowThreads(__tstate);
31389 if (PyErr_Occurred()) SWIG_fail;
31390 }
31391 resultobj = SWIG_FromInt((int)result);
31392 {
31393 if (temp2)
31394 delete arg2;
31395 }
31396 return resultobj;
31397 fail:
31398 {
31399 if (temp2)
31400 delete arg2;
31401 }
31402 return NULL;
31403 }
31404
31405
31406 static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
31407 PyObject *resultobj;
31408 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31409 int arg2 ;
31410 bool arg3 ;
31411 PyObject * obj0 = 0 ;
31412 PyObject * obj1 = 0 ;
31413 PyObject * obj2 = 0 ;
31414 char *kwnames[] = {
31415 (char *) "self",(char *) "id",(char *) "enable", NULL
31416 };
31417
31418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
31419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31421 arg2 = (int) SWIG_AsInt(obj1);
31422 if (PyErr_Occurred()) SWIG_fail;
31423 arg3 = (bool) SWIG_AsBool(obj2);
31424 if (PyErr_Occurred()) SWIG_fail;
31425 {
31426 PyThreadState* __tstate = wxPyBeginAllowThreads();
31427 (arg1)->Enable(arg2,arg3);
31428
31429 wxPyEndAllowThreads(__tstate);
31430 if (PyErr_Occurred()) SWIG_fail;
31431 }
31432 Py_INCREF(Py_None); resultobj = Py_None;
31433 return resultobj;
31434 fail:
31435 return NULL;
31436 }
31437
31438
31439 static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31440 PyObject *resultobj;
31441 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31442 int arg2 ;
31443 bool arg3 ;
31444 PyObject * obj0 = 0 ;
31445 PyObject * obj1 = 0 ;
31446 PyObject * obj2 = 0 ;
31447 char *kwnames[] = {
31448 (char *) "self",(char *) "id",(char *) "check", NULL
31449 };
31450
31451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
31452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31454 arg2 = (int) SWIG_AsInt(obj1);
31455 if (PyErr_Occurred()) SWIG_fail;
31456 arg3 = (bool) SWIG_AsBool(obj2);
31457 if (PyErr_Occurred()) SWIG_fail;
31458 {
31459 PyThreadState* __tstate = wxPyBeginAllowThreads();
31460 (arg1)->Check(arg2,arg3);
31461
31462 wxPyEndAllowThreads(__tstate);
31463 if (PyErr_Occurred()) SWIG_fail;
31464 }
31465 Py_INCREF(Py_None); resultobj = Py_None;
31466 return resultobj;
31467 fail:
31468 return NULL;
31469 }
31470
31471
31472 static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31473 PyObject *resultobj;
31474 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31475 int arg2 ;
31476 bool result;
31477 PyObject * obj0 = 0 ;
31478 PyObject * obj1 = 0 ;
31479 char *kwnames[] = {
31480 (char *) "self",(char *) "id", NULL
31481 };
31482
31483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
31484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31486 arg2 = (int) SWIG_AsInt(obj1);
31487 if (PyErr_Occurred()) SWIG_fail;
31488 {
31489 PyThreadState* __tstate = wxPyBeginAllowThreads();
31490 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
31491
31492 wxPyEndAllowThreads(__tstate);
31493 if (PyErr_Occurred()) SWIG_fail;
31494 }
31495 {
31496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31497 }
31498 return resultobj;
31499 fail:
31500 return NULL;
31501 }
31502
31503
31504 static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31505 PyObject *resultobj;
31506 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31507 int arg2 ;
31508 bool result;
31509 PyObject * obj0 = 0 ;
31510 PyObject * obj1 = 0 ;
31511 char *kwnames[] = {
31512 (char *) "self",(char *) "id", NULL
31513 };
31514
31515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
31516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31518 arg2 = (int) SWIG_AsInt(obj1);
31519 if (PyErr_Occurred()) SWIG_fail;
31520 {
31521 PyThreadState* __tstate = wxPyBeginAllowThreads();
31522 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
31523
31524 wxPyEndAllowThreads(__tstate);
31525 if (PyErr_Occurred()) SWIG_fail;
31526 }
31527 {
31528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31529 }
31530 return resultobj;
31531 fail:
31532 return NULL;
31533 }
31534
31535
31536 static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31537 PyObject *resultobj;
31538 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31539 int arg2 ;
31540 wxString *arg3 = 0 ;
31541 bool temp3 = False ;
31542 PyObject * obj0 = 0 ;
31543 PyObject * obj1 = 0 ;
31544 PyObject * obj2 = 0 ;
31545 char *kwnames[] = {
31546 (char *) "self",(char *) "id",(char *) "label", NULL
31547 };
31548
31549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
31550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31552 arg2 = (int) SWIG_AsInt(obj1);
31553 if (PyErr_Occurred()) SWIG_fail;
31554 {
31555 arg3 = wxString_in_helper(obj2);
31556 if (arg3 == NULL) SWIG_fail;
31557 temp3 = True;
31558 }
31559 {
31560 PyThreadState* __tstate = wxPyBeginAllowThreads();
31561 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31562
31563 wxPyEndAllowThreads(__tstate);
31564 if (PyErr_Occurred()) SWIG_fail;
31565 }
31566 Py_INCREF(Py_None); resultobj = Py_None;
31567 {
31568 if (temp3)
31569 delete arg3;
31570 }
31571 return resultobj;
31572 fail:
31573 {
31574 if (temp3)
31575 delete arg3;
31576 }
31577 return NULL;
31578 }
31579
31580
31581 static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31582 PyObject *resultobj;
31583 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31584 int arg2 ;
31585 wxString result;
31586 PyObject * obj0 = 0 ;
31587 PyObject * obj1 = 0 ;
31588 char *kwnames[] = {
31589 (char *) "self",(char *) "id", NULL
31590 };
31591
31592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
31593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31595 arg2 = (int) SWIG_AsInt(obj1);
31596 if (PyErr_Occurred()) SWIG_fail;
31597 {
31598 PyThreadState* __tstate = wxPyBeginAllowThreads();
31599 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
31600
31601 wxPyEndAllowThreads(__tstate);
31602 if (PyErr_Occurred()) SWIG_fail;
31603 }
31604 {
31605 #if wxUSE_UNICODE
31606 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31607 #else
31608 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31609 #endif
31610 }
31611 return resultobj;
31612 fail:
31613 return NULL;
31614 }
31615
31616
31617 static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31618 PyObject *resultobj;
31619 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31620 int arg2 ;
31621 wxString *arg3 = 0 ;
31622 bool temp3 = False ;
31623 PyObject * obj0 = 0 ;
31624 PyObject * obj1 = 0 ;
31625 PyObject * obj2 = 0 ;
31626 char *kwnames[] = {
31627 (char *) "self",(char *) "id",(char *) "helpString", NULL
31628 };
31629
31630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
31631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31633 arg2 = (int) SWIG_AsInt(obj1);
31634 if (PyErr_Occurred()) SWIG_fail;
31635 {
31636 arg3 = wxString_in_helper(obj2);
31637 if (arg3 == NULL) SWIG_fail;
31638 temp3 = True;
31639 }
31640 {
31641 PyThreadState* __tstate = wxPyBeginAllowThreads();
31642 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31643
31644 wxPyEndAllowThreads(__tstate);
31645 if (PyErr_Occurred()) SWIG_fail;
31646 }
31647 Py_INCREF(Py_None); resultobj = Py_None;
31648 {
31649 if (temp3)
31650 delete arg3;
31651 }
31652 return resultobj;
31653 fail:
31654 {
31655 if (temp3)
31656 delete arg3;
31657 }
31658 return NULL;
31659 }
31660
31661
31662 static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31663 PyObject *resultobj;
31664 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31665 int arg2 ;
31666 wxString result;
31667 PyObject * obj0 = 0 ;
31668 PyObject * obj1 = 0 ;
31669 char *kwnames[] = {
31670 (char *) "self",(char *) "id", NULL
31671 };
31672
31673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
31674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31676 arg2 = (int) SWIG_AsInt(obj1);
31677 if (PyErr_Occurred()) SWIG_fail;
31678 {
31679 PyThreadState* __tstate = wxPyBeginAllowThreads();
31680 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
31681
31682 wxPyEndAllowThreads(__tstate);
31683 if (PyErr_Occurred()) SWIG_fail;
31684 }
31685 {
31686 #if wxUSE_UNICODE
31687 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31688 #else
31689 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31690 #endif
31691 }
31692 return resultobj;
31693 fail:
31694 return NULL;
31695 }
31696
31697
31698 static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
31699 PyObject *resultobj;
31700 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31701 wxFrame *result;
31702 PyObject * obj0 = 0 ;
31703 char *kwnames[] = {
31704 (char *) "self", NULL
31705 };
31706
31707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
31708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31710 {
31711 PyThreadState* __tstate = wxPyBeginAllowThreads();
31712 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
31713
31714 wxPyEndAllowThreads(__tstate);
31715 if (PyErr_Occurred()) SWIG_fail;
31716 }
31717 {
31718 resultobj = wxPyMake_wxObject(result);
31719 }
31720 return resultobj;
31721 fail:
31722 return NULL;
31723 }
31724
31725
31726 static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
31727 PyObject *resultobj;
31728 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31729 bool result;
31730 PyObject * obj0 = 0 ;
31731 char *kwnames[] = {
31732 (char *) "self", NULL
31733 };
31734
31735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
31736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31738 {
31739 PyThreadState* __tstate = wxPyBeginAllowThreads();
31740 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
31741
31742 wxPyEndAllowThreads(__tstate);
31743 if (PyErr_Occurred()) SWIG_fail;
31744 }
31745 {
31746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31747 }
31748 return resultobj;
31749 fail:
31750 return NULL;
31751 }
31752
31753
31754 static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
31755 PyObject *resultobj;
31756 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31757 wxFrame *arg2 = (wxFrame *) 0 ;
31758 PyObject * obj0 = 0 ;
31759 PyObject * obj1 = 0 ;
31760 char *kwnames[] = {
31761 (char *) "self",(char *) "frame", NULL
31762 };
31763
31764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
31765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
31768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31769 {
31770 PyThreadState* __tstate = wxPyBeginAllowThreads();
31771 (arg1)->Attach(arg2);
31772
31773 wxPyEndAllowThreads(__tstate);
31774 if (PyErr_Occurred()) SWIG_fail;
31775 }
31776 Py_INCREF(Py_None); resultobj = Py_None;
31777 return resultobj;
31778 fail:
31779 return NULL;
31780 }
31781
31782
31783 static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
31784 PyObject *resultobj;
31785 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31786 PyObject * obj0 = 0 ;
31787 char *kwnames[] = {
31788 (char *) "self", NULL
31789 };
31790
31791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
31792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31794 {
31795 PyThreadState* __tstate = wxPyBeginAllowThreads();
31796 (arg1)->Detach();
31797
31798 wxPyEndAllowThreads(__tstate);
31799 if (PyErr_Occurred()) SWIG_fail;
31800 }
31801 Py_INCREF(Py_None); resultobj = Py_None;
31802 return resultobj;
31803 fail:
31804 return NULL;
31805 }
31806
31807
31808 static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
31809 PyObject *obj;
31810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31811 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
31812 Py_INCREF(obj);
31813 return Py_BuildValue((char *)"");
31814 }
31815 static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31816 PyObject *resultobj;
31817 wxMenu *arg1 = (wxMenu *) NULL ;
31818 int arg2 = (int) wxID_ANY ;
31819 wxString const &arg3_defvalue = wxPyEmptyString ;
31820 wxString *arg3 = (wxString *) &arg3_defvalue ;
31821 wxString const &arg4_defvalue = wxPyEmptyString ;
31822 wxString *arg4 = (wxString *) &arg4_defvalue ;
31823 int arg5 = (int) wxITEM_NORMAL ;
31824 wxMenu *arg6 = (wxMenu *) NULL ;
31825 wxMenuItem *result;
31826 bool temp3 = False ;
31827 bool temp4 = False ;
31828 PyObject * obj0 = 0 ;
31829 PyObject * obj1 = 0 ;
31830 PyObject * obj2 = 0 ;
31831 PyObject * obj3 = 0 ;
31832 PyObject * obj4 = 0 ;
31833 PyObject * obj5 = 0 ;
31834 char *kwnames[] = {
31835 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31836 };
31837
31838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31839 if (obj0) {
31840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31842 }
31843 if (obj1) {
31844 arg2 = (int) SWIG_AsInt(obj1);
31845 if (PyErr_Occurred()) SWIG_fail;
31846 }
31847 if (obj2) {
31848 {
31849 arg3 = wxString_in_helper(obj2);
31850 if (arg3 == NULL) SWIG_fail;
31851 temp3 = True;
31852 }
31853 }
31854 if (obj3) {
31855 {
31856 arg4 = wxString_in_helper(obj3);
31857 if (arg4 == NULL) SWIG_fail;
31858 temp4 = True;
31859 }
31860 }
31861 if (obj4) {
31862 arg5 = (wxItemKind) SWIG_AsInt(obj4);
31863 if (PyErr_Occurred()) SWIG_fail;
31864 }
31865 if (obj5) {
31866 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
31867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31868 }
31869 {
31870 PyThreadState* __tstate = wxPyBeginAllowThreads();
31871 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
31872
31873 wxPyEndAllowThreads(__tstate);
31874 if (PyErr_Occurred()) SWIG_fail;
31875 }
31876 {
31877 resultobj = wxPyMake_wxObject(result);
31878 }
31879 {
31880 if (temp3)
31881 delete arg3;
31882 }
31883 {
31884 if (temp4)
31885 delete arg4;
31886 }
31887 return resultobj;
31888 fail:
31889 {
31890 if (temp3)
31891 delete arg3;
31892 }
31893 {
31894 if (temp4)
31895 delete arg4;
31896 }
31897 return NULL;
31898 }
31899
31900
31901 static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31902 PyObject *resultobj;
31903 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31904 wxMenu *result;
31905 PyObject * obj0 = 0 ;
31906 char *kwnames[] = {
31907 (char *) "self", NULL
31908 };
31909
31910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
31911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31913 {
31914 PyThreadState* __tstate = wxPyBeginAllowThreads();
31915 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
31916
31917 wxPyEndAllowThreads(__tstate);
31918 if (PyErr_Occurred()) SWIG_fail;
31919 }
31920 {
31921 resultobj = wxPyMake_wxObject(result);
31922 }
31923 return resultobj;
31924 fail:
31925 return NULL;
31926 }
31927
31928
31929 static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31930 PyObject *resultobj;
31931 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31932 wxMenu *arg2 = (wxMenu *) 0 ;
31933 PyObject * obj0 = 0 ;
31934 PyObject * obj1 = 0 ;
31935 char *kwnames[] = {
31936 (char *) "self",(char *) "menu", NULL
31937 };
31938
31939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
31940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31944 {
31945 PyThreadState* __tstate = wxPyBeginAllowThreads();
31946 (arg1)->SetMenu(arg2);
31947
31948 wxPyEndAllowThreads(__tstate);
31949 if (PyErr_Occurred()) SWIG_fail;
31950 }
31951 Py_INCREF(Py_None); resultobj = Py_None;
31952 return resultobj;
31953 fail:
31954 return NULL;
31955 }
31956
31957
31958 static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31959 PyObject *resultobj;
31960 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31961 int arg2 ;
31962 PyObject * obj0 = 0 ;
31963 PyObject * obj1 = 0 ;
31964 char *kwnames[] = {
31965 (char *) "self",(char *) "id", NULL
31966 };
31967
31968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
31969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31971 arg2 = (int) SWIG_AsInt(obj1);
31972 if (PyErr_Occurred()) SWIG_fail;
31973 {
31974 PyThreadState* __tstate = wxPyBeginAllowThreads();
31975 (arg1)->SetId(arg2);
31976
31977 wxPyEndAllowThreads(__tstate);
31978 if (PyErr_Occurred()) SWIG_fail;
31979 }
31980 Py_INCREF(Py_None); resultobj = Py_None;
31981 return resultobj;
31982 fail:
31983 return NULL;
31984 }
31985
31986
31987 static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31988 PyObject *resultobj;
31989 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31990 int result;
31991 PyObject * obj0 = 0 ;
31992 char *kwnames[] = {
31993 (char *) "self", NULL
31994 };
31995
31996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
31997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31999 {
32000 PyThreadState* __tstate = wxPyBeginAllowThreads();
32001 result = (int)((wxMenuItem const *)arg1)->GetId();
32002
32003 wxPyEndAllowThreads(__tstate);
32004 if (PyErr_Occurred()) SWIG_fail;
32005 }
32006 resultobj = SWIG_FromInt((int)result);
32007 return resultobj;
32008 fail:
32009 return NULL;
32010 }
32011
32012
32013 static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
32014 PyObject *resultobj;
32015 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32016 bool result;
32017 PyObject * obj0 = 0 ;
32018 char *kwnames[] = {
32019 (char *) "self", NULL
32020 };
32021
32022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
32023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32025 {
32026 PyThreadState* __tstate = wxPyBeginAllowThreads();
32027 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
32028
32029 wxPyEndAllowThreads(__tstate);
32030 if (PyErr_Occurred()) SWIG_fail;
32031 }
32032 {
32033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32034 }
32035 return resultobj;
32036 fail:
32037 return NULL;
32038 }
32039
32040
32041 static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32042 PyObject *resultobj;
32043 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32044 wxString *arg2 = 0 ;
32045 bool temp2 = False ;
32046 PyObject * obj0 = 0 ;
32047 PyObject * obj1 = 0 ;
32048 char *kwnames[] = {
32049 (char *) "self",(char *) "str", NULL
32050 };
32051
32052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
32053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32055 {
32056 arg2 = wxString_in_helper(obj1);
32057 if (arg2 == NULL) SWIG_fail;
32058 temp2 = True;
32059 }
32060 {
32061 PyThreadState* __tstate = wxPyBeginAllowThreads();
32062 (arg1)->SetText((wxString const &)*arg2);
32063
32064 wxPyEndAllowThreads(__tstate);
32065 if (PyErr_Occurred()) SWIG_fail;
32066 }
32067 Py_INCREF(Py_None); resultobj = Py_None;
32068 {
32069 if (temp2)
32070 delete arg2;
32071 }
32072 return resultobj;
32073 fail:
32074 {
32075 if (temp2)
32076 delete arg2;
32077 }
32078 return NULL;
32079 }
32080
32081
32082 static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32083 PyObject *resultobj;
32084 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32085 wxString result;
32086 PyObject * obj0 = 0 ;
32087 char *kwnames[] = {
32088 (char *) "self", NULL
32089 };
32090
32091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
32092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32094 {
32095 PyThreadState* __tstate = wxPyBeginAllowThreads();
32096 result = ((wxMenuItem const *)arg1)->GetLabel();
32097
32098 wxPyEndAllowThreads(__tstate);
32099 if (PyErr_Occurred()) SWIG_fail;
32100 }
32101 {
32102 #if wxUSE_UNICODE
32103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32104 #else
32105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32106 #endif
32107 }
32108 return resultobj;
32109 fail:
32110 return NULL;
32111 }
32112
32113
32114 static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32115 PyObject *resultobj;
32116 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32117 wxString *result;
32118 PyObject * obj0 = 0 ;
32119 char *kwnames[] = {
32120 (char *) "self", NULL
32121 };
32122
32123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
32124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32126 {
32127 PyThreadState* __tstate = wxPyBeginAllowThreads();
32128 {
32129 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
32130 result = (wxString *) &_result_ref;
32131 }
32132
32133 wxPyEndAllowThreads(__tstate);
32134 if (PyErr_Occurred()) SWIG_fail;
32135 }
32136 {
32137 #if wxUSE_UNICODE
32138 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32139 #else
32140 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32141 #endif
32142 }
32143 return resultobj;
32144 fail:
32145 return NULL;
32146 }
32147
32148
32149 static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
32150 PyObject *resultobj;
32151 wxString *arg1 = 0 ;
32152 wxString result;
32153 bool temp1 = False ;
32154 PyObject * obj0 = 0 ;
32155 char *kwnames[] = {
32156 (char *) "text", NULL
32157 };
32158
32159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
32160 {
32161 arg1 = wxString_in_helper(obj0);
32162 if (arg1 == NULL) SWIG_fail;
32163 temp1 = True;
32164 }
32165 {
32166 PyThreadState* __tstate = wxPyBeginAllowThreads();
32167 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
32168
32169 wxPyEndAllowThreads(__tstate);
32170 if (PyErr_Occurred()) SWIG_fail;
32171 }
32172 {
32173 #if wxUSE_UNICODE
32174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32175 #else
32176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32177 #endif
32178 }
32179 {
32180 if (temp1)
32181 delete arg1;
32182 }
32183 return resultobj;
32184 fail:
32185 {
32186 if (temp1)
32187 delete arg1;
32188 }
32189 return NULL;
32190 }
32191
32192
32193 static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32194 PyObject *resultobj;
32195 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32196 int result;
32197 PyObject * obj0 = 0 ;
32198 char *kwnames[] = {
32199 (char *) "self", NULL
32200 };
32201
32202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
32203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32205 {
32206 PyThreadState* __tstate = wxPyBeginAllowThreads();
32207 result = (int)((wxMenuItem const *)arg1)->GetKind();
32208
32209 wxPyEndAllowThreads(__tstate);
32210 if (PyErr_Occurred()) SWIG_fail;
32211 }
32212 resultobj = SWIG_FromInt((int)result);
32213 return resultobj;
32214 fail:
32215 return NULL;
32216 }
32217
32218
32219 static PyObject *_wrap_MenuItem_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32220 PyObject *resultobj;
32221 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32222 int arg2 ;
32223 PyObject * obj0 = 0 ;
32224 PyObject * obj1 = 0 ;
32225 char *kwnames[] = {
32226 (char *) "self",(char *) "kind", NULL
32227 };
32228
32229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
32230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32232 arg2 = (wxItemKind) SWIG_AsInt(obj1);
32233 if (PyErr_Occurred()) SWIG_fail;
32234 {
32235 PyThreadState* __tstate = wxPyBeginAllowThreads();
32236 (arg1)->SetKind((wxItemKind )arg2);
32237
32238 wxPyEndAllowThreads(__tstate);
32239 if (PyErr_Occurred()) SWIG_fail;
32240 }
32241 Py_INCREF(Py_None); resultobj = Py_None;
32242 return resultobj;
32243 fail:
32244 return NULL;
32245 }
32246
32247
32248 static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32249 PyObject *resultobj;
32250 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32251 bool arg2 ;
32252 PyObject * obj0 = 0 ;
32253 PyObject * obj1 = 0 ;
32254 char *kwnames[] = {
32255 (char *) "self",(char *) "checkable", NULL
32256 };
32257
32258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
32259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32261 arg2 = (bool) SWIG_AsBool(obj1);
32262 if (PyErr_Occurred()) SWIG_fail;
32263 {
32264 PyThreadState* __tstate = wxPyBeginAllowThreads();
32265 (arg1)->SetCheckable(arg2);
32266
32267 wxPyEndAllowThreads(__tstate);
32268 if (PyErr_Occurred()) SWIG_fail;
32269 }
32270 Py_INCREF(Py_None); resultobj = Py_None;
32271 return resultobj;
32272 fail:
32273 return NULL;
32274 }
32275
32276
32277 static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32278 PyObject *resultobj;
32279 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32280 bool result;
32281 PyObject * obj0 = 0 ;
32282 char *kwnames[] = {
32283 (char *) "self", NULL
32284 };
32285
32286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
32287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32289 {
32290 PyThreadState* __tstate = wxPyBeginAllowThreads();
32291 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
32292
32293 wxPyEndAllowThreads(__tstate);
32294 if (PyErr_Occurred()) SWIG_fail;
32295 }
32296 {
32297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32298 }
32299 return resultobj;
32300 fail:
32301 return NULL;
32302 }
32303
32304
32305 static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32306 PyObject *resultobj;
32307 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32308 bool result;
32309 PyObject * obj0 = 0 ;
32310 char *kwnames[] = {
32311 (char *) "self", NULL
32312 };
32313
32314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
32315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32317 {
32318 PyThreadState* __tstate = wxPyBeginAllowThreads();
32319 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
32320
32321 wxPyEndAllowThreads(__tstate);
32322 if (PyErr_Occurred()) SWIG_fail;
32323 }
32324 {
32325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32326 }
32327 return resultobj;
32328 fail:
32329 return NULL;
32330 }
32331
32332
32333 static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32334 PyObject *resultobj;
32335 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32336 wxMenu *arg2 = (wxMenu *) 0 ;
32337 PyObject * obj0 = 0 ;
32338 PyObject * obj1 = 0 ;
32339 char *kwnames[] = {
32340 (char *) "self",(char *) "menu", NULL
32341 };
32342
32343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
32344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32348 {
32349 PyThreadState* __tstate = wxPyBeginAllowThreads();
32350 (arg1)->SetSubMenu(arg2);
32351
32352 wxPyEndAllowThreads(__tstate);
32353 if (PyErr_Occurred()) SWIG_fail;
32354 }
32355 Py_INCREF(Py_None); resultobj = Py_None;
32356 return resultobj;
32357 fail:
32358 return NULL;
32359 }
32360
32361
32362 static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32363 PyObject *resultobj;
32364 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32365 wxMenu *result;
32366 PyObject * obj0 = 0 ;
32367 char *kwnames[] = {
32368 (char *) "self", NULL
32369 };
32370
32371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
32372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32374 {
32375 PyThreadState* __tstate = wxPyBeginAllowThreads();
32376 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
32377
32378 wxPyEndAllowThreads(__tstate);
32379 if (PyErr_Occurred()) SWIG_fail;
32380 }
32381 {
32382 resultobj = wxPyMake_wxObject(result);
32383 }
32384 return resultobj;
32385 fail:
32386 return NULL;
32387 }
32388
32389
32390 static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
32391 PyObject *resultobj;
32392 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32393 bool arg2 = (bool) True ;
32394 PyObject * obj0 = 0 ;
32395 PyObject * obj1 = 0 ;
32396 char *kwnames[] = {
32397 (char *) "self",(char *) "enable", NULL
32398 };
32399
32400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
32401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32403 if (obj1) {
32404 arg2 = (bool) SWIG_AsBool(obj1);
32405 if (PyErr_Occurred()) SWIG_fail;
32406 }
32407 {
32408 PyThreadState* __tstate = wxPyBeginAllowThreads();
32409 (arg1)->Enable(arg2);
32410
32411 wxPyEndAllowThreads(__tstate);
32412 if (PyErr_Occurred()) SWIG_fail;
32413 }
32414 Py_INCREF(Py_None); resultobj = Py_None;
32415 return resultobj;
32416 fail:
32417 return NULL;
32418 }
32419
32420
32421 static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
32422 PyObject *resultobj;
32423 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32424 bool result;
32425 PyObject * obj0 = 0 ;
32426 char *kwnames[] = {
32427 (char *) "self", NULL
32428 };
32429
32430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
32431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32433 {
32434 PyThreadState* __tstate = wxPyBeginAllowThreads();
32435 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
32436
32437 wxPyEndAllowThreads(__tstate);
32438 if (PyErr_Occurred()) SWIG_fail;
32439 }
32440 {
32441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32442 }
32443 return resultobj;
32444 fail:
32445 return NULL;
32446 }
32447
32448
32449 static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
32450 PyObject *resultobj;
32451 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32452 bool arg2 = (bool) True ;
32453 PyObject * obj0 = 0 ;
32454 PyObject * obj1 = 0 ;
32455 char *kwnames[] = {
32456 (char *) "self",(char *) "check", NULL
32457 };
32458
32459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
32460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32462 if (obj1) {
32463 arg2 = (bool) SWIG_AsBool(obj1);
32464 if (PyErr_Occurred()) SWIG_fail;
32465 }
32466 {
32467 PyThreadState* __tstate = wxPyBeginAllowThreads();
32468 (arg1)->Check(arg2);
32469
32470 wxPyEndAllowThreads(__tstate);
32471 if (PyErr_Occurred()) SWIG_fail;
32472 }
32473 Py_INCREF(Py_None); resultobj = Py_None;
32474 return resultobj;
32475 fail:
32476 return NULL;
32477 }
32478
32479
32480 static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
32481 PyObject *resultobj;
32482 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32483 bool result;
32484 PyObject * obj0 = 0 ;
32485 char *kwnames[] = {
32486 (char *) "self", NULL
32487 };
32488
32489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
32490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32492 {
32493 PyThreadState* __tstate = wxPyBeginAllowThreads();
32494 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
32495
32496 wxPyEndAllowThreads(__tstate);
32497 if (PyErr_Occurred()) SWIG_fail;
32498 }
32499 {
32500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32501 }
32502 return resultobj;
32503 fail:
32504 return NULL;
32505 }
32506
32507
32508 static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
32509 PyObject *resultobj;
32510 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32511 PyObject * obj0 = 0 ;
32512 char *kwnames[] = {
32513 (char *) "self", NULL
32514 };
32515
32516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
32517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32519 {
32520 PyThreadState* __tstate = wxPyBeginAllowThreads();
32521 (arg1)->Toggle();
32522
32523 wxPyEndAllowThreads(__tstate);
32524 if (PyErr_Occurred()) SWIG_fail;
32525 }
32526 Py_INCREF(Py_None); resultobj = Py_None;
32527 return resultobj;
32528 fail:
32529 return NULL;
32530 }
32531
32532
32533 static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32534 PyObject *resultobj;
32535 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32536 wxString *arg2 = 0 ;
32537 bool temp2 = False ;
32538 PyObject * obj0 = 0 ;
32539 PyObject * obj1 = 0 ;
32540 char *kwnames[] = {
32541 (char *) "self",(char *) "str", NULL
32542 };
32543
32544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
32545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32547 {
32548 arg2 = wxString_in_helper(obj1);
32549 if (arg2 == NULL) SWIG_fail;
32550 temp2 = True;
32551 }
32552 {
32553 PyThreadState* __tstate = wxPyBeginAllowThreads();
32554 (arg1)->SetHelp((wxString const &)*arg2);
32555
32556 wxPyEndAllowThreads(__tstate);
32557 if (PyErr_Occurred()) SWIG_fail;
32558 }
32559 Py_INCREF(Py_None); resultobj = Py_None;
32560 {
32561 if (temp2)
32562 delete arg2;
32563 }
32564 return resultobj;
32565 fail:
32566 {
32567 if (temp2)
32568 delete arg2;
32569 }
32570 return NULL;
32571 }
32572
32573
32574 static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32575 PyObject *resultobj;
32576 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32577 wxString *result;
32578 PyObject * obj0 = 0 ;
32579 char *kwnames[] = {
32580 (char *) "self", NULL
32581 };
32582
32583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
32584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32586 {
32587 PyThreadState* __tstate = wxPyBeginAllowThreads();
32588 {
32589 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
32590 result = (wxString *) &_result_ref;
32591 }
32592
32593 wxPyEndAllowThreads(__tstate);
32594 if (PyErr_Occurred()) SWIG_fail;
32595 }
32596 {
32597 #if wxUSE_UNICODE
32598 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32599 #else
32600 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32601 #endif
32602 }
32603 return resultobj;
32604 fail:
32605 return NULL;
32606 }
32607
32608
32609 static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32610 PyObject *resultobj;
32611 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32612 wxAcceleratorEntry *result;
32613 PyObject * obj0 = 0 ;
32614 char *kwnames[] = {
32615 (char *) "self", NULL
32616 };
32617
32618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
32619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32621 {
32622 PyThreadState* __tstate = wxPyBeginAllowThreads();
32623 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
32624
32625 wxPyEndAllowThreads(__tstate);
32626 if (PyErr_Occurred()) SWIG_fail;
32627 }
32628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
32629 return resultobj;
32630 fail:
32631 return NULL;
32632 }
32633
32634
32635 static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32636 PyObject *resultobj;
32637 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32638 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
32639 PyObject * obj0 = 0 ;
32640 PyObject * obj1 = 0 ;
32641 char *kwnames[] = {
32642 (char *) "self",(char *) "accel", NULL
32643 };
32644
32645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
32646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
32649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32650 {
32651 PyThreadState* __tstate = wxPyBeginAllowThreads();
32652 (arg1)->SetAccel(arg2);
32653
32654 wxPyEndAllowThreads(__tstate);
32655 if (PyErr_Occurred()) SWIG_fail;
32656 }
32657 Py_INCREF(Py_None); resultobj = Py_None;
32658 return resultobj;
32659 fail:
32660 return NULL;
32661 }
32662
32663
32664 static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32665 PyObject *resultobj;
32666 int result;
32667 char *kwnames[] = {
32668 NULL
32669 };
32670
32671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
32672 {
32673 PyThreadState* __tstate = wxPyBeginAllowThreads();
32674 result = (int)MenuItem_GetDefaultMarginWidth();
32675
32676 wxPyEndAllowThreads(__tstate);
32677 if (PyErr_Occurred()) SWIG_fail;
32678 }
32679 resultobj = SWIG_FromInt((int)result);
32680 return resultobj;
32681 fail:
32682 return NULL;
32683 }
32684
32685
32686 static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32687 PyObject *resultobj;
32688 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32689 wxBitmap *arg2 = 0 ;
32690 PyObject * obj0 = 0 ;
32691 PyObject * obj1 = 0 ;
32692 char *kwnames[] = {
32693 (char *) "self",(char *) "bitmap", NULL
32694 };
32695
32696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
32697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32700 SWIG_POINTER_EXCEPTION | 0)) == -1)
32701 SWIG_fail;
32702 if (arg2 == NULL) {
32703 PyErr_SetString(PyExc_TypeError,"null reference");
32704 SWIG_fail;
32705 }
32706 {
32707 PyThreadState* __tstate = wxPyBeginAllowThreads();
32708 (arg1)->SetBitmap((wxBitmap const &)*arg2);
32709
32710 wxPyEndAllowThreads(__tstate);
32711 if (PyErr_Occurred()) SWIG_fail;
32712 }
32713 Py_INCREF(Py_None); resultobj = Py_None;
32714 return resultobj;
32715 fail:
32716 return NULL;
32717 }
32718
32719
32720 static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32721 PyObject *resultobj;
32722 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32723 wxBitmap *result;
32724 PyObject * obj0 = 0 ;
32725 char *kwnames[] = {
32726 (char *) "self", NULL
32727 };
32728
32729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
32730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32732 {
32733 PyThreadState* __tstate = wxPyBeginAllowThreads();
32734 {
32735 wxBitmap const &_result_ref = (arg1)->GetBitmap();
32736 result = (wxBitmap *) &_result_ref;
32737 }
32738
32739 wxPyEndAllowThreads(__tstate);
32740 if (PyErr_Occurred()) SWIG_fail;
32741 }
32742 {
32743 wxBitmap* resultptr = new wxBitmap(*result);
32744 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
32745 }
32746 return resultobj;
32747 fail:
32748 return NULL;
32749 }
32750
32751
32752 static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
32753 PyObject *obj;
32754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32755 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
32756 Py_INCREF(obj);
32757 return Py_BuildValue((char *)"");
32758 }
32759 static int _wrap_ControlNameStr_set(PyObject *_val) {
32760 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
32761 return 1;
32762 }
32763
32764
32765 static PyObject *_wrap_ControlNameStr_get() {
32766 PyObject *pyobj;
32767
32768 {
32769 #if wxUSE_UNICODE
32770 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32771 #else
32772 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32773 #endif
32774 }
32775 return pyobj;
32776 }
32777
32778
32779 static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
32780 PyObject *resultobj;
32781 wxWindow *arg1 = (wxWindow *) 0 ;
32782 int arg2 = (int) -1 ;
32783 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32784 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32785 wxSize const &arg4_defvalue = wxDefaultSize ;
32786 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32787 long arg5 = (long) 0 ;
32788 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32789 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32790 wxString const &arg7_defvalue = wxPyControlNameStr ;
32791 wxString *arg7 = (wxString *) &arg7_defvalue ;
32792 wxControl *result;
32793 wxPoint temp3 ;
32794 wxSize temp4 ;
32795 bool temp7 = False ;
32796 PyObject * obj0 = 0 ;
32797 PyObject * obj1 = 0 ;
32798 PyObject * obj2 = 0 ;
32799 PyObject * obj3 = 0 ;
32800 PyObject * obj4 = 0 ;
32801 PyObject * obj5 = 0 ;
32802 PyObject * obj6 = 0 ;
32803 char *kwnames[] = {
32804 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32805 };
32806
32807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32810 if (obj1) {
32811 arg2 = (int) SWIG_AsInt(obj1);
32812 if (PyErr_Occurred()) SWIG_fail;
32813 }
32814 if (obj2) {
32815 {
32816 arg3 = &temp3;
32817 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32818 }
32819 }
32820 if (obj3) {
32821 {
32822 arg4 = &temp4;
32823 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32824 }
32825 }
32826 if (obj4) {
32827 arg5 = (long) SWIG_AsLong(obj4);
32828 if (PyErr_Occurred()) SWIG_fail;
32829 }
32830 if (obj5) {
32831 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
32832 SWIG_POINTER_EXCEPTION | 0)) == -1)
32833 SWIG_fail;
32834 if (arg6 == NULL) {
32835 PyErr_SetString(PyExc_TypeError,"null reference");
32836 SWIG_fail;
32837 }
32838 }
32839 if (obj6) {
32840 {
32841 arg7 = wxString_in_helper(obj6);
32842 if (arg7 == NULL) SWIG_fail;
32843 temp7 = True;
32844 }
32845 }
32846 {
32847 if (!wxPyCheckForApp()) SWIG_fail;
32848 PyThreadState* __tstate = wxPyBeginAllowThreads();
32849 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32850
32851 wxPyEndAllowThreads(__tstate);
32852 if (PyErr_Occurred()) SWIG_fail;
32853 }
32854 {
32855 resultobj = wxPyMake_wxObject(result);
32856 }
32857 {
32858 if (temp7)
32859 delete arg7;
32860 }
32861 return resultobj;
32862 fail:
32863 {
32864 if (temp7)
32865 delete arg7;
32866 }
32867 return NULL;
32868 }
32869
32870
32871 static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
32872 PyObject *resultobj;
32873 wxControl *result;
32874 char *kwnames[] = {
32875 NULL
32876 };
32877
32878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
32879 {
32880 if (!wxPyCheckForApp()) SWIG_fail;
32881 PyThreadState* __tstate = wxPyBeginAllowThreads();
32882 result = (wxControl *)new wxControl();
32883
32884 wxPyEndAllowThreads(__tstate);
32885 if (PyErr_Occurred()) SWIG_fail;
32886 }
32887 {
32888 resultobj = wxPyMake_wxObject(result);
32889 }
32890 return resultobj;
32891 fail:
32892 return NULL;
32893 }
32894
32895
32896 static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
32897 PyObject *resultobj;
32898 wxControl *arg1 = (wxControl *) 0 ;
32899 wxWindow *arg2 = (wxWindow *) 0 ;
32900 int arg3 = (int) -1 ;
32901 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32902 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32903 wxSize const &arg5_defvalue = wxDefaultSize ;
32904 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32905 long arg6 = (long) 0 ;
32906 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32907 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32908 wxString const &arg8_defvalue = wxPyControlNameStr ;
32909 wxString *arg8 = (wxString *) &arg8_defvalue ;
32910 bool result;
32911 wxPoint temp4 ;
32912 wxSize temp5 ;
32913 bool temp8 = False ;
32914 PyObject * obj0 = 0 ;
32915 PyObject * obj1 = 0 ;
32916 PyObject * obj2 = 0 ;
32917 PyObject * obj3 = 0 ;
32918 PyObject * obj4 = 0 ;
32919 PyObject * obj5 = 0 ;
32920 PyObject * obj6 = 0 ;
32921 PyObject * obj7 = 0 ;
32922 char *kwnames[] = {
32923 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32924 };
32925
32926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
32927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
32930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32931 if (obj2) {
32932 arg3 = (int) SWIG_AsInt(obj2);
32933 if (PyErr_Occurred()) SWIG_fail;
32934 }
32935 if (obj3) {
32936 {
32937 arg4 = &temp4;
32938 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32939 }
32940 }
32941 if (obj4) {
32942 {
32943 arg5 = &temp5;
32944 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32945 }
32946 }
32947 if (obj5) {
32948 arg6 = (long) SWIG_AsLong(obj5);
32949 if (PyErr_Occurred()) SWIG_fail;
32950 }
32951 if (obj6) {
32952 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
32953 SWIG_POINTER_EXCEPTION | 0)) == -1)
32954 SWIG_fail;
32955 if (arg7 == NULL) {
32956 PyErr_SetString(PyExc_TypeError,"null reference");
32957 SWIG_fail;
32958 }
32959 }
32960 if (obj7) {
32961 {
32962 arg8 = wxString_in_helper(obj7);
32963 if (arg8 == NULL) SWIG_fail;
32964 temp8 = True;
32965 }
32966 }
32967 {
32968 PyThreadState* __tstate = wxPyBeginAllowThreads();
32969 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32970
32971 wxPyEndAllowThreads(__tstate);
32972 if (PyErr_Occurred()) SWIG_fail;
32973 }
32974 {
32975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32976 }
32977 {
32978 if (temp8)
32979 delete arg8;
32980 }
32981 return resultobj;
32982 fail:
32983 {
32984 if (temp8)
32985 delete arg8;
32986 }
32987 return NULL;
32988 }
32989
32990
32991 static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
32992 PyObject *resultobj;
32993 wxControl *arg1 = (wxControl *) 0 ;
32994 wxCommandEvent *arg2 = 0 ;
32995 PyObject * obj0 = 0 ;
32996 PyObject * obj1 = 0 ;
32997 char *kwnames[] = {
32998 (char *) "self",(char *) "event", NULL
32999 };
33000
33001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
33002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
33005 SWIG_POINTER_EXCEPTION | 0)) == -1)
33006 SWIG_fail;
33007 if (arg2 == NULL) {
33008 PyErr_SetString(PyExc_TypeError,"null reference");
33009 SWIG_fail;
33010 }
33011 {
33012 PyThreadState* __tstate = wxPyBeginAllowThreads();
33013 (arg1)->Command(*arg2);
33014
33015 wxPyEndAllowThreads(__tstate);
33016 if (PyErr_Occurred()) SWIG_fail;
33017 }
33018 Py_INCREF(Py_None); resultobj = Py_None;
33019 return resultobj;
33020 fail:
33021 return NULL;
33022 }
33023
33024
33025 static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33026 PyObject *resultobj;
33027 wxControl *arg1 = (wxControl *) 0 ;
33028 wxString result;
33029 PyObject * obj0 = 0 ;
33030 char *kwnames[] = {
33031 (char *) "self", NULL
33032 };
33033
33034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
33035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33037 {
33038 PyThreadState* __tstate = wxPyBeginAllowThreads();
33039 result = (arg1)->GetLabel();
33040
33041 wxPyEndAllowThreads(__tstate);
33042 if (PyErr_Occurred()) SWIG_fail;
33043 }
33044 {
33045 #if wxUSE_UNICODE
33046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33047 #else
33048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33049 #endif
33050 }
33051 return resultobj;
33052 fail:
33053 return NULL;
33054 }
33055
33056
33057 static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33058 PyObject *resultobj;
33059 wxControl *arg1 = (wxControl *) 0 ;
33060 wxString *arg2 = 0 ;
33061 bool temp2 = False ;
33062 PyObject * obj0 = 0 ;
33063 PyObject * obj1 = 0 ;
33064 char *kwnames[] = {
33065 (char *) "self",(char *) "label", NULL
33066 };
33067
33068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
33069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33071 {
33072 arg2 = wxString_in_helper(obj1);
33073 if (arg2 == NULL) SWIG_fail;
33074 temp2 = True;
33075 }
33076 {
33077 PyThreadState* __tstate = wxPyBeginAllowThreads();
33078 (arg1)->SetLabel((wxString const &)*arg2);
33079
33080 wxPyEndAllowThreads(__tstate);
33081 if (PyErr_Occurred()) SWIG_fail;
33082 }
33083 Py_INCREF(Py_None); resultobj = Py_None;
33084 {
33085 if (temp2)
33086 delete arg2;
33087 }
33088 return resultobj;
33089 fail:
33090 {
33091 if (temp2)
33092 delete arg2;
33093 }
33094 return NULL;
33095 }
33096
33097
33098 static PyObject *_wrap_Control_GetAdjustMinSizeFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
33099 PyObject *resultobj;
33100 wxControl *arg1 = (wxControl *) 0 ;
33101 bool result;
33102 PyObject * obj0 = 0 ;
33103 char *kwnames[] = {
33104 (char *) "self", NULL
33105 };
33106
33107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetAdjustMinSizeFlag",kwnames,&obj0)) goto fail;
33108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33110 {
33111 PyThreadState* __tstate = wxPyBeginAllowThreads();
33112 result = (bool)(arg1)->GetAdjustMinSizeFlag();
33113
33114 wxPyEndAllowThreads(__tstate);
33115 if (PyErr_Occurred()) SWIG_fail;
33116 }
33117 {
33118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33119 }
33120 return resultobj;
33121 fail:
33122 return NULL;
33123 }
33124
33125
33126 static PyObject *_wrap_Control_SetAdjustMinSizeFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
33127 PyObject *resultobj;
33128 wxControl *arg1 = (wxControl *) 0 ;
33129 bool arg2 ;
33130 PyObject * obj0 = 0 ;
33131 PyObject * obj1 = 0 ;
33132 char *kwnames[] = {
33133 (char *) "self",(char *) "adjust", NULL
33134 };
33135
33136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetAdjustMinSizeFlag",kwnames,&obj0,&obj1)) goto fail;
33137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33139 arg2 = (bool) SWIG_AsBool(obj1);
33140 if (PyErr_Occurred()) SWIG_fail;
33141 {
33142 PyThreadState* __tstate = wxPyBeginAllowThreads();
33143 (arg1)->SetAdjustMinSizeFlag(arg2);
33144
33145 wxPyEndAllowThreads(__tstate);
33146 if (PyErr_Occurred()) SWIG_fail;
33147 }
33148 Py_INCREF(Py_None); resultobj = Py_None;
33149 return resultobj;
33150 fail:
33151 return NULL;
33152 }
33153
33154
33155 static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
33156 PyObject *resultobj;
33157 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
33158 wxVisualAttributes result;
33159 PyObject * obj0 = 0 ;
33160 char *kwnames[] = {
33161 (char *) "variant", NULL
33162 };
33163
33164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
33165 if (obj0) {
33166 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
33167 if (PyErr_Occurred()) SWIG_fail;
33168 }
33169 {
33170 if (!wxPyCheckForApp()) SWIG_fail;
33171 PyThreadState* __tstate = wxPyBeginAllowThreads();
33172 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
33173
33174 wxPyEndAllowThreads(__tstate);
33175 if (PyErr_Occurred()) SWIG_fail;
33176 }
33177 {
33178 wxVisualAttributes * resultptr;
33179 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
33180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33181 }
33182 return resultobj;
33183 fail:
33184 return NULL;
33185 }
33186
33187
33188 static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
33189 PyObject *obj;
33190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33191 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
33192 Py_INCREF(obj);
33193 return Py_BuildValue((char *)"");
33194 }
33195 static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
33196 PyObject *resultobj;
33197 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33198 wxString *arg2 = 0 ;
33199 PyObject *arg3 = (PyObject *) NULL ;
33200 int result;
33201 bool temp2 = False ;
33202 PyObject * obj0 = 0 ;
33203 PyObject * obj1 = 0 ;
33204 PyObject * obj2 = 0 ;
33205 char *kwnames[] = {
33206 (char *) "self",(char *) "item",(char *) "clientData", NULL
33207 };
33208
33209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
33210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33212 {
33213 arg2 = wxString_in_helper(obj1);
33214 if (arg2 == NULL) SWIG_fail;
33215 temp2 = True;
33216 }
33217 if (obj2) {
33218 arg3 = obj2;
33219 }
33220 {
33221 PyThreadState* __tstate = wxPyBeginAllowThreads();
33222 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
33223
33224 wxPyEndAllowThreads(__tstate);
33225 if (PyErr_Occurred()) SWIG_fail;
33226 }
33227 resultobj = SWIG_FromInt((int)result);
33228 {
33229 if (temp2)
33230 delete arg2;
33231 }
33232 return resultobj;
33233 fail:
33234 {
33235 if (temp2)
33236 delete arg2;
33237 }
33238 return NULL;
33239 }
33240
33241
33242 static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
33243 PyObject *resultobj;
33244 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33245 wxArrayString *arg2 = 0 ;
33246 bool temp2 = False ;
33247 PyObject * obj0 = 0 ;
33248 PyObject * obj1 = 0 ;
33249 char *kwnames[] = {
33250 (char *) "self",(char *) "strings", NULL
33251 };
33252
33253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
33254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33256 {
33257 if (! PySequence_Check(obj1)) {
33258 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
33259 SWIG_fail;
33260 }
33261 arg2 = new wxArrayString;
33262 temp2 = True;
33263 int i, len=PySequence_Length(obj1);
33264 for (i=0; i<len; i++) {
33265 PyObject* item = PySequence_GetItem(obj1, i);
33266 #if wxUSE_UNICODE
33267 PyObject* str = PyObject_Unicode(item);
33268 #else
33269 PyObject* str = PyObject_Str(item);
33270 #endif
33271 if (PyErr_Occurred()) SWIG_fail;
33272 arg2->Add(Py2wxString(str));
33273 Py_DECREF(item);
33274 Py_DECREF(str);
33275 }
33276 }
33277 {
33278 PyThreadState* __tstate = wxPyBeginAllowThreads();
33279 (arg1)->Append((wxArrayString const &)*arg2);
33280
33281 wxPyEndAllowThreads(__tstate);
33282 if (PyErr_Occurred()) SWIG_fail;
33283 }
33284 Py_INCREF(Py_None); resultobj = Py_None;
33285 {
33286 if (temp2) delete arg2;
33287 }
33288 return resultobj;
33289 fail:
33290 {
33291 if (temp2) delete arg2;
33292 }
33293 return NULL;
33294 }
33295
33296
33297 static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
33298 PyObject *resultobj;
33299 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33300 wxString *arg2 = 0 ;
33301 int arg3 ;
33302 PyObject *arg4 = (PyObject *) NULL ;
33303 int result;
33304 bool temp2 = False ;
33305 PyObject * obj0 = 0 ;
33306 PyObject * obj1 = 0 ;
33307 PyObject * obj2 = 0 ;
33308 PyObject * obj3 = 0 ;
33309 char *kwnames[] = {
33310 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33311 };
33312
33313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
33314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33316 {
33317 arg2 = wxString_in_helper(obj1);
33318 if (arg2 == NULL) SWIG_fail;
33319 temp2 = True;
33320 }
33321 arg3 = (int) SWIG_AsInt(obj2);
33322 if (PyErr_Occurred()) SWIG_fail;
33323 if (obj3) {
33324 arg4 = obj3;
33325 }
33326 {
33327 PyThreadState* __tstate = wxPyBeginAllowThreads();
33328 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
33329
33330 wxPyEndAllowThreads(__tstate);
33331 if (PyErr_Occurred()) SWIG_fail;
33332 }
33333 resultobj = SWIG_FromInt((int)result);
33334 {
33335 if (temp2)
33336 delete arg2;
33337 }
33338 return resultobj;
33339 fail:
33340 {
33341 if (temp2)
33342 delete arg2;
33343 }
33344 return NULL;
33345 }
33346
33347
33348 static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
33349 PyObject *resultobj;
33350 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33351 PyObject * obj0 = 0 ;
33352 char *kwnames[] = {
33353 (char *) "self", NULL
33354 };
33355
33356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
33357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33359 {
33360 PyThreadState* __tstate = wxPyBeginAllowThreads();
33361 (arg1)->Clear();
33362
33363 wxPyEndAllowThreads(__tstate);
33364 if (PyErr_Occurred()) SWIG_fail;
33365 }
33366 Py_INCREF(Py_None); resultobj = Py_None;
33367 return resultobj;
33368 fail:
33369 return NULL;
33370 }
33371
33372
33373 static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
33374 PyObject *resultobj;
33375 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33376 int arg2 ;
33377 PyObject * obj0 = 0 ;
33378 PyObject * obj1 = 0 ;
33379 char *kwnames[] = {
33380 (char *) "self",(char *) "n", NULL
33381 };
33382
33383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
33384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33386 arg2 = (int) SWIG_AsInt(obj1);
33387 if (PyErr_Occurred()) SWIG_fail;
33388 {
33389 PyThreadState* __tstate = wxPyBeginAllowThreads();
33390 (arg1)->Delete(arg2);
33391
33392 wxPyEndAllowThreads(__tstate);
33393 if (PyErr_Occurred()) SWIG_fail;
33394 }
33395 Py_INCREF(Py_None); resultobj = Py_None;
33396 return resultobj;
33397 fail:
33398 return NULL;
33399 }
33400
33401
33402 static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
33403 PyObject *resultobj;
33404 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33405 int result;
33406 PyObject * obj0 = 0 ;
33407 char *kwnames[] = {
33408 (char *) "self", NULL
33409 };
33410
33411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
33412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33414 {
33415 PyThreadState* __tstate = wxPyBeginAllowThreads();
33416 result = (int)((wxItemContainer const *)arg1)->GetCount();
33417
33418 wxPyEndAllowThreads(__tstate);
33419 if (PyErr_Occurred()) SWIG_fail;
33420 }
33421 resultobj = SWIG_FromInt((int)result);
33422 return resultobj;
33423 fail:
33424 return NULL;
33425 }
33426
33427
33428 static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
33429 PyObject *resultobj;
33430 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33431 bool result;
33432 PyObject * obj0 = 0 ;
33433 char *kwnames[] = {
33434 (char *) "self", NULL
33435 };
33436
33437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
33438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33440 {
33441 PyThreadState* __tstate = wxPyBeginAllowThreads();
33442 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
33443
33444 wxPyEndAllowThreads(__tstate);
33445 if (PyErr_Occurred()) SWIG_fail;
33446 }
33447 {
33448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33449 }
33450 return resultobj;
33451 fail:
33452 return NULL;
33453 }
33454
33455
33456 static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33457 PyObject *resultobj;
33458 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33459 int arg2 ;
33460 wxString result;
33461 PyObject * obj0 = 0 ;
33462 PyObject * obj1 = 0 ;
33463 char *kwnames[] = {
33464 (char *) "self",(char *) "n", NULL
33465 };
33466
33467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
33468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33470 arg2 = (int) SWIG_AsInt(obj1);
33471 if (PyErr_Occurred()) SWIG_fail;
33472 {
33473 PyThreadState* __tstate = wxPyBeginAllowThreads();
33474 result = ((wxItemContainer const *)arg1)->GetString(arg2);
33475
33476 wxPyEndAllowThreads(__tstate);
33477 if (PyErr_Occurred()) SWIG_fail;
33478 }
33479 {
33480 #if wxUSE_UNICODE
33481 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33482 #else
33483 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33484 #endif
33485 }
33486 return resultobj;
33487 fail:
33488 return NULL;
33489 }
33490
33491
33492 static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
33493 PyObject *resultobj;
33494 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33495 wxArrayString result;
33496 PyObject * obj0 = 0 ;
33497 char *kwnames[] = {
33498 (char *) "self", NULL
33499 };
33500
33501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
33502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33504 {
33505 PyThreadState* __tstate = wxPyBeginAllowThreads();
33506 result = ((wxItemContainer const *)arg1)->GetStrings();
33507
33508 wxPyEndAllowThreads(__tstate);
33509 if (PyErr_Occurred()) SWIG_fail;
33510 }
33511 {
33512 resultobj = wxArrayString2PyList_helper(result);
33513 }
33514 return resultobj;
33515 fail:
33516 return NULL;
33517 }
33518
33519
33520 static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33521 PyObject *resultobj;
33522 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33523 int arg2 ;
33524 wxString *arg3 = 0 ;
33525 bool temp3 = False ;
33526 PyObject * obj0 = 0 ;
33527 PyObject * obj1 = 0 ;
33528 PyObject * obj2 = 0 ;
33529 char *kwnames[] = {
33530 (char *) "self",(char *) "n",(char *) "s", NULL
33531 };
33532
33533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
33534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33536 arg2 = (int) SWIG_AsInt(obj1);
33537 if (PyErr_Occurred()) SWIG_fail;
33538 {
33539 arg3 = wxString_in_helper(obj2);
33540 if (arg3 == NULL) SWIG_fail;
33541 temp3 = True;
33542 }
33543 {
33544 PyThreadState* __tstate = wxPyBeginAllowThreads();
33545 (arg1)->SetString(arg2,(wxString const &)*arg3);
33546
33547 wxPyEndAllowThreads(__tstate);
33548 if (PyErr_Occurred()) SWIG_fail;
33549 }
33550 Py_INCREF(Py_None); resultobj = Py_None;
33551 {
33552 if (temp3)
33553 delete arg3;
33554 }
33555 return resultobj;
33556 fail:
33557 {
33558 if (temp3)
33559 delete arg3;
33560 }
33561 return NULL;
33562 }
33563
33564
33565 static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
33566 PyObject *resultobj;
33567 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33568 wxString *arg2 = 0 ;
33569 int result;
33570 bool temp2 = False ;
33571 PyObject * obj0 = 0 ;
33572 PyObject * obj1 = 0 ;
33573 char *kwnames[] = {
33574 (char *) "self",(char *) "s", NULL
33575 };
33576
33577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
33578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33580 {
33581 arg2 = wxString_in_helper(obj1);
33582 if (arg2 == NULL) SWIG_fail;
33583 temp2 = True;
33584 }
33585 {
33586 PyThreadState* __tstate = wxPyBeginAllowThreads();
33587 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
33588
33589 wxPyEndAllowThreads(__tstate);
33590 if (PyErr_Occurred()) SWIG_fail;
33591 }
33592 resultobj = SWIG_FromInt((int)result);
33593 {
33594 if (temp2)
33595 delete arg2;
33596 }
33597 return resultobj;
33598 fail:
33599 {
33600 if (temp2)
33601 delete arg2;
33602 }
33603 return NULL;
33604 }
33605
33606
33607 static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
33608 PyObject *resultobj;
33609 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33610 int arg2 ;
33611 PyObject * obj0 = 0 ;
33612 PyObject * obj1 = 0 ;
33613 char *kwnames[] = {
33614 (char *) "self",(char *) "n", NULL
33615 };
33616
33617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
33618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33620 arg2 = (int) SWIG_AsInt(obj1);
33621 if (PyErr_Occurred()) SWIG_fail;
33622 {
33623 PyThreadState* __tstate = wxPyBeginAllowThreads();
33624 (arg1)->Select(arg2);
33625
33626 wxPyEndAllowThreads(__tstate);
33627 if (PyErr_Occurred()) SWIG_fail;
33628 }
33629 Py_INCREF(Py_None); resultobj = Py_None;
33630 return resultobj;
33631 fail:
33632 return NULL;
33633 }
33634
33635
33636 static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33637 PyObject *resultobj;
33638 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33639 int result;
33640 PyObject * obj0 = 0 ;
33641 char *kwnames[] = {
33642 (char *) "self", NULL
33643 };
33644
33645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
33646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33648 {
33649 PyThreadState* __tstate = wxPyBeginAllowThreads();
33650 result = (int)((wxItemContainer const *)arg1)->GetSelection();
33651
33652 wxPyEndAllowThreads(__tstate);
33653 if (PyErr_Occurred()) SWIG_fail;
33654 }
33655 resultobj = SWIG_FromInt((int)result);
33656 return resultobj;
33657 fail:
33658 return NULL;
33659 }
33660
33661
33662 static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33663 PyObject *resultobj;
33664 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33665 wxString result;
33666 PyObject * obj0 = 0 ;
33667 char *kwnames[] = {
33668 (char *) "self", NULL
33669 };
33670
33671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
33672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33674 {
33675 PyThreadState* __tstate = wxPyBeginAllowThreads();
33676 result = ((wxItemContainer const *)arg1)->GetStringSelection();
33677
33678 wxPyEndAllowThreads(__tstate);
33679 if (PyErr_Occurred()) SWIG_fail;
33680 }
33681 {
33682 #if wxUSE_UNICODE
33683 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33684 #else
33685 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33686 #endif
33687 }
33688 return resultobj;
33689 fail:
33690 return NULL;
33691 }
33692
33693
33694 static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33695 PyObject *resultobj;
33696 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33697 int arg2 ;
33698 PyObject *result;
33699 PyObject * obj0 = 0 ;
33700 PyObject * obj1 = 0 ;
33701 char *kwnames[] = {
33702 (char *) "self",(char *) "n", NULL
33703 };
33704
33705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
33706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33708 arg2 = (int) SWIG_AsInt(obj1);
33709 if (PyErr_Occurred()) SWIG_fail;
33710 {
33711 PyThreadState* __tstate = wxPyBeginAllowThreads();
33712 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
33713
33714 wxPyEndAllowThreads(__tstate);
33715 if (PyErr_Occurred()) SWIG_fail;
33716 }
33717 resultobj = result;
33718 return resultobj;
33719 fail:
33720 return NULL;
33721 }
33722
33723
33724 static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33725 PyObject *resultobj;
33726 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33727 int arg2 ;
33728 PyObject *arg3 = (PyObject *) 0 ;
33729 PyObject * obj0 = 0 ;
33730 PyObject * obj1 = 0 ;
33731 PyObject * obj2 = 0 ;
33732 char *kwnames[] = {
33733 (char *) "self",(char *) "n",(char *) "clientData", NULL
33734 };
33735
33736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
33737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33739 arg2 = (int) SWIG_AsInt(obj1);
33740 if (PyErr_Occurred()) SWIG_fail;
33741 arg3 = obj2;
33742 {
33743 PyThreadState* __tstate = wxPyBeginAllowThreads();
33744 wxItemContainer_SetClientData(arg1,arg2,arg3);
33745
33746 wxPyEndAllowThreads(__tstate);
33747 if (PyErr_Occurred()) SWIG_fail;
33748 }
33749 Py_INCREF(Py_None); resultobj = Py_None;
33750 return resultobj;
33751 fail:
33752 return NULL;
33753 }
33754
33755
33756 static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
33757 PyObject *obj;
33758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33759 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
33760 Py_INCREF(obj);
33761 return Py_BuildValue((char *)"");
33762 }
33763 static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
33764 PyObject *obj;
33765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33766 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
33767 Py_INCREF(obj);
33768 return Py_BuildValue((char *)"");
33769 }
33770 static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33771 PyObject *resultobj;
33772 wxSizerItem *result;
33773 char *kwnames[] = {
33774 NULL
33775 };
33776
33777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
33778 {
33779 PyThreadState* __tstate = wxPyBeginAllowThreads();
33780 result = (wxSizerItem *)new wxSizerItem();
33781
33782 wxPyEndAllowThreads(__tstate);
33783 if (PyErr_Occurred()) SWIG_fail;
33784 }
33785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
33786 return resultobj;
33787 fail:
33788 return NULL;
33789 }
33790
33791
33792 static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33793 PyObject *resultobj;
33794 wxWindow *arg1 = (wxWindow *) 0 ;
33795 int arg2 ;
33796 int arg3 ;
33797 int arg4 ;
33798 PyObject *arg5 = (PyObject *) NULL ;
33799 wxSizerItem *result;
33800 PyObject * obj0 = 0 ;
33801 PyObject * obj1 = 0 ;
33802 PyObject * obj2 = 0 ;
33803 PyObject * obj3 = 0 ;
33804 PyObject * obj4 = 0 ;
33805 char *kwnames[] = {
33806 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33807 };
33808
33809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33812 arg2 = (int) SWIG_AsInt(obj1);
33813 if (PyErr_Occurred()) SWIG_fail;
33814 arg3 = (int) SWIG_AsInt(obj2);
33815 if (PyErr_Occurred()) SWIG_fail;
33816 arg4 = (int) SWIG_AsInt(obj3);
33817 if (PyErr_Occurred()) SWIG_fail;
33818 if (obj4) {
33819 arg5 = obj4;
33820 }
33821 {
33822 PyThreadState* __tstate = wxPyBeginAllowThreads();
33823 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
33824
33825 wxPyEndAllowThreads(__tstate);
33826 if (PyErr_Occurred()) SWIG_fail;
33827 }
33828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
33829 return resultobj;
33830 fail:
33831 return NULL;
33832 }
33833
33834
33835 static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33836 PyObject *resultobj;
33837 int arg1 ;
33838 int arg2 ;
33839 int arg3 ;
33840 int arg4 ;
33841 int arg5 ;
33842 PyObject *arg6 = (PyObject *) NULL ;
33843 wxSizerItem *result;
33844 PyObject * obj0 = 0 ;
33845 PyObject * obj1 = 0 ;
33846 PyObject * obj2 = 0 ;
33847 PyObject * obj3 = 0 ;
33848 PyObject * obj4 = 0 ;
33849 PyObject * obj5 = 0 ;
33850 char *kwnames[] = {
33851 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33852 };
33853
33854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33855 arg1 = (int) SWIG_AsInt(obj0);
33856 if (PyErr_Occurred()) SWIG_fail;
33857 arg2 = (int) SWIG_AsInt(obj1);
33858 if (PyErr_Occurred()) SWIG_fail;
33859 arg3 = (int) SWIG_AsInt(obj2);
33860 if (PyErr_Occurred()) SWIG_fail;
33861 arg4 = (int) SWIG_AsInt(obj3);
33862 if (PyErr_Occurred()) SWIG_fail;
33863 arg5 = (int) SWIG_AsInt(obj4);
33864 if (PyErr_Occurred()) SWIG_fail;
33865 if (obj5) {
33866 arg6 = obj5;
33867 }
33868 {
33869 PyThreadState* __tstate = wxPyBeginAllowThreads();
33870 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
33871
33872 wxPyEndAllowThreads(__tstate);
33873 if (PyErr_Occurred()) SWIG_fail;
33874 }
33875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
33876 return resultobj;
33877 fail:
33878 return NULL;
33879 }
33880
33881
33882 static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33883 PyObject *resultobj;
33884 wxSizer *arg1 = (wxSizer *) 0 ;
33885 int arg2 ;
33886 int arg3 ;
33887 int arg4 ;
33888 PyObject *arg5 = (PyObject *) NULL ;
33889 wxSizerItem *result;
33890 PyObject * obj0 = 0 ;
33891 PyObject * obj1 = 0 ;
33892 PyObject * obj2 = 0 ;
33893 PyObject * obj3 = 0 ;
33894 PyObject * obj4 = 0 ;
33895 char *kwnames[] = {
33896 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33897 };
33898
33899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33902 arg2 = (int) SWIG_AsInt(obj1);
33903 if (PyErr_Occurred()) SWIG_fail;
33904 arg3 = (int) SWIG_AsInt(obj2);
33905 if (PyErr_Occurred()) SWIG_fail;
33906 arg4 = (int) SWIG_AsInt(obj3);
33907 if (PyErr_Occurred()) SWIG_fail;
33908 if (obj4) {
33909 arg5 = obj4;
33910 }
33911 {
33912 PyThreadState* __tstate = wxPyBeginAllowThreads();
33913 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
33914
33915 wxPyEndAllowThreads(__tstate);
33916 if (PyErr_Occurred()) SWIG_fail;
33917 }
33918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
33919 return resultobj;
33920 fail:
33921 return NULL;
33922 }
33923
33924
33925 static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
33926 PyObject *resultobj;
33927 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33928 PyObject * obj0 = 0 ;
33929 char *kwnames[] = {
33930 (char *) "self", NULL
33931 };
33932
33933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
33934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33936 {
33937 PyThreadState* __tstate = wxPyBeginAllowThreads();
33938 (arg1)->DeleteWindows();
33939
33940 wxPyEndAllowThreads(__tstate);
33941 if (PyErr_Occurred()) SWIG_fail;
33942 }
33943 Py_INCREF(Py_None); resultobj = Py_None;
33944 return resultobj;
33945 fail:
33946 return NULL;
33947 }
33948
33949
33950 static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33951 PyObject *resultobj;
33952 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33953 PyObject * obj0 = 0 ;
33954 char *kwnames[] = {
33955 (char *) "self", NULL
33956 };
33957
33958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
33959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33961 {
33962 PyThreadState* __tstate = wxPyBeginAllowThreads();
33963 (arg1)->DetachSizer();
33964
33965 wxPyEndAllowThreads(__tstate);
33966 if (PyErr_Occurred()) SWIG_fail;
33967 }
33968 Py_INCREF(Py_None); resultobj = Py_None;
33969 return resultobj;
33970 fail:
33971 return NULL;
33972 }
33973
33974
33975 static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33976 PyObject *resultobj;
33977 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33978 wxSize result;
33979 PyObject * obj0 = 0 ;
33980 char *kwnames[] = {
33981 (char *) "self", NULL
33982 };
33983
33984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
33985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33987 {
33988 PyThreadState* __tstate = wxPyBeginAllowThreads();
33989 result = (arg1)->GetSize();
33990
33991 wxPyEndAllowThreads(__tstate);
33992 if (PyErr_Occurred()) SWIG_fail;
33993 }
33994 {
33995 wxSize * resultptr;
33996 resultptr = new wxSize((wxSize &) result);
33997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33998 }
33999 return resultobj;
34000 fail:
34001 return NULL;
34002 }
34003
34004
34005 static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34006 PyObject *resultobj;
34007 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34008 wxSize result;
34009 PyObject * obj0 = 0 ;
34010 char *kwnames[] = {
34011 (char *) "self", NULL
34012 };
34013
34014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
34015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34017 {
34018 PyThreadState* __tstate = wxPyBeginAllowThreads();
34019 result = (arg1)->CalcMin();
34020
34021 wxPyEndAllowThreads(__tstate);
34022 if (PyErr_Occurred()) SWIG_fail;
34023 }
34024 {
34025 wxSize * resultptr;
34026 resultptr = new wxSize((wxSize &) result);
34027 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34028 }
34029 return resultobj;
34030 fail:
34031 return NULL;
34032 }
34033
34034
34035 static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
34036 PyObject *resultobj;
34037 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34038 wxPoint arg2 ;
34039 wxSize arg3 ;
34040 wxPoint *argp2 ;
34041 wxSize *argp3 ;
34042 PyObject * obj0 = 0 ;
34043 PyObject * obj1 = 0 ;
34044 PyObject * obj2 = 0 ;
34045 char *kwnames[] = {
34046 (char *) "self",(char *) "pos",(char *) "size", NULL
34047 };
34048
34049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
34050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34052 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
34053 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34054 arg2 = *argp2;
34055 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
34056 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34057 arg3 = *argp3;
34058 {
34059 PyThreadState* __tstate = wxPyBeginAllowThreads();
34060 (arg1)->SetDimension(arg2,arg3);
34061
34062 wxPyEndAllowThreads(__tstate);
34063 if (PyErr_Occurred()) SWIG_fail;
34064 }
34065 Py_INCREF(Py_None); resultobj = Py_None;
34066 return resultobj;
34067 fail:
34068 return NULL;
34069 }
34070
34071
34072 static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34073 PyObject *resultobj;
34074 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34075 wxSize result;
34076 PyObject * obj0 = 0 ;
34077 char *kwnames[] = {
34078 (char *) "self", NULL
34079 };
34080
34081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
34082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34084 {
34085 PyThreadState* __tstate = wxPyBeginAllowThreads();
34086 result = (arg1)->GetMinSize();
34087
34088 wxPyEndAllowThreads(__tstate);
34089 if (PyErr_Occurred()) SWIG_fail;
34090 }
34091 {
34092 wxSize * resultptr;
34093 resultptr = new wxSize((wxSize &) result);
34094 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34095 }
34096 return resultobj;
34097 fail:
34098 return NULL;
34099 }
34100
34101
34102 static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34103 PyObject *resultobj;
34104 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34105 int arg2 ;
34106 int arg3 ;
34107 PyObject * obj0 = 0 ;
34108 PyObject * obj1 = 0 ;
34109 PyObject * obj2 = 0 ;
34110 char *kwnames[] = {
34111 (char *) "self",(char *) "x",(char *) "y", NULL
34112 };
34113
34114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
34115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34117 arg2 = (int) SWIG_AsInt(obj1);
34118 if (PyErr_Occurred()) SWIG_fail;
34119 arg3 = (int) SWIG_AsInt(obj2);
34120 if (PyErr_Occurred()) SWIG_fail;
34121 {
34122 PyThreadState* __tstate = wxPyBeginAllowThreads();
34123 (arg1)->SetInitSize(arg2,arg3);
34124
34125 wxPyEndAllowThreads(__tstate);
34126 if (PyErr_Occurred()) SWIG_fail;
34127 }
34128 Py_INCREF(Py_None); resultobj = Py_None;
34129 return resultobj;
34130 fail:
34131 return NULL;
34132 }
34133
34134
34135 static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
34136 PyObject *resultobj;
34137 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34138 int arg2 ;
34139 int arg3 ;
34140 PyObject * obj0 = 0 ;
34141 PyObject * obj1 = 0 ;
34142 PyObject * obj2 = 0 ;
34143 char *kwnames[] = {
34144 (char *) "self",(char *) "width",(char *) "height", NULL
34145 };
34146
34147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
34148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34150 arg2 = (int) SWIG_AsInt(obj1);
34151 if (PyErr_Occurred()) SWIG_fail;
34152 arg3 = (int) SWIG_AsInt(obj2);
34153 if (PyErr_Occurred()) SWIG_fail;
34154 {
34155 PyThreadState* __tstate = wxPyBeginAllowThreads();
34156 (arg1)->SetRatio(arg2,arg3);
34157
34158 wxPyEndAllowThreads(__tstate);
34159 if (PyErr_Occurred()) SWIG_fail;
34160 }
34161 Py_INCREF(Py_None); resultobj = Py_None;
34162 return resultobj;
34163 fail:
34164 return NULL;
34165 }
34166
34167
34168 static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34169 PyObject *resultobj;
34170 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34171 wxSize arg2 ;
34172 wxSize *argp2 ;
34173 PyObject * obj0 = 0 ;
34174 PyObject * obj1 = 0 ;
34175 char *kwnames[] = {
34176 (char *) "self",(char *) "size", NULL
34177 };
34178
34179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
34180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34182 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
34183 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34184 arg2 = *argp2;
34185 {
34186 PyThreadState* __tstate = wxPyBeginAllowThreads();
34187 (arg1)->SetRatio(arg2);
34188
34189 wxPyEndAllowThreads(__tstate);
34190 if (PyErr_Occurred()) SWIG_fail;
34191 }
34192 Py_INCREF(Py_None); resultobj = Py_None;
34193 return resultobj;
34194 fail:
34195 return NULL;
34196 }
34197
34198
34199 static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34200 PyObject *resultobj;
34201 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34202 float arg2 ;
34203 PyObject * obj0 = 0 ;
34204 PyObject * obj1 = 0 ;
34205 char *kwnames[] = {
34206 (char *) "self",(char *) "ratio", NULL
34207 };
34208
34209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
34210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34212 arg2 = (float) SWIG_AsFloat(obj1);
34213 if (PyErr_Occurred()) SWIG_fail;
34214 {
34215 PyThreadState* __tstate = wxPyBeginAllowThreads();
34216 (arg1)->SetRatio(arg2);
34217
34218 wxPyEndAllowThreads(__tstate);
34219 if (PyErr_Occurred()) SWIG_fail;
34220 }
34221 Py_INCREF(Py_None); resultobj = Py_None;
34222 return resultobj;
34223 fail:
34224 return NULL;
34225 }
34226
34227
34228 static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34229 PyObject *resultobj;
34230 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34231 float result;
34232 PyObject * obj0 = 0 ;
34233 char *kwnames[] = {
34234 (char *) "self", NULL
34235 };
34236
34237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
34238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34240 {
34241 PyThreadState* __tstate = wxPyBeginAllowThreads();
34242 result = (float)(arg1)->GetRatio();
34243
34244 wxPyEndAllowThreads(__tstate);
34245 if (PyErr_Occurred()) SWIG_fail;
34246 }
34247 resultobj = SWIG_FromFloat((float)result);
34248 return resultobj;
34249 fail:
34250 return NULL;
34251 }
34252
34253
34254 static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34255 PyObject *resultobj;
34256 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34257 bool result;
34258 PyObject * obj0 = 0 ;
34259 char *kwnames[] = {
34260 (char *) "self", NULL
34261 };
34262
34263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
34264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34266 {
34267 PyThreadState* __tstate = wxPyBeginAllowThreads();
34268 result = (bool)(arg1)->IsWindow();
34269
34270 wxPyEndAllowThreads(__tstate);
34271 if (PyErr_Occurred()) SWIG_fail;
34272 }
34273 {
34274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34275 }
34276 return resultobj;
34277 fail:
34278 return NULL;
34279 }
34280
34281
34282 static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34283 PyObject *resultobj;
34284 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34285 bool result;
34286 PyObject * obj0 = 0 ;
34287 char *kwnames[] = {
34288 (char *) "self", NULL
34289 };
34290
34291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
34292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34294 {
34295 PyThreadState* __tstate = wxPyBeginAllowThreads();
34296 result = (bool)(arg1)->IsSizer();
34297
34298 wxPyEndAllowThreads(__tstate);
34299 if (PyErr_Occurred()) SWIG_fail;
34300 }
34301 {
34302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34303 }
34304 return resultobj;
34305 fail:
34306 return NULL;
34307 }
34308
34309
34310 static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34311 PyObject *resultobj;
34312 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34313 bool result;
34314 PyObject * obj0 = 0 ;
34315 char *kwnames[] = {
34316 (char *) "self", NULL
34317 };
34318
34319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
34320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34322 {
34323 PyThreadState* __tstate = wxPyBeginAllowThreads();
34324 result = (bool)(arg1)->IsSpacer();
34325
34326 wxPyEndAllowThreads(__tstate);
34327 if (PyErr_Occurred()) SWIG_fail;
34328 }
34329 {
34330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34331 }
34332 return resultobj;
34333 fail:
34334 return NULL;
34335 }
34336
34337
34338 static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34339 PyObject *resultobj;
34340 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34341 int arg2 ;
34342 PyObject * obj0 = 0 ;
34343 PyObject * obj1 = 0 ;
34344 char *kwnames[] = {
34345 (char *) "self",(char *) "proportion", NULL
34346 };
34347
34348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
34349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34351 arg2 = (int) SWIG_AsInt(obj1);
34352 if (PyErr_Occurred()) SWIG_fail;
34353 {
34354 PyThreadState* __tstate = wxPyBeginAllowThreads();
34355 (arg1)->SetProportion(arg2);
34356
34357 wxPyEndAllowThreads(__tstate);
34358 if (PyErr_Occurred()) SWIG_fail;
34359 }
34360 Py_INCREF(Py_None); resultobj = Py_None;
34361 return resultobj;
34362 fail:
34363 return NULL;
34364 }
34365
34366
34367 static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34368 PyObject *resultobj;
34369 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34370 int result;
34371 PyObject * obj0 = 0 ;
34372 char *kwnames[] = {
34373 (char *) "self", NULL
34374 };
34375
34376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
34377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34379 {
34380 PyThreadState* __tstate = wxPyBeginAllowThreads();
34381 result = (int)(arg1)->GetProportion();
34382
34383 wxPyEndAllowThreads(__tstate);
34384 if (PyErr_Occurred()) SWIG_fail;
34385 }
34386 resultobj = SWIG_FromInt((int)result);
34387 return resultobj;
34388 fail:
34389 return NULL;
34390 }
34391
34392
34393 static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34394 PyObject *resultobj;
34395 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34396 int arg2 ;
34397 PyObject * obj0 = 0 ;
34398 PyObject * obj1 = 0 ;
34399 char *kwnames[] = {
34400 (char *) "self",(char *) "flag", NULL
34401 };
34402
34403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
34404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34406 arg2 = (int) SWIG_AsInt(obj1);
34407 if (PyErr_Occurred()) SWIG_fail;
34408 {
34409 PyThreadState* __tstate = wxPyBeginAllowThreads();
34410 (arg1)->SetFlag(arg2);
34411
34412 wxPyEndAllowThreads(__tstate);
34413 if (PyErr_Occurred()) SWIG_fail;
34414 }
34415 Py_INCREF(Py_None); resultobj = Py_None;
34416 return resultobj;
34417 fail:
34418 return NULL;
34419 }
34420
34421
34422 static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34423 PyObject *resultobj;
34424 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34425 int result;
34426 PyObject * obj0 = 0 ;
34427 char *kwnames[] = {
34428 (char *) "self", NULL
34429 };
34430
34431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
34432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34434 {
34435 PyThreadState* __tstate = wxPyBeginAllowThreads();
34436 result = (int)(arg1)->GetFlag();
34437
34438 wxPyEndAllowThreads(__tstate);
34439 if (PyErr_Occurred()) SWIG_fail;
34440 }
34441 resultobj = SWIG_FromInt((int)result);
34442 return resultobj;
34443 fail:
34444 return NULL;
34445 }
34446
34447
34448 static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34449 PyObject *resultobj;
34450 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34451 int arg2 ;
34452 PyObject * obj0 = 0 ;
34453 PyObject * obj1 = 0 ;
34454 char *kwnames[] = {
34455 (char *) "self",(char *) "border", NULL
34456 };
34457
34458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
34459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34461 arg2 = (int) SWIG_AsInt(obj1);
34462 if (PyErr_Occurred()) SWIG_fail;
34463 {
34464 PyThreadState* __tstate = wxPyBeginAllowThreads();
34465 (arg1)->SetBorder(arg2);
34466
34467 wxPyEndAllowThreads(__tstate);
34468 if (PyErr_Occurred()) SWIG_fail;
34469 }
34470 Py_INCREF(Py_None); resultobj = Py_None;
34471 return resultobj;
34472 fail:
34473 return NULL;
34474 }
34475
34476
34477 static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34478 PyObject *resultobj;
34479 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34480 int result;
34481 PyObject * obj0 = 0 ;
34482 char *kwnames[] = {
34483 (char *) "self", NULL
34484 };
34485
34486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
34487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34489 {
34490 PyThreadState* __tstate = wxPyBeginAllowThreads();
34491 result = (int)(arg1)->GetBorder();
34492
34493 wxPyEndAllowThreads(__tstate);
34494 if (PyErr_Occurred()) SWIG_fail;
34495 }
34496 resultobj = SWIG_FromInt((int)result);
34497 return resultobj;
34498 fail:
34499 return NULL;
34500 }
34501
34502
34503 static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34504 PyObject *resultobj;
34505 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34506 wxWindow *result;
34507 PyObject * obj0 = 0 ;
34508 char *kwnames[] = {
34509 (char *) "self", NULL
34510 };
34511
34512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
34513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34515 {
34516 PyThreadState* __tstate = wxPyBeginAllowThreads();
34517 result = (wxWindow *)(arg1)->GetWindow();
34518
34519 wxPyEndAllowThreads(__tstate);
34520 if (PyErr_Occurred()) SWIG_fail;
34521 }
34522 {
34523 resultobj = wxPyMake_wxObject(result);
34524 }
34525 return resultobj;
34526 fail:
34527 return NULL;
34528 }
34529
34530
34531 static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34532 PyObject *resultobj;
34533 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34534 wxWindow *arg2 = (wxWindow *) 0 ;
34535 PyObject * obj0 = 0 ;
34536 PyObject * obj1 = 0 ;
34537 char *kwnames[] = {
34538 (char *) "self",(char *) "window", NULL
34539 };
34540
34541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
34542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34546 {
34547 PyThreadState* __tstate = wxPyBeginAllowThreads();
34548 (arg1)->SetWindow(arg2);
34549
34550 wxPyEndAllowThreads(__tstate);
34551 if (PyErr_Occurred()) SWIG_fail;
34552 }
34553 Py_INCREF(Py_None); resultobj = Py_None;
34554 return resultobj;
34555 fail:
34556 return NULL;
34557 }
34558
34559
34560 static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34561 PyObject *resultobj;
34562 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34563 wxSizer *result;
34564 PyObject * obj0 = 0 ;
34565 char *kwnames[] = {
34566 (char *) "self", NULL
34567 };
34568
34569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
34570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34572 {
34573 PyThreadState* __tstate = wxPyBeginAllowThreads();
34574 result = (wxSizer *)(arg1)->GetSizer();
34575
34576 wxPyEndAllowThreads(__tstate);
34577 if (PyErr_Occurred()) SWIG_fail;
34578 }
34579 {
34580 resultobj = wxPyMake_wxSizer(result);
34581 }
34582 return resultobj;
34583 fail:
34584 return NULL;
34585 }
34586
34587
34588 static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34589 PyObject *resultobj;
34590 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34591 wxSizer *arg2 = (wxSizer *) 0 ;
34592 PyObject * obj0 = 0 ;
34593 PyObject * obj1 = 0 ;
34594 char *kwnames[] = {
34595 (char *) "self",(char *) "sizer", NULL
34596 };
34597
34598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
34599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
34602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34603 {
34604 PyThreadState* __tstate = wxPyBeginAllowThreads();
34605 (arg1)->SetSizer(arg2);
34606
34607 wxPyEndAllowThreads(__tstate);
34608 if (PyErr_Occurred()) SWIG_fail;
34609 }
34610 Py_INCREF(Py_None); resultobj = Py_None;
34611 return resultobj;
34612 fail:
34613 return NULL;
34614 }
34615
34616
34617 static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34618 PyObject *resultobj;
34619 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34620 wxSize *result;
34621 PyObject * obj0 = 0 ;
34622 char *kwnames[] = {
34623 (char *) "self", NULL
34624 };
34625
34626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
34627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34629 {
34630 PyThreadState* __tstate = wxPyBeginAllowThreads();
34631 {
34632 wxSize const &_result_ref = (arg1)->GetSpacer();
34633 result = (wxSize *) &_result_ref;
34634 }
34635
34636 wxPyEndAllowThreads(__tstate);
34637 if (PyErr_Occurred()) SWIG_fail;
34638 }
34639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
34640 return resultobj;
34641 fail:
34642 return NULL;
34643 }
34644
34645
34646 static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34647 PyObject *resultobj;
34648 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34649 wxSize *arg2 = 0 ;
34650 wxSize temp2 ;
34651 PyObject * obj0 = 0 ;
34652 PyObject * obj1 = 0 ;
34653 char *kwnames[] = {
34654 (char *) "self",(char *) "size", NULL
34655 };
34656
34657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
34658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34660 {
34661 arg2 = &temp2;
34662 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34663 }
34664 {
34665 PyThreadState* __tstate = wxPyBeginAllowThreads();
34666 (arg1)->SetSpacer((wxSize const &)*arg2);
34667
34668 wxPyEndAllowThreads(__tstate);
34669 if (PyErr_Occurred()) SWIG_fail;
34670 }
34671 Py_INCREF(Py_None); resultobj = Py_None;
34672 return resultobj;
34673 fail:
34674 return NULL;
34675 }
34676
34677
34678 static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
34679 PyObject *resultobj;
34680 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34681 bool arg2 ;
34682 PyObject * obj0 = 0 ;
34683 PyObject * obj1 = 0 ;
34684 char *kwnames[] = {
34685 (char *) "self",(char *) "show", NULL
34686 };
34687
34688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
34689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34691 arg2 = (bool) SWIG_AsBool(obj1);
34692 if (PyErr_Occurred()) SWIG_fail;
34693 {
34694 PyThreadState* __tstate = wxPyBeginAllowThreads();
34695 (arg1)->Show(arg2);
34696
34697 wxPyEndAllowThreads(__tstate);
34698 if (PyErr_Occurred()) SWIG_fail;
34699 }
34700 Py_INCREF(Py_None); resultobj = Py_None;
34701 return resultobj;
34702 fail:
34703 return NULL;
34704 }
34705
34706
34707 static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
34708 PyObject *resultobj;
34709 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34710 bool result;
34711 PyObject * obj0 = 0 ;
34712 char *kwnames[] = {
34713 (char *) "self", NULL
34714 };
34715
34716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
34717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34719 {
34720 PyThreadState* __tstate = wxPyBeginAllowThreads();
34721 result = (bool)(arg1)->IsShown();
34722
34723 wxPyEndAllowThreads(__tstate);
34724 if (PyErr_Occurred()) SWIG_fail;
34725 }
34726 {
34727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34728 }
34729 return resultobj;
34730 fail:
34731 return NULL;
34732 }
34733
34734
34735 static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34736 PyObject *resultobj;
34737 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34738 wxPoint result;
34739 PyObject * obj0 = 0 ;
34740 char *kwnames[] = {
34741 (char *) "self", NULL
34742 };
34743
34744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
34745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34747 {
34748 PyThreadState* __tstate = wxPyBeginAllowThreads();
34749 result = (arg1)->GetPosition();
34750
34751 wxPyEndAllowThreads(__tstate);
34752 if (PyErr_Occurred()) SWIG_fail;
34753 }
34754 {
34755 wxPoint * resultptr;
34756 resultptr = new wxPoint((wxPoint &) result);
34757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
34758 }
34759 return resultobj;
34760 fail:
34761 return NULL;
34762 }
34763
34764
34765 static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
34766 PyObject *resultobj;
34767 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34768 PyObject *result;
34769 PyObject * obj0 = 0 ;
34770 char *kwnames[] = {
34771 (char *) "self", NULL
34772 };
34773
34774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
34775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34777 {
34778 PyThreadState* __tstate = wxPyBeginAllowThreads();
34779 result = (PyObject *)wxSizerItem_GetUserData(arg1);
34780
34781 wxPyEndAllowThreads(__tstate);
34782 if (PyErr_Occurred()) SWIG_fail;
34783 }
34784 resultobj = result;
34785 return resultobj;
34786 fail:
34787 return NULL;
34788 }
34789
34790
34791 static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
34792 PyObject *obj;
34793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34794 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
34795 Py_INCREF(obj);
34796 return Py_BuildValue((char *)"");
34797 }
34798 static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
34799 PyObject *resultobj;
34800 wxSizer *arg1 = (wxSizer *) 0 ;
34801 PyObject *arg2 = (PyObject *) 0 ;
34802 PyObject * obj0 = 0 ;
34803 PyObject * obj1 = 0 ;
34804 char *kwnames[] = {
34805 (char *) "self",(char *) "_self", NULL
34806 };
34807
34808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
34809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34811 arg2 = obj1;
34812 {
34813 PyThreadState* __tstate = wxPyBeginAllowThreads();
34814 wxSizer__setOORInfo(arg1,arg2);
34815
34816 wxPyEndAllowThreads(__tstate);
34817 if (PyErr_Occurred()) SWIG_fail;
34818 }
34819 Py_INCREF(Py_None); resultobj = Py_None;
34820 return resultobj;
34821 fail:
34822 return NULL;
34823 }
34824
34825
34826 static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
34827 PyObject *resultobj;
34828 wxSizer *arg1 = (wxSizer *) 0 ;
34829 PyObject *arg2 = (PyObject *) 0 ;
34830 int arg3 = (int) 0 ;
34831 int arg4 = (int) 0 ;
34832 int arg5 = (int) 0 ;
34833 PyObject *arg6 = (PyObject *) NULL ;
34834 PyObject * obj0 = 0 ;
34835 PyObject * obj1 = 0 ;
34836 PyObject * obj2 = 0 ;
34837 PyObject * obj3 = 0 ;
34838 PyObject * obj4 = 0 ;
34839 PyObject * obj5 = 0 ;
34840 char *kwnames[] = {
34841 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34842 };
34843
34844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
34845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34847 arg2 = obj1;
34848 if (obj2) {
34849 arg3 = (int) SWIG_AsInt(obj2);
34850 if (PyErr_Occurred()) SWIG_fail;
34851 }
34852 if (obj3) {
34853 arg4 = (int) SWIG_AsInt(obj3);
34854 if (PyErr_Occurred()) SWIG_fail;
34855 }
34856 if (obj4) {
34857 arg5 = (int) SWIG_AsInt(obj4);
34858 if (PyErr_Occurred()) SWIG_fail;
34859 }
34860 if (obj5) {
34861 arg6 = obj5;
34862 }
34863 {
34864 PyThreadState* __tstate = wxPyBeginAllowThreads();
34865 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
34866
34867 wxPyEndAllowThreads(__tstate);
34868 if (PyErr_Occurred()) SWIG_fail;
34869 }
34870 Py_INCREF(Py_None); resultobj = Py_None;
34871 return resultobj;
34872 fail:
34873 return NULL;
34874 }
34875
34876
34877 static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
34878 PyObject *resultobj;
34879 wxSizer *arg1 = (wxSizer *) 0 ;
34880 int arg2 ;
34881 PyObject *arg3 = (PyObject *) 0 ;
34882 int arg4 = (int) 0 ;
34883 int arg5 = (int) 0 ;
34884 int arg6 = (int) 0 ;
34885 PyObject *arg7 = (PyObject *) NULL ;
34886 PyObject * obj0 = 0 ;
34887 PyObject * obj1 = 0 ;
34888 PyObject * obj2 = 0 ;
34889 PyObject * obj3 = 0 ;
34890 PyObject * obj4 = 0 ;
34891 PyObject * obj5 = 0 ;
34892 PyObject * obj6 = 0 ;
34893 char *kwnames[] = {
34894 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34895 };
34896
34897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
34898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34900 arg2 = (int) SWIG_AsInt(obj1);
34901 if (PyErr_Occurred()) SWIG_fail;
34902 arg3 = obj2;
34903 if (obj3) {
34904 arg4 = (int) SWIG_AsInt(obj3);
34905 if (PyErr_Occurred()) SWIG_fail;
34906 }
34907 if (obj4) {
34908 arg5 = (int) SWIG_AsInt(obj4);
34909 if (PyErr_Occurred()) SWIG_fail;
34910 }
34911 if (obj5) {
34912 arg6 = (int) SWIG_AsInt(obj5);
34913 if (PyErr_Occurred()) SWIG_fail;
34914 }
34915 if (obj6) {
34916 arg7 = obj6;
34917 }
34918 {
34919 PyThreadState* __tstate = wxPyBeginAllowThreads();
34920 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34921
34922 wxPyEndAllowThreads(__tstate);
34923 if (PyErr_Occurred()) SWIG_fail;
34924 }
34925 Py_INCREF(Py_None); resultobj = Py_None;
34926 return resultobj;
34927 fail:
34928 return NULL;
34929 }
34930
34931
34932 static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
34933 PyObject *resultobj;
34934 wxSizer *arg1 = (wxSizer *) 0 ;
34935 PyObject *arg2 = (PyObject *) 0 ;
34936 int arg3 = (int) 0 ;
34937 int arg4 = (int) 0 ;
34938 int arg5 = (int) 0 ;
34939 PyObject *arg6 = (PyObject *) NULL ;
34940 PyObject * obj0 = 0 ;
34941 PyObject * obj1 = 0 ;
34942 PyObject * obj2 = 0 ;
34943 PyObject * obj3 = 0 ;
34944 PyObject * obj4 = 0 ;
34945 PyObject * obj5 = 0 ;
34946 char *kwnames[] = {
34947 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34948 };
34949
34950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
34951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34953 arg2 = obj1;
34954 if (obj2) {
34955 arg3 = (int) SWIG_AsInt(obj2);
34956 if (PyErr_Occurred()) SWIG_fail;
34957 }
34958 if (obj3) {
34959 arg4 = (int) SWIG_AsInt(obj3);
34960 if (PyErr_Occurred()) SWIG_fail;
34961 }
34962 if (obj4) {
34963 arg5 = (int) SWIG_AsInt(obj4);
34964 if (PyErr_Occurred()) SWIG_fail;
34965 }
34966 if (obj5) {
34967 arg6 = obj5;
34968 }
34969 {
34970 PyThreadState* __tstate = wxPyBeginAllowThreads();
34971 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
34972
34973 wxPyEndAllowThreads(__tstate);
34974 if (PyErr_Occurred()) SWIG_fail;
34975 }
34976 Py_INCREF(Py_None); resultobj = Py_None;
34977 return resultobj;
34978 fail:
34979 return NULL;
34980 }
34981
34982
34983 static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
34984 PyObject *resultobj;
34985 wxSizer *arg1 = (wxSizer *) 0 ;
34986 PyObject *arg2 = (PyObject *) 0 ;
34987 bool result;
34988 PyObject * obj0 = 0 ;
34989 PyObject * obj1 = 0 ;
34990 char *kwnames[] = {
34991 (char *) "self",(char *) "item", NULL
34992 };
34993
34994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
34995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34997 arg2 = obj1;
34998 {
34999 PyThreadState* __tstate = wxPyBeginAllowThreads();
35000 result = (bool)wxSizer_Remove(arg1,arg2);
35001
35002 wxPyEndAllowThreads(__tstate);
35003 if (PyErr_Occurred()) SWIG_fail;
35004 }
35005 {
35006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35007 }
35008 return resultobj;
35009 fail:
35010 return NULL;
35011 }
35012
35013
35014 static PyObject *_wrap_Sizer_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
35015 PyObject *resultobj;
35016 wxSizer *arg1 = (wxSizer *) 0 ;
35017 PyObject *arg2 = (PyObject *) 0 ;
35018 bool result;
35019 PyObject * obj0 = 0 ;
35020 PyObject * obj1 = 0 ;
35021 char *kwnames[] = {
35022 (char *) "self",(char *) "item", NULL
35023 };
35024
35025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
35026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35028 arg2 = obj1;
35029 {
35030 PyThreadState* __tstate = wxPyBeginAllowThreads();
35031 result = (bool)wxSizer_Detach(arg1,arg2);
35032
35033 wxPyEndAllowThreads(__tstate);
35034 if (PyErr_Occurred()) SWIG_fail;
35035 }
35036 {
35037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35038 }
35039 return resultobj;
35040 fail:
35041 return NULL;
35042 }
35043
35044
35045 static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35046 PyObject *resultobj;
35047 wxSizer *arg1 = (wxSizer *) 0 ;
35048 PyObject *arg2 = (PyObject *) 0 ;
35049 wxSize *arg3 = 0 ;
35050 wxSize temp3 ;
35051 PyObject * obj0 = 0 ;
35052 PyObject * obj1 = 0 ;
35053 PyObject * obj2 = 0 ;
35054 char *kwnames[] = {
35055 (char *) "self",(char *) "item",(char *) "size", NULL
35056 };
35057
35058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
35059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35061 arg2 = obj1;
35062 {
35063 arg3 = &temp3;
35064 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
35065 }
35066 {
35067 PyThreadState* __tstate = wxPyBeginAllowThreads();
35068 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
35069
35070 wxPyEndAllowThreads(__tstate);
35071 if (PyErr_Occurred()) SWIG_fail;
35072 }
35073 Py_INCREF(Py_None); resultobj = Py_None;
35074 return resultobj;
35075 fail:
35076 return NULL;
35077 }
35078
35079
35080 static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35081 PyObject *resultobj;
35082 wxSizer *arg1 = (wxSizer *) 0 ;
35083 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35084 PyObject * obj0 = 0 ;
35085 PyObject * obj1 = 0 ;
35086 char *kwnames[] = {
35087 (char *) "self",(char *) "item", NULL
35088 };
35089
35090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
35091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35095 {
35096 PyThreadState* __tstate = wxPyBeginAllowThreads();
35097 (arg1)->Add(arg2);
35098
35099 wxPyEndAllowThreads(__tstate);
35100 if (PyErr_Occurred()) SWIG_fail;
35101 }
35102 Py_INCREF(Py_None); resultobj = Py_None;
35103 return resultobj;
35104 fail:
35105 return NULL;
35106 }
35107
35108
35109 static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35110 PyObject *resultobj;
35111 wxSizer *arg1 = (wxSizer *) 0 ;
35112 size_t arg2 ;
35113 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
35114 PyObject * obj0 = 0 ;
35115 PyObject * obj1 = 0 ;
35116 PyObject * obj2 = 0 ;
35117 char *kwnames[] = {
35118 (char *) "self",(char *) "index",(char *) "item", NULL
35119 };
35120
35121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
35122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35124 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35125 if (PyErr_Occurred()) SWIG_fail;
35126 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
35127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35128 {
35129 PyThreadState* __tstate = wxPyBeginAllowThreads();
35130 (arg1)->Insert(arg2,arg3);
35131
35132 wxPyEndAllowThreads(__tstate);
35133 if (PyErr_Occurred()) SWIG_fail;
35134 }
35135 Py_INCREF(Py_None); resultobj = Py_None;
35136 return resultobj;
35137 fail:
35138 return NULL;
35139 }
35140
35141
35142 static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35143 PyObject *resultobj;
35144 wxSizer *arg1 = (wxSizer *) 0 ;
35145 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35146 PyObject * obj0 = 0 ;
35147 PyObject * obj1 = 0 ;
35148 char *kwnames[] = {
35149 (char *) "self",(char *) "item", NULL
35150 };
35151
35152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
35153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35157 {
35158 PyThreadState* __tstate = wxPyBeginAllowThreads();
35159 (arg1)->Prepend(arg2);
35160
35161 wxPyEndAllowThreads(__tstate);
35162 if (PyErr_Occurred()) SWIG_fail;
35163 }
35164 Py_INCREF(Py_None); resultobj = Py_None;
35165 return resultobj;
35166 fail:
35167 return NULL;
35168 }
35169
35170
35171 static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
35172 PyObject *resultobj;
35173 wxSizer *arg1 = (wxSizer *) 0 ;
35174 int arg2 ;
35175 int arg3 ;
35176 int arg4 ;
35177 int arg5 ;
35178 PyObject * obj0 = 0 ;
35179 PyObject * obj1 = 0 ;
35180 PyObject * obj2 = 0 ;
35181 PyObject * obj3 = 0 ;
35182 PyObject * obj4 = 0 ;
35183 char *kwnames[] = {
35184 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35185 };
35186
35187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35190 arg2 = (int) SWIG_AsInt(obj1);
35191 if (PyErr_Occurred()) SWIG_fail;
35192 arg3 = (int) SWIG_AsInt(obj2);
35193 if (PyErr_Occurred()) SWIG_fail;
35194 arg4 = (int) SWIG_AsInt(obj3);
35195 if (PyErr_Occurred()) SWIG_fail;
35196 arg5 = (int) SWIG_AsInt(obj4);
35197 if (PyErr_Occurred()) SWIG_fail;
35198 {
35199 PyThreadState* __tstate = wxPyBeginAllowThreads();
35200 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
35201
35202 wxPyEndAllowThreads(__tstate);
35203 if (PyErr_Occurred()) SWIG_fail;
35204 }
35205 Py_INCREF(Py_None); resultobj = Py_None;
35206 return resultobj;
35207 fail:
35208 return NULL;
35209 }
35210
35211
35212 static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35213 PyObject *resultobj;
35214 wxSizer *arg1 = (wxSizer *) 0 ;
35215 wxSize *arg2 = 0 ;
35216 wxSize temp2 ;
35217 PyObject * obj0 = 0 ;
35218 PyObject * obj1 = 0 ;
35219 char *kwnames[] = {
35220 (char *) "self",(char *) "size", NULL
35221 };
35222
35223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
35224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35226 {
35227 arg2 = &temp2;
35228 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
35229 }
35230 {
35231 PyThreadState* __tstate = wxPyBeginAllowThreads();
35232 (arg1)->SetMinSize((wxSize const &)*arg2);
35233
35234 wxPyEndAllowThreads(__tstate);
35235 if (PyErr_Occurred()) SWIG_fail;
35236 }
35237 Py_INCREF(Py_None); resultobj = Py_None;
35238 return resultobj;
35239 fail:
35240 return NULL;
35241 }
35242
35243
35244 static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35245 PyObject *resultobj;
35246 wxSizer *arg1 = (wxSizer *) 0 ;
35247 wxSize result;
35248 PyObject * obj0 = 0 ;
35249 char *kwnames[] = {
35250 (char *) "self", NULL
35251 };
35252
35253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
35254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35256 {
35257 PyThreadState* __tstate = wxPyBeginAllowThreads();
35258 result = (arg1)->GetSize();
35259
35260 wxPyEndAllowThreads(__tstate);
35261 if (PyErr_Occurred()) SWIG_fail;
35262 }
35263 {
35264 wxSize * resultptr;
35265 resultptr = new wxSize((wxSize &) result);
35266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35267 }
35268 return resultobj;
35269 fail:
35270 return NULL;
35271 }
35272
35273
35274 static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
35275 PyObject *resultobj;
35276 wxSizer *arg1 = (wxSizer *) 0 ;
35277 wxPoint result;
35278 PyObject * obj0 = 0 ;
35279 char *kwnames[] = {
35280 (char *) "self", NULL
35281 };
35282
35283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
35284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35286 {
35287 PyThreadState* __tstate = wxPyBeginAllowThreads();
35288 result = (arg1)->GetPosition();
35289
35290 wxPyEndAllowThreads(__tstate);
35291 if (PyErr_Occurred()) SWIG_fail;
35292 }
35293 {
35294 wxPoint * resultptr;
35295 resultptr = new wxPoint((wxPoint &) result);
35296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
35297 }
35298 return resultobj;
35299 fail:
35300 return NULL;
35301 }
35302
35303
35304 static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35305 PyObject *resultobj;
35306 wxSizer *arg1 = (wxSizer *) 0 ;
35307 wxSize result;
35308 PyObject * obj0 = 0 ;
35309 char *kwnames[] = {
35310 (char *) "self", NULL
35311 };
35312
35313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
35314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35316 {
35317 PyThreadState* __tstate = wxPyBeginAllowThreads();
35318 result = (arg1)->GetMinSize();
35319
35320 wxPyEndAllowThreads(__tstate);
35321 if (PyErr_Occurred()) SWIG_fail;
35322 }
35323 {
35324 wxSize * resultptr;
35325 resultptr = new wxSize((wxSize &) result);
35326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35327 }
35328 return resultobj;
35329 fail:
35330 return NULL;
35331 }
35332
35333
35334 static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35335 PyObject *resultobj;
35336 wxSizer *arg1 = (wxSizer *) 0 ;
35337 PyObject * obj0 = 0 ;
35338 char *kwnames[] = {
35339 (char *) "self", NULL
35340 };
35341
35342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
35343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35345 {
35346 PyThreadState* __tstate = wxPyBeginAllowThreads();
35347 (arg1)->RecalcSizes();
35348
35349 wxPyEndAllowThreads(__tstate);
35350 if (PyErr_Occurred()) SWIG_fail;
35351 }
35352 Py_INCREF(Py_None); resultobj = Py_None;
35353 return resultobj;
35354 fail:
35355 return NULL;
35356 }
35357
35358
35359 static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35360 PyObject *resultobj;
35361 wxSizer *arg1 = (wxSizer *) 0 ;
35362 wxSize result;
35363 PyObject * obj0 = 0 ;
35364 char *kwnames[] = {
35365 (char *) "self", NULL
35366 };
35367
35368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
35369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35371 {
35372 PyThreadState* __tstate = wxPyBeginAllowThreads();
35373 result = (arg1)->CalcMin();
35374
35375 wxPyEndAllowThreads(__tstate);
35376 if (PyErr_Occurred()) SWIG_fail;
35377 }
35378 {
35379 wxSize * resultptr;
35380 resultptr = new wxSize((wxSize &) result);
35381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35382 }
35383 return resultobj;
35384 fail:
35385 return NULL;
35386 }
35387
35388
35389 static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
35390 PyObject *resultobj;
35391 wxSizer *arg1 = (wxSizer *) 0 ;
35392 PyObject * obj0 = 0 ;
35393 char *kwnames[] = {
35394 (char *) "self", NULL
35395 };
35396
35397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
35398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35400 {
35401 PyThreadState* __tstate = wxPyBeginAllowThreads();
35402 (arg1)->Layout();
35403
35404 wxPyEndAllowThreads(__tstate);
35405 if (PyErr_Occurred()) SWIG_fail;
35406 }
35407 Py_INCREF(Py_None); resultobj = Py_None;
35408 return resultobj;
35409 fail:
35410 return NULL;
35411 }
35412
35413
35414 static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
35415 PyObject *resultobj;
35416 wxSizer *arg1 = (wxSizer *) 0 ;
35417 wxWindow *arg2 = (wxWindow *) 0 ;
35418 wxSize result;
35419 PyObject * obj0 = 0 ;
35420 PyObject * obj1 = 0 ;
35421 char *kwnames[] = {
35422 (char *) "self",(char *) "window", NULL
35423 };
35424
35425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
35426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35430 {
35431 PyThreadState* __tstate = wxPyBeginAllowThreads();
35432 result = (arg1)->Fit(arg2);
35433
35434 wxPyEndAllowThreads(__tstate);
35435 if (PyErr_Occurred()) SWIG_fail;
35436 }
35437 {
35438 wxSize * resultptr;
35439 resultptr = new wxSize((wxSize &) result);
35440 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35441 }
35442 return resultobj;
35443 fail:
35444 return NULL;
35445 }
35446
35447
35448 static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
35449 PyObject *resultobj;
35450 wxSizer *arg1 = (wxSizer *) 0 ;
35451 wxWindow *arg2 = (wxWindow *) 0 ;
35452 PyObject * obj0 = 0 ;
35453 PyObject * obj1 = 0 ;
35454 char *kwnames[] = {
35455 (char *) "self",(char *) "window", NULL
35456 };
35457
35458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
35459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35463 {
35464 PyThreadState* __tstate = wxPyBeginAllowThreads();
35465 (arg1)->FitInside(arg2);
35466
35467 wxPyEndAllowThreads(__tstate);
35468 if (PyErr_Occurred()) SWIG_fail;
35469 }
35470 Py_INCREF(Py_None); resultobj = Py_None;
35471 return resultobj;
35472 fail:
35473 return NULL;
35474 }
35475
35476
35477 static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35478 PyObject *resultobj;
35479 wxSizer *arg1 = (wxSizer *) 0 ;
35480 wxWindow *arg2 = (wxWindow *) 0 ;
35481 PyObject * obj0 = 0 ;
35482 PyObject * obj1 = 0 ;
35483 char *kwnames[] = {
35484 (char *) "self",(char *) "window", NULL
35485 };
35486
35487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
35488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35492 {
35493 PyThreadState* __tstate = wxPyBeginAllowThreads();
35494 (arg1)->SetSizeHints(arg2);
35495
35496 wxPyEndAllowThreads(__tstate);
35497 if (PyErr_Occurred()) SWIG_fail;
35498 }
35499 Py_INCREF(Py_None); resultobj = Py_None;
35500 return resultobj;
35501 fail:
35502 return NULL;
35503 }
35504
35505
35506 static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35507 PyObject *resultobj;
35508 wxSizer *arg1 = (wxSizer *) 0 ;
35509 wxWindow *arg2 = (wxWindow *) 0 ;
35510 PyObject * obj0 = 0 ;
35511 PyObject * obj1 = 0 ;
35512 char *kwnames[] = {
35513 (char *) "self",(char *) "window", NULL
35514 };
35515
35516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
35517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35521 {
35522 PyThreadState* __tstate = wxPyBeginAllowThreads();
35523 (arg1)->SetVirtualSizeHints(arg2);
35524
35525 wxPyEndAllowThreads(__tstate);
35526 if (PyErr_Occurred()) SWIG_fail;
35527 }
35528 Py_INCREF(Py_None); resultobj = Py_None;
35529 return resultobj;
35530 fail:
35531 return NULL;
35532 }
35533
35534
35535 static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
35536 PyObject *resultobj;
35537 wxSizer *arg1 = (wxSizer *) 0 ;
35538 bool arg2 = (bool) False ;
35539 PyObject * obj0 = 0 ;
35540 PyObject * obj1 = 0 ;
35541 char *kwnames[] = {
35542 (char *) "self",(char *) "deleteWindows", NULL
35543 };
35544
35545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
35546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35548 if (obj1) {
35549 arg2 = (bool) SWIG_AsBool(obj1);
35550 if (PyErr_Occurred()) SWIG_fail;
35551 }
35552 {
35553 PyThreadState* __tstate = wxPyBeginAllowThreads();
35554 (arg1)->Clear(arg2);
35555
35556 wxPyEndAllowThreads(__tstate);
35557 if (PyErr_Occurred()) SWIG_fail;
35558 }
35559 Py_INCREF(Py_None); resultobj = Py_None;
35560 return resultobj;
35561 fail:
35562 return NULL;
35563 }
35564
35565
35566 static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
35567 PyObject *resultobj;
35568 wxSizer *arg1 = (wxSizer *) 0 ;
35569 PyObject * obj0 = 0 ;
35570 char *kwnames[] = {
35571 (char *) "self", NULL
35572 };
35573
35574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
35575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35577 {
35578 PyThreadState* __tstate = wxPyBeginAllowThreads();
35579 (arg1)->DeleteWindows();
35580
35581 wxPyEndAllowThreads(__tstate);
35582 if (PyErr_Occurred()) SWIG_fail;
35583 }
35584 Py_INCREF(Py_None); resultobj = Py_None;
35585 return resultobj;
35586 fail:
35587 return NULL;
35588 }
35589
35590
35591 static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
35592 PyObject *resultobj;
35593 wxSizer *arg1 = (wxSizer *) 0 ;
35594 PyObject *result;
35595 PyObject * obj0 = 0 ;
35596 char *kwnames[] = {
35597 (char *) "self", NULL
35598 };
35599
35600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
35601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35603 {
35604 PyThreadState* __tstate = wxPyBeginAllowThreads();
35605 result = (PyObject *)wxSizer_GetChildren(arg1);
35606
35607 wxPyEndAllowThreads(__tstate);
35608 if (PyErr_Occurred()) SWIG_fail;
35609 }
35610 resultobj = result;
35611 return resultobj;
35612 fail:
35613 return NULL;
35614 }
35615
35616
35617 static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
35618 PyObject *resultobj;
35619 wxSizer *arg1 = (wxSizer *) 0 ;
35620 PyObject *arg2 = (PyObject *) 0 ;
35621 bool arg3 = (bool) True ;
35622 PyObject * obj0 = 0 ;
35623 PyObject * obj1 = 0 ;
35624 PyObject * obj2 = 0 ;
35625 char *kwnames[] = {
35626 (char *) "self",(char *) "item",(char *) "show", NULL
35627 };
35628
35629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
35630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35632 arg2 = obj1;
35633 if (obj2) {
35634 arg3 = (bool) SWIG_AsBool(obj2);
35635 if (PyErr_Occurred()) SWIG_fail;
35636 }
35637 {
35638 PyThreadState* __tstate = wxPyBeginAllowThreads();
35639 wxSizer_Show(arg1,arg2,arg3);
35640
35641 wxPyEndAllowThreads(__tstate);
35642 if (PyErr_Occurred()) SWIG_fail;
35643 }
35644 Py_INCREF(Py_None); resultobj = Py_None;
35645 return resultobj;
35646 fail:
35647 return NULL;
35648 }
35649
35650
35651 static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
35652 PyObject *resultobj;
35653 wxSizer *arg1 = (wxSizer *) 0 ;
35654 PyObject *arg2 = (PyObject *) 0 ;
35655 bool result;
35656 PyObject * obj0 = 0 ;
35657 PyObject * obj1 = 0 ;
35658 char *kwnames[] = {
35659 (char *) "self",(char *) "item", NULL
35660 };
35661
35662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
35663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35665 arg2 = obj1;
35666 {
35667 PyThreadState* __tstate = wxPyBeginAllowThreads();
35668 result = (bool)wxSizer_IsShown(arg1,arg2);
35669
35670 wxPyEndAllowThreads(__tstate);
35671 if (PyErr_Occurred()) SWIG_fail;
35672 }
35673 {
35674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35675 }
35676 return resultobj;
35677 fail:
35678 return NULL;
35679 }
35680
35681
35682 static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
35683 PyObject *resultobj;
35684 wxSizer *arg1 = (wxSizer *) 0 ;
35685 bool arg2 ;
35686 PyObject * obj0 = 0 ;
35687 PyObject * obj1 = 0 ;
35688 char *kwnames[] = {
35689 (char *) "self",(char *) "show", NULL
35690 };
35691
35692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
35693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35695 arg2 = (bool) SWIG_AsBool(obj1);
35696 if (PyErr_Occurred()) SWIG_fail;
35697 {
35698 PyThreadState* __tstate = wxPyBeginAllowThreads();
35699 (arg1)->ShowItems(arg2);
35700
35701 wxPyEndAllowThreads(__tstate);
35702 if (PyErr_Occurred()) SWIG_fail;
35703 }
35704 Py_INCREF(Py_None); resultobj = Py_None;
35705 return resultobj;
35706 fail:
35707 return NULL;
35708 }
35709
35710
35711 static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
35712 PyObject *obj;
35713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35714 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
35715 Py_INCREF(obj);
35716 return Py_BuildValue((char *)"");
35717 }
35718 static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35719 PyObject *resultobj;
35720 wxPySizer *result;
35721 char *kwnames[] = {
35722 NULL
35723 };
35724
35725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
35726 {
35727 PyThreadState* __tstate = wxPyBeginAllowThreads();
35728 result = (wxPySizer *)new wxPySizer();
35729
35730 wxPyEndAllowThreads(__tstate);
35731 if (PyErr_Occurred()) SWIG_fail;
35732 }
35733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
35734 return resultobj;
35735 fail:
35736 return NULL;
35737 }
35738
35739
35740 static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
35741 PyObject *resultobj;
35742 wxPySizer *arg1 = (wxPySizer *) 0 ;
35743 PyObject *arg2 = (PyObject *) 0 ;
35744 PyObject *arg3 = (PyObject *) 0 ;
35745 PyObject * obj0 = 0 ;
35746 PyObject * obj1 = 0 ;
35747 PyObject * obj2 = 0 ;
35748 char *kwnames[] = {
35749 (char *) "self",(char *) "self",(char *) "_class", NULL
35750 };
35751
35752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
35753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
35754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35755 arg2 = obj1;
35756 arg3 = obj2;
35757 {
35758 PyThreadState* __tstate = wxPyBeginAllowThreads();
35759 (arg1)->_setCallbackInfo(arg2,arg3);
35760
35761 wxPyEndAllowThreads(__tstate);
35762 if (PyErr_Occurred()) SWIG_fail;
35763 }
35764 Py_INCREF(Py_None); resultobj = Py_None;
35765 return resultobj;
35766 fail:
35767 return NULL;
35768 }
35769
35770
35771 static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
35772 PyObject *obj;
35773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35774 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
35775 Py_INCREF(obj);
35776 return Py_BuildValue((char *)"");
35777 }
35778 static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35779 PyObject *resultobj;
35780 int arg1 = (int) wxHORIZONTAL ;
35781 wxBoxSizer *result;
35782 PyObject * obj0 = 0 ;
35783 char *kwnames[] = {
35784 (char *) "orient", NULL
35785 };
35786
35787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
35788 if (obj0) {
35789 arg1 = (int) SWIG_AsInt(obj0);
35790 if (PyErr_Occurred()) SWIG_fail;
35791 }
35792 {
35793 PyThreadState* __tstate = wxPyBeginAllowThreads();
35794 result = (wxBoxSizer *)new wxBoxSizer(arg1);
35795
35796 wxPyEndAllowThreads(__tstate);
35797 if (PyErr_Occurred()) SWIG_fail;
35798 }
35799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
35800 return resultobj;
35801 fail:
35802 return NULL;
35803 }
35804
35805
35806 static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35807 PyObject *resultobj;
35808 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35809 int result;
35810 PyObject * obj0 = 0 ;
35811 char *kwnames[] = {
35812 (char *) "self", NULL
35813 };
35814
35815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
35816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35818 {
35819 PyThreadState* __tstate = wxPyBeginAllowThreads();
35820 result = (int)(arg1)->GetOrientation();
35821
35822 wxPyEndAllowThreads(__tstate);
35823 if (PyErr_Occurred()) SWIG_fail;
35824 }
35825 resultobj = SWIG_FromInt((int)result);
35826 return resultobj;
35827 fail:
35828 return NULL;
35829 }
35830
35831
35832 static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35833 PyObject *resultobj;
35834 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35835 int arg2 ;
35836 PyObject * obj0 = 0 ;
35837 PyObject * obj1 = 0 ;
35838 char *kwnames[] = {
35839 (char *) "self",(char *) "orient", NULL
35840 };
35841
35842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
35843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35845 arg2 = (int) SWIG_AsInt(obj1);
35846 if (PyErr_Occurred()) SWIG_fail;
35847 {
35848 PyThreadState* __tstate = wxPyBeginAllowThreads();
35849 (arg1)->SetOrientation(arg2);
35850
35851 wxPyEndAllowThreads(__tstate);
35852 if (PyErr_Occurred()) SWIG_fail;
35853 }
35854 Py_INCREF(Py_None); resultobj = Py_None;
35855 return resultobj;
35856 fail:
35857 return NULL;
35858 }
35859
35860
35861 static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
35862 PyObject *obj;
35863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35864 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
35865 Py_INCREF(obj);
35866 return Py_BuildValue((char *)"");
35867 }
35868 static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35869 PyObject *resultobj;
35870 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
35871 int arg2 = (int) wxHORIZONTAL ;
35872 wxStaticBoxSizer *result;
35873 PyObject * obj0 = 0 ;
35874 PyObject * obj1 = 0 ;
35875 char *kwnames[] = {
35876 (char *) "box",(char *) "orient", NULL
35877 };
35878
35879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
35880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
35881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35882 if (obj1) {
35883 arg2 = (int) SWIG_AsInt(obj1);
35884 if (PyErr_Occurred()) SWIG_fail;
35885 }
35886 {
35887 PyThreadState* __tstate = wxPyBeginAllowThreads();
35888 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
35889
35890 wxPyEndAllowThreads(__tstate);
35891 if (PyErr_Occurred()) SWIG_fail;
35892 }
35893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
35894 return resultobj;
35895 fail:
35896 return NULL;
35897 }
35898
35899
35900 static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
35901 PyObject *resultobj;
35902 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35903 wxStaticBox *result;
35904 PyObject * obj0 = 0 ;
35905 char *kwnames[] = {
35906 (char *) "self", NULL
35907 };
35908
35909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
35910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35912 {
35913 PyThreadState* __tstate = wxPyBeginAllowThreads();
35914 result = (wxStaticBox *)(arg1)->GetStaticBox();
35915
35916 wxPyEndAllowThreads(__tstate);
35917 if (PyErr_Occurred()) SWIG_fail;
35918 }
35919 {
35920 resultobj = wxPyMake_wxObject(result);
35921 }
35922 return resultobj;
35923 fail:
35924 return NULL;
35925 }
35926
35927
35928 static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
35929 PyObject *obj;
35930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35931 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
35932 Py_INCREF(obj);
35933 return Py_BuildValue((char *)"");
35934 }
35935 static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35936 PyObject *resultobj;
35937 int arg1 = (int) 1 ;
35938 int arg2 = (int) 0 ;
35939 int arg3 = (int) 0 ;
35940 int arg4 = (int) 0 ;
35941 wxGridSizer *result;
35942 PyObject * obj0 = 0 ;
35943 PyObject * obj1 = 0 ;
35944 PyObject * obj2 = 0 ;
35945 PyObject * obj3 = 0 ;
35946 char *kwnames[] = {
35947 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35948 };
35949
35950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35951 if (obj0) {
35952 arg1 = (int) SWIG_AsInt(obj0);
35953 if (PyErr_Occurred()) SWIG_fail;
35954 }
35955 if (obj1) {
35956 arg2 = (int) SWIG_AsInt(obj1);
35957 if (PyErr_Occurred()) SWIG_fail;
35958 }
35959 if (obj2) {
35960 arg3 = (int) SWIG_AsInt(obj2);
35961 if (PyErr_Occurred()) SWIG_fail;
35962 }
35963 if (obj3) {
35964 arg4 = (int) SWIG_AsInt(obj3);
35965 if (PyErr_Occurred()) SWIG_fail;
35966 }
35967 {
35968 PyThreadState* __tstate = wxPyBeginAllowThreads();
35969 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
35970
35971 wxPyEndAllowThreads(__tstate);
35972 if (PyErr_Occurred()) SWIG_fail;
35973 }
35974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
35975 return resultobj;
35976 fail:
35977 return NULL;
35978 }
35979
35980
35981 static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
35982 PyObject *resultobj;
35983 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35984 int arg2 ;
35985 PyObject * obj0 = 0 ;
35986 PyObject * obj1 = 0 ;
35987 char *kwnames[] = {
35988 (char *) "self",(char *) "cols", NULL
35989 };
35990
35991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
35992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35994 arg2 = (int) SWIG_AsInt(obj1);
35995 if (PyErr_Occurred()) SWIG_fail;
35996 {
35997 PyThreadState* __tstate = wxPyBeginAllowThreads();
35998 (arg1)->SetCols(arg2);
35999
36000 wxPyEndAllowThreads(__tstate);
36001 if (PyErr_Occurred()) SWIG_fail;
36002 }
36003 Py_INCREF(Py_None); resultobj = Py_None;
36004 return resultobj;
36005 fail:
36006 return NULL;
36007 }
36008
36009
36010 static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36011 PyObject *resultobj;
36012 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36013 int arg2 ;
36014 PyObject * obj0 = 0 ;
36015 PyObject * obj1 = 0 ;
36016 char *kwnames[] = {
36017 (char *) "self",(char *) "rows", NULL
36018 };
36019
36020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
36021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36023 arg2 = (int) SWIG_AsInt(obj1);
36024 if (PyErr_Occurred()) SWIG_fail;
36025 {
36026 PyThreadState* __tstate = wxPyBeginAllowThreads();
36027 (arg1)->SetRows(arg2);
36028
36029 wxPyEndAllowThreads(__tstate);
36030 if (PyErr_Occurred()) SWIG_fail;
36031 }
36032 Py_INCREF(Py_None); resultobj = Py_None;
36033 return resultobj;
36034 fail:
36035 return NULL;
36036 }
36037
36038
36039 static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36040 PyObject *resultobj;
36041 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36042 int arg2 ;
36043 PyObject * obj0 = 0 ;
36044 PyObject * obj1 = 0 ;
36045 char *kwnames[] = {
36046 (char *) "self",(char *) "gap", NULL
36047 };
36048
36049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
36050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36052 arg2 = (int) SWIG_AsInt(obj1);
36053 if (PyErr_Occurred()) SWIG_fail;
36054 {
36055 PyThreadState* __tstate = wxPyBeginAllowThreads();
36056 (arg1)->SetVGap(arg2);
36057
36058 wxPyEndAllowThreads(__tstate);
36059 if (PyErr_Occurred()) SWIG_fail;
36060 }
36061 Py_INCREF(Py_None); resultobj = Py_None;
36062 return resultobj;
36063 fail:
36064 return NULL;
36065 }
36066
36067
36068 static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36069 PyObject *resultobj;
36070 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36071 int arg2 ;
36072 PyObject * obj0 = 0 ;
36073 PyObject * obj1 = 0 ;
36074 char *kwnames[] = {
36075 (char *) "self",(char *) "gap", NULL
36076 };
36077
36078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
36079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36081 arg2 = (int) SWIG_AsInt(obj1);
36082 if (PyErr_Occurred()) SWIG_fail;
36083 {
36084 PyThreadState* __tstate = wxPyBeginAllowThreads();
36085 (arg1)->SetHGap(arg2);
36086
36087 wxPyEndAllowThreads(__tstate);
36088 if (PyErr_Occurred()) SWIG_fail;
36089 }
36090 Py_INCREF(Py_None); resultobj = Py_None;
36091 return resultobj;
36092 fail:
36093 return NULL;
36094 }
36095
36096
36097 static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36098 PyObject *resultobj;
36099 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36100 int result;
36101 PyObject * obj0 = 0 ;
36102 char *kwnames[] = {
36103 (char *) "self", NULL
36104 };
36105
36106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
36107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36109 {
36110 PyThreadState* __tstate = wxPyBeginAllowThreads();
36111 result = (int)(arg1)->GetCols();
36112
36113 wxPyEndAllowThreads(__tstate);
36114 if (PyErr_Occurred()) SWIG_fail;
36115 }
36116 resultobj = SWIG_FromInt((int)result);
36117 return resultobj;
36118 fail:
36119 return NULL;
36120 }
36121
36122
36123 static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36124 PyObject *resultobj;
36125 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36126 int result;
36127 PyObject * obj0 = 0 ;
36128 char *kwnames[] = {
36129 (char *) "self", NULL
36130 };
36131
36132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
36133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36135 {
36136 PyThreadState* __tstate = wxPyBeginAllowThreads();
36137 result = (int)(arg1)->GetRows();
36138
36139 wxPyEndAllowThreads(__tstate);
36140 if (PyErr_Occurred()) SWIG_fail;
36141 }
36142 resultobj = SWIG_FromInt((int)result);
36143 return resultobj;
36144 fail:
36145 return NULL;
36146 }
36147
36148
36149 static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36150 PyObject *resultobj;
36151 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36152 int result;
36153 PyObject * obj0 = 0 ;
36154 char *kwnames[] = {
36155 (char *) "self", NULL
36156 };
36157
36158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
36159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36161 {
36162 PyThreadState* __tstate = wxPyBeginAllowThreads();
36163 result = (int)(arg1)->GetVGap();
36164
36165 wxPyEndAllowThreads(__tstate);
36166 if (PyErr_Occurred()) SWIG_fail;
36167 }
36168 resultobj = SWIG_FromInt((int)result);
36169 return resultobj;
36170 fail:
36171 return NULL;
36172 }
36173
36174
36175 static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36176 PyObject *resultobj;
36177 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36178 int result;
36179 PyObject * obj0 = 0 ;
36180 char *kwnames[] = {
36181 (char *) "self", NULL
36182 };
36183
36184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
36185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36187 {
36188 PyThreadState* __tstate = wxPyBeginAllowThreads();
36189 result = (int)(arg1)->GetHGap();
36190
36191 wxPyEndAllowThreads(__tstate);
36192 if (PyErr_Occurred()) SWIG_fail;
36193 }
36194 resultobj = SWIG_FromInt((int)result);
36195 return resultobj;
36196 fail:
36197 return NULL;
36198 }
36199
36200
36201 static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
36202 PyObject *obj;
36203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36204 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36205 Py_INCREF(obj);
36206 return Py_BuildValue((char *)"");
36207 }
36208 static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36209 PyObject *resultobj;
36210 int arg1 = (int) 1 ;
36211 int arg2 = (int) 0 ;
36212 int arg3 = (int) 0 ;
36213 int arg4 = (int) 0 ;
36214 wxFlexGridSizer *result;
36215 PyObject * obj0 = 0 ;
36216 PyObject * obj1 = 0 ;
36217 PyObject * obj2 = 0 ;
36218 PyObject * obj3 = 0 ;
36219 char *kwnames[] = {
36220 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36221 };
36222
36223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36224 if (obj0) {
36225 arg1 = (int) SWIG_AsInt(obj0);
36226 if (PyErr_Occurred()) SWIG_fail;
36227 }
36228 if (obj1) {
36229 arg2 = (int) SWIG_AsInt(obj1);
36230 if (PyErr_Occurred()) SWIG_fail;
36231 }
36232 if (obj2) {
36233 arg3 = (int) SWIG_AsInt(obj2);
36234 if (PyErr_Occurred()) SWIG_fail;
36235 }
36236 if (obj3) {
36237 arg4 = (int) SWIG_AsInt(obj3);
36238 if (PyErr_Occurred()) SWIG_fail;
36239 }
36240 {
36241 PyThreadState* __tstate = wxPyBeginAllowThreads();
36242 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
36243
36244 wxPyEndAllowThreads(__tstate);
36245 if (PyErr_Occurred()) SWIG_fail;
36246 }
36247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
36248 return resultobj;
36249 fail:
36250 return NULL;
36251 }
36252
36253
36254 static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36255 PyObject *resultobj;
36256 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36257 size_t arg2 ;
36258 int arg3 = (int) 0 ;
36259 PyObject * obj0 = 0 ;
36260 PyObject * obj1 = 0 ;
36261 PyObject * obj2 = 0 ;
36262 char *kwnames[] = {
36263 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36264 };
36265
36266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36269 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36270 if (PyErr_Occurred()) SWIG_fail;
36271 if (obj2) {
36272 arg3 = (int) SWIG_AsInt(obj2);
36273 if (PyErr_Occurred()) SWIG_fail;
36274 }
36275 {
36276 PyThreadState* __tstate = wxPyBeginAllowThreads();
36277 (arg1)->AddGrowableRow(arg2,arg3);
36278
36279 wxPyEndAllowThreads(__tstate);
36280 if (PyErr_Occurred()) SWIG_fail;
36281 }
36282 Py_INCREF(Py_None); resultobj = Py_None;
36283 return resultobj;
36284 fail:
36285 return NULL;
36286 }
36287
36288
36289 static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36290 PyObject *resultobj;
36291 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36292 size_t arg2 ;
36293 PyObject * obj0 = 0 ;
36294 PyObject * obj1 = 0 ;
36295 char *kwnames[] = {
36296 (char *) "self",(char *) "idx", NULL
36297 };
36298
36299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
36300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36302 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36303 if (PyErr_Occurred()) SWIG_fail;
36304 {
36305 PyThreadState* __tstate = wxPyBeginAllowThreads();
36306 (arg1)->RemoveGrowableRow(arg2);
36307
36308 wxPyEndAllowThreads(__tstate);
36309 if (PyErr_Occurred()) SWIG_fail;
36310 }
36311 Py_INCREF(Py_None); resultobj = Py_None;
36312 return resultobj;
36313 fail:
36314 return NULL;
36315 }
36316
36317
36318 static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36319 PyObject *resultobj;
36320 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36321 size_t arg2 ;
36322 int arg3 = (int) 0 ;
36323 PyObject * obj0 = 0 ;
36324 PyObject * obj1 = 0 ;
36325 PyObject * obj2 = 0 ;
36326 char *kwnames[] = {
36327 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36328 };
36329
36330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
36331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36333 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36334 if (PyErr_Occurred()) SWIG_fail;
36335 if (obj2) {
36336 arg3 = (int) SWIG_AsInt(obj2);
36337 if (PyErr_Occurred()) SWIG_fail;
36338 }
36339 {
36340 PyThreadState* __tstate = wxPyBeginAllowThreads();
36341 (arg1)->AddGrowableCol(arg2,arg3);
36342
36343 wxPyEndAllowThreads(__tstate);
36344 if (PyErr_Occurred()) SWIG_fail;
36345 }
36346 Py_INCREF(Py_None); resultobj = Py_None;
36347 return resultobj;
36348 fail:
36349 return NULL;
36350 }
36351
36352
36353 static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36354 PyObject *resultobj;
36355 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36356 size_t arg2 ;
36357 PyObject * obj0 = 0 ;
36358 PyObject * obj1 = 0 ;
36359 char *kwnames[] = {
36360 (char *) "self",(char *) "idx", NULL
36361 };
36362
36363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
36364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36366 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36367 if (PyErr_Occurred()) SWIG_fail;
36368 {
36369 PyThreadState* __tstate = wxPyBeginAllowThreads();
36370 (arg1)->RemoveGrowableCol(arg2);
36371
36372 wxPyEndAllowThreads(__tstate);
36373 if (PyErr_Occurred()) SWIG_fail;
36374 }
36375 Py_INCREF(Py_None); resultobj = Py_None;
36376 return resultobj;
36377 fail:
36378 return NULL;
36379 }
36380
36381
36382 static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36383 PyObject *resultobj;
36384 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36385 int arg2 ;
36386 PyObject * obj0 = 0 ;
36387 PyObject * obj1 = 0 ;
36388 char *kwnames[] = {
36389 (char *) "self",(char *) "direction", NULL
36390 };
36391
36392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
36393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36395 arg2 = (int) SWIG_AsInt(obj1);
36396 if (PyErr_Occurred()) SWIG_fail;
36397 {
36398 PyThreadState* __tstate = wxPyBeginAllowThreads();
36399 (arg1)->SetFlexibleDirection(arg2);
36400
36401 wxPyEndAllowThreads(__tstate);
36402 if (PyErr_Occurred()) SWIG_fail;
36403 }
36404 Py_INCREF(Py_None); resultobj = Py_None;
36405 return resultobj;
36406 fail:
36407 return NULL;
36408 }
36409
36410
36411 static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36412 PyObject *resultobj;
36413 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36414 int result;
36415 PyObject * obj0 = 0 ;
36416 char *kwnames[] = {
36417 (char *) "self", NULL
36418 };
36419
36420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
36421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36423 {
36424 PyThreadState* __tstate = wxPyBeginAllowThreads();
36425 result = (int)(arg1)->GetFlexibleDirection();
36426
36427 wxPyEndAllowThreads(__tstate);
36428 if (PyErr_Occurred()) SWIG_fail;
36429 }
36430 resultobj = SWIG_FromInt((int)result);
36431 return resultobj;
36432 fail:
36433 return NULL;
36434 }
36435
36436
36437 static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36438 PyObject *resultobj;
36439 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36440 int arg2 ;
36441 PyObject * obj0 = 0 ;
36442 PyObject * obj1 = 0 ;
36443 char *kwnames[] = {
36444 (char *) "self",(char *) "mode", NULL
36445 };
36446
36447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
36448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36450 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
36451 if (PyErr_Occurred()) SWIG_fail;
36452 {
36453 PyThreadState* __tstate = wxPyBeginAllowThreads();
36454 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
36455
36456 wxPyEndAllowThreads(__tstate);
36457 if (PyErr_Occurred()) SWIG_fail;
36458 }
36459 Py_INCREF(Py_None); resultobj = Py_None;
36460 return resultobj;
36461 fail:
36462 return NULL;
36463 }
36464
36465
36466 static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36467 PyObject *resultobj;
36468 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36469 int result;
36470 PyObject * obj0 = 0 ;
36471 char *kwnames[] = {
36472 (char *) "self", NULL
36473 };
36474
36475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
36476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36478 {
36479 PyThreadState* __tstate = wxPyBeginAllowThreads();
36480 result = (int)(arg1)->GetNonFlexibleGrowMode();
36481
36482 wxPyEndAllowThreads(__tstate);
36483 if (PyErr_Occurred()) SWIG_fail;
36484 }
36485 resultobj = SWIG_FromInt((int)result);
36486 return resultobj;
36487 fail:
36488 return NULL;
36489 }
36490
36491
36492 static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
36493 PyObject *resultobj;
36494 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36495 wxArrayInt *result;
36496 PyObject * obj0 = 0 ;
36497 char *kwnames[] = {
36498 (char *) "self", NULL
36499 };
36500
36501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
36502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36504 {
36505 PyThreadState* __tstate = wxPyBeginAllowThreads();
36506 {
36507 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
36508 result = (wxArrayInt *) &_result_ref;
36509 }
36510
36511 wxPyEndAllowThreads(__tstate);
36512 if (PyErr_Occurred()) SWIG_fail;
36513 }
36514 {
36515 resultobj = PyList_New(0);
36516 size_t idx;
36517 for (idx = 0; idx < result->GetCount(); idx += 1) {
36518 PyObject* val = PyInt_FromLong( result->Item(idx) );
36519 PyList_Append(resultobj, val);
36520 Py_DECREF(val);
36521 }
36522 }
36523 return resultobj;
36524 fail:
36525 return NULL;
36526 }
36527
36528
36529 static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
36530 PyObject *resultobj;
36531 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36532 wxArrayInt *result;
36533 PyObject * obj0 = 0 ;
36534 char *kwnames[] = {
36535 (char *) "self", NULL
36536 };
36537
36538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
36539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36541 {
36542 PyThreadState* __tstate = wxPyBeginAllowThreads();
36543 {
36544 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
36545 result = (wxArrayInt *) &_result_ref;
36546 }
36547
36548 wxPyEndAllowThreads(__tstate);
36549 if (PyErr_Occurred()) SWIG_fail;
36550 }
36551 {
36552 resultobj = PyList_New(0);
36553 size_t idx;
36554 for (idx = 0; idx < result->GetCount(); idx += 1) {
36555 PyObject* val = PyInt_FromLong( result->Item(idx) );
36556 PyList_Append(resultobj, val);
36557 Py_DECREF(val);
36558 }
36559 }
36560 return resultobj;
36561 fail:
36562 return NULL;
36563 }
36564
36565
36566 static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
36567 PyObject *obj;
36568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36569 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
36570 Py_INCREF(obj);
36571 return Py_BuildValue((char *)"");
36572 }
36573 static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
36574 PyObject *resultobj;
36575 int arg1 = (int) 0 ;
36576 int arg2 = (int) 0 ;
36577 wxGBPosition *result;
36578 PyObject * obj0 = 0 ;
36579 PyObject * obj1 = 0 ;
36580 char *kwnames[] = {
36581 (char *) "row",(char *) "col", NULL
36582 };
36583
36584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
36585 if (obj0) {
36586 arg1 = (int) SWIG_AsInt(obj0);
36587 if (PyErr_Occurred()) SWIG_fail;
36588 }
36589 if (obj1) {
36590 arg2 = (int) SWIG_AsInt(obj1);
36591 if (PyErr_Occurred()) SWIG_fail;
36592 }
36593 {
36594 PyThreadState* __tstate = wxPyBeginAllowThreads();
36595 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
36596
36597 wxPyEndAllowThreads(__tstate);
36598 if (PyErr_Occurred()) SWIG_fail;
36599 }
36600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
36601 return resultobj;
36602 fail:
36603 return NULL;
36604 }
36605
36606
36607 static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36608 PyObject *resultobj;
36609 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36610 int result;
36611 PyObject * obj0 = 0 ;
36612 char *kwnames[] = {
36613 (char *) "self", NULL
36614 };
36615
36616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
36617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36619 {
36620 PyThreadState* __tstate = wxPyBeginAllowThreads();
36621 result = (int)((wxGBPosition const *)arg1)->GetRow();
36622
36623 wxPyEndAllowThreads(__tstate);
36624 if (PyErr_Occurred()) SWIG_fail;
36625 }
36626 resultobj = SWIG_FromInt((int)result);
36627 return resultobj;
36628 fail:
36629 return NULL;
36630 }
36631
36632
36633 static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36634 PyObject *resultobj;
36635 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36636 int result;
36637 PyObject * obj0 = 0 ;
36638 char *kwnames[] = {
36639 (char *) "self", NULL
36640 };
36641
36642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
36643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36645 {
36646 PyThreadState* __tstate = wxPyBeginAllowThreads();
36647 result = (int)((wxGBPosition const *)arg1)->GetCol();
36648
36649 wxPyEndAllowThreads(__tstate);
36650 if (PyErr_Occurred()) SWIG_fail;
36651 }
36652 resultobj = SWIG_FromInt((int)result);
36653 return resultobj;
36654 fail:
36655 return NULL;
36656 }
36657
36658
36659 static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36660 PyObject *resultobj;
36661 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36662 int arg2 ;
36663 PyObject * obj0 = 0 ;
36664 PyObject * obj1 = 0 ;
36665 char *kwnames[] = {
36666 (char *) "self",(char *) "row", NULL
36667 };
36668
36669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
36670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36672 arg2 = (int) SWIG_AsInt(obj1);
36673 if (PyErr_Occurred()) SWIG_fail;
36674 {
36675 PyThreadState* __tstate = wxPyBeginAllowThreads();
36676 (arg1)->SetRow(arg2);
36677
36678 wxPyEndAllowThreads(__tstate);
36679 if (PyErr_Occurred()) SWIG_fail;
36680 }
36681 Py_INCREF(Py_None); resultobj = Py_None;
36682 return resultobj;
36683 fail:
36684 return NULL;
36685 }
36686
36687
36688 static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36689 PyObject *resultobj;
36690 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36691 int arg2 ;
36692 PyObject * obj0 = 0 ;
36693 PyObject * obj1 = 0 ;
36694 char *kwnames[] = {
36695 (char *) "self",(char *) "col", NULL
36696 };
36697
36698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
36699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36701 arg2 = (int) SWIG_AsInt(obj1);
36702 if (PyErr_Occurred()) SWIG_fail;
36703 {
36704 PyThreadState* __tstate = wxPyBeginAllowThreads();
36705 (arg1)->SetCol(arg2);
36706
36707 wxPyEndAllowThreads(__tstate);
36708 if (PyErr_Occurred()) SWIG_fail;
36709 }
36710 Py_INCREF(Py_None); resultobj = Py_None;
36711 return resultobj;
36712 fail:
36713 return NULL;
36714 }
36715
36716
36717 static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36718 PyObject *resultobj;
36719 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36720 wxGBPosition *arg2 = 0 ;
36721 bool result;
36722 wxGBPosition temp2 ;
36723 PyObject * obj0 = 0 ;
36724 PyObject * obj1 = 0 ;
36725 char *kwnames[] = {
36726 (char *) "self",(char *) "other", NULL
36727 };
36728
36729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
36730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36732 {
36733 arg2 = &temp2;
36734 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36735 }
36736 {
36737 PyThreadState* __tstate = wxPyBeginAllowThreads();
36738 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
36739
36740 wxPyEndAllowThreads(__tstate);
36741 if (PyErr_Occurred()) SWIG_fail;
36742 }
36743 {
36744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36745 }
36746 return resultobj;
36747 fail:
36748 return NULL;
36749 }
36750
36751
36752 static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36753 PyObject *resultobj;
36754 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36755 wxGBPosition *arg2 = 0 ;
36756 bool result;
36757 wxGBPosition temp2 ;
36758 PyObject * obj0 = 0 ;
36759 PyObject * obj1 = 0 ;
36760 char *kwnames[] = {
36761 (char *) "self",(char *) "other", NULL
36762 };
36763
36764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
36765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36767 {
36768 arg2 = &temp2;
36769 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36770 }
36771 {
36772 PyThreadState* __tstate = wxPyBeginAllowThreads();
36773 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
36774
36775 wxPyEndAllowThreads(__tstate);
36776 if (PyErr_Occurred()) SWIG_fail;
36777 }
36778 {
36779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36780 }
36781 return resultobj;
36782 fail:
36783 return NULL;
36784 }
36785
36786
36787 static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
36788 PyObject *resultobj;
36789 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36790 int arg2 = (int) 0 ;
36791 int arg3 = (int) 0 ;
36792 PyObject * obj0 = 0 ;
36793 PyObject * obj1 = 0 ;
36794 PyObject * obj2 = 0 ;
36795 char *kwnames[] = {
36796 (char *) "self",(char *) "row",(char *) "col", NULL
36797 };
36798
36799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
36800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36802 if (obj1) {
36803 arg2 = (int) SWIG_AsInt(obj1);
36804 if (PyErr_Occurred()) SWIG_fail;
36805 }
36806 if (obj2) {
36807 arg3 = (int) SWIG_AsInt(obj2);
36808 if (PyErr_Occurred()) SWIG_fail;
36809 }
36810 {
36811 PyThreadState* __tstate = wxPyBeginAllowThreads();
36812 wxGBPosition_Set(arg1,arg2,arg3);
36813
36814 wxPyEndAllowThreads(__tstate);
36815 if (PyErr_Occurred()) SWIG_fail;
36816 }
36817 Py_INCREF(Py_None); resultobj = Py_None;
36818 return resultobj;
36819 fail:
36820 return NULL;
36821 }
36822
36823
36824 static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
36825 PyObject *resultobj;
36826 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36827 PyObject *result;
36828 PyObject * obj0 = 0 ;
36829 char *kwnames[] = {
36830 (char *) "self", NULL
36831 };
36832
36833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
36834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36836 {
36837 PyThreadState* __tstate = wxPyBeginAllowThreads();
36838 result = (PyObject *)wxGBPosition_Get(arg1);
36839
36840 wxPyEndAllowThreads(__tstate);
36841 if (PyErr_Occurred()) SWIG_fail;
36842 }
36843 resultobj = result;
36844 return resultobj;
36845 fail:
36846 return NULL;
36847 }
36848
36849
36850 static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
36851 PyObject *obj;
36852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36853 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
36854 Py_INCREF(obj);
36855 return Py_BuildValue((char *)"");
36856 }
36857 static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36858 PyObject *resultobj;
36859 int arg1 = (int) 1 ;
36860 int arg2 = (int) 1 ;
36861 wxGBSpan *result;
36862 PyObject * obj0 = 0 ;
36863 PyObject * obj1 = 0 ;
36864 char *kwnames[] = {
36865 (char *) "rowspan",(char *) "colspan", NULL
36866 };
36867
36868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
36869 if (obj0) {
36870 arg1 = (int) SWIG_AsInt(obj0);
36871 if (PyErr_Occurred()) SWIG_fail;
36872 }
36873 if (obj1) {
36874 arg2 = (int) SWIG_AsInt(obj1);
36875 if (PyErr_Occurred()) SWIG_fail;
36876 }
36877 {
36878 PyThreadState* __tstate = wxPyBeginAllowThreads();
36879 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
36880
36881 wxPyEndAllowThreads(__tstate);
36882 if (PyErr_Occurred()) SWIG_fail;
36883 }
36884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
36885 return resultobj;
36886 fail:
36887 return NULL;
36888 }
36889
36890
36891 static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36892 PyObject *resultobj;
36893 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36894 int result;
36895 PyObject * obj0 = 0 ;
36896 char *kwnames[] = {
36897 (char *) "self", NULL
36898 };
36899
36900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
36901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36903 {
36904 PyThreadState* __tstate = wxPyBeginAllowThreads();
36905 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
36906
36907 wxPyEndAllowThreads(__tstate);
36908 if (PyErr_Occurred()) SWIG_fail;
36909 }
36910 resultobj = SWIG_FromInt((int)result);
36911 return resultobj;
36912 fail:
36913 return NULL;
36914 }
36915
36916
36917 static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36918 PyObject *resultobj;
36919 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36920 int result;
36921 PyObject * obj0 = 0 ;
36922 char *kwnames[] = {
36923 (char *) "self", NULL
36924 };
36925
36926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
36927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36929 {
36930 PyThreadState* __tstate = wxPyBeginAllowThreads();
36931 result = (int)((wxGBSpan const *)arg1)->GetColspan();
36932
36933 wxPyEndAllowThreads(__tstate);
36934 if (PyErr_Occurred()) SWIG_fail;
36935 }
36936 resultobj = SWIG_FromInt((int)result);
36937 return resultobj;
36938 fail:
36939 return NULL;
36940 }
36941
36942
36943 static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36944 PyObject *resultobj;
36945 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36946 int arg2 ;
36947 PyObject * obj0 = 0 ;
36948 PyObject * obj1 = 0 ;
36949 char *kwnames[] = {
36950 (char *) "self",(char *) "rowspan", NULL
36951 };
36952
36953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
36954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36956 arg2 = (int) SWIG_AsInt(obj1);
36957 if (PyErr_Occurred()) SWIG_fail;
36958 {
36959 PyThreadState* __tstate = wxPyBeginAllowThreads();
36960 (arg1)->SetRowspan(arg2);
36961
36962 wxPyEndAllowThreads(__tstate);
36963 if (PyErr_Occurred()) SWIG_fail;
36964 }
36965 Py_INCREF(Py_None); resultobj = Py_None;
36966 return resultobj;
36967 fail:
36968 return NULL;
36969 }
36970
36971
36972 static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36973 PyObject *resultobj;
36974 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36975 int arg2 ;
36976 PyObject * obj0 = 0 ;
36977 PyObject * obj1 = 0 ;
36978 char *kwnames[] = {
36979 (char *) "self",(char *) "colspan", NULL
36980 };
36981
36982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
36983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36985 arg2 = (int) SWIG_AsInt(obj1);
36986 if (PyErr_Occurred()) SWIG_fail;
36987 {
36988 PyThreadState* __tstate = wxPyBeginAllowThreads();
36989 (arg1)->SetColspan(arg2);
36990
36991 wxPyEndAllowThreads(__tstate);
36992 if (PyErr_Occurred()) SWIG_fail;
36993 }
36994 Py_INCREF(Py_None); resultobj = Py_None;
36995 return resultobj;
36996 fail:
36997 return NULL;
36998 }
36999
37000
37001 static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
37002 PyObject *resultobj;
37003 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37004 wxGBSpan *arg2 = 0 ;
37005 bool result;
37006 wxGBSpan temp2 ;
37007 PyObject * obj0 = 0 ;
37008 PyObject * obj1 = 0 ;
37009 char *kwnames[] = {
37010 (char *) "self",(char *) "other", NULL
37011 };
37012
37013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
37014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37016 {
37017 arg2 = &temp2;
37018 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37019 }
37020 {
37021 PyThreadState* __tstate = wxPyBeginAllowThreads();
37022 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
37023
37024 wxPyEndAllowThreads(__tstate);
37025 if (PyErr_Occurred()) SWIG_fail;
37026 }
37027 {
37028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37029 }
37030 return resultobj;
37031 fail:
37032 return NULL;
37033 }
37034
37035
37036 static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
37037 PyObject *resultobj;
37038 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37039 wxGBSpan *arg2 = 0 ;
37040 bool result;
37041 wxGBSpan temp2 ;
37042 PyObject * obj0 = 0 ;
37043 PyObject * obj1 = 0 ;
37044 char *kwnames[] = {
37045 (char *) "self",(char *) "other", NULL
37046 };
37047
37048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
37049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37051 {
37052 arg2 = &temp2;
37053 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37054 }
37055 {
37056 PyThreadState* __tstate = wxPyBeginAllowThreads();
37057 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
37058
37059 wxPyEndAllowThreads(__tstate);
37060 if (PyErr_Occurred()) SWIG_fail;
37061 }
37062 {
37063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37064 }
37065 return resultobj;
37066 fail:
37067 return NULL;
37068 }
37069
37070
37071 static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37072 PyObject *resultobj;
37073 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37074 int arg2 = (int) 1 ;
37075 int arg3 = (int) 1 ;
37076 PyObject * obj0 = 0 ;
37077 PyObject * obj1 = 0 ;
37078 PyObject * obj2 = 0 ;
37079 char *kwnames[] = {
37080 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37081 };
37082
37083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
37084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37086 if (obj1) {
37087 arg2 = (int) SWIG_AsInt(obj1);
37088 if (PyErr_Occurred()) SWIG_fail;
37089 }
37090 if (obj2) {
37091 arg3 = (int) SWIG_AsInt(obj2);
37092 if (PyErr_Occurred()) SWIG_fail;
37093 }
37094 {
37095 PyThreadState* __tstate = wxPyBeginAllowThreads();
37096 wxGBSpan_Set(arg1,arg2,arg3);
37097
37098 wxPyEndAllowThreads(__tstate);
37099 if (PyErr_Occurred()) SWIG_fail;
37100 }
37101 Py_INCREF(Py_None); resultobj = Py_None;
37102 return resultobj;
37103 fail:
37104 return NULL;
37105 }
37106
37107
37108 static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
37109 PyObject *resultobj;
37110 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37111 PyObject *result;
37112 PyObject * obj0 = 0 ;
37113 char *kwnames[] = {
37114 (char *) "self", NULL
37115 };
37116
37117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
37118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37120 {
37121 PyThreadState* __tstate = wxPyBeginAllowThreads();
37122 result = (PyObject *)wxGBSpan_Get(arg1);
37123
37124 wxPyEndAllowThreads(__tstate);
37125 if (PyErr_Occurred()) SWIG_fail;
37126 }
37127 resultobj = result;
37128 return resultobj;
37129 fail:
37130 return NULL;
37131 }
37132
37133
37134 static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
37135 PyObject *obj;
37136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37137 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37138 Py_INCREF(obj);
37139 return Py_BuildValue((char *)"");
37140 }
37141 static int _wrap_DefaultSpan_set(PyObject *_val) {
37142 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37143 return 1;
37144 }
37145
37146
37147 static PyObject *_wrap_DefaultSpan_get() {
37148 PyObject *pyobj;
37149
37150 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
37151 return pyobj;
37152 }
37153
37154
37155 static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37156 PyObject *resultobj;
37157 wxGBSizerItem *result;
37158 char *kwnames[] = {
37159 NULL
37160 };
37161
37162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37163 {
37164 PyThreadState* __tstate = wxPyBeginAllowThreads();
37165 result = (wxGBSizerItem *)new wxGBSizerItem();
37166
37167 wxPyEndAllowThreads(__tstate);
37168 if (PyErr_Occurred()) SWIG_fail;
37169 }
37170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37171 return resultobj;
37172 fail:
37173 return NULL;
37174 }
37175
37176
37177 static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37178 PyObject *resultobj;
37179 wxWindow *arg1 = (wxWindow *) 0 ;
37180 wxGBPosition *arg2 = 0 ;
37181 wxGBSpan *arg3 = 0 ;
37182 int arg4 ;
37183 int arg5 ;
37184 PyObject *arg6 = (PyObject *) NULL ;
37185 wxGBSizerItem *result;
37186 wxGBPosition temp2 ;
37187 wxGBSpan temp3 ;
37188 PyObject * obj0 = 0 ;
37189 PyObject * obj1 = 0 ;
37190 PyObject * obj2 = 0 ;
37191 PyObject * obj3 = 0 ;
37192 PyObject * obj4 = 0 ;
37193 PyObject * obj5 = 0 ;
37194 char *kwnames[] = {
37195 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37196 };
37197
37198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
37199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37201 {
37202 arg2 = &temp2;
37203 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37204 }
37205 {
37206 arg3 = &temp3;
37207 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37208 }
37209 arg4 = (int) SWIG_AsInt(obj3);
37210 if (PyErr_Occurred()) SWIG_fail;
37211 arg5 = (int) SWIG_AsInt(obj4);
37212 if (PyErr_Occurred()) SWIG_fail;
37213 if (obj5) {
37214 arg6 = obj5;
37215 }
37216 {
37217 PyThreadState* __tstate = wxPyBeginAllowThreads();
37218 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37219
37220 wxPyEndAllowThreads(__tstate);
37221 if (PyErr_Occurred()) SWIG_fail;
37222 }
37223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37224 return resultobj;
37225 fail:
37226 return NULL;
37227 }
37228
37229
37230 static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37231 PyObject *resultobj;
37232 wxSizer *arg1 = (wxSizer *) 0 ;
37233 wxGBPosition *arg2 = 0 ;
37234 wxGBSpan *arg3 = 0 ;
37235 int arg4 ;
37236 int arg5 ;
37237 PyObject *arg6 = (PyObject *) NULL ;
37238 wxGBSizerItem *result;
37239 wxGBPosition temp2 ;
37240 wxGBSpan temp3 ;
37241 PyObject * obj0 = 0 ;
37242 PyObject * obj1 = 0 ;
37243 PyObject * obj2 = 0 ;
37244 PyObject * obj3 = 0 ;
37245 PyObject * obj4 = 0 ;
37246 PyObject * obj5 = 0 ;
37247 char *kwnames[] = {
37248 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37249 };
37250
37251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
37252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
37253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37254 {
37255 arg2 = &temp2;
37256 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37257 }
37258 {
37259 arg3 = &temp3;
37260 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37261 }
37262 arg4 = (int) SWIG_AsInt(obj3);
37263 if (PyErr_Occurred()) SWIG_fail;
37264 arg5 = (int) SWIG_AsInt(obj4);
37265 if (PyErr_Occurred()) SWIG_fail;
37266 if (obj5) {
37267 arg6 = obj5;
37268 }
37269 {
37270 PyThreadState* __tstate = wxPyBeginAllowThreads();
37271 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37272
37273 wxPyEndAllowThreads(__tstate);
37274 if (PyErr_Occurred()) SWIG_fail;
37275 }
37276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37277 return resultobj;
37278 fail:
37279 return NULL;
37280 }
37281
37282
37283 static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
37284 PyObject *resultobj;
37285 int arg1 ;
37286 int arg2 ;
37287 wxGBPosition *arg3 = 0 ;
37288 wxGBSpan *arg4 = 0 ;
37289 int arg5 ;
37290 int arg6 ;
37291 PyObject *arg7 = (PyObject *) NULL ;
37292 wxGBSizerItem *result;
37293 wxGBPosition temp3 ;
37294 wxGBSpan temp4 ;
37295 PyObject * obj0 = 0 ;
37296 PyObject * obj1 = 0 ;
37297 PyObject * obj2 = 0 ;
37298 PyObject * obj3 = 0 ;
37299 PyObject * obj4 = 0 ;
37300 PyObject * obj5 = 0 ;
37301 PyObject * obj6 = 0 ;
37302 char *kwnames[] = {
37303 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37304 };
37305
37306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
37307 arg1 = (int) SWIG_AsInt(obj0);
37308 if (PyErr_Occurred()) SWIG_fail;
37309 arg2 = (int) SWIG_AsInt(obj1);
37310 if (PyErr_Occurred()) SWIG_fail;
37311 {
37312 arg3 = &temp3;
37313 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37314 }
37315 {
37316 arg4 = &temp4;
37317 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37318 }
37319 arg5 = (int) SWIG_AsInt(obj4);
37320 if (PyErr_Occurred()) SWIG_fail;
37321 arg6 = (int) SWIG_AsInt(obj5);
37322 if (PyErr_Occurred()) SWIG_fail;
37323 if (obj6) {
37324 arg7 = obj6;
37325 }
37326 {
37327 PyThreadState* __tstate = wxPyBeginAllowThreads();
37328 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37329
37330 wxPyEndAllowThreads(__tstate);
37331 if (PyErr_Occurred()) SWIG_fail;
37332 }
37333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37334 return resultobj;
37335 fail:
37336 return NULL;
37337 }
37338
37339
37340 static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37341 PyObject *resultobj;
37342 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37343 wxGBPosition result;
37344 PyObject * obj0 = 0 ;
37345 char *kwnames[] = {
37346 (char *) "self", NULL
37347 };
37348
37349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
37350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37352 {
37353 PyThreadState* __tstate = wxPyBeginAllowThreads();
37354 result = ((wxGBSizerItem const *)arg1)->GetPos();
37355
37356 wxPyEndAllowThreads(__tstate);
37357 if (PyErr_Occurred()) SWIG_fail;
37358 }
37359 {
37360 wxGBPosition * resultptr;
37361 resultptr = new wxGBPosition((wxGBPosition &) result);
37362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37363 }
37364 return resultobj;
37365 fail:
37366 return NULL;
37367 }
37368
37369
37370 static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37371 PyObject *resultobj;
37372 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37373 wxGBSpan result;
37374 PyObject * obj0 = 0 ;
37375 char *kwnames[] = {
37376 (char *) "self", NULL
37377 };
37378
37379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
37380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37382 {
37383 PyThreadState* __tstate = wxPyBeginAllowThreads();
37384 result = ((wxGBSizerItem const *)arg1)->GetSpan();
37385
37386 wxPyEndAllowThreads(__tstate);
37387 if (PyErr_Occurred()) SWIG_fail;
37388 }
37389 {
37390 wxGBSpan * resultptr;
37391 resultptr = new wxGBSpan((wxGBSpan &) result);
37392 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
37393 }
37394 return resultobj;
37395 fail:
37396 return NULL;
37397 }
37398
37399
37400 static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37401 PyObject *resultobj;
37402 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37403 wxGBPosition *arg2 = 0 ;
37404 bool result;
37405 wxGBPosition temp2 ;
37406 PyObject * obj0 = 0 ;
37407 PyObject * obj1 = 0 ;
37408 char *kwnames[] = {
37409 (char *) "self",(char *) "pos", NULL
37410 };
37411
37412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
37413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37415 {
37416 arg2 = &temp2;
37417 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37418 }
37419 {
37420 PyThreadState* __tstate = wxPyBeginAllowThreads();
37421 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
37422
37423 wxPyEndAllowThreads(__tstate);
37424 if (PyErr_Occurred()) SWIG_fail;
37425 }
37426 {
37427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37428 }
37429 return resultobj;
37430 fail:
37431 return NULL;
37432 }
37433
37434
37435 static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37436 PyObject *resultobj;
37437 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37438 wxGBSpan *arg2 = 0 ;
37439 bool result;
37440 wxGBSpan temp2 ;
37441 PyObject * obj0 = 0 ;
37442 PyObject * obj1 = 0 ;
37443 char *kwnames[] = {
37444 (char *) "self",(char *) "span", NULL
37445 };
37446
37447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
37448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37450 {
37451 arg2 = &temp2;
37452 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37453 }
37454 {
37455 PyThreadState* __tstate = wxPyBeginAllowThreads();
37456 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
37457
37458 wxPyEndAllowThreads(__tstate);
37459 if (PyErr_Occurred()) SWIG_fail;
37460 }
37461 {
37462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37463 }
37464 return resultobj;
37465 fail:
37466 return NULL;
37467 }
37468
37469
37470 static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
37471 PyObject *resultobj;
37472 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37473 wxGBSizerItem *arg2 = 0 ;
37474 bool result;
37475 PyObject * obj0 = 0 ;
37476 PyObject * obj1 = 0 ;
37477 char *kwnames[] = {
37478 (char *) "self",(char *) "other", NULL
37479 };
37480
37481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail;
37482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37485 SWIG_POINTER_EXCEPTION | 0)) == -1)
37486 SWIG_fail;
37487 if (arg2 == NULL) {
37488 PyErr_SetString(PyExc_TypeError,"null reference");
37489 SWIG_fail;
37490 }
37491 {
37492 PyThreadState* __tstate = wxPyBeginAllowThreads();
37493 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
37494
37495 wxPyEndAllowThreads(__tstate);
37496 if (PyErr_Occurred()) SWIG_fail;
37497 }
37498 {
37499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37500 }
37501 return resultobj;
37502 fail:
37503 return NULL;
37504 }
37505
37506
37507 static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37508 PyObject *resultobj;
37509 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37510 wxGBPosition *arg2 = 0 ;
37511 wxGBSpan *arg3 = 0 ;
37512 bool result;
37513 wxGBPosition temp2 ;
37514 wxGBSpan temp3 ;
37515 PyObject * obj0 = 0 ;
37516 PyObject * obj1 = 0 ;
37517 PyObject * obj2 = 0 ;
37518 char *kwnames[] = {
37519 (char *) "self",(char *) "pos",(char *) "span", NULL
37520 };
37521
37522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
37523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37525 {
37526 arg2 = &temp2;
37527 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37528 }
37529 {
37530 arg3 = &temp3;
37531 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37532 }
37533 {
37534 PyThreadState* __tstate = wxPyBeginAllowThreads();
37535 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
37536
37537 wxPyEndAllowThreads(__tstate);
37538 if (PyErr_Occurred()) SWIG_fail;
37539 }
37540 {
37541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37542 }
37543 return resultobj;
37544 fail:
37545 return NULL;
37546 }
37547
37548
37549 static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37550 PyObject *resultobj;
37551 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37552 wxGBPosition result;
37553 PyObject * obj0 = 0 ;
37554 char *kwnames[] = {
37555 (char *) "self", NULL
37556 };
37557
37558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail;
37559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37561 {
37562 PyThreadState* __tstate = wxPyBeginAllowThreads();
37563 result = wxGBSizerItem_GetEndPos(arg1);
37564
37565 wxPyEndAllowThreads(__tstate);
37566 if (PyErr_Occurred()) SWIG_fail;
37567 }
37568 {
37569 wxGBPosition * resultptr;
37570 resultptr = new wxGBPosition((wxGBPosition &) result);
37571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37572 }
37573 return resultobj;
37574 fail:
37575 return NULL;
37576 }
37577
37578
37579 static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37580 PyObject *resultobj;
37581 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37582 wxGridBagSizer *result;
37583 PyObject * obj0 = 0 ;
37584 char *kwnames[] = {
37585 (char *) "self", NULL
37586 };
37587
37588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
37589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37591 {
37592 PyThreadState* __tstate = wxPyBeginAllowThreads();
37593 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
37594
37595 wxPyEndAllowThreads(__tstate);
37596 if (PyErr_Occurred()) SWIG_fail;
37597 }
37598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
37599 return resultobj;
37600 fail:
37601 return NULL;
37602 }
37603
37604
37605 static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37606 PyObject *resultobj;
37607 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37608 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
37609 PyObject * obj0 = 0 ;
37610 PyObject * obj1 = 0 ;
37611 char *kwnames[] = {
37612 (char *) "self",(char *) "sizer", NULL
37613 };
37614
37615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
37616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
37619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37620 {
37621 PyThreadState* __tstate = wxPyBeginAllowThreads();
37622 (arg1)->SetGBSizer(arg2);
37623
37624 wxPyEndAllowThreads(__tstate);
37625 if (PyErr_Occurred()) SWIG_fail;
37626 }
37627 Py_INCREF(Py_None); resultobj = Py_None;
37628 return resultobj;
37629 fail:
37630 return NULL;
37631 }
37632
37633
37634 static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
37635 PyObject *obj;
37636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37637 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
37638 Py_INCREF(obj);
37639 return Py_BuildValue((char *)"");
37640 }
37641 static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37642 PyObject *resultobj;
37643 int arg1 = (int) 0 ;
37644 int arg2 = (int) 0 ;
37645 wxGridBagSizer *result;
37646 PyObject * obj0 = 0 ;
37647 PyObject * obj1 = 0 ;
37648 char *kwnames[] = {
37649 (char *) "vgap",(char *) "hgap", NULL
37650 };
37651
37652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
37653 if (obj0) {
37654 arg1 = (int) SWIG_AsInt(obj0);
37655 if (PyErr_Occurred()) SWIG_fail;
37656 }
37657 if (obj1) {
37658 arg2 = (int) SWIG_AsInt(obj1);
37659 if (PyErr_Occurred()) SWIG_fail;
37660 }
37661 {
37662 PyThreadState* __tstate = wxPyBeginAllowThreads();
37663 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
37664
37665 wxPyEndAllowThreads(__tstate);
37666 if (PyErr_Occurred()) SWIG_fail;
37667 }
37668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
37669 return resultobj;
37670 fail:
37671 return NULL;
37672 }
37673
37674
37675 static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
37676 PyObject *resultobj;
37677 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37678 PyObject *arg2 = (PyObject *) 0 ;
37679 wxGBPosition *arg3 = 0 ;
37680 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
37681 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
37682 int arg5 = (int) 0 ;
37683 int arg6 = (int) 0 ;
37684 PyObject *arg7 = (PyObject *) NULL ;
37685 bool result;
37686 wxGBPosition temp3 ;
37687 wxGBSpan temp4 ;
37688 PyObject * obj0 = 0 ;
37689 PyObject * obj1 = 0 ;
37690 PyObject * obj2 = 0 ;
37691 PyObject * obj3 = 0 ;
37692 PyObject * obj4 = 0 ;
37693 PyObject * obj5 = 0 ;
37694 PyObject * obj6 = 0 ;
37695 char *kwnames[] = {
37696 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37697 };
37698
37699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
37700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37702 arg2 = obj1;
37703 {
37704 arg3 = &temp3;
37705 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37706 }
37707 if (obj3) {
37708 {
37709 arg4 = &temp4;
37710 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37711 }
37712 }
37713 if (obj4) {
37714 arg5 = (int) SWIG_AsInt(obj4);
37715 if (PyErr_Occurred()) SWIG_fail;
37716 }
37717 if (obj5) {
37718 arg6 = (int) SWIG_AsInt(obj5);
37719 if (PyErr_Occurred()) SWIG_fail;
37720 }
37721 if (obj6) {
37722 arg7 = obj6;
37723 }
37724 {
37725 PyThreadState* __tstate = wxPyBeginAllowThreads();
37726 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37727
37728 wxPyEndAllowThreads(__tstate);
37729 if (PyErr_Occurred()) SWIG_fail;
37730 }
37731 {
37732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37733 }
37734 return resultobj;
37735 fail:
37736 return NULL;
37737 }
37738
37739
37740 static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37741 PyObject *resultobj;
37742 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37743 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37744 bool result;
37745 PyObject * obj0 = 0 ;
37746 PyObject * obj1 = 0 ;
37747 char *kwnames[] = {
37748 (char *) "self",(char *) "item", NULL
37749 };
37750
37751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
37752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37756 {
37757 PyThreadState* __tstate = wxPyBeginAllowThreads();
37758 result = (bool)(arg1)->Add(arg2);
37759
37760 wxPyEndAllowThreads(__tstate);
37761 if (PyErr_Occurred()) SWIG_fail;
37762 }
37763 {
37764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37765 }
37766 return resultobj;
37767 fail:
37768 return NULL;
37769 }
37770
37771
37772 static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37773 PyObject *resultobj;
37774 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37775 wxSize result;
37776 PyObject * obj0 = 0 ;
37777 char *kwnames[] = {
37778 (char *) "self", NULL
37779 };
37780
37781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
37782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37784 {
37785 PyThreadState* __tstate = wxPyBeginAllowThreads();
37786 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
37787
37788 wxPyEndAllowThreads(__tstate);
37789 if (PyErr_Occurred()) SWIG_fail;
37790 }
37791 {
37792 wxSize * resultptr;
37793 resultptr = new wxSize((wxSize &) result);
37794 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
37795 }
37796 return resultobj;
37797 fail:
37798 return NULL;
37799 }
37800
37801
37802 static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37803 PyObject *resultobj;
37804 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37805 wxSize *arg2 = 0 ;
37806 wxSize temp2 ;
37807 PyObject * obj0 = 0 ;
37808 PyObject * obj1 = 0 ;
37809 char *kwnames[] = {
37810 (char *) "self",(char *) "sz", NULL
37811 };
37812
37813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
37814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37816 {
37817 arg2 = &temp2;
37818 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
37819 }
37820 {
37821 PyThreadState* __tstate = wxPyBeginAllowThreads();
37822 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
37823
37824 wxPyEndAllowThreads(__tstate);
37825 if (PyErr_Occurred()) SWIG_fail;
37826 }
37827 Py_INCREF(Py_None); resultobj = Py_None;
37828 return resultobj;
37829 fail:
37830 return NULL;
37831 }
37832
37833
37834 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37835 PyObject *resultobj;
37836 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37837 wxWindow *arg2 = (wxWindow *) 0 ;
37838 wxGBPosition result;
37839 PyObject * obj0 = 0 ;
37840 PyObject * obj1 = 0 ;
37841
37842 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
37843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37847 {
37848 PyThreadState* __tstate = wxPyBeginAllowThreads();
37849 result = (arg1)->GetItemPosition(arg2);
37850
37851 wxPyEndAllowThreads(__tstate);
37852 if (PyErr_Occurred()) SWIG_fail;
37853 }
37854 {
37855 wxGBPosition * resultptr;
37856 resultptr = new wxGBPosition((wxGBPosition &) result);
37857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37858 }
37859 return resultobj;
37860 fail:
37861 return NULL;
37862 }
37863
37864
37865 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
37866 PyObject *resultobj;
37867 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37868 wxSizer *arg2 = (wxSizer *) 0 ;
37869 wxGBPosition result;
37870 PyObject * obj0 = 0 ;
37871 PyObject * obj1 = 0 ;
37872
37873 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
37874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37878 {
37879 PyThreadState* __tstate = wxPyBeginAllowThreads();
37880 result = (arg1)->GetItemPosition(arg2);
37881
37882 wxPyEndAllowThreads(__tstate);
37883 if (PyErr_Occurred()) SWIG_fail;
37884 }
37885 {
37886 wxGBPosition * resultptr;
37887 resultptr = new wxGBPosition((wxGBPosition &) result);
37888 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37889 }
37890 return resultobj;
37891 fail:
37892 return NULL;
37893 }
37894
37895
37896 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
37897 PyObject *resultobj;
37898 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37899 size_t arg2 ;
37900 wxGBPosition result;
37901 PyObject * obj0 = 0 ;
37902 PyObject * obj1 = 0 ;
37903
37904 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
37905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37907 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37908 if (PyErr_Occurred()) SWIG_fail;
37909 {
37910 PyThreadState* __tstate = wxPyBeginAllowThreads();
37911 result = (arg1)->GetItemPosition(arg2);
37912
37913 wxPyEndAllowThreads(__tstate);
37914 if (PyErr_Occurred()) SWIG_fail;
37915 }
37916 {
37917 wxGBPosition * resultptr;
37918 resultptr = new wxGBPosition((wxGBPosition &) result);
37919 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37920 }
37921 return resultobj;
37922 fail:
37923 return NULL;
37924 }
37925
37926
37927 static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
37928 int argc;
37929 PyObject *argv[3];
37930 int ii;
37931
37932 argc = PyObject_Length(args);
37933 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37934 argv[ii] = PyTuple_GetItem(args,ii);
37935 }
37936 if (argc == 2) {
37937 int _v;
37938 {
37939 void *ptr;
37940 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37941 _v = 0;
37942 PyErr_Clear();
37943 } else {
37944 _v = 1;
37945 }
37946 }
37947 if (_v) {
37948 {
37949 void *ptr;
37950 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
37951 _v = 0;
37952 PyErr_Clear();
37953 } else {
37954 _v = 1;
37955 }
37956 }
37957 if (_v) {
37958 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
37959 }
37960 }
37961 }
37962 if (argc == 2) {
37963 int _v;
37964 {
37965 void *ptr;
37966 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37967 _v = 0;
37968 PyErr_Clear();
37969 } else {
37970 _v = 1;
37971 }
37972 }
37973 if (_v) {
37974 {
37975 void *ptr;
37976 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
37977 _v = 0;
37978 PyErr_Clear();
37979 } else {
37980 _v = 1;
37981 }
37982 }
37983 if (_v) {
37984 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
37985 }
37986 }
37987 }
37988 if (argc == 2) {
37989 int _v;
37990 {
37991 void *ptr;
37992 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37993 _v = 0;
37994 PyErr_Clear();
37995 } else {
37996 _v = 1;
37997 }
37998 }
37999 if (_v) {
38000 _v = SWIG_CheckUnsignedLong(argv[1]);
38001 if (_v) {
38002 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
38003 }
38004 }
38005 }
38006
38007 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38008 return NULL;
38009 }
38010
38011
38012 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
38013 PyObject *resultobj;
38014 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38015 wxWindow *arg2 = (wxWindow *) 0 ;
38016 wxGBPosition *arg3 = 0 ;
38017 bool result;
38018 wxGBPosition temp3 ;
38019 PyObject * obj0 = 0 ;
38020 PyObject * obj1 = 0 ;
38021 PyObject * obj2 = 0 ;
38022
38023 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
38024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38028 {
38029 arg3 = &temp3;
38030 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38031 }
38032 {
38033 PyThreadState* __tstate = wxPyBeginAllowThreads();
38034 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38035
38036 wxPyEndAllowThreads(__tstate);
38037 if (PyErr_Occurred()) SWIG_fail;
38038 }
38039 {
38040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38041 }
38042 return resultobj;
38043 fail:
38044 return NULL;
38045 }
38046
38047
38048 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38049 PyObject *resultobj;
38050 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38051 wxSizer *arg2 = (wxSizer *) 0 ;
38052 wxGBPosition *arg3 = 0 ;
38053 bool result;
38054 wxGBPosition temp3 ;
38055 PyObject * obj0 = 0 ;
38056 PyObject * obj1 = 0 ;
38057 PyObject * obj2 = 0 ;
38058
38059 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
38060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38064 {
38065 arg3 = &temp3;
38066 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38067 }
38068 {
38069 PyThreadState* __tstate = wxPyBeginAllowThreads();
38070 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38071
38072 wxPyEndAllowThreads(__tstate);
38073 if (PyErr_Occurred()) SWIG_fail;
38074 }
38075 {
38076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38077 }
38078 return resultobj;
38079 fail:
38080 return NULL;
38081 }
38082
38083
38084 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38085 PyObject *resultobj;
38086 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38087 size_t arg2 ;
38088 wxGBPosition *arg3 = 0 ;
38089 bool result;
38090 wxGBPosition temp3 ;
38091 PyObject * obj0 = 0 ;
38092 PyObject * obj1 = 0 ;
38093 PyObject * obj2 = 0 ;
38094
38095 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
38096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38098 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38099 if (PyErr_Occurred()) SWIG_fail;
38100 {
38101 arg3 = &temp3;
38102 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38103 }
38104 {
38105 PyThreadState* __tstate = wxPyBeginAllowThreads();
38106 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38107
38108 wxPyEndAllowThreads(__tstate);
38109 if (PyErr_Occurred()) SWIG_fail;
38110 }
38111 {
38112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38113 }
38114 return resultobj;
38115 fail:
38116 return NULL;
38117 }
38118
38119
38120 static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38121 int argc;
38122 PyObject *argv[4];
38123 int ii;
38124
38125 argc = PyObject_Length(args);
38126 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38127 argv[ii] = PyTuple_GetItem(args,ii);
38128 }
38129 if (argc == 3) {
38130 int _v;
38131 {
38132 void *ptr;
38133 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38134 _v = 0;
38135 PyErr_Clear();
38136 } else {
38137 _v = 1;
38138 }
38139 }
38140 if (_v) {
38141 {
38142 void *ptr;
38143 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38144 _v = 0;
38145 PyErr_Clear();
38146 } else {
38147 _v = 1;
38148 }
38149 }
38150 if (_v) {
38151 {
38152 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38153 }
38154 if (_v) {
38155 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38156 }
38157 }
38158 }
38159 }
38160 if (argc == 3) {
38161 int _v;
38162 {
38163 void *ptr;
38164 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38165 _v = 0;
38166 PyErr_Clear();
38167 } else {
38168 _v = 1;
38169 }
38170 }
38171 if (_v) {
38172 {
38173 void *ptr;
38174 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38175 _v = 0;
38176 PyErr_Clear();
38177 } else {
38178 _v = 1;
38179 }
38180 }
38181 if (_v) {
38182 {
38183 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38184 }
38185 if (_v) {
38186 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
38187 }
38188 }
38189 }
38190 }
38191 if (argc == 3) {
38192 int _v;
38193 {
38194 void *ptr;
38195 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38196 _v = 0;
38197 PyErr_Clear();
38198 } else {
38199 _v = 1;
38200 }
38201 }
38202 if (_v) {
38203 _v = SWIG_CheckUnsignedLong(argv[1]);
38204 if (_v) {
38205 {
38206 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38207 }
38208 if (_v) {
38209 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
38210 }
38211 }
38212 }
38213 }
38214
38215 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38216 return NULL;
38217 }
38218
38219
38220 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38221 PyObject *resultobj;
38222 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38223 wxWindow *arg2 = (wxWindow *) 0 ;
38224 wxGBSpan result;
38225 PyObject * obj0 = 0 ;
38226 PyObject * obj1 = 0 ;
38227
38228 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
38229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38233 {
38234 PyThreadState* __tstate = wxPyBeginAllowThreads();
38235 result = (arg1)->GetItemSpan(arg2);
38236
38237 wxPyEndAllowThreads(__tstate);
38238 if (PyErr_Occurred()) SWIG_fail;
38239 }
38240 {
38241 wxGBSpan * resultptr;
38242 resultptr = new wxGBSpan((wxGBSpan &) result);
38243 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
38244 }
38245 return resultobj;
38246 fail:
38247 return NULL;
38248 }
38249
38250
38251 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38252 PyObject *resultobj;
38253 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38254 wxSizer *arg2 = (wxSizer *) 0 ;
38255 wxGBSpan result;
38256 PyObject * obj0 = 0 ;
38257 PyObject * obj1 = 0 ;
38258
38259 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
38260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38264 {
38265 PyThreadState* __tstate = wxPyBeginAllowThreads();
38266 result = (arg1)->GetItemSpan(arg2);
38267
38268 wxPyEndAllowThreads(__tstate);
38269 if (PyErr_Occurred()) SWIG_fail;
38270 }
38271 {
38272 wxGBSpan * resultptr;
38273 resultptr = new wxGBSpan((wxGBSpan &) result);
38274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
38275 }
38276 return resultobj;
38277 fail:
38278 return NULL;
38279 }
38280
38281
38282 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38283 PyObject *resultobj;
38284 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38285 size_t arg2 ;
38286 wxGBSpan result;
38287 PyObject * obj0 = 0 ;
38288 PyObject * obj1 = 0 ;
38289
38290 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
38291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38293 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38294 if (PyErr_Occurred()) SWIG_fail;
38295 {
38296 PyThreadState* __tstate = wxPyBeginAllowThreads();
38297 result = (arg1)->GetItemSpan(arg2);
38298
38299 wxPyEndAllowThreads(__tstate);
38300 if (PyErr_Occurred()) SWIG_fail;
38301 }
38302 {
38303 wxGBSpan * resultptr;
38304 resultptr = new wxGBSpan((wxGBSpan &) result);
38305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
38306 }
38307 return resultobj;
38308 fail:
38309 return NULL;
38310 }
38311
38312
38313 static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
38314 int argc;
38315 PyObject *argv[3];
38316 int ii;
38317
38318 argc = PyObject_Length(args);
38319 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38320 argv[ii] = PyTuple_GetItem(args,ii);
38321 }
38322 if (argc == 2) {
38323 int _v;
38324 {
38325 void *ptr;
38326 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38327 _v = 0;
38328 PyErr_Clear();
38329 } else {
38330 _v = 1;
38331 }
38332 }
38333 if (_v) {
38334 {
38335 void *ptr;
38336 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38337 _v = 0;
38338 PyErr_Clear();
38339 } else {
38340 _v = 1;
38341 }
38342 }
38343 if (_v) {
38344 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
38345 }
38346 }
38347 }
38348 if (argc == 2) {
38349 int _v;
38350 {
38351 void *ptr;
38352 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38353 _v = 0;
38354 PyErr_Clear();
38355 } else {
38356 _v = 1;
38357 }
38358 }
38359 if (_v) {
38360 {
38361 void *ptr;
38362 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38363 _v = 0;
38364 PyErr_Clear();
38365 } else {
38366 _v = 1;
38367 }
38368 }
38369 if (_v) {
38370 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
38371 }
38372 }
38373 }
38374 if (argc == 2) {
38375 int _v;
38376 {
38377 void *ptr;
38378 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38379 _v = 0;
38380 PyErr_Clear();
38381 } else {
38382 _v = 1;
38383 }
38384 }
38385 if (_v) {
38386 _v = SWIG_CheckUnsignedLong(argv[1]);
38387 if (_v) {
38388 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
38389 }
38390 }
38391 }
38392
38393 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38394 return NULL;
38395 }
38396
38397
38398 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38399 PyObject *resultobj;
38400 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38401 wxWindow *arg2 = (wxWindow *) 0 ;
38402 wxGBSpan *arg3 = 0 ;
38403 bool result;
38404 wxGBSpan temp3 ;
38405 PyObject * obj0 = 0 ;
38406 PyObject * obj1 = 0 ;
38407 PyObject * obj2 = 0 ;
38408
38409 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
38410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38414 {
38415 arg3 = &temp3;
38416 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38417 }
38418 {
38419 PyThreadState* __tstate = wxPyBeginAllowThreads();
38420 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38421
38422 wxPyEndAllowThreads(__tstate);
38423 if (PyErr_Occurred()) SWIG_fail;
38424 }
38425 {
38426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38427 }
38428 return resultobj;
38429 fail:
38430 return NULL;
38431 }
38432
38433
38434 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38435 PyObject *resultobj;
38436 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38437 wxSizer *arg2 = (wxSizer *) 0 ;
38438 wxGBSpan *arg3 = 0 ;
38439 bool result;
38440 wxGBSpan temp3 ;
38441 PyObject * obj0 = 0 ;
38442 PyObject * obj1 = 0 ;
38443 PyObject * obj2 = 0 ;
38444
38445 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
38446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38450 {
38451 arg3 = &temp3;
38452 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38453 }
38454 {
38455 PyThreadState* __tstate = wxPyBeginAllowThreads();
38456 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38457
38458 wxPyEndAllowThreads(__tstate);
38459 if (PyErr_Occurred()) SWIG_fail;
38460 }
38461 {
38462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38463 }
38464 return resultobj;
38465 fail:
38466 return NULL;
38467 }
38468
38469
38470 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38471 PyObject *resultobj;
38472 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38473 size_t arg2 ;
38474 wxGBSpan *arg3 = 0 ;
38475 bool result;
38476 wxGBSpan temp3 ;
38477 PyObject * obj0 = 0 ;
38478 PyObject * obj1 = 0 ;
38479 PyObject * obj2 = 0 ;
38480
38481 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
38482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38484 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38485 if (PyErr_Occurred()) SWIG_fail;
38486 {
38487 arg3 = &temp3;
38488 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38489 }
38490 {
38491 PyThreadState* __tstate = wxPyBeginAllowThreads();
38492 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38493
38494 wxPyEndAllowThreads(__tstate);
38495 if (PyErr_Occurred()) SWIG_fail;
38496 }
38497 {
38498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38499 }
38500 return resultobj;
38501 fail:
38502 return NULL;
38503 }
38504
38505
38506 static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
38507 int argc;
38508 PyObject *argv[4];
38509 int ii;
38510
38511 argc = PyObject_Length(args);
38512 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38513 argv[ii] = PyTuple_GetItem(args,ii);
38514 }
38515 if (argc == 3) {
38516 int _v;
38517 {
38518 void *ptr;
38519 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38520 _v = 0;
38521 PyErr_Clear();
38522 } else {
38523 _v = 1;
38524 }
38525 }
38526 if (_v) {
38527 {
38528 void *ptr;
38529 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38530 _v = 0;
38531 PyErr_Clear();
38532 } else {
38533 _v = 1;
38534 }
38535 }
38536 if (_v) {
38537 {
38538 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38539 }
38540 if (_v) {
38541 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
38542 }
38543 }
38544 }
38545 }
38546 if (argc == 3) {
38547 int _v;
38548 {
38549 void *ptr;
38550 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38551 _v = 0;
38552 PyErr_Clear();
38553 } else {
38554 _v = 1;
38555 }
38556 }
38557 if (_v) {
38558 {
38559 void *ptr;
38560 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38561 _v = 0;
38562 PyErr_Clear();
38563 } else {
38564 _v = 1;
38565 }
38566 }
38567 if (_v) {
38568 {
38569 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38570 }
38571 if (_v) {
38572 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
38573 }
38574 }
38575 }
38576 }
38577 if (argc == 3) {
38578 int _v;
38579 {
38580 void *ptr;
38581 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38582 _v = 0;
38583 PyErr_Clear();
38584 } else {
38585 _v = 1;
38586 }
38587 }
38588 if (_v) {
38589 _v = SWIG_CheckUnsignedLong(argv[1]);
38590 if (_v) {
38591 {
38592 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38593 }
38594 if (_v) {
38595 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
38596 }
38597 }
38598 }
38599 }
38600
38601 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38602 return NULL;
38603 }
38604
38605
38606 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
38607 PyObject *resultobj;
38608 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38609 wxWindow *arg2 = (wxWindow *) 0 ;
38610 wxGBSizerItem *result;
38611 PyObject * obj0 = 0 ;
38612 PyObject * obj1 = 0 ;
38613
38614 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
38615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38619 {
38620 PyThreadState* __tstate = wxPyBeginAllowThreads();
38621 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38622
38623 wxPyEndAllowThreads(__tstate);
38624 if (PyErr_Occurred()) SWIG_fail;
38625 }
38626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
38627 return resultobj;
38628 fail:
38629 return NULL;
38630 }
38631
38632
38633 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
38634 PyObject *resultobj;
38635 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38636 wxSizer *arg2 = (wxSizer *) 0 ;
38637 wxGBSizerItem *result;
38638 PyObject * obj0 = 0 ;
38639 PyObject * obj1 = 0 ;
38640
38641 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
38642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38646 {
38647 PyThreadState* __tstate = wxPyBeginAllowThreads();
38648 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38649
38650 wxPyEndAllowThreads(__tstate);
38651 if (PyErr_Occurred()) SWIG_fail;
38652 }
38653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
38654 return resultobj;
38655 fail:
38656 return NULL;
38657 }
38658
38659
38660 static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
38661 int argc;
38662 PyObject *argv[3];
38663 int ii;
38664
38665 argc = PyObject_Length(args);
38666 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38667 argv[ii] = PyTuple_GetItem(args,ii);
38668 }
38669 if (argc == 2) {
38670 int _v;
38671 {
38672 void *ptr;
38673 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38674 _v = 0;
38675 PyErr_Clear();
38676 } else {
38677 _v = 1;
38678 }
38679 }
38680 if (_v) {
38681 {
38682 void *ptr;
38683 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38684 _v = 0;
38685 PyErr_Clear();
38686 } else {
38687 _v = 1;
38688 }
38689 }
38690 if (_v) {
38691 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
38692 }
38693 }
38694 }
38695 if (argc == 2) {
38696 int _v;
38697 {
38698 void *ptr;
38699 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38700 _v = 0;
38701 PyErr_Clear();
38702 } else {
38703 _v = 1;
38704 }
38705 }
38706 if (_v) {
38707 {
38708 void *ptr;
38709 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38710 _v = 0;
38711 PyErr_Clear();
38712 } else {
38713 _v = 1;
38714 }
38715 }
38716 if (_v) {
38717 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
38718 }
38719 }
38720 }
38721
38722 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
38723 return NULL;
38724 }
38725
38726
38727 static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
38728 PyObject *resultobj;
38729 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38730 wxGBPosition *arg2 = 0 ;
38731 wxGBSizerItem *result;
38732 wxGBPosition temp2 ;
38733 PyObject * obj0 = 0 ;
38734 PyObject * obj1 = 0 ;
38735 char *kwnames[] = {
38736 (char *) "self",(char *) "pos", NULL
38737 };
38738
38739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
38740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38742 {
38743 arg2 = &temp2;
38744 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38745 }
38746 {
38747 PyThreadState* __tstate = wxPyBeginAllowThreads();
38748 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
38749
38750 wxPyEndAllowThreads(__tstate);
38751 if (PyErr_Occurred()) SWIG_fail;
38752 }
38753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
38754 return resultobj;
38755 fail:
38756 return NULL;
38757 }
38758
38759
38760 static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
38761 PyObject *resultobj;
38762 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38763 wxPoint *arg2 = 0 ;
38764 wxGBSizerItem *result;
38765 wxPoint temp2 ;
38766 PyObject * obj0 = 0 ;
38767 PyObject * obj1 = 0 ;
38768 char *kwnames[] = {
38769 (char *) "self",(char *) "pt", NULL
38770 };
38771
38772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
38773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38775 {
38776 arg2 = &temp2;
38777 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
38778 }
38779 {
38780 PyThreadState* __tstate = wxPyBeginAllowThreads();
38781 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
38782
38783 wxPyEndAllowThreads(__tstate);
38784 if (PyErr_Occurred()) SWIG_fail;
38785 }
38786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
38787 return resultobj;
38788 fail:
38789 return NULL;
38790 }
38791
38792
38793 static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args, PyObject *kwargs) {
38794 PyObject *resultobj;
38795 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38796 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38797 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
38798 bool result;
38799 PyObject * obj0 = 0 ;
38800 PyObject * obj1 = 0 ;
38801 PyObject * obj2 = 0 ;
38802 char *kwnames[] = {
38803 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
38804 };
38805
38806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail;
38807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38811 if (obj2) {
38812 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
38813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38814 }
38815 {
38816 PyThreadState* __tstate = wxPyBeginAllowThreads();
38817 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
38818
38819 wxPyEndAllowThreads(__tstate);
38820 if (PyErr_Occurred()) SWIG_fail;
38821 }
38822 {
38823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38824 }
38825 return resultobj;
38826 fail:
38827 return NULL;
38828 }
38829
38830
38831 static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *self, PyObject *args, PyObject *kwargs) {
38832 PyObject *resultobj;
38833 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38834 wxGBPosition *arg2 = 0 ;
38835 wxGBSpan *arg3 = 0 ;
38836 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38837 bool result;
38838 wxGBPosition temp2 ;
38839 wxGBSpan temp3 ;
38840 PyObject * obj0 = 0 ;
38841 PyObject * obj1 = 0 ;
38842 PyObject * obj2 = 0 ;
38843 PyObject * obj3 = 0 ;
38844 char *kwnames[] = {
38845 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
38846 };
38847
38848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
38849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38851 {
38852 arg2 = &temp2;
38853 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38854 }
38855 {
38856 arg3 = &temp3;
38857 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38858 }
38859 if (obj3) {
38860 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38862 }
38863 {
38864 PyThreadState* __tstate = wxPyBeginAllowThreads();
38865 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
38866
38867 wxPyEndAllowThreads(__tstate);
38868 if (PyErr_Occurred()) SWIG_fail;
38869 }
38870 {
38871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38872 }
38873 return resultobj;
38874 fail:
38875 return NULL;
38876 }
38877
38878
38879 static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
38880 PyObject *obj;
38881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38882 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
38883 Py_INCREF(obj);
38884 return Py_BuildValue((char *)"");
38885 }
38886 static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
38887 PyObject *resultobj;
38888 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38889 int arg2 ;
38890 wxWindow *arg3 = (wxWindow *) 0 ;
38891 int arg4 ;
38892 int arg5 = (int) 0 ;
38893 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
38894 PyObject * obj0 = 0 ;
38895 PyObject * obj1 = 0 ;
38896 PyObject * obj2 = 0 ;
38897 PyObject * obj3 = 0 ;
38898 PyObject * obj4 = 0 ;
38899 PyObject * obj5 = 0 ;
38900 char *kwnames[] = {
38901 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38902 };
38903
38904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
38905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38907 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38908 if (PyErr_Occurred()) SWIG_fail;
38909 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38911 arg4 = (wxEdge) SWIG_AsInt(obj3);
38912 if (PyErr_Occurred()) SWIG_fail;
38913 if (obj4) {
38914 arg5 = (int) SWIG_AsInt(obj4);
38915 if (PyErr_Occurred()) SWIG_fail;
38916 }
38917 if (obj5) {
38918 arg6 = (int) SWIG_AsInt(obj5);
38919 if (PyErr_Occurred()) SWIG_fail;
38920 }
38921 {
38922 PyThreadState* __tstate = wxPyBeginAllowThreads();
38923 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
38924
38925 wxPyEndAllowThreads(__tstate);
38926 if (PyErr_Occurred()) SWIG_fail;
38927 }
38928 Py_INCREF(Py_None); resultobj = Py_None;
38929 return resultobj;
38930 fail:
38931 return NULL;
38932 }
38933
38934
38935 static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38936 PyObject *resultobj;
38937 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38938 wxWindow *arg2 = (wxWindow *) 0 ;
38939 int arg3 = (int) 0 ;
38940 PyObject * obj0 = 0 ;
38941 PyObject * obj1 = 0 ;
38942 PyObject * obj2 = 0 ;
38943 char *kwnames[] = {
38944 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38945 };
38946
38947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
38948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38952 if (obj2) {
38953 arg3 = (int) SWIG_AsInt(obj2);
38954 if (PyErr_Occurred()) SWIG_fail;
38955 }
38956 {
38957 PyThreadState* __tstate = wxPyBeginAllowThreads();
38958 (arg1)->LeftOf(arg2,arg3);
38959
38960 wxPyEndAllowThreads(__tstate);
38961 if (PyErr_Occurred()) SWIG_fail;
38962 }
38963 Py_INCREF(Py_None); resultobj = Py_None;
38964 return resultobj;
38965 fail:
38966 return NULL;
38967 }
38968
38969
38970 static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38971 PyObject *resultobj;
38972 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38973 wxWindow *arg2 = (wxWindow *) 0 ;
38974 int arg3 = (int) 0 ;
38975 PyObject * obj0 = 0 ;
38976 PyObject * obj1 = 0 ;
38977 PyObject * obj2 = 0 ;
38978 char *kwnames[] = {
38979 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38980 };
38981
38982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
38983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38987 if (obj2) {
38988 arg3 = (int) SWIG_AsInt(obj2);
38989 if (PyErr_Occurred()) SWIG_fail;
38990 }
38991 {
38992 PyThreadState* __tstate = wxPyBeginAllowThreads();
38993 (arg1)->RightOf(arg2,arg3);
38994
38995 wxPyEndAllowThreads(__tstate);
38996 if (PyErr_Occurred()) SWIG_fail;
38997 }
38998 Py_INCREF(Py_None); resultobj = Py_None;
38999 return resultobj;
39000 fail:
39001 return NULL;
39002 }
39003
39004
39005 static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
39006 PyObject *resultobj;
39007 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39008 wxWindow *arg2 = (wxWindow *) 0 ;
39009 int arg3 = (int) 0 ;
39010 PyObject * obj0 = 0 ;
39011 PyObject * obj1 = 0 ;
39012 PyObject * obj2 = 0 ;
39013 char *kwnames[] = {
39014 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39015 };
39016
39017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
39018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39022 if (obj2) {
39023 arg3 = (int) SWIG_AsInt(obj2);
39024 if (PyErr_Occurred()) SWIG_fail;
39025 }
39026 {
39027 PyThreadState* __tstate = wxPyBeginAllowThreads();
39028 (arg1)->Above(arg2,arg3);
39029
39030 wxPyEndAllowThreads(__tstate);
39031 if (PyErr_Occurred()) SWIG_fail;
39032 }
39033 Py_INCREF(Py_None); resultobj = Py_None;
39034 return resultobj;
39035 fail:
39036 return NULL;
39037 }
39038
39039
39040 static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
39041 PyObject *resultobj;
39042 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39043 wxWindow *arg2 = (wxWindow *) 0 ;
39044 int arg3 = (int) 0 ;
39045 PyObject * obj0 = 0 ;
39046 PyObject * obj1 = 0 ;
39047 PyObject * obj2 = 0 ;
39048 char *kwnames[] = {
39049 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39050 };
39051
39052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
39053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39057 if (obj2) {
39058 arg3 = (int) SWIG_AsInt(obj2);
39059 if (PyErr_Occurred()) SWIG_fail;
39060 }
39061 {
39062 PyThreadState* __tstate = wxPyBeginAllowThreads();
39063 (arg1)->Below(arg2,arg3);
39064
39065 wxPyEndAllowThreads(__tstate);
39066 if (PyErr_Occurred()) SWIG_fail;
39067 }
39068 Py_INCREF(Py_None); resultobj = Py_None;
39069 return resultobj;
39070 fail:
39071 return NULL;
39072 }
39073
39074
39075 static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
39076 PyObject *resultobj;
39077 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39078 wxWindow *arg2 = (wxWindow *) 0 ;
39079 int arg3 ;
39080 int arg4 = (int) 0 ;
39081 PyObject * obj0 = 0 ;
39082 PyObject * obj1 = 0 ;
39083 PyObject * obj2 = 0 ;
39084 PyObject * obj3 = 0 ;
39085 char *kwnames[] = {
39086 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39087 };
39088
39089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
39090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39094 arg3 = (wxEdge) SWIG_AsInt(obj2);
39095 if (PyErr_Occurred()) SWIG_fail;
39096 if (obj3) {
39097 arg4 = (int) SWIG_AsInt(obj3);
39098 if (PyErr_Occurred()) SWIG_fail;
39099 }
39100 {
39101 PyThreadState* __tstate = wxPyBeginAllowThreads();
39102 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39103
39104 wxPyEndAllowThreads(__tstate);
39105 if (PyErr_Occurred()) SWIG_fail;
39106 }
39107 Py_INCREF(Py_None); resultobj = Py_None;
39108 return resultobj;
39109 fail:
39110 return NULL;
39111 }
39112
39113
39114 static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39115 PyObject *resultobj;
39116 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39117 wxWindow *arg2 = (wxWindow *) 0 ;
39118 int arg3 ;
39119 int arg4 ;
39120 PyObject * obj0 = 0 ;
39121 PyObject * obj1 = 0 ;
39122 PyObject * obj2 = 0 ;
39123 PyObject * obj3 = 0 ;
39124 char *kwnames[] = {
39125 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39126 };
39127
39128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
39129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39133 arg3 = (wxEdge) SWIG_AsInt(obj2);
39134 if (PyErr_Occurred()) SWIG_fail;
39135 arg4 = (int) SWIG_AsInt(obj3);
39136 if (PyErr_Occurred()) SWIG_fail;
39137 {
39138 PyThreadState* __tstate = wxPyBeginAllowThreads();
39139 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39140
39141 wxPyEndAllowThreads(__tstate);
39142 if (PyErr_Occurred()) SWIG_fail;
39143 }
39144 Py_INCREF(Py_None); resultobj = Py_None;
39145 return resultobj;
39146 fail:
39147 return NULL;
39148 }
39149
39150
39151 static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
39152 PyObject *resultobj;
39153 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39154 int arg2 ;
39155 PyObject * obj0 = 0 ;
39156 PyObject * obj1 = 0 ;
39157 char *kwnames[] = {
39158 (char *) "self",(char *) "val", NULL
39159 };
39160
39161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
39162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39164 arg2 = (int) SWIG_AsInt(obj1);
39165 if (PyErr_Occurred()) SWIG_fail;
39166 {
39167 PyThreadState* __tstate = wxPyBeginAllowThreads();
39168 (arg1)->Absolute(arg2);
39169
39170 wxPyEndAllowThreads(__tstate);
39171 if (PyErr_Occurred()) SWIG_fail;
39172 }
39173 Py_INCREF(Py_None); resultobj = Py_None;
39174 return resultobj;
39175 fail:
39176 return NULL;
39177 }
39178
39179
39180 static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
39181 PyObject *resultobj;
39182 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39183 PyObject * obj0 = 0 ;
39184 char *kwnames[] = {
39185 (char *) "self", NULL
39186 };
39187
39188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
39189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39191 {
39192 PyThreadState* __tstate = wxPyBeginAllowThreads();
39193 (arg1)->Unconstrained();
39194
39195 wxPyEndAllowThreads(__tstate);
39196 if (PyErr_Occurred()) SWIG_fail;
39197 }
39198 Py_INCREF(Py_None); resultobj = Py_None;
39199 return resultobj;
39200 fail:
39201 return NULL;
39202 }
39203
39204
39205 static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
39206 PyObject *resultobj;
39207 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39208 PyObject * obj0 = 0 ;
39209 char *kwnames[] = {
39210 (char *) "self", NULL
39211 };
39212
39213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
39214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39216 {
39217 PyThreadState* __tstate = wxPyBeginAllowThreads();
39218 (arg1)->AsIs();
39219
39220 wxPyEndAllowThreads(__tstate);
39221 if (PyErr_Occurred()) SWIG_fail;
39222 }
39223 Py_INCREF(Py_None); resultobj = Py_None;
39224 return resultobj;
39225 fail:
39226 return NULL;
39227 }
39228
39229
39230 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
39231 PyObject *resultobj;
39232 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39233 wxWindow *result;
39234 PyObject * obj0 = 0 ;
39235 char *kwnames[] = {
39236 (char *) "self", NULL
39237 };
39238
39239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
39240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39242 {
39243 PyThreadState* __tstate = wxPyBeginAllowThreads();
39244 result = (wxWindow *)(arg1)->GetOtherWindow();
39245
39246 wxPyEndAllowThreads(__tstate);
39247 if (PyErr_Occurred()) SWIG_fail;
39248 }
39249 {
39250 resultobj = wxPyMake_wxObject(result);
39251 }
39252 return resultobj;
39253 fail:
39254 return NULL;
39255 }
39256
39257
39258 static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39259 PyObject *resultobj;
39260 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39261 int result;
39262 PyObject * obj0 = 0 ;
39263 char *kwnames[] = {
39264 (char *) "self", NULL
39265 };
39266
39267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
39268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39270 {
39271 PyThreadState* __tstate = wxPyBeginAllowThreads();
39272 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
39273
39274 wxPyEndAllowThreads(__tstate);
39275 if (PyErr_Occurred()) SWIG_fail;
39276 }
39277 resultobj = SWIG_FromInt((int)result);
39278 return resultobj;
39279 fail:
39280 return NULL;
39281 }
39282
39283
39284 static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39285 PyObject *resultobj;
39286 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39287 int arg2 ;
39288 PyObject * obj0 = 0 ;
39289 PyObject * obj1 = 0 ;
39290 char *kwnames[] = {
39291 (char *) "self",(char *) "which", NULL
39292 };
39293
39294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
39295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39297 arg2 = (wxEdge) SWIG_AsInt(obj1);
39298 if (PyErr_Occurred()) SWIG_fail;
39299 {
39300 PyThreadState* __tstate = wxPyBeginAllowThreads();
39301 (arg1)->SetEdge((wxEdge )arg2);
39302
39303 wxPyEndAllowThreads(__tstate);
39304 if (PyErr_Occurred()) SWIG_fail;
39305 }
39306 Py_INCREF(Py_None); resultobj = Py_None;
39307 return resultobj;
39308 fail:
39309 return NULL;
39310 }
39311
39312
39313 static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39314 PyObject *resultobj;
39315 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39316 int arg2 ;
39317 PyObject * obj0 = 0 ;
39318 PyObject * obj1 = 0 ;
39319 char *kwnames[] = {
39320 (char *) "self",(char *) "v", NULL
39321 };
39322
39323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
39324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39326 arg2 = (int) SWIG_AsInt(obj1);
39327 if (PyErr_Occurred()) SWIG_fail;
39328 {
39329 PyThreadState* __tstate = wxPyBeginAllowThreads();
39330 (arg1)->SetValue(arg2);
39331
39332 wxPyEndAllowThreads(__tstate);
39333 if (PyErr_Occurred()) SWIG_fail;
39334 }
39335 Py_INCREF(Py_None); resultobj = Py_None;
39336 return resultobj;
39337 fail:
39338 return NULL;
39339 }
39340
39341
39342 static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39343 PyObject *resultobj;
39344 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39345 int result;
39346 PyObject * obj0 = 0 ;
39347 char *kwnames[] = {
39348 (char *) "self", NULL
39349 };
39350
39351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
39352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39354 {
39355 PyThreadState* __tstate = wxPyBeginAllowThreads();
39356 result = (int)(arg1)->GetMargin();
39357
39358 wxPyEndAllowThreads(__tstate);
39359 if (PyErr_Occurred()) SWIG_fail;
39360 }
39361 resultobj = SWIG_FromInt((int)result);
39362 return resultobj;
39363 fail:
39364 return NULL;
39365 }
39366
39367
39368 static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39369 PyObject *resultobj;
39370 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39371 int arg2 ;
39372 PyObject * obj0 = 0 ;
39373 PyObject * obj1 = 0 ;
39374 char *kwnames[] = {
39375 (char *) "self",(char *) "m", NULL
39376 };
39377
39378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
39379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39381 arg2 = (int) SWIG_AsInt(obj1);
39382 if (PyErr_Occurred()) SWIG_fail;
39383 {
39384 PyThreadState* __tstate = wxPyBeginAllowThreads();
39385 (arg1)->SetMargin(arg2);
39386
39387 wxPyEndAllowThreads(__tstate);
39388 if (PyErr_Occurred()) SWIG_fail;
39389 }
39390 Py_INCREF(Py_None); resultobj = Py_None;
39391 return resultobj;
39392 fail:
39393 return NULL;
39394 }
39395
39396
39397 static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39398 PyObject *resultobj;
39399 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39400 int result;
39401 PyObject * obj0 = 0 ;
39402 char *kwnames[] = {
39403 (char *) "self", NULL
39404 };
39405
39406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
39407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39409 {
39410 PyThreadState* __tstate = wxPyBeginAllowThreads();
39411 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
39412
39413 wxPyEndAllowThreads(__tstate);
39414 if (PyErr_Occurred()) SWIG_fail;
39415 }
39416 resultobj = SWIG_FromInt((int)result);
39417 return resultobj;
39418 fail:
39419 return NULL;
39420 }
39421
39422
39423 static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
39424 PyObject *resultobj;
39425 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39426 int result;
39427 PyObject * obj0 = 0 ;
39428 char *kwnames[] = {
39429 (char *) "self", NULL
39430 };
39431
39432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
39433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39435 {
39436 PyThreadState* __tstate = wxPyBeginAllowThreads();
39437 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
39438
39439 wxPyEndAllowThreads(__tstate);
39440 if (PyErr_Occurred()) SWIG_fail;
39441 }
39442 resultobj = SWIG_FromInt((int)result);
39443 return resultobj;
39444 fail:
39445 return NULL;
39446 }
39447
39448
39449 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39450 PyObject *resultobj;
39451 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39452 int result;
39453 PyObject * obj0 = 0 ;
39454 char *kwnames[] = {
39455 (char *) "self", NULL
39456 };
39457
39458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
39459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39461 {
39462 PyThreadState* __tstate = wxPyBeginAllowThreads();
39463 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
39464
39465 wxPyEndAllowThreads(__tstate);
39466 if (PyErr_Occurred()) SWIG_fail;
39467 }
39468 resultobj = SWIG_FromInt((int)result);
39469 return resultobj;
39470 fail:
39471 return NULL;
39472 }
39473
39474
39475 static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39476 PyObject *resultobj;
39477 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39478 bool result;
39479 PyObject * obj0 = 0 ;
39480 char *kwnames[] = {
39481 (char *) "self", NULL
39482 };
39483
39484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
39485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39487 {
39488 PyThreadState* __tstate = wxPyBeginAllowThreads();
39489 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
39490
39491 wxPyEndAllowThreads(__tstate);
39492 if (PyErr_Occurred()) SWIG_fail;
39493 }
39494 {
39495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39496 }
39497 return resultobj;
39498 fail:
39499 return NULL;
39500 }
39501
39502
39503 static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39504 PyObject *resultobj;
39505 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39506 bool arg2 ;
39507 PyObject * obj0 = 0 ;
39508 PyObject * obj1 = 0 ;
39509 char *kwnames[] = {
39510 (char *) "self",(char *) "d", NULL
39511 };
39512
39513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
39514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39516 arg2 = (bool) SWIG_AsBool(obj1);
39517 if (PyErr_Occurred()) SWIG_fail;
39518 {
39519 PyThreadState* __tstate = wxPyBeginAllowThreads();
39520 (arg1)->SetDone(arg2);
39521
39522 wxPyEndAllowThreads(__tstate);
39523 if (PyErr_Occurred()) SWIG_fail;
39524 }
39525 Py_INCREF(Py_None); resultobj = Py_None;
39526 return resultobj;
39527 fail:
39528 return NULL;
39529 }
39530
39531
39532 static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39533 PyObject *resultobj;
39534 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39535 int result;
39536 PyObject * obj0 = 0 ;
39537 char *kwnames[] = {
39538 (char *) "self", NULL
39539 };
39540
39541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
39542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39544 {
39545 PyThreadState* __tstate = wxPyBeginAllowThreads();
39546 result = (int)(arg1)->GetRelationship();
39547
39548 wxPyEndAllowThreads(__tstate);
39549 if (PyErr_Occurred()) SWIG_fail;
39550 }
39551 resultobj = SWIG_FromInt((int)result);
39552 return resultobj;
39553 fail:
39554 return NULL;
39555 }
39556
39557
39558 static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39559 PyObject *resultobj;
39560 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39561 int arg2 ;
39562 PyObject * obj0 = 0 ;
39563 PyObject * obj1 = 0 ;
39564 char *kwnames[] = {
39565 (char *) "self",(char *) "r", NULL
39566 };
39567
39568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
39569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39571 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39572 if (PyErr_Occurred()) SWIG_fail;
39573 {
39574 PyThreadState* __tstate = wxPyBeginAllowThreads();
39575 (arg1)->SetRelationship((wxRelationship )arg2);
39576
39577 wxPyEndAllowThreads(__tstate);
39578 if (PyErr_Occurred()) SWIG_fail;
39579 }
39580 Py_INCREF(Py_None); resultobj = Py_None;
39581 return resultobj;
39582 fail:
39583 return NULL;
39584 }
39585
39586
39587 static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
39588 PyObject *resultobj;
39589 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39590 wxWindow *arg2 = (wxWindow *) 0 ;
39591 bool result;
39592 PyObject * obj0 = 0 ;
39593 PyObject * obj1 = 0 ;
39594 char *kwnames[] = {
39595 (char *) "self",(char *) "otherW", NULL
39596 };
39597
39598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
39599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39603 {
39604 PyThreadState* __tstate = wxPyBeginAllowThreads();
39605 result = (bool)(arg1)->ResetIfWin(arg2);
39606
39607 wxPyEndAllowThreads(__tstate);
39608 if (PyErr_Occurred()) SWIG_fail;
39609 }
39610 {
39611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39612 }
39613 return resultobj;
39614 fail:
39615 return NULL;
39616 }
39617
39618
39619 static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
39620 PyObject *resultobj;
39621 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39622 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
39623 wxWindow *arg3 = (wxWindow *) 0 ;
39624 bool result;
39625 PyObject * obj0 = 0 ;
39626 PyObject * obj1 = 0 ;
39627 PyObject * obj2 = 0 ;
39628 char *kwnames[] = {
39629 (char *) "self",(char *) "constraints",(char *) "win", NULL
39630 };
39631
39632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
39633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
39636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39637 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39639 {
39640 PyThreadState* __tstate = wxPyBeginAllowThreads();
39641 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
39642
39643 wxPyEndAllowThreads(__tstate);
39644 if (PyErr_Occurred()) SWIG_fail;
39645 }
39646 {
39647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39648 }
39649 return resultobj;
39650 fail:
39651 return NULL;
39652 }
39653
39654
39655 static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39656 PyObject *resultobj;
39657 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39658 int arg2 ;
39659 wxWindow *arg3 = (wxWindow *) 0 ;
39660 wxWindow *arg4 = (wxWindow *) 0 ;
39661 int result;
39662 PyObject * obj0 = 0 ;
39663 PyObject * obj1 = 0 ;
39664 PyObject * obj2 = 0 ;
39665 PyObject * obj3 = 0 ;
39666 char *kwnames[] = {
39667 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39668 };
39669
39670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
39671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39673 arg2 = (wxEdge) SWIG_AsInt(obj1);
39674 if (PyErr_Occurred()) SWIG_fail;
39675 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39677 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
39678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39679 {
39680 PyThreadState* __tstate = wxPyBeginAllowThreads();
39681 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
39682
39683 wxPyEndAllowThreads(__tstate);
39684 if (PyErr_Occurred()) SWIG_fail;
39685 }
39686 resultobj = SWIG_FromInt((int)result);
39687 return resultobj;
39688 fail:
39689 return NULL;
39690 }
39691
39692
39693 static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
39694 PyObject *obj;
39695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39696 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
39697 Py_INCREF(obj);
39698 return Py_BuildValue((char *)"");
39699 }
39700 static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39701 PyObject *resultobj;
39702 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39703 wxIndividualLayoutConstraint *result;
39704 PyObject * obj0 = 0 ;
39705 char *kwnames[] = {
39706 (char *) "self", NULL
39707 };
39708
39709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
39710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39712 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
39713
39714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39715 return resultobj;
39716 fail:
39717 return NULL;
39718 }
39719
39720
39721 static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39722 PyObject *resultobj;
39723 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39724 wxIndividualLayoutConstraint *result;
39725 PyObject * obj0 = 0 ;
39726 char *kwnames[] = {
39727 (char *) "self", NULL
39728 };
39729
39730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
39731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39733 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
39734
39735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39736 return resultobj;
39737 fail:
39738 return NULL;
39739 }
39740
39741
39742 static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39743 PyObject *resultobj;
39744 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39745 wxIndividualLayoutConstraint *result;
39746 PyObject * obj0 = 0 ;
39747 char *kwnames[] = {
39748 (char *) "self", NULL
39749 };
39750
39751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
39752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39754 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39755
39756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39757 return resultobj;
39758 fail:
39759 return NULL;
39760 }
39761
39762
39763 static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39764 PyObject *resultobj;
39765 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39766 wxIndividualLayoutConstraint *result;
39767 PyObject * obj0 = 0 ;
39768 char *kwnames[] = {
39769 (char *) "self", NULL
39770 };
39771
39772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
39773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39775 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
39776
39777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39778 return resultobj;
39779 fail:
39780 return NULL;
39781 }
39782
39783
39784 static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39785 PyObject *resultobj;
39786 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39787 wxIndividualLayoutConstraint *result;
39788 PyObject * obj0 = 0 ;
39789 char *kwnames[] = {
39790 (char *) "self", NULL
39791 };
39792
39793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
39794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39796 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
39797
39798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39799 return resultobj;
39800 fail:
39801 return NULL;
39802 }
39803
39804
39805 static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39806 PyObject *resultobj;
39807 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39808 wxIndividualLayoutConstraint *result;
39809 PyObject * obj0 = 0 ;
39810 char *kwnames[] = {
39811 (char *) "self", NULL
39812 };
39813
39814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
39815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39817 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
39818
39819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39820 return resultobj;
39821 fail:
39822 return NULL;
39823 }
39824
39825
39826 static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39827 PyObject *resultobj;
39828 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39829 wxIndividualLayoutConstraint *result;
39830 PyObject * obj0 = 0 ;
39831 char *kwnames[] = {
39832 (char *) "self", NULL
39833 };
39834
39835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
39836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39838 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
39839
39840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39841 return resultobj;
39842 fail:
39843 return NULL;
39844 }
39845
39846
39847 static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39848 PyObject *resultobj;
39849 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39850 wxIndividualLayoutConstraint *result;
39851 PyObject * obj0 = 0 ;
39852 char *kwnames[] = {
39853 (char *) "self", NULL
39854 };
39855
39856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
39857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39859 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
39860
39861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39862 return resultobj;
39863 fail:
39864 return NULL;
39865 }
39866
39867
39868 static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39869 PyObject *resultobj;
39870 wxLayoutConstraints *result;
39871 char *kwnames[] = {
39872 NULL
39873 };
39874
39875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
39876 {
39877 PyThreadState* __tstate = wxPyBeginAllowThreads();
39878 result = (wxLayoutConstraints *)new wxLayoutConstraints();
39879
39880 wxPyEndAllowThreads(__tstate);
39881 if (PyErr_Occurred()) SWIG_fail;
39882 }
39883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
39884 return resultobj;
39885 fail:
39886 return NULL;
39887 }
39888
39889
39890 static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39891 PyObject *resultobj;
39892 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39893 wxWindow *arg2 = (wxWindow *) 0 ;
39894 int *arg3 = (int *) 0 ;
39895 bool result;
39896 int temp3 ;
39897 PyObject * obj0 = 0 ;
39898 PyObject * obj1 = 0 ;
39899 char *kwnames[] = {
39900 (char *) "self",(char *) "win", NULL
39901 };
39902
39903 arg3 = &temp3;
39904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
39905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39909 {
39910 PyThreadState* __tstate = wxPyBeginAllowThreads();
39911 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
39912
39913 wxPyEndAllowThreads(__tstate);
39914 if (PyErr_Occurred()) SWIG_fail;
39915 }
39916 {
39917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39918 }
39919 {
39920 PyObject *o = PyInt_FromLong((long) (*arg3));
39921 resultobj = t_output_helper(resultobj,o);
39922 }
39923 return resultobj;
39924 fail:
39925 return NULL;
39926 }
39927
39928
39929 static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
39930 PyObject *resultobj;
39931 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39932 bool result;
39933 PyObject * obj0 = 0 ;
39934 char *kwnames[] = {
39935 (char *) "self", NULL
39936 };
39937
39938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
39939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39941 {
39942 PyThreadState* __tstate = wxPyBeginAllowThreads();
39943 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
39944
39945 wxPyEndAllowThreads(__tstate);
39946 if (PyErr_Occurred()) SWIG_fail;
39947 }
39948 {
39949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39950 }
39951 return resultobj;
39952 fail:
39953 return NULL;
39954 }
39955
39956
39957 static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
39958 PyObject *obj;
39959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39960 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
39961 Py_INCREF(obj);
39962 return Py_BuildValue((char *)"");
39963 }
39964 static PyMethodDef SwigMethods[] = {
39965 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
39966 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
39967 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
39968 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
39969 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
39970 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
39971 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
39972 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
39973 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
39974 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
39975 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
39976 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
39977 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
39978 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
39979 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
39980 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
39981 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
39982 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
39983 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
39984 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
39985 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
39986 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
39987 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS },
39988 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS },
39989 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
39990 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
39991 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
39992 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
39993 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
39994 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
39995 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
39996 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
39997 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
39998 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
39999 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
40000 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
40001 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
40002 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
40003 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
40004 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
40005 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
40006 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
40007 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
40008 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
40009 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
40010 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
40011 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
40012 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
40013 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
40014 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
40015 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
40016 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
40017 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
40018 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
40019 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
40020 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
40021 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
40022 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
40023 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
40024 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
40025 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
40026 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
40027 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
40028 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
40029 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
40030 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
40031 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
40032 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
40033 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
40034 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
40035 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
40036 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
40037 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
40038 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
40039 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
40040 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
40041 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
40042 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
40043 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
40044 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
40045 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
40046 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
40047 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
40048 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
40049 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
40050 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
40051 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
40052 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
40053 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
40054 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
40055 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
40056 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
40057 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
40058 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
40059 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
40060 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
40061 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
40062 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
40063 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
40064 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
40065 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
40066 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
40067 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
40068 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
40069 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
40070 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
40071 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
40072 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
40073 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
40074 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
40075 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
40076 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
40077 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40078 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
40079 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40080 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
40081 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
40082 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
40083 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
40084 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
40085 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
40086 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
40087 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
40088 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
40089 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
40090 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
40091 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
40092 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
40093 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
40094 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
40095 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
40096 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
40097 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
40098 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
40099 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
40100 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
40101 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
40102 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
40103 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
40104 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
40105 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
40106 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
40107 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
40108 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
40109 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
40110 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
40111 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
40112 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
40113 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
40114 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
40115 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
40116 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
40117 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
40118 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
40119 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
40120 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
40121 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40122 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
40123 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40124 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
40125 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
40126 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
40127 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
40128 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40129 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40130 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40131 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40132 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40133 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
40134 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
40135 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40136 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
40137 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
40138 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
40139 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
40140 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
40141 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
40142 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
40143 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
40144 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
40145 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
40146 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
40147 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
40148 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
40149 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
40150 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
40151 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
40152 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40153 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40154 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
40155 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
40156 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40157 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40158 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40159 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40160 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
40161 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
40162 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
40163 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
40164 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
40165 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
40166 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40167 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40168 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40169 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40170 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
40171 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
40172 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
40173 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
40174 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40175 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
40176 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
40177 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
40178 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
40179 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
40180 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
40181 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
40182 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
40183 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40184 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
40185 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
40186 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
40187 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
40188 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
40189 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
40190 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
40191 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
40192 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
40193 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
40194 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
40195 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
40196 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
40197 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
40198 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
40199 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
40200 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
40201 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
40202 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
40203 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
40204 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
40205 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40206 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
40207 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
40208 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
40209 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
40210 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
40211 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
40212 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
40213 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
40214 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
40215 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
40216 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
40217 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
40218 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
40219 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS },
40220 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
40221 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
40222 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
40223 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
40224 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
40225 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40226 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40227 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
40228 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
40229 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40230 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40231 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
40232 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
40233 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
40234 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
40235 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
40236 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
40237 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
40238 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
40239 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
40240 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
40241 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
40242 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
40243 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
40244 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
40245 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
40246 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
40247 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
40248 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
40249 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
40250 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
40251 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
40252 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
40253 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
40254 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
40255 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
40256 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
40257 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
40258 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
40259 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
40260 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
40261 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
40262 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
40263 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
40264 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
40265 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
40266 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
40267 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
40268 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
40269 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
40270 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
40271 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
40272 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
40273 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
40274 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
40275 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
40276 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
40277 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
40278 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
40279 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
40280 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40281 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
40282 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40283 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40284 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40285 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
40286 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
40287 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40288 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
40289 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
40290 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
40291 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
40292 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
40293 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
40294 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
40295 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
40296 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
40297 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
40298 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
40299 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
40300 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
40301 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
40302 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
40303 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
40304 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
40305 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
40306 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
40307 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
40308 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
40309 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
40310 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40311 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40312 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
40313 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40314 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40315 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
40316 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
40317 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
40318 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
40319 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
40320 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
40321 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
40322 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
40323 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
40324 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
40325 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
40326 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
40327 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
40328 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
40329 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40330 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
40331 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
40332 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
40333 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
40334 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40335 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40336 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40337 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40338 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
40339 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
40340 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40341 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40342 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40343 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40344 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
40345 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
40346 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
40347 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
40348 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
40349 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
40350 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
40351 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
40352 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
40353 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40354 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40355 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40356 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
40357 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
40358 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
40359 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
40360 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
40361 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
40362 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
40363 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
40364 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
40365 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
40366 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
40367 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
40368 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
40369 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
40370 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
40371 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
40372 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
40373 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40374 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40375 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
40376 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40377 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40378 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
40379 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
40380 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
40381 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
40382 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40383 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40384 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40385 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40386 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
40387 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
40388 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
40389 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
40390 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
40391 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
40392 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40393 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40394 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40395 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40396 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40397 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40398 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40399 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40400 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
40401 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
40402 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
40403 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
40404 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
40405 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
40406 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
40407 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
40408 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40409 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40410 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
40411 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
40412 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
40413 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
40414 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
40415 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40416 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40417 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40418 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
40419 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
40420 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40421 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
40422 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
40423 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
40424 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40425 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40426 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40427 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40428 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40429 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40430 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40431 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40432 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
40433 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
40434 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40435 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40436 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40437 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40438 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40439 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40440 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40441 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40442 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
40443 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
40444 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
40445 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
40446 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
40447 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
40448 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
40449 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
40450 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
40451 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40452 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40453 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
40454 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
40455 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
40456 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40457 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40458 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
40459 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
40460 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40461 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40462 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40463 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40464 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
40465 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
40466 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40467 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40468 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
40469 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
40470 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
40471 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
40472 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
40473 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
40474 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
40475 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
40476 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
40477 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40478 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
40479 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
40480 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
40481 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40482 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
40483 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
40484 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
40485 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
40486 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
40487 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
40488 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
40489 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
40490 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
40491 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
40492 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
40493 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
40494 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40495 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40496 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40497 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
40498 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
40499 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
40500 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
40501 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
40502 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
40503 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
40504 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
40505 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
40506 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
40507 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
40508 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
40509 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
40510 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40511 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
40512 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
40513 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
40514 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
40515 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
40516 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
40517 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
40518 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
40519 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
40520 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
40521 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
40522 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
40523 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
40524 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40525 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40526 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
40527 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
40528 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40529 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40530 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
40531 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
40532 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
40533 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
40534 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
40535 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
40536 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
40537 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
40538 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
40539 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40540 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40541 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
40542 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
40543 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40544 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40545 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
40546 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
40547 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
40548 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
40549 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
40550 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
40551 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
40552 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40553 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40554 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
40555 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
40556 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40557 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
40558 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
40559 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40560 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
40561 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
40562 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40563 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40564 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
40565 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
40566 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
40567 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
40568 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40569 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40570 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
40571 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
40572 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
40573 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
40574 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40575 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40576 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
40577 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40578 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40579 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40580 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40581 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
40582 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
40583 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
40584 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40585 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
40586 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
40587 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
40588 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
40589 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
40590 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
40591 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
40592 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40593 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
40594 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40595 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
40596 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
40597 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
40598 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
40599 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
40600 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
40601 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
40602 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
40603 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
40604 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
40605 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40606 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40607 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40608 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40609 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
40610 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
40611 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
40612 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
40613 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40614 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40615 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40616 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40617 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40618 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40619 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40620 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40621 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40622 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40623 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
40624 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
40625 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
40626 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
40627 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
40628 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
40629 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
40630 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40631 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
40632 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
40633 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
40634 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40635 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40636 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
40637 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
40638 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40639 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
40640 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
40641 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40642 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40643 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
40644 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
40645 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
40646 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40647 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40648 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS },
40649 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS },
40650 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS },
40651 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS },
40652 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS },
40653 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS },
40654 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS },
40655 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
40656 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
40657 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
40658 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
40659 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
40660 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
40661 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
40662 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
40663 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
40664 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
40665 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
40666 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
40667 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
40668 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
40669 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
40670 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
40671 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
40672 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
40673 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
40674 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
40675 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
40676 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
40677 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
40678 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
40679 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
40680 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
40681 { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS },
40682 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
40683 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
40684 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
40685 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
40686 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
40687 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
40688 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40689 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
40690 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
40691 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
40692 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
40693 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
40694 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
40695 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
40696 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
40697 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
40698 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
40699 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
40700 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
40701 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
40702 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
40703 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
40704 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints, METH_VARARGS },
40705 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints, METH_VARARGS },
40706 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
40707 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS },
40708 { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS },
40709 { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS },
40710 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
40711 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
40712 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
40713 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
40714 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40715 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
40716 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40717 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
40718 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
40719 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
40720 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
40721 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
40722 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
40723 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
40724 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40725 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
40726 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
40727 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
40728 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
40729 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40730 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40731 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
40732 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
40733 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
40734 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
40735 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
40736 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
40737 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
40738 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
40739 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40740 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40741 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
40742 { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS },
40743 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
40744 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
40745 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
40746 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
40747 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
40748 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
40749 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
40750 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40751 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40752 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40753 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40754 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
40755 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
40756 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
40757 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
40758 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
40759 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS },
40760 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
40761 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
40762 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS },
40763 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40764 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40765 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
40766 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
40767 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
40768 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
40769 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
40770 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
40771 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
40772 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
40773 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
40774 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
40775 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
40776 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
40777 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
40778 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
40779 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
40780 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
40781 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
40782 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
40783 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
40784 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
40785 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
40786 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
40787 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
40788 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
40789 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
40790 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
40791 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
40792 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40793 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction) _wrap_Window_SetDefaultBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40794 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40795 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction) _wrap_Window_SetDefaultForegroundColour, METH_VARARGS | METH_KEYWORDS },
40796 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40797 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40798 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
40799 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
40800 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
40801 { (char *)"Window_SetDefaultFont", (PyCFunction) _wrap_Window_SetDefaultFont, METH_VARARGS | METH_KEYWORDS },
40802 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
40803 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
40804 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
40805 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
40806 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
40807 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
40808 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
40809 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
40810 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
40811 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
40812 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
40813 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
40814 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
40815 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
40816 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
40817 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
40818 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
40819 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
40820 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
40821 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
40822 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
40823 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
40824 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
40825 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
40826 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
40827 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
40828 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
40829 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
40830 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
40831 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
40832 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
40833 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
40834 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
40835 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
40836 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
40837 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
40838 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
40839 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
40840 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
40841 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
40842 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
40843 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40844 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40845 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
40846 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
40847 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
40848 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
40849 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
40850 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
40851 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS },
40852 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
40853 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
40854 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40855 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40856 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
40857 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
40858 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
40859 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
40860 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
40861 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
40862 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
40863 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
40864 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
40865 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
40866 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
40867 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
40868 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
40869 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40870 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
40871 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
40872 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
40873 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
40874 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
40875 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
40876 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
40877 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
40878 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
40879 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
40880 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
40881 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
40882 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
40883 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
40884 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
40885 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
40886 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
40887 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
40888 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
40889 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
40890 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
40891 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
40892 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
40893 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
40894 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
40895 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
40896 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
40897 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
40898 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
40899 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
40900 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
40901 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
40902 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
40903 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
40904 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40905 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
40906 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
40907 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
40908 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
40909 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40910 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40911 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
40912 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
40913 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40914 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40915 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
40916 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
40917 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
40918 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
40919 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
40920 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
40921 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
40922 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
40923 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
40924 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
40925 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
40926 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
40927 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
40928 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
40929 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
40930 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
40931 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
40932 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
40933 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
40934 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
40935 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
40936 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
40937 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
40938 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
40939 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
40940 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
40941 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
40942 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
40943 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40944 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
40945 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
40946 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40947 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40948 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
40949 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
40950 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
40951 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
40952 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
40953 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
40954 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
40955 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
40956 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
40957 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
40958 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
40959 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
40960 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
40961 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
40962 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
40963 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
40964 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS },
40965 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
40966 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
40967 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
40968 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
40969 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
40970 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
40971 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40972 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
40973 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
40974 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
40975 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
40976 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
40977 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
40978 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
40979 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
40980 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
40981 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
40982 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
40983 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
40984 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
40985 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
40986 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
40987 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
40988 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
40989 { (char *)"Control_GetAdjustMinSizeFlag", (PyCFunction) _wrap_Control_GetAdjustMinSizeFlag, METH_VARARGS | METH_KEYWORDS },
40990 { (char *)"Control_SetAdjustMinSizeFlag", (PyCFunction) _wrap_Control_SetAdjustMinSizeFlag, METH_VARARGS | METH_KEYWORDS },
40991 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
40992 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
40993 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
40994 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
40995 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
40996 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
40997 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
40998 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
40999 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
41000 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
41001 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
41002 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
41003 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
41004 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
41005 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
41006 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
41007 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
41008 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
41009 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
41010 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
41011 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
41012 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41013 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41014 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41015 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41016 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
41017 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
41018 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
41019 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
41020 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41021 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
41022 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
41023 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
41024 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
41025 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
41026 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
41027 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
41028 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
41029 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
41030 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
41031 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
41032 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
41033 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
41034 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
41035 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
41036 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
41037 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
41038 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
41039 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
41040 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
41041 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
41042 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
41043 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
41044 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
41045 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
41046 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41047 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
41048 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
41049 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
41050 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
41051 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS },
41052 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
41053 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41054 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
41055 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
41056 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
41057 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
41058 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
41059 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
41060 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41061 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41062 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41063 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
41064 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
41065 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
41066 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
41067 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
41068 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
41069 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41070 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
41071 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
41072 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
41073 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
41074 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
41075 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
41076 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41077 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
41078 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
41079 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41080 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
41081 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
41082 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
41083 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
41084 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
41085 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
41086 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
41087 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
41088 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
41089 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
41090 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
41091 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
41092 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
41093 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
41094 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
41095 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
41096 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
41097 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
41098 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
41099 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
41100 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41101 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41102 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41103 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41104 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
41105 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
41106 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
41107 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
41108 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
41109 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
41110 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
41111 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
41112 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
41113 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
41114 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
41115 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
41116 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
41117 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
41118 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
41119 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
41120 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
41121 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
41122 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
41123 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
41124 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
41125 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
41126 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
41127 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
41128 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41129 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41130 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41131 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
41132 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
41133 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
41134 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
41135 { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS },
41136 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS },
41137 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
41138 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
41139 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
41140 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
41141 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
41142 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
41143 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41144 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41145 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41146 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
41147 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
41148 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
41149 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
41150 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
41151 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
41152 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
41153 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS },
41154 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS },
41155 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
41156 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
41157 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
41158 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
41159 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
41160 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
41161 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
41162 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
41163 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
41164 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
41165 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
41166 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
41167 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
41168 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
41169 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
41170 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
41171 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
41172 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
41173 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
41174 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
41175 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
41176 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
41177 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
41178 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
41179 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
41180 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
41181 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
41182 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
41183 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
41184 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
41185 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
41186 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
41187 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
41188 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
41189 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
41190 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
41191 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
41192 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
41193 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
41194 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
41195 { NULL, NULL }
41196 };
41197
41198
41199 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41200
41201 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
41202 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
41203 }
41204 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
41205 return (void *)((wxSizer *) ((wxBoxSizer *) x));
41206 }
41207 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
41208 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
41209 }
41210 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
41211 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41212 }
41213 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
41214 return (void *)((wxSizer *) ((wxGridSizer *) x));
41215 }
41216 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
41217 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
41218 }
41219 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
41220 return (void *)((wxSizer *) ((wxPySizer *) x));
41221 }
41222 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
41223 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
41224 }
41225 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
41226 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
41227 }
41228 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
41229 return (void *)((wxEvent *) ((wxMenuEvent *) x));
41230 }
41231 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
41232 return (void *)((wxEvent *) ((wxCloseEvent *) x));
41233 }
41234 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
41235 return (void *)((wxEvent *) ((wxMouseEvent *) x));
41236 }
41237 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
41238 return (void *)((wxEvent *) ((wxEraseEvent *) x));
41239 }
41240 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
41241 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
41242 }
41243 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
41244 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
41245 }
41246 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
41247 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
41248 }
41249 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
41250 return (void *)((wxEvent *) ((wxPyEvent *) x));
41251 }
41252 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
41253 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
41254 }
41255 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
41256 return (void *)((wxEvent *) ((wxIdleEvent *) x));
41257 }
41258 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
41259 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
41260 }
41261 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
41262 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
41263 }
41264 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
41265 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
41266 }
41267 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
41268 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
41269 }
41270 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
41271 return (void *)((wxEvent *) ((wxActivateEvent *) x));
41272 }
41273 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
41274 return (void *)((wxEvent *) ((wxSizeEvent *) x));
41275 }
41276 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
41277 return (void *)((wxEvent *) ((wxMoveEvent *) x));
41278 }
41279 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
41280 return (void *)((wxEvent *) ((wxPaintEvent *) x));
41281 }
41282 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
41283 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
41284 }
41285 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
41286 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
41287 }
41288 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
41289 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
41290 }
41291 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
41292 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
41293 }
41294 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
41295 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41296 }
41297 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
41298 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
41299 }
41300 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
41301 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
41302 }
41303 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
41304 return (void *)((wxEvent *) ((wxFocusEvent *) x));
41305 }
41306 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
41307 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
41308 }
41309 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
41310 return (void *)((wxEvent *) ((wxShowEvent *) x));
41311 }
41312 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
41313 return (void *)((wxEvent *) ((wxCommandEvent *) x));
41314 }
41315 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
41316 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
41317 }
41318 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
41319 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41320 }
41321 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
41322 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
41323 }
41324 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
41325 return (void *)((wxEvent *) ((wxKeyEvent *) x));
41326 }
41327 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
41328 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
41329 }
41330 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
41331 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
41332 }
41333 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
41334 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
41335 }
41336 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
41337 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
41338 }
41339 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
41340 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
41341 }
41342 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
41343 return (void *)((wxControl *) ((wxControlWithItems *) x));
41344 }
41345 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
41346 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
41347 }
41348 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
41349 return (void *)((wxEvtHandler *) ((wxWindow *) x));
41350 }
41351 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
41352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41353 }
41354 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
41355 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
41356 }
41357 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
41358 return (void *)((wxEvtHandler *) ((wxValidator *) x));
41359 }
41360 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
41361 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
41362 }
41363 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
41364 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
41365 }
41366 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
41367 return (void *)((wxEvtHandler *) ((wxMenu *) x));
41368 }
41369 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
41370 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
41371 }
41372 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
41373 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
41374 }
41375 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
41376 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
41377 }
41378 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
41379 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
41380 }
41381 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
41382 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
41383 }
41384 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
41385 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41386 }
41387 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
41388 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
41389 }
41390 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
41391 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
41392 }
41393 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
41394 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41395 }
41396 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
41397 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41398 }
41399 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
41400 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
41401 }
41402 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
41403 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
41404 }
41405 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
41406 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
41407 }
41408 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
41409 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
41410 }
41411 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
41412 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
41413 }
41414 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
41415 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
41416 }
41417 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
41418 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
41419 }
41420 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
41421 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
41422 }
41423 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
41424 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
41425 }
41426 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
41427 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
41428 }
41429 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
41430 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
41431 }
41432 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
41433 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
41434 }
41435 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
41436 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
41437 }
41438 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
41439 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
41440 }
41441 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
41442 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
41443 }
41444 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
41445 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
41446 }
41447 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
41448 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
41449 }
41450 static void *_p_wxValidatorTo_p_wxObject(void *x) {
41451 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
41452 }
41453 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
41454 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
41455 }
41456 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
41457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
41458 }
41459 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
41460 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
41461 }
41462 static void *_p_wxSizerTo_p_wxObject(void *x) {
41463 return (void *)((wxObject *) ((wxSizer *) x));
41464 }
41465 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
41466 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
41467 }
41468 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
41469 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
41470 }
41471 static void *_p_wxMenuTo_p_wxObject(void *x) {
41472 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
41473 }
41474 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
41475 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
41476 }
41477 static void *_p_wxImageTo_p_wxObject(void *x) {
41478 return (void *)((wxObject *) ((wxImage *) x));
41479 }
41480 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
41481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
41482 }
41483 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
41484 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
41485 }
41486 static void *_p_wxPyEventTo_p_wxObject(void *x) {
41487 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
41488 }
41489 static void *_p_wxWindowTo_p_wxObject(void *x) {
41490 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
41491 }
41492 static void *_p_wxControlTo_p_wxObject(void *x) {
41493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
41494 }
41495 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
41496 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
41497 }
41498 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
41499 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
41500 }
41501 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
41502 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
41503 }
41504 static void *_p_wxPyAppTo_p_wxObject(void *x) {
41505 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
41506 }
41507 static void *_p_wxEventTo_p_wxObject(void *x) {
41508 return (void *)((wxObject *) ((wxEvent *) x));
41509 }
41510 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
41511 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
41512 }
41513 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
41514 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
41515 }
41516 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
41517 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
41518 }
41519 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
41520 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
41521 }
41522 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
41523 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
41524 }
41525 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
41526 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
41527 }
41528 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
41529 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
41530 }
41531 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
41532 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
41533 }
41534 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
41535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41536 }
41537 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
41538 return (void *)((wxObject *) ((wxEvtHandler *) x));
41539 }
41540 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
41541 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
41542 }
41543 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
41544 return (void *)((wxObject *) ((wxImageHandler *) x));
41545 }
41546 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
41547 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
41548 }
41549 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
41550 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
41551 }
41552 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
41553 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41554 }
41555 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
41556 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41557 }
41558 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
41559 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
41560 }
41561 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
41562 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
41563 }
41564 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
41565 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
41566 }
41567 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
41568 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
41569 }
41570 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
41571 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
41572 }
41573 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
41574 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
41575 }
41576 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
41577 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
41578 }
41579 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
41580 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
41581 }
41582 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
41583 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
41584 }
41585 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
41586 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
41587 }
41588 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
41589 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41590 }
41591 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
41592 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
41593 }
41594 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
41595 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
41596 }
41597 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
41598 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
41599 }
41600 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
41601 return (void *)((wxObject *) ((wxFileSystem *) x));
41602 }
41603 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
41604 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
41605 }
41606 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
41607 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
41608 }
41609 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
41610 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
41611 }
41612 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
41613 return (void *)((wxObject *) ((wxSizerItem *) x));
41614 }
41615 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
41616 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
41617 }
41618 static void *_p_wxShowEventTo_p_wxObject(void *x) {
41619 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
41620 }
41621 static void *_p_wxFSFileTo_p_wxObject(void *x) {
41622 return (void *)((wxObject *) ((wxFSFile *) x));
41623 }
41624 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
41625 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
41626 }
41627 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
41628 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
41629 }
41630 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
41631 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
41632 }
41633 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
41634 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
41635 }
41636 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
41637 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41638 }
41639 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
41640 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41641 }
41642 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
41643 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
41644 }
41645 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
41646 return (void *)((wxObject *) ((wxMenuItem *) x));
41647 }
41648 static void *_p_wxPySizerTo_p_wxObject(void *x) {
41649 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
41650 }
41651 static void *_p_wxControlTo_p_wxWindow(void *x) {
41652 return (void *)((wxWindow *) ((wxControl *) x));
41653 }
41654 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
41655 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
41656 }
41657 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
41658 return (void *)((wxWindow *) ((wxMenuBar *) x));
41659 }
41660 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
41661 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
41662 }
41663 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
41664 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
41665 }
41666 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
41667 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
41668 }
41669 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
41670 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
41671 }
41672 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
41673 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41674 }
41675 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
41676 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
41677 }
41678 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
41679 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
41680 }
41681 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
41682 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
41683 }
41684 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
41685 return (void *)((wxValidator *) ((wxPyValidator *) x));
41686 }
41687 static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41688 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41689 static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41690 static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41691 static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41692 static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41693 static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41694 static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41695 static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41696 static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41697 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41698 static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41699 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41700 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41701 static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41702 static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41703 static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41704 static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41705 static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41706 static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41707 static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41708 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41709 static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41710 static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41711 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41712 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41713 static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41714 static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41715 static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41716 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41717 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41718 static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41719 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41720 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41721 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41722 static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41723 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41724 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41725 static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41726 static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41727 static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41728 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41729 static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41730 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41731 static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41732 static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41733 static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41734 static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41735 static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41736 static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41737 static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41738 static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41739 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41740 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41741 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41742 static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41743 static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41744 static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41745 static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41746 static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41747 static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41748 static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41749 static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41750 static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41751 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41752 static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41753 static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41754 static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41755 static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41756 static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41757 static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41758 static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41759 static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41760 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41761 static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41762 static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41763 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41764 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41765 static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41766 static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41767 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41768 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41769 static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41770 static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41771 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41772 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41773 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41774 static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41775 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41776 static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41777 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41778 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41779 static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41780 static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41781 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41782 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41783 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41784 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41785 static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41786 static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41787 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41788 static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41789 static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41790 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41791 static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41792 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41793 static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41794 static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41795 static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41796 static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41797 static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41798 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41799 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41800 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41801 static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
41802
41803 static swig_type_info *swig_types_initial[] = {
41804 _swigt__p_wxLayoutConstraints,
41805 _swigt__p_wxRealPoint,
41806 _swigt__p_wxSizerItem,
41807 _swigt__p_wxGBSizerItem,
41808 _swigt__p_wxScrollEvent,
41809 _swigt__p_wxIndividualLayoutConstraint,
41810 _swigt__p_wxSizer,
41811 _swigt__p_wxBoxSizer,
41812 _swigt__p_wxStaticBoxSizer,
41813 _swigt__p_wxGridBagSizer,
41814 _swigt__p_wxAcceleratorEntry,
41815 _swigt__p_wxUpdateUIEvent,
41816 _swigt__p_wxMenu,
41817 _swigt__p_wxEvent,
41818 _swigt__p_wxGridSizer,
41819 _swigt__p_wxFlexGridSizer,
41820 _swigt__p_wxInitDialogEvent,
41821 _swigt__p_wxItemContainer,
41822 _swigt__p_wxNcPaintEvent,
41823 _swigt__p_wxPaintEvent,
41824 _swigt__p_wxSysColourChangedEvent,
41825 _swigt__p_wxMouseCaptureChangedEvent,
41826 _swigt__p_wxDisplayChangedEvent,
41827 _swigt__p_wxPaletteChangedEvent,
41828 _swigt__p_wxControl,
41829 _swigt__p_wxFont,
41830 _swigt__p_wxMenuBarBase,
41831 _swigt__p_wxSetCursorEvent,
41832 _swigt__p_wxFSFile,
41833 _swigt__p_wxCaret,
41834 _swigt__p_wxRegion,
41835 _swigt__p_wxPoint2D,
41836 _swigt__p_int,
41837 _swigt__p_wxSize,
41838 _swigt__p_wxDC,
41839 _swigt__p_wxPySizer,
41840 _swigt__p_wxVisualAttributes,
41841 _swigt__p_wxNotifyEvent,
41842 _swigt__p_wxPyEvent,
41843 _swigt__p_wxPropagationDisabler,
41844 _swigt__p_wxAppTraits,
41845 _swigt__p_wxArrayString,
41846 _swigt__p_wxShowEvent,
41847 _swigt__p_wxToolTip,
41848 _swigt__p_wxMaximizeEvent,
41849 _swigt__p_wxIconizeEvent,
41850 _swigt__p_wxActivateEvent,
41851 _swigt__p_wxMoveEvent,
41852 _swigt__p_wxSizeEvent,
41853 _swigt__p_wxQueryNewPaletteEvent,
41854 _swigt__p_wxWindowCreateEvent,
41855 _swigt__p_wxIdleEvent,
41856 _swigt__p_wxMenuItem,
41857 _swigt__p_wxStaticBox,
41858 _swigt__p_long,
41859 _swigt__p_wxTIFFHandler,
41860 _swigt__p_wxXPMHandler,
41861 _swigt__p_wxPNMHandler,
41862 _swigt__p_wxJPEGHandler,
41863 _swigt__p_wxPCXHandler,
41864 _swigt__p_wxGIFHandler,
41865 _swigt__p_wxPNGHandler,
41866 _swigt__p_wxANIHandler,
41867 _swigt__p_wxMemoryFSHandler,
41868 _swigt__p_wxEvtHandler,
41869 _swigt__p_wxCURHandler,
41870 _swigt__p_wxICOHandler,
41871 _swigt__p_wxBMPHandler,
41872 _swigt__p_wxImageHandler,
41873 _swigt__p_wxFileSystemHandler,
41874 _swigt__p_wxPyFileSystemHandler,
41875 _swigt__p_wxInternetFSHandler,
41876 _swigt__p_wxZipFSHandler,
41877 _swigt__p_wxRect,
41878 _swigt__p_wxGBSpan,
41879 _swigt__p_wxPropagateOnce,
41880 _swigt__p_wxAcceleratorTable,
41881 _swigt__p_char,
41882 _swigt__p_wxGBPosition,
41883 _swigt__p_wxImage,
41884 _swigt__p_wxFrame,
41885 _swigt__p_wxScrollWinEvent,
41886 _swigt__p_wxImageHistogram,
41887 _swigt__p_byte,
41888 _swigt__p_wxPoint,
41889 _swigt__p_wxCursor,
41890 _swigt__p_wxObject,
41891 _swigt__p_wxPyInputStream,
41892 _swigt__p_wxOutputStream,
41893 _swigt__p_wxInputStream,
41894 _swigt__p_wxDateTime,
41895 _swigt__p_wxKeyEvent,
41896 _swigt__p_wxNavigationKeyEvent,
41897 _swigt__p_wxWindowDestroyEvent,
41898 _swigt__p_wxWindow,
41899 _swigt__p_wxMenuBar,
41900 _swigt__p_wxFileSystem,
41901 _swigt__p_wxBitmap,
41902 _swigt__p_wxMenuEvent,
41903 _swigt__p_wxContextMenuEvent,
41904 _swigt__p_unsigned_char,
41905 _swigt__p_wxCloseEvent,
41906 _swigt__p_wxEraseEvent,
41907 _swigt__p_wxMouseEvent,
41908 _swigt__p_wxPyApp,
41909 _swigt__p_wxCommandEvent,
41910 _swigt__p_wxPyCommandEvent,
41911 _swigt__p_wxPyDropTarget,
41912 _swigt__p_wxChildFocusEvent,
41913 _swigt__p_wxFocusEvent,
41914 _swigt__p_wxDropFilesEvent,
41915 _swigt__p_wxControlWithItems,
41916 _swigt__p_wxColour,
41917 _swigt__p_wxValidator,
41918 _swigt__p_wxPyValidator,
41919 0
41920 };
41921
41922
41923 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41924
41925 static swig_const_info swig_const_table[] = {
41926 {0}};
41927
41928 #ifdef __cplusplus
41929 }
41930 #endif
41931
41932 #ifdef __cplusplus
41933 extern "C"
41934 #endif
41935 SWIGEXPORT(void) SWIG_init(void) {
41936 static PyObject *SWIG_globals = 0;
41937 static int typeinit = 0;
41938 PyObject *m, *d;
41939 int i;
41940 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
41941 m = Py_InitModule((char *) SWIG_name, SwigMethods);
41942 d = PyModule_GetDict(m);
41943
41944 if (!typeinit) {
41945 for (i = 0; swig_types_initial[i]; i++) {
41946 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
41947 }
41948 typeinit = 1;
41949 }
41950 SWIG_InstallConstants(d,swig_const_table);
41951
41952
41953 #ifndef wxPyUSE_EXPORT
41954 // Make our API structure a CObject so other modules can import it
41955 // from this module.
41956 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
41957 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
41958 Py_XDECREF(cobj);
41959 #endif
41960
41961 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
41962 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
41963 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
41964 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
41965 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
41966 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
41967 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
41968 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
41969 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
41970 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
41971 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
41972 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
41973 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
41974 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
41975 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
41976 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
41977 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
41978 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
41979 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
41980 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
41981 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
41982 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
41983 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
41984 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
41985 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
41986 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB));
41987 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
41988 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
41989 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
41990 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
41991 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
41992 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
41993 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
41994 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
41995 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
41996 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
41997 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
41998 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
41999 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
42000 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
42001 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
42002 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
42003 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
42004 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
42005 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
42006 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
42007 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
42008 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
42009 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
42010 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
42011 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
42012 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
42013 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
42014 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
42015 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
42016 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
42017 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
42018 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
42019 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
42020 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
42021 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
42022 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
42023 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
42024 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
42025 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
42026 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
42027 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
42028 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
42029 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
42030 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
42031 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
42032 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
42033 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
42034 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
42035 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
42036 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
42037 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
42038 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
42039 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
42040 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
42041 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
42042 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
42043 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
42044 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
42045 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
42046 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
42047 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
42048 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
42049 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
42050 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
42051 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
42052 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
42053 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
42054 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
42055 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
42056 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
42057 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
42058 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
42059 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
42060 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
42061 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
42062 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
42063 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
42064 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
42065 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
42066 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
42067 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
42068 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
42069 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
42070 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
42071 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
42072 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
42073 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
42074 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
42075 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
42076 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
42077 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
42078 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
42079 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
42080 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
42081 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
42082 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
42083 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
42084 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
42085 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
42086 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
42087 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
42088 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
42089 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
42090 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
42091 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
42092 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
42093 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
42094 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
42095 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
42096 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
42097 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
42098 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
42099 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
42100 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
42101 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
42102 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
42103 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
42104 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
42105 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
42106 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
42107 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
42108 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
42109 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
42110 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
42111 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
42112 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
42113 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
42114 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
42115 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
42116 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
42117 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
42118 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
42119 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
42120 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
42121 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
42122 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
42123 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
42124 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
42125 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
42126 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
42127 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
42128 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
42129 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
42130 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
42131 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
42132 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
42133 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
42134 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
42135 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
42136 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
42137 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
42138 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
42139 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
42140 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
42141 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
42142 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
42143 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
42144 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
42145 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
42146 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
42147 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
42148 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
42149 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
42150 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
42151 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
42152 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
42153 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
42154 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
42155 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
42156 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
42157 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
42158 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
42159 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
42160 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
42161 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
42162 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
42163 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
42164 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
42165 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
42166 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
42167 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
42168 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
42169 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
42170 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
42171 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
42172 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
42173 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
42174 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
42175 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
42176 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
42177 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
42178 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
42179 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
42180 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
42181 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
42182 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
42183 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
42184 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
42185 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
42186 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
42187 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
42188 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
42189 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
42190 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
42191 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
42192 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
42193 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
42194 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
42195 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
42196 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
42197 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
42198 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
42199 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
42200 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
42201 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
42202 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
42203 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
42204 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
42205 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
42206 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
42207 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
42208 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
42209 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
42210 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE));
42211 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
42212 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
42213 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
42214 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
42215 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
42216 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
42217 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
42218 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
42219 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
42220 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
42221 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
42222 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
42223 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
42224 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
42225 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
42226 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
42227 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
42228 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
42229 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
42230 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
42231 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
42232 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
42233 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
42234 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
42235 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
42236 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
42237 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
42238 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
42239 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
42240 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
42241 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
42242 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
42243 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
42244 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
42245 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
42246 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
42247 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
42248 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
42249 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
42250 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
42251 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
42252 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
42253 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
42254 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
42255 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
42256 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
42257 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
42258 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
42259 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
42260 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
42261 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
42262 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
42263 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
42264 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
42265 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
42266 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
42267 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
42268 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
42269 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
42270 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
42271 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
42272 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
42273 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
42274 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
42275 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
42276 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
42277 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
42278 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
42279 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
42280 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
42281 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
42282 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
42283 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
42284 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
42285 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
42286 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
42287 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
42288 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
42289 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
42290 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
42291 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
42292 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
42293 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
42294 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
42295 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
42296 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
42297 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
42298 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
42299 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
42300 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
42301 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
42302 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
42303 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
42304 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
42305 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
42306 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
42307 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
42308 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
42309 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
42310 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
42311 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
42312 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
42313 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
42314 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
42315 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
42316 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
42317 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
42318 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
42319 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
42320 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
42321 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
42322 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
42323 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
42324 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
42325 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
42326 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
42327 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
42328 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
42329 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
42330 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
42331 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
42332 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
42333 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
42334 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
42335 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
42336 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
42337 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
42338 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
42339 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
42340 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
42341 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
42342 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
42343 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
42344 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
42345 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
42346 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
42347 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
42348 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
42349 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
42350 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
42351 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
42352 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
42353 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
42354 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
42355 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
42356 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
42357 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
42358 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
42359 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
42360 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
42361 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
42362 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
42363 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
42364 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
42365 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
42366 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
42367 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
42368 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
42369 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
42370 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
42371 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
42372 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
42373 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
42374 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
42375 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
42376 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
42377 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
42378 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
42379 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
42380 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
42381 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
42382 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
42383 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
42384 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
42385 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
42386 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
42387 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
42388 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
42389 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
42390 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
42391 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
42392 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
42393 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
42394 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
42395 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
42396 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
42397 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
42398 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
42399 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
42400 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
42401 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
42402 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
42403 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
42404 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
42405 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
42406 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
42407 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
42408 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
42409 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
42410 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
42411 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
42412 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
42413 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
42414 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
42415 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
42416 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
42417 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
42418 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
42419 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
42420 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
42421 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
42422 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
42423 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
42424 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
42425 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
42426 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
42427 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
42428 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
42429 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
42430 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
42431 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
42432 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
42433 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
42434 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
42435 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
42436 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
42437 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
42438 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
42439 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
42440 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
42441 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
42442 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
42443 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
42444 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
42445 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
42446 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
42447 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
42448 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
42449 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
42450 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
42451 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
42452 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
42453 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
42454 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
42455 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
42456 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
42457 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
42458 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
42459 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
42460 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
42461 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
42462 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
42463 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
42464 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
42465 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
42466 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
42467 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
42468 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
42469 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
42470 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
42471 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
42472 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
42473 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
42474 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
42475 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
42476 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
42477 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
42478 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
42479 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
42480 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
42481 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
42482 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
42483 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
42484 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
42485 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
42486 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
42487 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
42488 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
42489 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
42490 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
42491 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
42492 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
42493 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
42494 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
42495 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
42496 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
42497 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
42498 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
42499 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
42500 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
42501 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
42502 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
42503 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
42504 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
42505 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
42506 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
42507 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
42508 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
42509 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
42510 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
42511 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
42512 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
42513 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
42514 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
42515 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
42516 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
42517 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
42518 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
42519 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
42520 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
42521 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
42522 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
42523 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
42524 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
42525 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
42526 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
42527 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
42528 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
42529 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
42530 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
42531 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
42532 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
42533 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
42534
42535 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42536
42537
42538 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42539
42540 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
42541 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
42542 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
42543 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
42544 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
42545 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
42546 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
42547 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
42548 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
42549 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
42550 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
42551 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
42552 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
42553 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
42554 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
42555 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
42556 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
42557 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
42558 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
42559 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
42560 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
42561 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
42562 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
42563 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
42564 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
42565 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
42566 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
42567 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
42568 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
42569 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
42570 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
42571 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
42572 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
42573 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
42574 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
42575 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
42576 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
42577 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
42578 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
42579 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
42580 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
42581 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
42582 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
42583 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
42584 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
42585 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
42586 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
42587 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
42588 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
42589 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
42590 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
42591 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
42592 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
42593 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
42594 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
42595 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
42596 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
42597 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
42598 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
42599 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
42600 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
42601 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
42602 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
42603 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
42604 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
42605 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
42606 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
42607 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
42608 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
42609 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
42610 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
42611 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
42612 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
42613 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
42614 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
42615 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
42616 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
42617 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
42618 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
42619 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
42620 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
42621 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
42622 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
42623 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
42624 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
42625 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
42626 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
42627 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
42628 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
42629 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
42630 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
42631 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
42632 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
42633 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
42634 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
42635 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
42636 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
42637 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
42638 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
42639 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
42640 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
42641 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
42642 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
42643 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
42644 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
42645 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
42646 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
42647 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
42648 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
42649 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
42650 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
42651 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
42652 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
42653 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
42654 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
42655 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
42656 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
42657 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
42658 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
42659 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
42660 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
42661 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
42662 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
42663 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
42664 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
42665 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
42666 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
42667 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
42668 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
42669 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
42670 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
42671 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
42672 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
42673 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
42674 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
42675 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
42676 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
42677 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
42678 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
42679 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
42680 PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward));
42681 PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange));
42682 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
42683 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
42684 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
42685 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
42686 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
42687 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
42688 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
42689 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
42690 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
42691 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
42692 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
42693 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
42694 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
42695 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
42696 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX));
42697 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
42698 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
42699 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
42700 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
42701 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
42702 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
42703 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
42704 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
42705 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
42706 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
42707 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
42708 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
42709 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
42710 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
42711 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
42712 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
42713 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
42714 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
42715 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
42716 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
42717 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
42718 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
42719 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
42720 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
42721 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
42722
42723 // Initialize threading, some globals and such
42724 __wxPyPreStart(d);
42725
42726
42727 // Although these are defined in __version__ they need to be here too so
42728 // that an assert can be done to ensure that the wxPython and the wxWindows
42729 // versions match.
42730 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
42731 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
42732 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
42733
42734 }
42735