]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/core_wrap.cpp
Forward declare wxPyScrolledWindow
[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_wxNotifyEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
248 #define SWIGTYPE_p_wxAppTraits swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxShowEvent swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
253 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
255 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
256 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
257 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
258 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
259 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
260 #define SWIGTYPE_p_wxMenuItem swig_types[51]
261 #define SWIGTYPE_p_wxStaticBox swig_types[52]
262 #define SWIGTYPE_p_long swig_types[53]
263 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
264 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
265 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
266 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
267 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
268 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
269 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
270 #define SWIGTYPE_p_wxANIHandler swig_types[61]
271 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
272 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
273 #define SWIGTYPE_p_wxCURHandler swig_types[64]
274 #define SWIGTYPE_p_wxICOHandler swig_types[65]
275 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
276 #define SWIGTYPE_p_wxImageHandler swig_types[67]
277 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
278 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
280 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxRect swig_types[72]
282 #define SWIGTYPE_p_wxGBSpan swig_types[73]
283 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
284 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
285 #define SWIGTYPE_p_char swig_types[76]
286 #define SWIGTYPE_p_wxGBPosition swig_types[77]
287 #define SWIGTYPE_p_wxImage swig_types[78]
288 #define SWIGTYPE_p_wxFrame swig_types[79]
289 #define SWIGTYPE_p_wxScrollWinEvent swig_types[80]
290 #define SWIGTYPE_p_wxImageHistogram swig_types[81]
291 #define SWIGTYPE_p_byte swig_types[82]
292 #define SWIGTYPE_p_wxPoint swig_types[83]
293 #define SWIGTYPE_p_wxCursor swig_types[84]
294 #define SWIGTYPE_p_wxObject swig_types[85]
295 #define SWIGTYPE_p_wxPyInputStream swig_types[86]
296 #define SWIGTYPE_p_wxOutputStream swig_types[87]
297 #define SWIGTYPE_p_wxInputStream swig_types[88]
298 #define SWIGTYPE_p_wxDateTime swig_types[89]
299 #define SWIGTYPE_p_wxKeyEvent swig_types[90]
300 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindow swig_types[93]
303 #define SWIGTYPE_p_wxMenuBar swig_types[94]
304 #define SWIGTYPE_p_wxFileSystem swig_types[95]
305 #define SWIGTYPE_p_wxBitmap swig_types[96]
306 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
307 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
308 #define SWIGTYPE_p_unsigned_char swig_types[99]
309 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
310 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
311 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
312 #define SWIGTYPE_p_wxPyApp swig_types[103]
313 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
314 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
316 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
317 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
319 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
320 #define SWIGTYPE_p_wxColour swig_types[111]
321 #define SWIGTYPE_p_wxValidator swig_types[112]
322 #define SWIGTYPE_p_wxPyValidator swig_types[113]
323 static swig_type_info *swig_types[115];
324
325 /* -------- TYPES TABLE (END) -------- */
326
327
328 /*-----------------------------------------------
329 @(target):= _core.so
330 ------------------------------------------------*/
331 #define SWIG_init init_core
332
333 #define SWIG_name "_core"
334
335 /* Auxiliar swig macros */
336
337 #ifdef __cplusplus
338 #define SWIGSTATICINLINE(a) static inline a
339 #define SWIGSTATIC(a) static a
340 #define swig_new_array(type, size) (new type[(size)])
341 #define swig_delete_array(cptr) delete[] cptr
342 #define swig_const_cast(type,a) const_cast<type>(a)
343 #define swig_static_cast(type,a) static_cast<type>(a)
344 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
345
346 #ifdef HAVE_NUMERIC_CAST
347 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
348 #else
349 #define swig_numeric_cast(type,a) static_cast<type>(a)
350 #endif
351
352 #else /* C case */
353
354 #define SWIGSTATICINLINE(a) static a
355 #define SWIGSTATIC(a) static a
356 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
357 #define swig_delete_array(cptr) free((char*)cptr)
358 #define swig_const_cast(type,a) (type)(a)
359 #define swig_static_cast(type,a) (type)(a)
360 #define swig_reinterpret_cast(type,a) (type)(a)
361 #define swig_numeric_cast(type,a) (type)(a)
362
363 #endif /* __cplusplus */
364
365
366 #define SWIG_FromSignedChar PyInt_FromLong
367 #define SWIG_FromUnsignedChar PyInt_FromLong
368 #define SWIG_FromShort PyInt_FromLong
369 #define SWIG_FromUnsignedShort PyInt_FromLong
370 #define SWIG_FromInt PyInt_FromLong
371 #define SWIG_FromLong PyInt_FromLong
372 #define SWIG_FromFloat PyFloat_FromDouble
373 #define SWIG_FromDouble PyFloat_FromDouble
374 #define SWIG_FromFloat PyFloat_FromDouble
375 #define SWIG_FromDouble PyFloat_FromDouble
376
377
378 #include "wx/wxPython/wxPython_int.h"
379 #include "wx/wxPython/pyclasses.h"
380
381
382 #ifndef wxPyUSE_EXPORT
383 // Helper functions for dealing with SWIG objects and such. These are
384 // located here so they know about the SWIG types and functions declared
385 // in the wrapper code.
386
387 #include <wx/hashmap.h>
388 WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
389
390
391 // Maintains a hashmap of className to swig_type_info pointers. Given the
392 // name of a class either looks up the type info in the cache, or scans the
393 // SWIG tables for it.
394 extern PyObject* wxPyPtrTypeMap;
395 static
396 swig_type_info* wxPyFindSwigType(const wxChar* className) {
397
398 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
399
400 if (typeInfoCache == NULL)
401 typeInfoCache = new wxPyTypeInfoHashMap;
402
403 wxString name(className);
404 swig_type_info* swigType = (*typeInfoCache)[name];
405
406 if (! swigType) {
407 // it wasn't in the cache, so look it up from SWIG
408 name.Append(wxT(" *"));
409 swigType = SWIG_Python_TypeQuery(name.mb_str());
410
411 // if it still wasn't found, try looking for a mapped name
412 if (!swigType) {
413 PyObject* item;
414 name = className;
415
416 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
417 (char*)(const char*)name.mbc_str())) != NULL) {
418 name = wxString(PyString_AsString(item), *wxConvCurrent);
419 name.Append(wxT(" *"));
420 swigType = SWIG_Python_TypeQuery(name.mb_str());
421 }
422 }
423 if (swigType) {
424 // and add it to the map if found
425 (*typeInfoCache)[className] = swigType;
426 }
427 }
428 return swigType;
429 }
430
431
432 // Check if a class name is a type known to SWIG
433 bool wxPyCheckSwigType(const wxChar* className) {
434
435 swig_type_info* swigType = wxPyFindSwigType(className);
436 return swigType != NULL;
437 }
438
439
440 // Given a pointer to a C++ object and a class name, construct a Python proxy
441 // object for it.
442 PyObject* wxPyConstructObject(void* ptr,
443 const wxChar* className,
444 int setThisOwn) {
445
446 swig_type_info* swigType = wxPyFindSwigType(className);
447 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
448
449 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
450 }
451
452
453 // Extract a pointer to the wrapped C++ object from a Python proxy object.
454 // Ensures that the proxy object is of the specified (or derived) type. If
455 // not able to perform the conversion then a Python exception is set and the
456 // error should be handled properly in the caller. Returns True on success.
457 bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
458 const wxChar* className) {
459
460 swig_type_info* swigType = wxPyFindSwigType(className);
461 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
462
463 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
464 }
465
466
467 // Make a SWIGified pointer object suitable for a .this attribute
468 PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
469
470 PyObject* robj = NULL;
471
472 swig_type_info* swigType = wxPyFindSwigType(className);
473 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
474
475 #ifdef SWIG_COBJECT_TYPES
476 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
477 #else
478 {
479 char result[1024];
480 char *r = result;
481 *(r++) = '_';
482 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
483 strcpy(r, swigType->name);
484 robj = PyString_FromString(result);
485 }
486 #endif
487
488 return robj;
489 }
490
491
492
493
494 // Export a C API in a struct. Other modules will be able to load this from
495 // the wx.core module and will then have safe access to these functions, even if
496 // they are located in another shared library.
497 static wxPyCoreAPI API = {
498
499 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
500 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
501 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
502 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
503 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
504 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
505 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
506 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
507 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
508 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
509 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
510 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
511 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
512 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
513 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
514 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
515 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
516
517 wxPyCheckSwigType,
518 wxPyConstructObject,
519 wxPyConvertSwigPtr,
520 wxPyMakeSwigPtr,
521
522 wxPyBeginAllowThreads,
523 wxPyEndAllowThreads,
524 wxPyBeginBlockThreads,
525 wxPyEndBlockThreads,
526
527 wxPy_ConvertList,
528
529 wxString_in_helper,
530 Py2wxString,
531 wx2PyString,
532
533 byte_LIST_helper,
534 int_LIST_helper,
535 long_LIST_helper,
536 string_LIST_helper,
537 wxPoint_LIST_helper,
538 wxBitmap_LIST_helper,
539 wxString_LIST_helper,
540 wxAcceleratorEntry_LIST_helper,
541
542 wxSize_helper,
543 wxPoint_helper,
544 wxRealPoint_helper,
545 wxRect_helper,
546 wxColour_helper,
547 wxPoint2D_helper,
548
549 wxPySimple_typecheck,
550 wxColour_typecheck,
551
552 wxPyCBH_setCallbackInfo,
553 wxPyCBH_findCallback,
554 wxPyCBH_callCallback,
555 wxPyCBH_callCallbackObj,
556 wxPyCBH_delete,
557
558 wxPyMake_wxObject,
559 wxPyMake_wxSizer,
560 wxPyPtrTypeMap_Add,
561 wxPy2int_seq_helper,
562 wxPy4int_seq_helper,
563 wxArrayString2PyList_helper,
564 wxArrayInt2PyList_helper,
565
566 wxPyClientData_dtor,
567 wxPyUserData_dtor,
568 wxPyOORClientData_dtor,
569
570 wxPyCBInputStream_create,
571
572 wxPyInstance_Check,
573 wxPySwigInstance_Check
574
575 };
576
577 #endif
578
579
580 #if ! wxUSE_HOTKEY
581 enum wxHotkeyModifier
582 {
583 wxMOD_NONE = 0,
584 wxMOD_ALT = 1,
585 wxMOD_CONTROL = 2,
586 wxMOD_SHIFT = 4,
587 wxMOD_WIN = 8
588 };
589 #define wxEVT_HOTKEY 9999
590 #endif
591
592 static const wxString wxPyEmptyString(wxEmptyString);
593 wxString wxObject_GetClassName(wxObject *self){
594 return self->GetClassInfo()->GetClassName();
595 }
596 void wxObject_Destroy(wxObject *self){
597 delete self;
598 }
599
600 #ifndef __WXMAC__
601 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
602 #endif
603
604
605 #include <limits.h>
606
607
608 SWIGSTATICINLINE(long)
609 SWIG_CheckLongInRange(long value, const char* type,
610 long min_value, long max_value)
611 {
612 if (!PyErr_Occurred()) {
613 if (value < min_value) {
614 PyObject *err =
615 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
616 value, type, min_value);
617
618 PyErr_SetObject(PyExc_OverflowError, err);
619 Py_DECREF(err);
620 } else if (value > max_value) {
621 PyObject *err =
622 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
623 value, type, max_value);
624 PyErr_SetObject(PyExc_OverflowError, err);
625 Py_DECREF(err);
626 }
627 }
628 return value;
629 }
630
631
632 SWIGSTATICINLINE(long)
633 SWIG_AsLong(PyObject * obj)
634 {
635 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
636 }
637
638
639 #if INT_MAX != LONG_MAX
640 SWIGSTATICINLINE(int)
641 SWIG_AsInt(PyObject *obj)
642 {
643 return swig_numeric_cast(int,
644 SWIG_CheckLongInRange(SWIG_AsLong(obj),
645 "int", INT_MIN, INT_MAX));
646 }
647 #else
648 #define SWIG_AsInt SWIG_AsLong
649 #endif
650
651
652 SWIGSTATICINLINE(int)
653 SWIG_CheckInt(PyObject* obj)
654 {
655 SWIG_AsInt(obj);
656 if (PyErr_Occurred()) {
657 PyErr_Clear();
658 return 0;
659 } else {
660 return 1;
661 }
662 }
663
664 PyObject *wxSize_Get(wxSize *self){
665 bool blocked = wxPyBeginBlockThreads();
666 PyObject* tup = PyTuple_New(2);
667 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
668 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
669 wxPyEndBlockThreads(blocked);
670 return tup;
671 }
672
673 SWIGSTATICINLINE(double)
674 SWIG_AsDouble(PyObject *obj)
675 {
676 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
677 #if HAVE_LONG_LONG
678 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
679 #else
680 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
681 #endif
682 if (PyErr_Occurred()) {
683 PyErr_Clear();
684 PyErr_SetString(PyExc_TypeError, "a double is expected");
685 }
686 return val;
687 }
688
689
690 SWIGSTATICINLINE(int)
691 SWIG_CheckDouble(PyObject* obj)
692 {
693 SWIG_AsDouble(obj);
694 if (PyErr_Occurred()) {
695 PyErr_Clear();
696 return 0;
697 } else {
698 return 1;
699 }
700 }
701
702 void wxRealPoint_Set(wxRealPoint *self,double x,double y){
703 self->x = x;
704 self->y = y;
705 }
706 PyObject *wxRealPoint_Get(wxRealPoint *self){
707 bool blocked = wxPyBeginBlockThreads();
708 PyObject* tup = PyTuple_New(2);
709 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
710 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
711 wxPyEndBlockThreads(blocked);
712 return tup;
713 }
714
715 SWIGSTATICINLINE(int)
716 SWIG_CheckLong(PyObject* obj)
717 {
718 SWIG_AsLong(obj);
719 if (PyErr_Occurred()) {
720 PyErr_Clear();
721 return 0;
722 } else {
723 return 1;
724 }
725 }
726
727 void wxPoint_Set(wxPoint *self,long x,long y){
728 self->x = x;
729 self->y = y;
730 }
731 PyObject *wxPoint_Get(wxPoint *self){
732 bool blocked = wxPyBeginBlockThreads();
733 PyObject* tup = PyTuple_New(2);
734 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
735 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
736 wxPyEndBlockThreads(blocked);
737 return tup;
738 }
739 void wxRect_Set(wxRect *self,int x,int y,int width,int height){
740 self->x = x;
741 self->y = y;
742 self->width = width;
743 self->height = height;
744 }
745 PyObject *wxRect_Get(wxRect *self){
746 bool blocked = wxPyBeginBlockThreads();
747 PyObject* tup = PyTuple_New(4);
748 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
749 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
750 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
751 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
752 wxPyEndBlockThreads(blocked);
753 return tup;
754 }
755
756 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
757 wxRegion reg1(*r1);
758 wxRegion reg2(*r2);
759 wxRect dest(0,0,0,0);
760 PyObject* obj;
761
762 reg1.Intersect(reg2);
763 dest = reg1.GetBox();
764
765 if (dest != wxRect(0,0,0,0)) {
766 bool blocked = wxPyBeginBlockThreads();
767 wxRect* newRect = new wxRect(dest);
768 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
769 wxPyEndBlockThreads(blocked);
770 return obj;
771 }
772 Py_INCREF(Py_None);
773 return Py_None;
774 }
775
776
777 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
778 PyObject* o2;
779 PyObject* o3;
780
781 if (!target) {
782 target = o;
783 } else if (target == Py_None) {
784 Py_DECREF(Py_None);
785 target = o;
786 } else {
787 if (!PyTuple_Check(target)) {
788 o2 = target;
789 target = PyTuple_New(1);
790 PyTuple_SetItem(target, 0, o2);
791 }
792 o3 = PyTuple_New(1);
793 PyTuple_SetItem(o3, 0, o);
794
795 o2 = target;
796 target = PySequence_Concat(o2, o3);
797 Py_DECREF(o2);
798 Py_DECREF(o3);
799 }
800 return target;
801 }
802
803 void wxPoint2D_Set(wxPoint2D *self,double x,double y){
804 self->m_x = x;
805 self->m_y = y;
806 }
807 PyObject *wxPoint2D_Get(wxPoint2D *self){
808 bool blocked = wxPyBeginBlockThreads();
809 PyObject* tup = PyTuple_New(2);
810 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
811 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
812 wxPyEndBlockThreads(blocked);
813 return tup;
814 }
815
816 #include "wx/wxPython/pyistream.h"
817
818 wxPyInputStream *new_wxPyInputStream(PyObject *p){
819 wxInputStream* wxis = wxPyCBInputStream::create(p);
820 if (wxis)
821 return new wxPyInputStream(wxis);
822 else
823 return NULL;
824 }
825
826 SWIGSTATICINLINE(PyObject*)
827 SWIG_FromChar(char c)
828 {
829 return PyString_FromStringAndSize(&c,1);
830 }
831
832
833 SWIGSTATICINLINE(PyObject* )
834 SWIG_FromUnsignedLong(unsigned long value)
835 {
836 return (value > LONG_MAX) ?
837 PyLong_FromUnsignedLong(value)
838 : PyInt_FromLong(swig_numeric_cast(long,value));
839 }
840
841
842 /* returns '1' if the input is a raw char*, '0' if is a PyString */
843 SWIGSTATIC(int)
844 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
845 {
846 static swig_type_info* pchar_info = 0;
847 int psize = 0;
848 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
849
850 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
851 PyErr_Clear();
852 PyString_AsStringAndSize(obj, cptr, &psize);
853 if (PyErr_Occurred()) {
854 PyErr_Clear();
855 PyErr_SetString(PyExc_TypeError,"a string is expected");
856 }
857 if (size) *size = psize;
858 return 0;
859 } else {
860 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
861 return 1;
862 }
863 }
864
865
866 SWIGSTATIC(void)
867 SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
868 {
869 char* cptr; size_t csize;
870 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
871 if (PyErr_Occurred()) {
872 PyErr_Clear();
873 PyObject *err =
874 PyString_FromFormat("a char array of size %d is expected", size);
875 PyErr_SetObject(PyExc_TypeError, err);
876 Py_DECREF(err);
877 } else {
878 /* in C (but not in C++) you can do:
879
880 char x[5] = "hello";
881
882 ie, assing the array using an extra '0' char.
883 */
884 #ifndef __cplusplus
885 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
886 #endif
887 if (csize > size) {
888 PyObject *err =
889 PyString_FromFormat("a char array of maximum size %d is expected",
890 size);
891 PyErr_SetObject(PyExc_TypeError, err);
892 Py_DECREF(err);
893 } else {
894 if (csize) memcpy(carray, cptr, csize);
895 if (csize < size) memset(carray + csize, 0, size - csize);
896 }
897 }
898 }
899
900
901 SWIGSTATICINLINE(char)
902 SWIG_AsChar(PyObject *obj)
903 {
904 char c = 0;
905 if (PyInt_Check(obj) || PyLong_Check(obj)) {
906 c = swig_numeric_cast(char,
907 SWIG_CheckLongInRange(SWIG_AsLong(obj),
908 "char", CHAR_MIN, CHAR_MAX));
909 } else {
910 SWIG_AsCharArray(obj, &c, 1);
911 if (PyErr_Occurred()) {
912 PyErr_Clear();
913 PyErr_SetString(PyExc_TypeError, "a char is expected");
914 }
915 }
916 return c;
917 }
918
919
920 SWIGSTATICINLINE(int)
921 SWIG_CheckChar(PyObject* obj)
922 {
923 SWIG_AsChar(obj);
924 if (PyErr_Occurred()) {
925 PyErr_Clear();
926 return 0;
927 } else {
928 return 1;
929 }
930 }
931
932 void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
933 // We use only strings for the streams, not unicode
934 PyObject* str = PyObject_Str(obj);
935 if (! str) {
936 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
937 return;
938 }
939 self->Write(PyString_AS_STRING(str),
940 PyString_GET_SIZE(str));
941 Py_DECREF(str);
942 }
943
944 #include "wx/wxPython/pyistream.h"
945
946
947 class wxPyFileSystemHandler : public wxFileSystemHandler
948 {
949 public:
950 wxPyFileSystemHandler() : wxFileSystemHandler() {}
951
952 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
953 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
954 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
955 DEC_PYCALLBACK_STRING__pure(FindNext);
956
957 wxString GetProtocol(const wxString& location) {
958 return wxFileSystemHandler::GetProtocol(location);
959 }
960
961 wxString GetLeftLocation(const wxString& location) {
962 return wxFileSystemHandler::GetLeftLocation(location);
963 }
964
965 wxString GetAnchor(const wxString& location) {
966 return wxFileSystemHandler::GetAnchor(location);
967 }
968
969 wxString GetRightLocation(const wxString& location) {
970 return wxFileSystemHandler::GetRightLocation(location);
971 }
972
973 wxString GetMimeTypeFromExt(const wxString& location) {
974 return wxFileSystemHandler::GetMimeTypeFromExt(location);
975 }
976
977 PYPRIVATE;
978 };
979
980
981 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
982 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
983 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
984 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
985
986
987 SWIGSTATICINLINE(bool)
988 SWIG_AsBool(PyObject *obj)
989 {
990 return PyObject_IsTrue(obj) ? true : false;
991 }
992
993
994 SWIGSTATICINLINE(int)
995 SWIG_CheckBool(PyObject* obj)
996 {
997 SWIG_AsBool(obj);
998 if (PyErr_Occurred()) {
999 PyErr_Clear();
1000 return 0;
1001 } else {
1002 return 1;
1003 }
1004 }
1005
1006
1007 wxString wxFileSystem_URLToFileName(const wxString& url) {
1008 wxFileName fname = wxFileSystem::URLToFileName(url);
1009 return fname.GetFullPath();
1010 }
1011
1012
1013 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1014 wxImage& image,
1015 long type) {
1016 wxMemoryFSHandler::AddFile(filename, image, type);
1017 }
1018
1019 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1020 const wxBitmap& bitmap,
1021 long type) {
1022 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1023 }
1024
1025 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1026 PyObject* data) {
1027 wxMemoryFSHandler::AddFile(filename,
1028 // TODO: Verify data type
1029 (void*)PyString_AsString(data),
1030 (size_t)PyString_Size(data));
1031 }
1032
1033
1034 #include "wx/wxPython/pyistream.h"
1035
1036
1037 SWIGSTATICINLINE(unsigned long)
1038 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1039 unsigned long max_value)
1040 {
1041 if (!PyErr_Occurred()) {
1042 if (value > max_value) {
1043 PyObject *err =
1044 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1045 value, type, max_value);
1046 PyErr_SetObject(PyExc_OverflowError, err);
1047 Py_DECREF(err);
1048 }
1049 }
1050 return value;
1051 }
1052
1053
1054 SWIGSTATICINLINE(unsigned long)
1055 SWIG_AsUnsignedLong(PyObject * obj)
1056 {
1057 if (PyLong_Check(obj)) {
1058 return PyLong_AsUnsignedLong(obj);
1059 } else {
1060 long i = PyInt_AsLong(obj);
1061 if ( !PyErr_Occurred() && (i < 0)) {
1062 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
1063 }
1064 return i;
1065 }
1066 }
1067
1068
1069 SWIGSTATICINLINE(unsigned char)
1070 SWIG_AsUnsignedChar(PyObject *obj)
1071 {
1072 return swig_numeric_cast(unsigned char,
1073 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1074 "unsigned char", UCHAR_MAX));
1075 }
1076
1077
1078 SWIGSTATICINLINE(int)
1079 SWIG_CheckUnsignedChar(PyObject* obj)
1080 {
1081 SWIG_AsUnsignedChar(obj);
1082 if (PyErr_Occurred()) {
1083 PyErr_Clear();
1084 return 0;
1085 } else {
1086 return 1;
1087 }
1088 }
1089
1090 wxImage *new_wxImage(int width,int height,bool clear){
1091 if (width > 0 && height > 0)
1092 return new wxImage(width, height, clear);
1093 else
1094 return new wxImage;
1095 }
1096 wxImage *new_wxImage(wxBitmap const &bitmap){
1097 return new wxImage(bitmap.ConvertToImage());
1098 }
1099 wxImage *new_wxImage(int width,int height,unsigned char *data){
1100 // Copy the source data so the wxImage can clean it up later
1101 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1102 if (copy == NULL) {
1103 PyErr_NoMemory();
1104 return NULL;
1105 }
1106 memcpy(copy, data, width*height*3);
1107 return new wxImage(width, height, copy, False);
1108 }
1109 PyObject *wxImage_GetData(wxImage *self){
1110 unsigned char* data = self->GetData();
1111 int len = self->GetWidth() * self->GetHeight() * 3;
1112 PyObject* rv;
1113 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1114 return rv;
1115 }
1116 void wxImage_SetData(wxImage *self,PyObject *data){
1117 unsigned char* dataPtr;
1118
1119 if (! PyString_Check(data)) {
1120 PyErr_SetString(PyExc_TypeError, "Expected string object");
1121 return /* NULL */ ;
1122 }
1123
1124 size_t len = self->GetWidth() * self->GetHeight() * 3;
1125 dataPtr = (unsigned char*) malloc(len);
1126 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1127 self->SetData(dataPtr);
1128 // wxImage takes ownership of dataPtr...
1129 }
1130 PyObject *wxImage_GetDataBuffer(wxImage *self){
1131 unsigned char* data = self->GetData();
1132 int len = self->GetWidth() * self->GetHeight() * 3;
1133 PyObject* rv;
1134 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1135 return rv;
1136 }
1137 void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1138 unsigned char* buffer;
1139 int size;
1140
1141 bool blocked = wxPyBeginBlockThreads();
1142 if (!PyArg_Parse(data, "t#", &buffer, &size))
1143 goto done;
1144
1145 if (size != self->GetWidth() * self->GetHeight() * 3) {
1146 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1147 goto done;
1148 }
1149 self->SetData(buffer);
1150 done:
1151 wxPyEndBlockThreads(blocked);
1152 }
1153 PyObject *wxImage_GetAlphaData(wxImage *self){
1154 unsigned char* data = self->GetAlpha();
1155 if (! data) {
1156 RETURN_NONE();
1157 } else {
1158 int len = self->GetWidth() * self->GetHeight();
1159 PyObject* rv;
1160 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1161 return rv;
1162 }
1163 }
1164 void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1165 unsigned char* dataPtr;
1166
1167 if (! PyString_Check(data)) {
1168 PyErr_SetString(PyExc_TypeError, "Expected string object");
1169 return /* NULL */ ;
1170 }
1171
1172 size_t len = self->GetWidth() * self->GetHeight();
1173 dataPtr = (unsigned char*) malloc(len);
1174 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1175 self->SetAlpha(dataPtr);
1176 // wxImage takes ownership of dataPtr...
1177 }
1178 PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1179 unsigned char* data = self->GetAlpha();
1180 int len = self->GetWidth() * self->GetHeight();
1181 PyObject* rv;
1182 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1183 return rv;
1184 }
1185 void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1186 unsigned char* buffer;
1187 int size;
1188
1189 bool blocked = wxPyBeginBlockThreads();
1190 if (!PyArg_Parse(data, "t#", &buffer, &size))
1191 goto done;
1192
1193 if (size != self->GetWidth() * self->GetHeight()) {
1194 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1195 goto done;
1196 }
1197 self->SetAlpha(buffer);
1198 done:
1199 wxPyEndBlockThreads(blocked);
1200 }
1201
1202 SWIGSTATICINLINE(int)
1203 SWIG_CheckUnsignedLong(PyObject* obj)
1204 {
1205 SWIG_AsUnsignedLong(obj);
1206 if (PyErr_Occurred()) {
1207 PyErr_Clear();
1208 return 0;
1209 } else {
1210 return 1;
1211 }
1212 }
1213
1214 wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1215 wxBitmap bitmap(*self);
1216 return bitmap;
1217 }
1218 wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1219 wxImage mono = self->ConvertToMono( red, green, blue );
1220 wxBitmap bitmap( mono, 1 );
1221 return bitmap;
1222 }
1223 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1224 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1225 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1226 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1227 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1228 void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1229 if (PyCallable_Check(func)) {
1230 self->Connect(id, lastId, eventType,
1231 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1232 new wxPyCallback(func));
1233 }
1234 else if (func == Py_None) {
1235 self->Disconnect(id, lastId, eventType,
1236 (wxObjectEventFunction)
1237 &wxPyCallback::EventThunker);
1238 }
1239 else {
1240 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
1241 }
1242 }
1243 bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1244 return self->Disconnect(id, lastId, eventType,
1245 (wxObjectEventFunction)
1246 &wxPyCallback::EventThunker);
1247 }
1248 void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1249 if (_self && _self != Py_None) {
1250 self->SetClientObject(new wxPyOORClientData(_self));
1251 }
1252 else {
1253 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1254 if (data) {
1255 self->SetClientObject(NULL); // This will delete it too
1256 }
1257 }
1258 }
1259 int wxKeyEvent_GetUniChar(wxKeyEvent *self){
1260 #if wxUSE_UNICODE
1261 return self->m_uniChar;
1262 #else
1263 return 0;
1264 #endif
1265 }
1266
1267 #if UINT_MAX < LONG_MAX
1268 #define SWIG_FromUnsignedInt SWIG_FromLong
1269 #else
1270 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1271 #endif
1272
1273
1274 #if UINT_MAX != ULONG_MAX
1275 SWIGSTATICINLINE(unsigned int)
1276 SWIG_AsUnsignedInt(PyObject *obj)
1277 {
1278 return swig_numeric_cast(unsigned int,
1279 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1280 "unsigned int", UINT_MAX));
1281 }
1282 #else
1283 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1284 #endif
1285
1286
1287 SWIGSTATICINLINE(int)
1288 SWIG_CheckUnsignedInt(PyObject* obj)
1289 {
1290 SWIG_AsUnsignedInt(obj);
1291 if (PyErr_Occurred()) {
1292 PyErr_Clear();
1293 return 0;
1294 } else {
1295 return 1;
1296 }
1297 }
1298
1299 void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1300 self->m_size = size;
1301 }
1302 void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1303 self->m_pos = pos;
1304 }
1305 PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1306 int count = self->GetNumberOfFiles();
1307 wxString* files = self->GetFiles();
1308 PyObject* list = PyList_New(count);
1309
1310 if (!list) {
1311 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1312 return NULL;
1313 }
1314
1315 for (int i=0; i<count; i++) {
1316 PyList_SetItem(list, i, wx2PyString(files[i]));
1317 }
1318 return list;
1319 }
1320
1321
1322 wxPyApp *new_wxPyApp(){
1323 wxPythonApp = new wxPyApp();
1324 return wxPythonApp;
1325 }
1326 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1327
1328 void wxApp_CleanUp() {
1329 __wxPyCleanup();
1330 }
1331
1332
1333 wxPyApp* wxGetApp() {
1334 return (wxPyApp*)wxTheApp;
1335 }
1336
1337
1338
1339 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1340 PyObject *wxWindow_GetChildren(wxWindow *self){
1341 wxWindowList& list = self->GetChildren();
1342 return wxPy_ConvertList(&list);
1343 }
1344 bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
1345
1346
1347
1348 return False;
1349
1350 }
1351 bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1352
1353
1354
1355 return False;
1356
1357 }
1358 long wxWindow_GetHandle(wxWindow *self){
1359 return wxPyGetWinHandle(self);
1360 }
1361
1362 wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1363 return wxWindow::FindWindowById(id, parent);
1364 }
1365
1366 wxWindow* wxFindWindowByName( const wxString& name,
1367 const wxWindow *parent = NULL ) {
1368 return wxWindow::FindWindowByName(name, parent);
1369 }
1370
1371 wxWindow* wxFindWindowByLabel( const wxString& label,
1372 const wxWindow *parent = NULL ) {
1373 return wxWindow::FindWindowByLabel(label, parent);
1374 }
1375
1376
1377 #ifdef __WXMSW__
1378 #include <wx/msw/private.h> // to get wxGetWindowId
1379 #endif
1380
1381
1382 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1383 #ifdef __WXMSW__
1384 WXHWND hWnd = (WXHWND)_hWnd;
1385 long id = wxGetWindowId(hWnd);
1386 wxWindow* win = new wxWindow;
1387 parent->AddChild(win);
1388 win->SetEventHandler(win);
1389 win->SetHWND(hWnd);
1390 win->SetId(id);
1391 win->SubclassWin(hWnd);
1392 win->AdoptAttributesFromHWND();
1393 win->SetupColours();
1394 return win;
1395 #else
1396 wxPyRaiseNotImplemented();
1397 return NULL;
1398 #endif
1399 }
1400
1401
1402 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1403 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1404 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1405
1406 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1407
1408 void wxMenu_Destroy(wxMenu *self){ delete self; }
1409 PyObject *wxMenu_GetMenuItems(wxMenu *self){
1410 wxMenuItemList& list = self->GetMenuItems();
1411 return wxPy_ConvertList(&list);
1412 }
1413 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1414 static const wxString wxPyControlNameStr(wxControlNameStr);
1415 int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1416 if (clientData) {
1417 wxPyClientData* data = new wxPyClientData(clientData);
1418 return self->Append(item, data);
1419 } else
1420 return self->Append(item);
1421 }
1422 int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1423 if (clientData) {
1424 wxPyClientData* data = new wxPyClientData(clientData);
1425 return self->Insert(item, pos, data);
1426 } else
1427 return self->Insert(item, pos);
1428 }
1429 PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1430 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1431 if (data) {
1432 Py_INCREF(data->m_obj);
1433 return data->m_obj;
1434 } else {
1435 Py_INCREF(Py_None);
1436 return Py_None;
1437 }
1438 }
1439 void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1440 wxPyClientData* data = new wxPyClientData(clientData);
1441 self->SetClientObject(n, data);
1442 }
1443
1444
1445
1446 #include <float.h>
1447
1448 SWIGSTATIC(float)
1449 SWIG_FloatCast(double value)
1450 {
1451 float f = 0;
1452 if (!PyErr_Occurred()) {
1453 if (value < FLT_MIN) {
1454 PyObject *err =
1455 PyString_FromFormat("value %g is less than float minimum %g",
1456 value, FLT_MIN);
1457 PyErr_SetObject(PyExc_OverflowError, err);
1458 Py_DECREF(err);
1459 } else if (value > FLT_MAX) {
1460 PyObject *err =
1461 PyString_FromFormat("value %g is greater than float maximum %g",
1462 value, FLT_MAX);
1463 PyErr_SetObject(PyExc_OverflowError, err);
1464 Py_DECREF(err);
1465 } else {
1466 f = swig_numeric_cast(float, value);
1467 }
1468 }
1469 return f;
1470 }
1471
1472
1473 SWIGSTATICINLINE(float)
1474 SWIG_AsFloat(PyObject *obj)
1475 {
1476 return SWIG_FloatCast(SWIG_AsDouble(obj));
1477 }
1478
1479
1480 SWIGSTATICINLINE(int)
1481 SWIG_CheckFloat(PyObject* obj)
1482 {
1483 SWIG_AsFloat(obj);
1484 if (PyErr_Occurred()) {
1485 PyErr_Clear();
1486 return 0;
1487 } else {
1488 return 1;
1489 }
1490 }
1491
1492 PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1493 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1494 if (data) {
1495 Py_INCREF(data->m_obj);
1496 return data->m_obj;
1497 } else {
1498 Py_INCREF(Py_None);
1499 return Py_None;
1500 }
1501 }
1502
1503 // Figure out the type of the sizer item
1504
1505 struct wxPySizerItemInfo {
1506 wxPySizerItemInfo()
1507 : window(NULL), sizer(NULL), gotSize(False),
1508 size(wxDefaultSize), gotPos(False), pos(-1)
1509 {}
1510
1511 wxWindow* window;
1512 wxSizer* sizer;
1513 bool gotSize;
1514 wxSize size;
1515 bool gotPos;
1516 int pos;
1517 };
1518
1519 static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1520
1521 wxPySizerItemInfo info;
1522 wxSize size;
1523 wxSize* sizePtr = &size;
1524
1525 // Find out what the type of the item is
1526 // try wxWindow
1527 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1528 PyErr_Clear();
1529 info.window = NULL;
1530
1531 // try wxSizer
1532 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1533 PyErr_Clear();
1534 info.sizer = NULL;
1535
1536 // try wxSize or (w,h)
1537 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1538 info.size = *sizePtr;
1539 info.gotSize = True;
1540 }
1541
1542 // or a single int
1543 if (checkIdx && PyInt_Check(item)) {
1544 info.pos = PyInt_AsLong(item);
1545 info.gotPos = True;
1546 }
1547 }
1548 }
1549
1550 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1551 // no expected type, figure out what kind of error message to generate
1552 if ( !checkSize && !checkIdx )
1553 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1554 else if ( checkSize && !checkIdx )
1555 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1556 else if ( !checkSize && checkIdx)
1557 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1558 else
1559 // can this one happen?
1560 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1561 }
1562
1563 return info;
1564 }
1565
1566 void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1567 self->SetClientObject(new wxPyOORClientData(_self));
1568 }
1569 void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1570
1571 wxPyUserData* data = NULL;
1572 bool blocked = wxPyBeginBlockThreads();
1573 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1574 if ( userData && (info.window || info.sizer || info.gotSize) )
1575 data = new wxPyUserData(userData);
1576 wxPyEndBlockThreads(blocked);
1577
1578 // Now call the real Add method if a valid item type was found
1579 if ( info.window )
1580 self->Add(info.window, proportion, flag, border, data);
1581 else if ( info.sizer )
1582 self->Add(info.sizer, proportion, flag, border, data);
1583 else if (info.gotSize)
1584 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1585 proportion, flag, border, data);
1586 }
1587 void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1588
1589 wxPyUserData* data = NULL;
1590 bool blocked = wxPyBeginBlockThreads();
1591 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1592 if ( userData && (info.window || info.sizer || info.gotSize) )
1593 data = new wxPyUserData(userData);
1594 wxPyEndBlockThreads(blocked);
1595
1596 // Now call the real Insert method if a valid item type was found
1597 if ( info.window )
1598 self->Insert(before, info.window, proportion, flag, border, data);
1599 else if ( info.sizer )
1600 self->Insert(before, info.sizer, proportion, flag, border, data);
1601 else if (info.gotSize)
1602 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1603 proportion, flag, border, data);
1604 }
1605 void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1606
1607 wxPyUserData* data = NULL;
1608 bool blocked = wxPyBeginBlockThreads();
1609 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1610 if ( userData && (info.window || info.sizer || info.gotSize) )
1611 data = new wxPyUserData(userData);
1612 wxPyEndBlockThreads(blocked);
1613
1614 // Now call the real Prepend method if a valid item type was found
1615 if ( info.window )
1616 self->Prepend(info.window, proportion, flag, border, data);
1617 else if ( info.sizer )
1618 self->Prepend(info.sizer, proportion, flag, border, data);
1619 else if (info.gotSize)
1620 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1621 proportion, flag, border, data);
1622 }
1623 bool wxSizer_Remove(wxSizer *self,PyObject *item){
1624 bool blocked = wxPyBeginBlockThreads();
1625 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1626 wxPyEndBlockThreads(blocked);
1627 if ( info.window )
1628 return self->Remove(info.window);
1629 else if ( info.sizer )
1630 return self->Remove(info.sizer);
1631 else if ( info.gotPos )
1632 return self->Remove(info.pos);
1633 else
1634 return False;
1635 }
1636 void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
1637 bool blocked = wxPyBeginBlockThreads();
1638 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1639 wxPyEndBlockThreads(blocked);
1640 if ( info.window )
1641 self->SetItemMinSize(info.window, size);
1642 else if ( info.sizer )
1643 self->SetItemMinSize(info.sizer, size);
1644 else if ( info.gotPos )
1645 self->SetItemMinSize(info.pos, size);
1646 }
1647 PyObject *wxSizer_GetChildren(wxSizer *self){
1648 wxSizerItemList& list = self->GetChildren();
1649 return wxPy_ConvertList(&list);
1650 }
1651 void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
1652 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1653 if ( info.window )
1654 self->Show(info.window, show);
1655 else if ( info.sizer )
1656 self->Show(info.sizer, show);
1657 }
1658 void wxSizer_Hide(wxSizer *self,PyObject *item){
1659 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1660 if ( info.window )
1661 self->Hide(info.window);
1662 else if ( info.sizer )
1663 self->Hide(info.sizer);
1664 }
1665 bool wxSizer_IsShown(wxSizer *self,PyObject *item){
1666 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1667 if ( info.window )
1668 return self->IsShown(info.window);
1669 else if ( info.sizer )
1670 return self->IsShown(info.sizer);
1671 else
1672 return False;
1673 }
1674
1675 // See pyclasses.h
1676 IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1677 IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1678 IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1679
1680
1681
1682
1683 bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1684 {
1685 if (source == Py_None) {
1686 **obj = wxGBPosition(-1,-1);
1687 return True;
1688 }
1689 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1690 }
1691
1692 bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1693 {
1694 if (source == Py_None) {
1695 **obj = wxGBSpan(-1,-1);
1696 return True;
1697 }
1698 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1699 }
1700
1701
1702 void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1703 self->SetRow(row);
1704 self->SetCol(col);
1705 }
1706 PyObject *wxGBPosition_Get(wxGBPosition *self){
1707 bool blocked = wxPyBeginBlockThreads();
1708 PyObject* tup = PyTuple_New(2);
1709 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1710 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1711 wxPyEndBlockThreads(blocked);
1712 return tup;
1713 }
1714 void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1715 self->SetRowspan(rowspan);
1716 self->SetColspan(colspan);
1717 }
1718 PyObject *wxGBSpan_Get(wxGBSpan *self){
1719 bool blocked = wxPyBeginBlockThreads();
1720 PyObject* tup = PyTuple_New(2);
1721 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1722 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1723 wxPyEndBlockThreads(blocked);
1724 return tup;
1725 }
1726 bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1727
1728 wxPyUserData* data = NULL;
1729 bool blocked = wxPyBeginBlockThreads();
1730 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1731 if ( userData && (info.window || info.sizer || info.gotSize) )
1732 data = new wxPyUserData(userData);
1733 wxPyEndBlockThreads(blocked);
1734
1735 // Now call the real Add method if a valid item type was found
1736 if ( info.window )
1737 return self->Add(info.window, pos, span, flag, border, data);
1738 else if ( info.sizer )
1739 return self->Add(info.sizer, pos, span, flag, border, data);
1740 else if (info.gotSize)
1741 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1742 pos, span, flag, border, data);
1743 return False;
1744 }
1745
1746
1747 #ifdef __cplusplus
1748 extern "C" {
1749 #endif
1750 static int _wrap_EmptyString_set(PyObject *) {
1751 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1752 return 1;
1753 }
1754
1755
1756 static PyObject *_wrap_EmptyString_get() {
1757 PyObject *pyobj;
1758
1759 {
1760 #if wxUSE_UNICODE
1761 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1762 #else
1763 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1764 #endif
1765 }
1766 return pyobj;
1767 }
1768
1769
1770 static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
1771 PyObject *resultobj;
1772 wxObject *arg1 = (wxObject *) 0 ;
1773 wxString result;
1774 PyObject * obj0 = 0 ;
1775 char *kwnames[] = {
1776 (char *) "self", NULL
1777 };
1778
1779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1782 {
1783 PyThreadState* __tstate = wxPyBeginAllowThreads();
1784 result = wxObject_GetClassName(arg1);
1785
1786 wxPyEndAllowThreads(__tstate);
1787 if (PyErr_Occurred()) SWIG_fail;
1788 }
1789 {
1790 #if wxUSE_UNICODE
1791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1792 #else
1793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1794 #endif
1795 }
1796 return resultobj;
1797 fail:
1798 return NULL;
1799 }
1800
1801
1802 static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
1803 PyObject *resultobj;
1804 wxObject *arg1 = (wxObject *) 0 ;
1805 PyObject * obj0 = 0 ;
1806 char *kwnames[] = {
1807 (char *) "self", NULL
1808 };
1809
1810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 wxObject_Destroy(arg1);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 Py_INCREF(Py_None); resultobj = Py_None;
1821 return resultobj;
1822 fail:
1823 return NULL;
1824 }
1825
1826
1827 static PyObject * Object_swigregister(PyObject *, PyObject *args) {
1828 PyObject *obj;
1829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1830 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1831 Py_INCREF(obj);
1832 return Py_BuildValue((char *)"");
1833 }
1834 static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
1835 PyObject *resultobj;
1836 wxSize *arg1 = (wxSize *) 0 ;
1837 int arg2 ;
1838 PyObject * obj0 = 0 ;
1839 PyObject * obj1 = 0 ;
1840 char *kwnames[] = {
1841 (char *) "self",(char *) "x", NULL
1842 };
1843
1844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
1845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1847 arg2 = (int) SWIG_AsInt(obj1);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 if (arg1) (arg1)->x = arg2;
1850
1851 Py_INCREF(Py_None); resultobj = Py_None;
1852 return resultobj;
1853 fail:
1854 return NULL;
1855 }
1856
1857
1858 static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
1859 PyObject *resultobj;
1860 wxSize *arg1 = (wxSize *) 0 ;
1861 int result;
1862 PyObject * obj0 = 0 ;
1863 char *kwnames[] = {
1864 (char *) "self", NULL
1865 };
1866
1867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1870 result = (int) ((arg1)->x);
1871
1872 resultobj = SWIG_FromInt((int)result);
1873 return resultobj;
1874 fail:
1875 return NULL;
1876 }
1877
1878
1879 static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
1880 PyObject *resultobj;
1881 wxSize *arg1 = (wxSize *) 0 ;
1882 int arg2 ;
1883 PyObject * obj0 = 0 ;
1884 PyObject * obj1 = 0 ;
1885 char *kwnames[] = {
1886 (char *) "self",(char *) "y", NULL
1887 };
1888
1889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
1890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1892 arg2 = (int) SWIG_AsInt(obj1);
1893 if (PyErr_Occurred()) SWIG_fail;
1894 if (arg1) (arg1)->y = arg2;
1895
1896 Py_INCREF(Py_None); resultobj = Py_None;
1897 return resultobj;
1898 fail:
1899 return NULL;
1900 }
1901
1902
1903 static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
1904 PyObject *resultobj;
1905 wxSize *arg1 = (wxSize *) 0 ;
1906 int result;
1907 PyObject * obj0 = 0 ;
1908 char *kwnames[] = {
1909 (char *) "self", NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1915 result = (int) ((arg1)->y);
1916
1917 resultobj = SWIG_FromInt((int)result);
1918 return resultobj;
1919 fail:
1920 return NULL;
1921 }
1922
1923
1924 static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) {
1925 PyObject *resultobj;
1926 int arg1 = (int) 0 ;
1927 int arg2 = (int) 0 ;
1928 wxSize *result;
1929 PyObject * obj0 = 0 ;
1930 PyObject * obj1 = 0 ;
1931 char *kwnames[] = {
1932 (char *) "w",(char *) "h", NULL
1933 };
1934
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1936 if (obj0) {
1937 arg1 = (int) SWIG_AsInt(obj0);
1938 if (PyErr_Occurred()) SWIG_fail;
1939 }
1940 if (obj1) {
1941 arg2 = (int) SWIG_AsInt(obj1);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 result = (wxSize *)new wxSize(arg1,arg2);
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
1952 return resultobj;
1953 fail:
1954 return NULL;
1955 }
1956
1957
1958 static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) {
1959 PyObject *resultobj;
1960 wxSize *arg1 = (wxSize *) 0 ;
1961 PyObject * obj0 = 0 ;
1962 char *kwnames[] = {
1963 (char *) "self", NULL
1964 };
1965
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1969 {
1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
1971 delete arg1;
1972
1973 wxPyEndAllowThreads(__tstate);
1974 if (PyErr_Occurred()) SWIG_fail;
1975 }
1976 Py_INCREF(Py_None); resultobj = Py_None;
1977 return resultobj;
1978 fail:
1979 return NULL;
1980 }
1981
1982
1983 static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
1984 PyObject *resultobj;
1985 wxSize *arg1 = (wxSize *) 0 ;
1986 wxSize *arg2 = 0 ;
1987 bool result;
1988 wxSize temp2 ;
1989 PyObject * obj0 = 0 ;
1990 PyObject * obj1 = 0 ;
1991 char *kwnames[] = {
1992 (char *) "self",(char *) "sz", NULL
1993 };
1994
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
1996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1998 {
1999 arg2 = &temp2;
2000 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2001 }
2002 {
2003 PyThreadState* __tstate = wxPyBeginAllowThreads();
2004 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
2005
2006 wxPyEndAllowThreads(__tstate);
2007 if (PyErr_Occurred()) SWIG_fail;
2008 }
2009 {
2010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2011 }
2012 return resultobj;
2013 fail:
2014 return NULL;
2015 }
2016
2017
2018 static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
2019 PyObject *resultobj;
2020 wxSize *arg1 = (wxSize *) 0 ;
2021 wxSize *arg2 = 0 ;
2022 bool result;
2023 wxSize temp2 ;
2024 PyObject * obj0 = 0 ;
2025 PyObject * obj1 = 0 ;
2026 char *kwnames[] = {
2027 (char *) "self",(char *) "sz", NULL
2028 };
2029
2030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
2031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2033 {
2034 arg2 = &temp2;
2035 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2036 }
2037 {
2038 PyThreadState* __tstate = wxPyBeginAllowThreads();
2039 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
2040
2041 wxPyEndAllowThreads(__tstate);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
2044 {
2045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2046 }
2047 return resultobj;
2048 fail:
2049 return NULL;
2050 }
2051
2052
2053 static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) {
2054 PyObject *resultobj;
2055 wxSize *arg1 = (wxSize *) 0 ;
2056 wxSize *arg2 = 0 ;
2057 wxSize result;
2058 wxSize temp2 ;
2059 PyObject * obj0 = 0 ;
2060 PyObject * obj1 = 0 ;
2061 char *kwnames[] = {
2062 (char *) "self",(char *) "sz", NULL
2063 };
2064
2065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
2066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2068 {
2069 arg2 = &temp2;
2070 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2071 }
2072 {
2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
2074 result = (arg1)->operator +((wxSize const &)*arg2);
2075
2076 wxPyEndAllowThreads(__tstate);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 }
2079 {
2080 wxSize * resultptr;
2081 resultptr = new wxSize((wxSize &) result);
2082 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2083 }
2084 return resultobj;
2085 fail:
2086 return NULL;
2087 }
2088
2089
2090 static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
2091 PyObject *resultobj;
2092 wxSize *arg1 = (wxSize *) 0 ;
2093 wxSize *arg2 = 0 ;
2094 wxSize result;
2095 wxSize temp2 ;
2096 PyObject * obj0 = 0 ;
2097 PyObject * obj1 = 0 ;
2098 char *kwnames[] = {
2099 (char *) "self",(char *) "sz", NULL
2100 };
2101
2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
2103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2105 {
2106 arg2 = &temp2;
2107 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2108 }
2109 {
2110 PyThreadState* __tstate = wxPyBeginAllowThreads();
2111 result = (arg1)->operator -((wxSize const &)*arg2);
2112
2113 wxPyEndAllowThreads(__tstate);
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 {
2117 wxSize * resultptr;
2118 resultptr = new wxSize((wxSize &) result);
2119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2120 }
2121 return resultobj;
2122 fail:
2123 return NULL;
2124 }
2125
2126
2127 static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) {
2128 PyObject *resultobj;
2129 wxSize *arg1 = (wxSize *) 0 ;
2130 wxSize *arg2 = 0 ;
2131 wxSize temp2 ;
2132 PyObject * obj0 = 0 ;
2133 PyObject * obj1 = 0 ;
2134 char *kwnames[] = {
2135 (char *) "self",(char *) "sz", NULL
2136 };
2137
2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
2139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2141 {
2142 arg2 = &temp2;
2143 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2144 }
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 (arg1)->IncTo((wxSize const &)*arg2);
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 Py_INCREF(Py_None); resultobj = Py_None;
2153 return resultobj;
2154 fail:
2155 return NULL;
2156 }
2157
2158
2159 static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) {
2160 PyObject *resultobj;
2161 wxSize *arg1 = (wxSize *) 0 ;
2162 wxSize *arg2 = 0 ;
2163 wxSize temp2 ;
2164 PyObject * obj0 = 0 ;
2165 PyObject * obj1 = 0 ;
2166 char *kwnames[] = {
2167 (char *) "self",(char *) "sz", NULL
2168 };
2169
2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
2171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2173 {
2174 arg2 = &temp2;
2175 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2176 }
2177 {
2178 PyThreadState* __tstate = wxPyBeginAllowThreads();
2179 (arg1)->DecTo((wxSize const &)*arg2);
2180
2181 wxPyEndAllowThreads(__tstate);
2182 if (PyErr_Occurred()) SWIG_fail;
2183 }
2184 Py_INCREF(Py_None); resultobj = Py_None;
2185 return resultobj;
2186 fail:
2187 return NULL;
2188 }
2189
2190
2191 static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) {
2192 PyObject *resultobj;
2193 wxSize *arg1 = (wxSize *) 0 ;
2194 int arg2 ;
2195 int arg3 ;
2196 PyObject * obj0 = 0 ;
2197 PyObject * obj1 = 0 ;
2198 PyObject * obj2 = 0 ;
2199 char *kwnames[] = {
2200 (char *) "self",(char *) "w",(char *) "h", NULL
2201 };
2202
2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2206 arg2 = (int) SWIG_AsInt(obj1);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 arg3 = (int) SWIG_AsInt(obj2);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 {
2211 PyThreadState* __tstate = wxPyBeginAllowThreads();
2212 (arg1)->Set(arg2,arg3);
2213
2214 wxPyEndAllowThreads(__tstate);
2215 if (PyErr_Occurred()) SWIG_fail;
2216 }
2217 Py_INCREF(Py_None); resultobj = Py_None;
2218 return resultobj;
2219 fail:
2220 return NULL;
2221 }
2222
2223
2224 static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2225 PyObject *resultobj;
2226 wxSize *arg1 = (wxSize *) 0 ;
2227 int arg2 ;
2228 PyObject * obj0 = 0 ;
2229 PyObject * obj1 = 0 ;
2230 char *kwnames[] = {
2231 (char *) "self",(char *) "w", NULL
2232 };
2233
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2237 arg2 = (int) SWIG_AsInt(obj1);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 {
2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
2241 (arg1)->SetWidth(arg2);
2242
2243 wxPyEndAllowThreads(__tstate);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 Py_INCREF(Py_None); resultobj = Py_None;
2247 return resultobj;
2248 fail:
2249 return NULL;
2250 }
2251
2252
2253 static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
2254 PyObject *resultobj;
2255 wxSize *arg1 = (wxSize *) 0 ;
2256 int arg2 ;
2257 PyObject * obj0 = 0 ;
2258 PyObject * obj1 = 0 ;
2259 char *kwnames[] = {
2260 (char *) "self",(char *) "h", NULL
2261 };
2262
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2266 arg2 = (int) SWIG_AsInt(obj1);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 (arg1)->SetHeight(arg2);
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) SWIG_fail;
2274 }
2275 Py_INCREF(Py_None); resultobj = Py_None;
2276 return resultobj;
2277 fail:
2278 return NULL;
2279 }
2280
2281
2282 static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2283 PyObject *resultobj;
2284 wxSize *arg1 = (wxSize *) 0 ;
2285 int result;
2286 PyObject * obj0 = 0 ;
2287 char *kwnames[] = {
2288 (char *) "self", NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
2292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 result = (int)((wxSize const *)arg1)->GetWidth();
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
2301 resultobj = SWIG_FromInt((int)result);
2302 return resultobj;
2303 fail:
2304 return NULL;
2305 }
2306
2307
2308 static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
2309 PyObject *resultobj;
2310 wxSize *arg1 = (wxSize *) 0 ;
2311 int result;
2312 PyObject * obj0 = 0 ;
2313 char *kwnames[] = {
2314 (char *) "self", NULL
2315 };
2316
2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
2318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 result = (int)((wxSize const *)arg1)->GetHeight();
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 resultobj = SWIG_FromInt((int)result);
2328 return resultobj;
2329 fail:
2330 return NULL;
2331 }
2332
2333
2334 static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) {
2335 PyObject *resultobj;
2336 wxSize *arg1 = (wxSize *) 0 ;
2337 PyObject *result;
2338 PyObject * obj0 = 0 ;
2339 char *kwnames[] = {
2340 (char *) "self", NULL
2341 };
2342
2343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
2344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2346 {
2347 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348 result = (PyObject *)wxSize_Get(arg1);
2349
2350 wxPyEndAllowThreads(__tstate);
2351 if (PyErr_Occurred()) SWIG_fail;
2352 }
2353 resultobj = result;
2354 return resultobj;
2355 fail:
2356 return NULL;
2357 }
2358
2359
2360 static PyObject * Size_swigregister(PyObject *, PyObject *args) {
2361 PyObject *obj;
2362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2363 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2364 Py_INCREF(obj);
2365 return Py_BuildValue((char *)"");
2366 }
2367 static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
2368 PyObject *resultobj;
2369 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2370 double arg2 ;
2371 PyObject * obj0 = 0 ;
2372 PyObject * obj1 = 0 ;
2373 char *kwnames[] = {
2374 (char *) "self",(char *) "x", NULL
2375 };
2376
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
2378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2380 arg2 = (double) SWIG_AsDouble(obj1);
2381 if (PyErr_Occurred()) SWIG_fail;
2382 if (arg1) (arg1)->x = arg2;
2383
2384 Py_INCREF(Py_None); resultobj = Py_None;
2385 return resultobj;
2386 fail:
2387 return NULL;
2388 }
2389
2390
2391 static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
2392 PyObject *resultobj;
2393 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2394 double result;
2395 PyObject * obj0 = 0 ;
2396 char *kwnames[] = {
2397 (char *) "self", NULL
2398 };
2399
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
2401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2403 result = (double) ((arg1)->x);
2404
2405 resultobj = SWIG_FromDouble((double)result);
2406 return resultobj;
2407 fail:
2408 return NULL;
2409 }
2410
2411
2412 static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
2413 PyObject *resultobj;
2414 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2415 double arg2 ;
2416 PyObject * obj0 = 0 ;
2417 PyObject * obj1 = 0 ;
2418 char *kwnames[] = {
2419 (char *) "self",(char *) "y", NULL
2420 };
2421
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
2423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2425 arg2 = (double) SWIG_AsDouble(obj1);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 if (arg1) (arg1)->y = arg2;
2428
2429 Py_INCREF(Py_None); resultobj = Py_None;
2430 return resultobj;
2431 fail:
2432 return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
2437 PyObject *resultobj;
2438 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2439 double result;
2440 PyObject * obj0 = 0 ;
2441 char *kwnames[] = {
2442 (char *) "self", NULL
2443 };
2444
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
2446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2448 result = (double) ((arg1)->y);
2449
2450 resultobj = SWIG_FromDouble((double)result);
2451 return resultobj;
2452 fail:
2453 return NULL;
2454 }
2455
2456
2457 static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
2458 PyObject *resultobj;
2459 double arg1 = (double) 0.0 ;
2460 double arg2 = (double) 0.0 ;
2461 wxRealPoint *result;
2462 PyObject * obj0 = 0 ;
2463 PyObject * obj1 = 0 ;
2464 char *kwnames[] = {
2465 (char *) "x",(char *) "y", NULL
2466 };
2467
2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2469 if (obj0) {
2470 arg1 = (double) SWIG_AsDouble(obj0);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 if (obj1) {
2474 arg2 = (double) SWIG_AsDouble(obj1);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 }
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
2485 return resultobj;
2486 fail:
2487 return NULL;
2488 }
2489
2490
2491 static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
2492 PyObject *resultobj;
2493 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2494 PyObject * obj0 = 0 ;
2495 char *kwnames[] = {
2496 (char *) "self", NULL
2497 };
2498
2499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
2500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2502 {
2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
2504 delete arg1;
2505
2506 wxPyEndAllowThreads(__tstate);
2507 if (PyErr_Occurred()) SWIG_fail;
2508 }
2509 Py_INCREF(Py_None); resultobj = Py_None;
2510 return resultobj;
2511 fail:
2512 return NULL;
2513 }
2514
2515
2516 static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
2517 PyObject *resultobj;
2518 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2519 wxRealPoint *arg2 = 0 ;
2520 bool result;
2521 wxRealPoint temp2 ;
2522 PyObject * obj0 = 0 ;
2523 PyObject * obj1 = 0 ;
2524 char *kwnames[] = {
2525 (char *) "self",(char *) "pt", NULL
2526 };
2527
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2531 {
2532 arg2 = &temp2;
2533 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2534 }
2535 {
2536 PyThreadState* __tstate = wxPyBeginAllowThreads();
2537 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
2538
2539 wxPyEndAllowThreads(__tstate);
2540 if (PyErr_Occurred()) SWIG_fail;
2541 }
2542 {
2543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2544 }
2545 return resultobj;
2546 fail:
2547 return NULL;
2548 }
2549
2550
2551 static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
2552 PyObject *resultobj;
2553 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2554 wxRealPoint *arg2 = 0 ;
2555 bool result;
2556 wxRealPoint temp2 ;
2557 PyObject * obj0 = 0 ;
2558 PyObject * obj1 = 0 ;
2559 char *kwnames[] = {
2560 (char *) "self",(char *) "pt", NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2566 {
2567 arg2 = &temp2;
2568 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2569 }
2570 {
2571 PyThreadState* __tstate = wxPyBeginAllowThreads();
2572 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
2573
2574 wxPyEndAllowThreads(__tstate);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
2577 {
2578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2579 }
2580 return resultobj;
2581 fail:
2582 return NULL;
2583 }
2584
2585
2586 static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) {
2587 PyObject *resultobj;
2588 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2589 wxRealPoint *arg2 = 0 ;
2590 wxRealPoint result;
2591 wxRealPoint temp2 ;
2592 PyObject * obj0 = 0 ;
2593 PyObject * obj1 = 0 ;
2594 char *kwnames[] = {
2595 (char *) "self",(char *) "pt", NULL
2596 };
2597
2598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2601 {
2602 arg2 = &temp2;
2603 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2604 }
2605 {
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 result = (arg1)->operator +((wxRealPoint const &)*arg2);
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) SWIG_fail;
2611 }
2612 {
2613 wxRealPoint * resultptr;
2614 resultptr = new wxRealPoint((wxRealPoint &) result);
2615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
2616 }
2617 return resultobj;
2618 fail:
2619 return NULL;
2620 }
2621
2622
2623 static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2626 wxRealPoint *arg2 = 0 ;
2627 wxRealPoint result;
2628 wxRealPoint temp2 ;
2629 PyObject * obj0 = 0 ;
2630 PyObject * obj1 = 0 ;
2631 char *kwnames[] = {
2632 (char *) "self",(char *) "pt", NULL
2633 };
2634
2635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2638 {
2639 arg2 = &temp2;
2640 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2641 }
2642 {
2643 PyThreadState* __tstate = wxPyBeginAllowThreads();
2644 result = (arg1)->operator -((wxRealPoint const &)*arg2);
2645
2646 wxPyEndAllowThreads(__tstate);
2647 if (PyErr_Occurred()) SWIG_fail;
2648 }
2649 {
2650 wxRealPoint * resultptr;
2651 resultptr = new wxRealPoint((wxRealPoint &) result);
2652 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
2653 }
2654 return resultobj;
2655 fail:
2656 return NULL;
2657 }
2658
2659
2660 static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
2661 PyObject *resultobj;
2662 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2663 double arg2 ;
2664 double arg3 ;
2665 PyObject * obj0 = 0 ;
2666 PyObject * obj1 = 0 ;
2667 PyObject * obj2 = 0 ;
2668 char *kwnames[] = {
2669 (char *) "self",(char *) "x",(char *) "y", NULL
2670 };
2671
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2675 arg2 = (double) SWIG_AsDouble(obj1);
2676 if (PyErr_Occurred()) SWIG_fail;
2677 arg3 = (double) SWIG_AsDouble(obj2);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
2681 wxRealPoint_Set(arg1,arg2,arg3);
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
2686 Py_INCREF(Py_None); resultobj = Py_None;
2687 return resultobj;
2688 fail:
2689 return NULL;
2690 }
2691
2692
2693 static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) {
2694 PyObject *resultobj;
2695 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2696 PyObject *result;
2697 PyObject * obj0 = 0 ;
2698 char *kwnames[] = {
2699 (char *) "self", NULL
2700 };
2701
2702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2705 {
2706 PyThreadState* __tstate = wxPyBeginAllowThreads();
2707 result = (PyObject *)wxRealPoint_Get(arg1);
2708
2709 wxPyEndAllowThreads(__tstate);
2710 if (PyErr_Occurred()) SWIG_fail;
2711 }
2712 resultobj = result;
2713 return resultobj;
2714 fail:
2715 return NULL;
2716 }
2717
2718
2719 static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) {
2720 PyObject *obj;
2721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2722 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2723 Py_INCREF(obj);
2724 return Py_BuildValue((char *)"");
2725 }
2726 static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
2727 PyObject *resultobj;
2728 wxPoint *arg1 = (wxPoint *) 0 ;
2729 int arg2 ;
2730 PyObject * obj0 = 0 ;
2731 PyObject * obj1 = 0 ;
2732 char *kwnames[] = {
2733 (char *) "self",(char *) "x", NULL
2734 };
2735
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
2737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2739 arg2 = (int) SWIG_AsInt(obj1);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 if (arg1) (arg1)->x = arg2;
2742
2743 Py_INCREF(Py_None); resultobj = Py_None;
2744 return resultobj;
2745 fail:
2746 return NULL;
2747 }
2748
2749
2750 static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj;
2752 wxPoint *arg1 = (wxPoint *) 0 ;
2753 int result;
2754 PyObject * obj0 = 0 ;
2755 char *kwnames[] = {
2756 (char *) "self", NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2762 result = (int) ((arg1)->x);
2763
2764 resultobj = SWIG_FromInt((int)result);
2765 return resultobj;
2766 fail:
2767 return NULL;
2768 }
2769
2770
2771 static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
2772 PyObject *resultobj;
2773 wxPoint *arg1 = (wxPoint *) 0 ;
2774 int arg2 ;
2775 PyObject * obj0 = 0 ;
2776 PyObject * obj1 = 0 ;
2777 char *kwnames[] = {
2778 (char *) "self",(char *) "y", NULL
2779 };
2780
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
2782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2784 arg2 = (int) SWIG_AsInt(obj1);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 if (arg1) (arg1)->y = arg2;
2787
2788 Py_INCREF(Py_None); resultobj = Py_None;
2789 return resultobj;
2790 fail:
2791 return NULL;
2792 }
2793
2794
2795 static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
2796 PyObject *resultobj;
2797 wxPoint *arg1 = (wxPoint *) 0 ;
2798 int result;
2799 PyObject * obj0 = 0 ;
2800 char *kwnames[] = {
2801 (char *) "self", NULL
2802 };
2803
2804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2807 result = (int) ((arg1)->y);
2808
2809 resultobj = SWIG_FromInt((int)result);
2810 return resultobj;
2811 fail:
2812 return NULL;
2813 }
2814
2815
2816 static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) {
2817 PyObject *resultobj;
2818 int arg1 = (int) 0 ;
2819 int arg2 = (int) 0 ;
2820 wxPoint *result;
2821 PyObject * obj0 = 0 ;
2822 PyObject * obj1 = 0 ;
2823 char *kwnames[] = {
2824 (char *) "x",(char *) "y", NULL
2825 };
2826
2827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2828 if (obj0) {
2829 arg1 = (int) SWIG_AsInt(obj0);
2830 if (PyErr_Occurred()) SWIG_fail;
2831 }
2832 if (obj1) {
2833 arg2 = (int) SWIG_AsInt(obj1);
2834 if (PyErr_Occurred()) SWIG_fail;
2835 }
2836 {
2837 PyThreadState* __tstate = wxPyBeginAllowThreads();
2838 result = (wxPoint *)new wxPoint(arg1,arg2);
2839
2840 wxPyEndAllowThreads(__tstate);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 }
2843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
2844 return resultobj;
2845 fail:
2846 return NULL;
2847 }
2848
2849
2850 static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) {
2851 PyObject *resultobj;
2852 wxPoint *arg1 = (wxPoint *) 0 ;
2853 PyObject * obj0 = 0 ;
2854 char *kwnames[] = {
2855 (char *) "self", NULL
2856 };
2857
2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2861 {
2862 PyThreadState* __tstate = wxPyBeginAllowThreads();
2863 delete arg1;
2864
2865 wxPyEndAllowThreads(__tstate);
2866 if (PyErr_Occurred()) SWIG_fail;
2867 }
2868 Py_INCREF(Py_None); resultobj = Py_None;
2869 return resultobj;
2870 fail:
2871 return NULL;
2872 }
2873
2874
2875 static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
2876 PyObject *resultobj;
2877 wxPoint *arg1 = (wxPoint *) 0 ;
2878 wxPoint *arg2 = 0 ;
2879 bool result;
2880 wxPoint temp2 ;
2881 PyObject * obj0 = 0 ;
2882 PyObject * obj1 = 0 ;
2883 char *kwnames[] = {
2884 (char *) "self",(char *) "pt", NULL
2885 };
2886
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2890 {
2891 arg2 = &temp2;
2892 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2893 }
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 {
2902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2903 }
2904 return resultobj;
2905 fail:
2906 return NULL;
2907 }
2908
2909
2910 static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
2911 PyObject *resultobj;
2912 wxPoint *arg1 = (wxPoint *) 0 ;
2913 wxPoint *arg2 = 0 ;
2914 bool result;
2915 wxPoint temp2 ;
2916 PyObject * obj0 = 0 ;
2917 PyObject * obj1 = 0 ;
2918 char *kwnames[] = {
2919 (char *) "self",(char *) "pt", NULL
2920 };
2921
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2925 {
2926 arg2 = &temp2;
2927 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2928 }
2929 {
2930 PyThreadState* __tstate = wxPyBeginAllowThreads();
2931 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
2932
2933 wxPyEndAllowThreads(__tstate);
2934 if (PyErr_Occurred()) SWIG_fail;
2935 }
2936 {
2937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2938 }
2939 return resultobj;
2940 fail:
2941 return NULL;
2942 }
2943
2944
2945 static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) {
2946 PyObject *resultobj;
2947 wxPoint *arg1 = (wxPoint *) 0 ;
2948 wxPoint *arg2 = 0 ;
2949 wxPoint result;
2950 wxPoint temp2 ;
2951 PyObject * obj0 = 0 ;
2952 PyObject * obj1 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self",(char *) "pt", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2960 {
2961 arg2 = &temp2;
2962 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2963 }
2964 {
2965 PyThreadState* __tstate = wxPyBeginAllowThreads();
2966 result = (arg1)->operator +((wxPoint const &)*arg2);
2967
2968 wxPyEndAllowThreads(__tstate);
2969 if (PyErr_Occurred()) SWIG_fail;
2970 }
2971 {
2972 wxPoint * resultptr;
2973 resultptr = new wxPoint((wxPoint &) result);
2974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2975 }
2976 return resultobj;
2977 fail:
2978 return NULL;
2979 }
2980
2981
2982 static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
2983 PyObject *resultobj;
2984 wxPoint *arg1 = (wxPoint *) 0 ;
2985 wxPoint *arg2 = 0 ;
2986 wxPoint result;
2987 wxPoint temp2 ;
2988 PyObject * obj0 = 0 ;
2989 PyObject * obj1 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self",(char *) "pt", NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2997 {
2998 arg2 = &temp2;
2999 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3000 }
3001 {
3002 PyThreadState* __tstate = wxPyBeginAllowThreads();
3003 result = (arg1)->operator -((wxPoint const &)*arg2);
3004
3005 wxPyEndAllowThreads(__tstate);
3006 if (PyErr_Occurred()) SWIG_fail;
3007 }
3008 {
3009 wxPoint * resultptr;
3010 resultptr = new wxPoint((wxPoint &) result);
3011 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3012 }
3013 return resultobj;
3014 fail:
3015 return NULL;
3016 }
3017
3018
3019 static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
3020 PyObject *resultobj;
3021 wxPoint *arg1 = (wxPoint *) 0 ;
3022 wxPoint *arg2 = 0 ;
3023 wxPoint *result;
3024 wxPoint temp2 ;
3025 PyObject * obj0 = 0 ;
3026 PyObject * obj1 = 0 ;
3027 char *kwnames[] = {
3028 (char *) "self",(char *) "pt", NULL
3029 };
3030
3031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
3032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3034 {
3035 arg2 = &temp2;
3036 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3037 }
3038 {
3039 PyThreadState* __tstate = wxPyBeginAllowThreads();
3040 {
3041 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3042 result = (wxPoint *) &_result_ref;
3043 }
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3049 return resultobj;
3050 fail:
3051 return NULL;
3052 }
3053
3054
3055 static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxPoint *arg1 = (wxPoint *) 0 ;
3058 wxPoint *arg2 = 0 ;
3059 wxPoint *result;
3060 wxPoint temp2 ;
3061 PyObject * obj0 = 0 ;
3062 PyObject * obj1 = 0 ;
3063 char *kwnames[] = {
3064 (char *) "self",(char *) "pt", NULL
3065 };
3066
3067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
3068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3070 {
3071 arg2 = &temp2;
3072 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3073 }
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 {
3077 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3078 result = (wxPoint *) &_result_ref;
3079 }
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3085 return resultobj;
3086 fail:
3087 return NULL;
3088 }
3089
3090
3091 static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxPoint *arg1 = (wxPoint *) 0 ;
3094 long arg2 ;
3095 long arg3 ;
3096 PyObject * obj0 = 0 ;
3097 PyObject * obj1 = 0 ;
3098 PyObject * obj2 = 0 ;
3099 char *kwnames[] = {
3100 (char *) "self",(char *) "x",(char *) "y", NULL
3101 };
3102
3103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
3104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3106 arg2 = (long) SWIG_AsLong(obj1);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 arg3 = (long) SWIG_AsLong(obj2);
3109 if (PyErr_Occurred()) SWIG_fail;
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 wxPoint_Set(arg1,arg2,arg3);
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 Py_INCREF(Py_None); resultobj = Py_None;
3118 return resultobj;
3119 fail:
3120 return NULL;
3121 }
3122
3123
3124 static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) {
3125 PyObject *resultobj;
3126 wxPoint *arg1 = (wxPoint *) 0 ;
3127 PyObject *result;
3128 PyObject * obj0 = 0 ;
3129 char *kwnames[] = {
3130 (char *) "self", NULL
3131 };
3132
3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
3134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3136 {
3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
3138 result = (PyObject *)wxPoint_Get(arg1);
3139
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 resultobj = result;
3144 return resultobj;
3145 fail:
3146 return NULL;
3147 }
3148
3149
3150 static PyObject * Point_swigregister(PyObject *, PyObject *args) {
3151 PyObject *obj;
3152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3153 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3154 Py_INCREF(obj);
3155 return Py_BuildValue((char *)"");
3156 }
3157 static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
3158 PyObject *resultobj;
3159 int arg1 = (int) 0 ;
3160 int arg2 = (int) 0 ;
3161 int arg3 = (int) 0 ;
3162 int arg4 = (int) 0 ;
3163 wxRect *result;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166 PyObject * obj2 = 0 ;
3167 PyObject * obj3 = 0 ;
3168 char *kwnames[] = {
3169 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3173 if (obj0) {
3174 arg1 = (int) SWIG_AsInt(obj0);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 if (obj1) {
3178 arg2 = (int) SWIG_AsInt(obj1);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
3181 if (obj2) {
3182 arg3 = (int) SWIG_AsInt(obj2);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 if (obj3) {
3186 arg4 = (int) SWIG_AsInt(obj3);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 }
3189 {
3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
3191 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3192
3193 wxPyEndAllowThreads(__tstate);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 }
3196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3197 return resultobj;
3198 fail:
3199 return NULL;
3200 }
3201
3202
3203 static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) {
3204 PyObject *resultobj;
3205 wxPoint *arg1 = 0 ;
3206 wxPoint *arg2 = 0 ;
3207 wxRect *result;
3208 wxPoint temp1 ;
3209 wxPoint temp2 ;
3210 PyObject * obj0 = 0 ;
3211 PyObject * obj1 = 0 ;
3212 char *kwnames[] = {
3213 (char *) "topLeft",(char *) "bottomRight", NULL
3214 };
3215
3216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3217 {
3218 arg1 = &temp1;
3219 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3220 }
3221 {
3222 arg2 = &temp2;
3223 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3224 }
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3233 return resultobj;
3234 fail:
3235 return NULL;
3236 }
3237
3238
3239 static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) {
3240 PyObject *resultobj;
3241 wxPoint *arg1 = 0 ;
3242 wxSize *arg2 = 0 ;
3243 wxRect *result;
3244 wxPoint temp1 ;
3245 wxSize temp2 ;
3246 PyObject * obj0 = 0 ;
3247 PyObject * obj1 = 0 ;
3248 char *kwnames[] = {
3249 (char *) "pos",(char *) "size", NULL
3250 };
3251
3252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3253 {
3254 arg1 = &temp1;
3255 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3256 }
3257 {
3258 arg2 = &temp2;
3259 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3260 }
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3269 return resultobj;
3270 fail:
3271 return NULL;
3272 }
3273
3274
3275 static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxRect *arg1 = (wxRect *) 0 ;
3278 PyObject * obj0 = 0 ;
3279 char *kwnames[] = {
3280 (char *) "self", NULL
3281 };
3282
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
3284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
3288 delete arg1;
3289
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 Py_INCREF(Py_None); resultobj = Py_None;
3294 return resultobj;
3295 fail:
3296 return NULL;
3297 }
3298
3299
3300 static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
3301 PyObject *resultobj;
3302 wxRect *arg1 = (wxRect *) 0 ;
3303 int result;
3304 PyObject * obj0 = 0 ;
3305 char *kwnames[] = {
3306 (char *) "self", NULL
3307 };
3308
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
3310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3312 {
3313 PyThreadState* __tstate = wxPyBeginAllowThreads();
3314 result = (int)((wxRect const *)arg1)->GetX();
3315
3316 wxPyEndAllowThreads(__tstate);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 resultobj = SWIG_FromInt((int)result);
3320 return resultobj;
3321 fail:
3322 return NULL;
3323 }
3324
3325
3326 static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
3327 PyObject *resultobj;
3328 wxRect *arg1 = (wxRect *) 0 ;
3329 int arg2 ;
3330 PyObject * obj0 = 0 ;
3331 PyObject * obj1 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self",(char *) "x", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
3337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3339 arg2 = (int) SWIG_AsInt(obj1);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 (arg1)->SetX(arg2);
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 Py_INCREF(Py_None); resultobj = Py_None;
3349 return resultobj;
3350 fail:
3351 return NULL;
3352 }
3353
3354
3355 static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
3356 PyObject *resultobj;
3357 wxRect *arg1 = (wxRect *) 0 ;
3358 int result;
3359 PyObject * obj0 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
3365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3367 {
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 result = (int)(arg1)->GetY();
3370
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 resultobj = SWIG_FromInt((int)result);
3375 return resultobj;
3376 fail:
3377 return NULL;
3378 }
3379
3380
3381 static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
3382 PyObject *resultobj;
3383 wxRect *arg1 = (wxRect *) 0 ;
3384 int arg2 ;
3385 PyObject * obj0 = 0 ;
3386 PyObject * obj1 = 0 ;
3387 char *kwnames[] = {
3388 (char *) "self",(char *) "y", NULL
3389 };
3390
3391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
3392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3394 arg2 = (int) SWIG_AsInt(obj1);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 (arg1)->SetY(arg2);
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 Py_INCREF(Py_None); resultobj = Py_None;
3404 return resultobj;
3405 fail:
3406 return NULL;
3407 }
3408
3409
3410 static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3411 PyObject *resultobj;
3412 wxRect *arg1 = (wxRect *) 0 ;
3413 int result;
3414 PyObject * obj0 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
3420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3422 {
3423 PyThreadState* __tstate = wxPyBeginAllowThreads();
3424 result = (int)((wxRect const *)arg1)->GetWidth();
3425
3426 wxPyEndAllowThreads(__tstate);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
3429 resultobj = SWIG_FromInt((int)result);
3430 return resultobj;
3431 fail:
3432 return NULL;
3433 }
3434
3435
3436 static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3437 PyObject *resultobj;
3438 wxRect *arg1 = (wxRect *) 0 ;
3439 int arg2 ;
3440 PyObject * obj0 = 0 ;
3441 PyObject * obj1 = 0 ;
3442 char *kwnames[] = {
3443 (char *) "self",(char *) "w", NULL
3444 };
3445
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
3447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3449 arg2 = (int) SWIG_AsInt(obj1);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 {
3452 PyThreadState* __tstate = wxPyBeginAllowThreads();
3453 (arg1)->SetWidth(arg2);
3454
3455 wxPyEndAllowThreads(__tstate);
3456 if (PyErr_Occurred()) SWIG_fail;
3457 }
3458 Py_INCREF(Py_None); resultobj = Py_None;
3459 return resultobj;
3460 fail:
3461 return NULL;
3462 }
3463
3464
3465 static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
3466 PyObject *resultobj;
3467 wxRect *arg1 = (wxRect *) 0 ;
3468 int result;
3469 PyObject * obj0 = 0 ;
3470 char *kwnames[] = {
3471 (char *) "self", NULL
3472 };
3473
3474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
3475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3477 {
3478 PyThreadState* __tstate = wxPyBeginAllowThreads();
3479 result = (int)((wxRect const *)arg1)->GetHeight();
3480
3481 wxPyEndAllowThreads(__tstate);
3482 if (PyErr_Occurred()) SWIG_fail;
3483 }
3484 resultobj = SWIG_FromInt((int)result);
3485 return resultobj;
3486 fail:
3487 return NULL;
3488 }
3489
3490
3491 static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
3492 PyObject *resultobj;
3493 wxRect *arg1 = (wxRect *) 0 ;
3494 int arg2 ;
3495 PyObject * obj0 = 0 ;
3496 PyObject * obj1 = 0 ;
3497 char *kwnames[] = {
3498 (char *) "self",(char *) "h", NULL
3499 };
3500
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
3502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3504 arg2 = (int) SWIG_AsInt(obj1);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 {
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
3508 (arg1)->SetHeight(arg2);
3509
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 Py_INCREF(Py_None); resultobj = Py_None;
3514 return resultobj;
3515 fail:
3516 return NULL;
3517 }
3518
3519
3520 static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
3521 PyObject *resultobj;
3522 wxRect *arg1 = (wxRect *) 0 ;
3523 wxPoint result;
3524 PyObject * obj0 = 0 ;
3525 char *kwnames[] = {
3526 (char *) "self", NULL
3527 };
3528
3529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
3530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3532 {
3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
3534 result = ((wxRect const *)arg1)->GetPosition();
3535
3536 wxPyEndAllowThreads(__tstate);
3537 if (PyErr_Occurred()) SWIG_fail;
3538 }
3539 {
3540 wxPoint * resultptr;
3541 resultptr = new wxPoint((wxPoint &) result);
3542 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3543 }
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj;
3552 wxRect *arg1 = (wxRect *) 0 ;
3553 wxPoint *arg2 = 0 ;
3554 wxPoint temp2 ;
3555 PyObject * obj0 = 0 ;
3556 PyObject * obj1 = 0 ;
3557 char *kwnames[] = {
3558 (char *) "self",(char *) "p", NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
3562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3564 {
3565 arg2 = &temp2;
3566 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3567 }
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 (arg1)->SetPosition((wxPoint const &)*arg2);
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 Py_INCREF(Py_None); resultobj = Py_None;
3576 return resultobj;
3577 fail:
3578 return NULL;
3579 }
3580
3581
3582 static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
3583 PyObject *resultobj;
3584 wxRect *arg1 = (wxRect *) 0 ;
3585 wxSize result;
3586 PyObject * obj0 = 0 ;
3587 char *kwnames[] = {
3588 (char *) "self", NULL
3589 };
3590
3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
3592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 result = ((wxRect const *)arg1)->GetSize();
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 {
3602 wxSize * resultptr;
3603 resultptr = new wxSize((wxSize &) result);
3604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3605 }
3606 return resultobj;
3607 fail:
3608 return NULL;
3609 }
3610
3611
3612 static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
3613 PyObject *resultobj;
3614 wxRect *arg1 = (wxRect *) 0 ;
3615 wxSize *arg2 = 0 ;
3616 wxSize temp2 ;
3617 PyObject * obj0 = 0 ;
3618 PyObject * obj1 = 0 ;
3619 char *kwnames[] = {
3620 (char *) "self",(char *) "s", NULL
3621 };
3622
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3626 {
3627 arg2 = &temp2;
3628 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3629 }
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 (arg1)->SetSize((wxSize const &)*arg2);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 Py_INCREF(Py_None); resultobj = Py_None;
3638 return resultobj;
3639 fail:
3640 return NULL;
3641 }
3642
3643
3644 static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
3645 PyObject *resultobj;
3646 wxRect *arg1 = (wxRect *) 0 ;
3647 wxPoint result;
3648 PyObject * obj0 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
3654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = ((wxRect const *)arg1)->GetTopLeft();
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 {
3664 wxPoint * resultptr;
3665 resultptr = new wxPoint((wxPoint &) result);
3666 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3667 }
3668 return resultobj;
3669 fail:
3670 return NULL;
3671 }
3672
3673
3674 static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 wxRect *arg1 = (wxRect *) 0 ;
3677 wxPoint *arg2 = 0 ;
3678 wxPoint temp2 ;
3679 PyObject * obj0 = 0 ;
3680 PyObject * obj1 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self",(char *) "p", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
3686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3688 {
3689 arg2 = &temp2;
3690 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3691 }
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3695
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 Py_INCREF(Py_None); resultobj = Py_None;
3700 return resultobj;
3701 fail:
3702 return NULL;
3703 }
3704
3705
3706 static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
3707 PyObject *resultobj;
3708 wxRect *arg1 = (wxRect *) 0 ;
3709 wxPoint result;
3710 PyObject * obj0 = 0 ;
3711 char *kwnames[] = {
3712 (char *) "self", NULL
3713 };
3714
3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
3716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 result = ((wxRect const *)arg1)->GetBottomRight();
3721
3722 wxPyEndAllowThreads(__tstate);
3723 if (PyErr_Occurred()) SWIG_fail;
3724 }
3725 {
3726 wxPoint * resultptr;
3727 resultptr = new wxPoint((wxPoint &) result);
3728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3729 }
3730 return resultobj;
3731 fail:
3732 return NULL;
3733 }
3734
3735
3736 static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj;
3738 wxRect *arg1 = (wxRect *) 0 ;
3739 wxPoint *arg2 = 0 ;
3740 wxPoint temp2 ;
3741 PyObject * obj0 = 0 ;
3742 PyObject * obj1 = 0 ;
3743 char *kwnames[] = {
3744 (char *) "self",(char *) "p", NULL
3745 };
3746
3747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
3748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3750 {
3751 arg2 = &temp2;
3752 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3753 }
3754 {
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
3756 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3757
3758 wxPyEndAllowThreads(__tstate);
3759 if (PyErr_Occurred()) SWIG_fail;
3760 }
3761 Py_INCREF(Py_None); resultobj = Py_None;
3762 return resultobj;
3763 fail:
3764 return NULL;
3765 }
3766
3767
3768 static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj;
3770 wxRect *arg1 = (wxRect *) 0 ;
3771 int result;
3772 PyObject * obj0 = 0 ;
3773 char *kwnames[] = {
3774 (char *) "self", NULL
3775 };
3776
3777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3780 {
3781 PyThreadState* __tstate = wxPyBeginAllowThreads();
3782 result = (int)((wxRect const *)arg1)->GetLeft();
3783
3784 wxPyEndAllowThreads(__tstate);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 }
3787 resultobj = SWIG_FromInt((int)result);
3788 return resultobj;
3789 fail:
3790 return NULL;
3791 }
3792
3793
3794 static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) {
3795 PyObject *resultobj;
3796 wxRect *arg1 = (wxRect *) 0 ;
3797 int result;
3798 PyObject * obj0 = 0 ;
3799 char *kwnames[] = {
3800 (char *) "self", NULL
3801 };
3802
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 result = (int)((wxRect const *)arg1)->GetTop();
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 resultobj = SWIG_FromInt((int)result);
3814 return resultobj;
3815 fail:
3816 return NULL;
3817 }
3818
3819
3820 static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
3821 PyObject *resultobj;
3822 wxRect *arg1 = (wxRect *) 0 ;
3823 int result;
3824 PyObject * obj0 = 0 ;
3825 char *kwnames[] = {
3826 (char *) "self", NULL
3827 };
3828
3829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 result = (int)((wxRect const *)arg1)->GetBottom();
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 resultobj = SWIG_FromInt((int)result);
3840 return resultobj;
3841 fail:
3842 return NULL;
3843 }
3844
3845
3846 static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) {
3847 PyObject *resultobj;
3848 wxRect *arg1 = (wxRect *) 0 ;
3849 int result;
3850 PyObject * obj0 = 0 ;
3851 char *kwnames[] = {
3852 (char *) "self", NULL
3853 };
3854
3855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 result = (int)((wxRect const *)arg1)->GetRight();
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 resultobj = SWIG_FromInt((int)result);
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxRect *arg1 = (wxRect *) 0 ;
3875 int arg2 ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj1 = 0 ;
3878 char *kwnames[] = {
3879 (char *) "self",(char *) "left", NULL
3880 };
3881
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
3883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3885 arg2 = (int) SWIG_AsInt(obj1);
3886 if (PyErr_Occurred()) SWIG_fail;
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 (arg1)->SetLeft(arg2);
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 Py_INCREF(Py_None); resultobj = Py_None;
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxRect *arg1 = (wxRect *) 0 ;
3904 int arg2 ;
3905 PyObject * obj0 = 0 ;
3906 PyObject * obj1 = 0 ;
3907 char *kwnames[] = {
3908 (char *) "self",(char *) "right", NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
3912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3914 arg2 = (int) SWIG_AsInt(obj1);
3915 if (PyErr_Occurred()) SWIG_fail;
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 (arg1)->SetRight(arg2);
3919
3920 wxPyEndAllowThreads(__tstate);
3921 if (PyErr_Occurred()) SWIG_fail;
3922 }
3923 Py_INCREF(Py_None); resultobj = Py_None;
3924 return resultobj;
3925 fail:
3926 return NULL;
3927 }
3928
3929
3930 static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) {
3931 PyObject *resultobj;
3932 wxRect *arg1 = (wxRect *) 0 ;
3933 int arg2 ;
3934 PyObject * obj0 = 0 ;
3935 PyObject * obj1 = 0 ;
3936 char *kwnames[] = {
3937 (char *) "self",(char *) "top", NULL
3938 };
3939
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
3941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3943 arg2 = (int) SWIG_AsInt(obj1);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 {
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 (arg1)->SetTop(arg2);
3948
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 Py_INCREF(Py_None); resultobj = Py_None;
3953 return resultobj;
3954 fail:
3955 return NULL;
3956 }
3957
3958
3959 static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
3960 PyObject *resultobj;
3961 wxRect *arg1 = (wxRect *) 0 ;
3962 int arg2 ;
3963 PyObject * obj0 = 0 ;
3964 PyObject * obj1 = 0 ;
3965 char *kwnames[] = {
3966 (char *) "self",(char *) "bottom", NULL
3967 };
3968
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
3970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3972 arg2 = (int) SWIG_AsInt(obj1);
3973 if (PyErr_Occurred()) SWIG_fail;
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 (arg1)->SetBottom(arg2);
3977
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 Py_INCREF(Py_None); resultobj = Py_None;
3982 return resultobj;
3983 fail:
3984 return NULL;
3985 }
3986
3987
3988 static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) {
3989 PyObject *resultobj;
3990 wxRect *arg1 = (wxRect *) 0 ;
3991 int arg2 ;
3992 int arg3 ;
3993 wxRect *result;
3994 PyObject * obj0 = 0 ;
3995 PyObject * obj1 = 0 ;
3996 PyObject * obj2 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "self",(char *) "dx",(char *) "dy", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
4002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4004 arg2 = (int) SWIG_AsInt(obj1);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 arg3 = (int) SWIG_AsInt(obj2);
4007 if (PyErr_Occurred()) SWIG_fail;
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 {
4011 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4012 result = (wxRect *) &_result_ref;
4013 }
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxRect *arg1 = (wxRect *) 0 ;
4028 int arg2 ;
4029 int arg3 ;
4030 wxRect *result;
4031 PyObject * obj0 = 0 ;
4032 PyObject * obj1 = 0 ;
4033 PyObject * obj2 = 0 ;
4034 char *kwnames[] = {
4035 (char *) "self",(char *) "dx",(char *) "dy", NULL
4036 };
4037
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
4039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4041 arg2 = (int) SWIG_AsInt(obj1);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 arg3 = (int) SWIG_AsInt(obj2);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 {
4046 PyThreadState* __tstate = wxPyBeginAllowThreads();
4047 {
4048 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4049 result = (wxRect *) &_result_ref;
4050 }
4051
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4056 return resultobj;
4057 fail:
4058 return NULL;
4059 }
4060
4061
4062 static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxRect *arg1 = (wxRect *) 0 ;
4065 int arg2 ;
4066 int arg3 ;
4067 PyObject * obj0 = 0 ;
4068 PyObject * obj1 = 0 ;
4069 PyObject * obj2 = 0 ;
4070 char *kwnames[] = {
4071 (char *) "self",(char *) "dx",(char *) "dy", NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4077 arg2 = (int) SWIG_AsInt(obj1);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 arg3 = (int) SWIG_AsInt(obj2);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 (arg1)->Offset(arg2,arg3);
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 Py_INCREF(Py_None); resultobj = Py_None;
4089 return resultobj;
4090 fail:
4091 return NULL;
4092 }
4093
4094
4095 static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
4096 PyObject *resultobj;
4097 wxRect *arg1 = (wxRect *) 0 ;
4098 wxPoint *arg2 = 0 ;
4099 wxPoint temp2 ;
4100 PyObject * obj0 = 0 ;
4101 PyObject * obj1 = 0 ;
4102 char *kwnames[] = {
4103 (char *) "self",(char *) "pt", NULL
4104 };
4105
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
4107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4109 {
4110 arg2 = &temp2;
4111 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4112 }
4113 {
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 (arg1)->Offset((wxPoint const &)*arg2);
4116
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 Py_INCREF(Py_None); resultobj = Py_None;
4121 return resultobj;
4122 fail:
4123 return NULL;
4124 }
4125
4126
4127 static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
4128 PyObject *resultobj;
4129 wxRect *arg1 = (wxRect *) 0 ;
4130 wxRect *arg2 = 0 ;
4131 wxRect *result;
4132 wxRect temp2 ;
4133 PyObject * obj0 = 0 ;
4134 PyObject * obj1 = 0 ;
4135 char *kwnames[] = {
4136 (char *) "self",(char *) "rect", NULL
4137 };
4138
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
4140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4142 {
4143 arg2 = &temp2;
4144 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4145 }
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 {
4149 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4150 result = (wxRect *) &_result_ref;
4151 }
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4157 return resultobj;
4158 fail:
4159 return NULL;
4160 }
4161
4162
4163 static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) {
4164 PyObject *resultobj;
4165 wxRect *arg1 = (wxRect *) 0 ;
4166 wxRect *arg2 = 0 ;
4167 wxRect result;
4168 wxRect temp2 ;
4169 PyObject * obj0 = 0 ;
4170 PyObject * obj1 = 0 ;
4171 char *kwnames[] = {
4172 (char *) "self",(char *) "rect", NULL
4173 };
4174
4175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
4176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4178 {
4179 arg2 = &temp2;
4180 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4181 }
4182 {
4183 PyThreadState* __tstate = wxPyBeginAllowThreads();
4184 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4185
4186 wxPyEndAllowThreads(__tstate);
4187 if (PyErr_Occurred()) SWIG_fail;
4188 }
4189 {
4190 wxRect * resultptr;
4191 resultptr = new wxRect((wxRect &) result);
4192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4193 }
4194 return resultobj;
4195 fail:
4196 return NULL;
4197 }
4198
4199
4200 static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
4201 PyObject *resultobj;
4202 wxRect *arg1 = (wxRect *) 0 ;
4203 wxRect *arg2 = 0 ;
4204 wxRect *result;
4205 wxRect temp2 ;
4206 PyObject * obj0 = 0 ;
4207 PyObject * obj1 = 0 ;
4208 char *kwnames[] = {
4209 (char *) "self",(char *) "rect", NULL
4210 };
4211
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
4213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4215 {
4216 arg2 = &temp2;
4217 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4218 }
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 {
4222 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4223 result = (wxRect *) &_result_ref;
4224 }
4225
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4230 return resultobj;
4231 fail:
4232 return NULL;
4233 }
4234
4235
4236 static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
4237 PyObject *resultobj;
4238 wxRect *arg1 = (wxRect *) 0 ;
4239 wxRect *arg2 = 0 ;
4240 bool result;
4241 wxRect temp2 ;
4242 PyObject * obj0 = 0 ;
4243 PyObject * obj1 = 0 ;
4244 char *kwnames[] = {
4245 (char *) "self",(char *) "rect", NULL
4246 };
4247
4248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
4249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4251 {
4252 arg2 = &temp2;
4253 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4254 }
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 {
4263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4264 }
4265 return resultobj;
4266 fail:
4267 return NULL;
4268 }
4269
4270
4271 static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
4272 PyObject *resultobj;
4273 wxRect *arg1 = (wxRect *) 0 ;
4274 wxRect *arg2 = 0 ;
4275 bool result;
4276 wxRect temp2 ;
4277 PyObject * obj0 = 0 ;
4278 PyObject * obj1 = 0 ;
4279 char *kwnames[] = {
4280 (char *) "self",(char *) "rect", NULL
4281 };
4282
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
4284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4286 {
4287 arg2 = &temp2;
4288 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4289 }
4290 {
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4293
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 {
4298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4299 }
4300 return resultobj;
4301 fail:
4302 return NULL;
4303 }
4304
4305
4306 static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) {
4307 PyObject *resultobj;
4308 wxRect *arg1 = (wxRect *) 0 ;
4309 int arg2 ;
4310 int arg3 ;
4311 bool result;
4312 PyObject * obj0 = 0 ;
4313 PyObject * obj1 = 0 ;
4314 PyObject * obj2 = 0 ;
4315 char *kwnames[] = {
4316 (char *) "self",(char *) "x",(char *) "y", NULL
4317 };
4318
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4322 arg2 = (int) SWIG_AsInt(obj1);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 arg3 = (int) SWIG_AsInt(obj2);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4329
4330 wxPyEndAllowThreads(__tstate);
4331 if (PyErr_Occurred()) SWIG_fail;
4332 }
4333 {
4334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4335 }
4336 return resultobj;
4337 fail:
4338 return NULL;
4339 }
4340
4341
4342 static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) {
4343 PyObject *resultobj;
4344 wxRect *arg1 = (wxRect *) 0 ;
4345 wxPoint *arg2 = 0 ;
4346 bool result;
4347 wxPoint temp2 ;
4348 PyObject * obj0 = 0 ;
4349 PyObject * obj1 = 0 ;
4350 char *kwnames[] = {
4351 (char *) "self",(char *) "pt", NULL
4352 };
4353
4354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
4355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4357 {
4358 arg2 = &temp2;
4359 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4360 }
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 {
4369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4370 }
4371 return resultobj;
4372 fail:
4373 return NULL;
4374 }
4375
4376
4377 static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
4378 PyObject *resultobj;
4379 wxRect *arg1 = (wxRect *) 0 ;
4380 wxRect *arg2 = 0 ;
4381 bool result;
4382 wxRect temp2 ;
4383 PyObject * obj0 = 0 ;
4384 PyObject * obj1 = 0 ;
4385 char *kwnames[] = {
4386 (char *) "self",(char *) "rect", NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4392 {
4393 arg2 = &temp2;
4394 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4395 }
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 {
4404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4405 }
4406 return resultobj;
4407 fail:
4408 return NULL;
4409 }
4410
4411
4412 static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
4413 PyObject *resultobj;
4414 wxRect *arg1 = (wxRect *) 0 ;
4415 int arg2 ;
4416 PyObject * obj0 = 0 ;
4417 PyObject * obj1 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "x", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4425 arg2 = (int) SWIG_AsInt(obj1);
4426 if (PyErr_Occurred()) SWIG_fail;
4427 if (arg1) (arg1)->x = arg2;
4428
4429 Py_INCREF(Py_None); resultobj = Py_None;
4430 return resultobj;
4431 fail:
4432 return NULL;
4433 }
4434
4435
4436 static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
4437 PyObject *resultobj;
4438 wxRect *arg1 = (wxRect *) 0 ;
4439 int result;
4440 PyObject * obj0 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4448 result = (int) ((arg1)->x);
4449
4450 resultobj = SWIG_FromInt((int)result);
4451 return resultobj;
4452 fail:
4453 return NULL;
4454 }
4455
4456
4457 static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
4458 PyObject *resultobj;
4459 wxRect *arg1 = (wxRect *) 0 ;
4460 int arg2 ;
4461 PyObject * obj0 = 0 ;
4462 PyObject * obj1 = 0 ;
4463 char *kwnames[] = {
4464 (char *) "self",(char *) "y", NULL
4465 };
4466
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
4468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4470 arg2 = (int) SWIG_AsInt(obj1);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 if (arg1) (arg1)->y = arg2;
4473
4474 Py_INCREF(Py_None); resultobj = Py_None;
4475 return resultobj;
4476 fail:
4477 return NULL;
4478 }
4479
4480
4481 static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
4482 PyObject *resultobj;
4483 wxRect *arg1 = (wxRect *) 0 ;
4484 int result;
4485 PyObject * obj0 = 0 ;
4486 char *kwnames[] = {
4487 (char *) "self", NULL
4488 };
4489
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
4491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4493 result = (int) ((arg1)->y);
4494
4495 resultobj = SWIG_FromInt((int)result);
4496 return resultobj;
4497 fail:
4498 return NULL;
4499 }
4500
4501
4502 static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
4503 PyObject *resultobj;
4504 wxRect *arg1 = (wxRect *) 0 ;
4505 int arg2 ;
4506 PyObject * obj0 = 0 ;
4507 PyObject * obj1 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self",(char *) "width", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
4513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4515 arg2 = (int) SWIG_AsInt(obj1);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 if (arg1) (arg1)->width = arg2;
4518
4519 Py_INCREF(Py_None); resultobj = Py_None;
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxRect *arg1 = (wxRect *) 0 ;
4529 int result;
4530 PyObject * obj0 = 0 ;
4531 char *kwnames[] = {
4532 (char *) "self", NULL
4533 };
4534
4535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
4536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4538 result = (int) ((arg1)->width);
4539
4540 resultobj = SWIG_FromInt((int)result);
4541 return resultobj;
4542 fail:
4543 return NULL;
4544 }
4545
4546
4547 static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
4548 PyObject *resultobj;
4549 wxRect *arg1 = (wxRect *) 0 ;
4550 int arg2 ;
4551 PyObject * obj0 = 0 ;
4552 PyObject * obj1 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "self",(char *) "height", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
4558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4560 arg2 = (int) SWIG_AsInt(obj1);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 if (arg1) (arg1)->height = arg2;
4563
4564 Py_INCREF(Py_None); resultobj = Py_None;
4565 return resultobj;
4566 fail:
4567 return NULL;
4568 }
4569
4570
4571 static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
4572 PyObject *resultobj;
4573 wxRect *arg1 = (wxRect *) 0 ;
4574 int result;
4575 PyObject * obj0 = 0 ;
4576 char *kwnames[] = {
4577 (char *) "self", NULL
4578 };
4579
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
4581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4583 result = (int) ((arg1)->height);
4584
4585 resultobj = SWIG_FromInt((int)result);
4586 return resultobj;
4587 fail:
4588 return NULL;
4589 }
4590
4591
4592 static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) {
4593 PyObject *resultobj;
4594 wxRect *arg1 = (wxRect *) 0 ;
4595 int arg2 = (int) 0 ;
4596 int arg3 = (int) 0 ;
4597 int arg4 = (int) 0 ;
4598 int arg5 = (int) 0 ;
4599 PyObject * obj0 = 0 ;
4600 PyObject * obj1 = 0 ;
4601 PyObject * obj2 = 0 ;
4602 PyObject * obj3 = 0 ;
4603 PyObject * obj4 = 0 ;
4604 char *kwnames[] = {
4605 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4606 };
4607
4608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4611 if (obj1) {
4612 arg2 = (int) SWIG_AsInt(obj1);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 if (obj2) {
4616 arg3 = (int) SWIG_AsInt(obj2);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 if (obj3) {
4620 arg4 = (int) SWIG_AsInt(obj3);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 if (obj4) {
4624 arg5 = (int) SWIG_AsInt(obj4);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 {
4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
4629 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4630
4631 wxPyEndAllowThreads(__tstate);
4632 if (PyErr_Occurred()) SWIG_fail;
4633 }
4634 Py_INCREF(Py_None); resultobj = Py_None;
4635 return resultobj;
4636 fail:
4637 return NULL;
4638 }
4639
4640
4641 static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) {
4642 PyObject *resultobj;
4643 wxRect *arg1 = (wxRect *) 0 ;
4644 PyObject *result;
4645 PyObject * obj0 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
4651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = (PyObject *)wxRect_Get(arg1);
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 resultobj = result;
4661 return resultobj;
4662 fail:
4663 return NULL;
4664 }
4665
4666
4667 static PyObject * Rect_swigregister(PyObject *, PyObject *args) {
4668 PyObject *obj;
4669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4670 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4671 Py_INCREF(obj);
4672 return Py_BuildValue((char *)"");
4673 }
4674 static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj;
4676 wxRect *arg1 = (wxRect *) 0 ;
4677 wxRect *arg2 = (wxRect *) 0 ;
4678 PyObject *result;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "r1",(char *) "r2", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
4686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 result = (PyObject *)wxIntersectRect(arg1,arg2);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 resultobj = result;
4698 return resultobj;
4699 fail:
4700 return NULL;
4701 }
4702
4703
4704 static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) {
4705 PyObject *resultobj;
4706 double arg1 = (double) 0.0 ;
4707 double arg2 = (double) 0.0 ;
4708 wxPoint2D *result;
4709 PyObject * obj0 = 0 ;
4710 PyObject * obj1 = 0 ;
4711 char *kwnames[] = {
4712 (char *) "x",(char *) "y", NULL
4713 };
4714
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4716 if (obj0) {
4717 arg1 = (double) SWIG_AsDouble(obj0);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4720 if (obj1) {
4721 arg2 = (double) SWIG_AsDouble(obj1);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 {
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4727
4728 wxPyEndAllowThreads(__tstate);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4732 return resultobj;
4733 fail:
4734 return NULL;
4735 }
4736
4737
4738 static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj;
4740 wxPoint2D *arg1 = 0 ;
4741 wxPoint2D *result;
4742 wxPoint2D temp1 ;
4743 PyObject * obj0 = 0 ;
4744 char *kwnames[] = {
4745 (char *) "pt", NULL
4746 };
4747
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4749 {
4750 arg1 = &temp1;
4751 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4752 }
4753 {
4754 PyThreadState* __tstate = wxPyBeginAllowThreads();
4755 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4756
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4761 return resultobj;
4762 fail:
4763 return NULL;
4764 }
4765
4766
4767 static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4768 PyObject *resultobj;
4769 wxPoint *arg1 = 0 ;
4770 wxPoint2D *result;
4771 wxPoint temp1 ;
4772 PyObject * obj0 = 0 ;
4773 char *kwnames[] = {
4774 (char *) "pt", NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4778 {
4779 arg1 = &temp1;
4780 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4781 }
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4790 return resultobj;
4791 fail:
4792 return NULL;
4793 }
4794
4795
4796 static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) {
4797 PyObject *resultobj;
4798 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4799 int *arg2 = (int *) 0 ;
4800 int *arg3 = (int *) 0 ;
4801 int temp2 ;
4802 int temp3 ;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self", NULL
4806 };
4807
4808 arg2 = &temp2;
4809 arg3 = &temp3;
4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
4811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 Py_INCREF(Py_None); resultobj = Py_None;
4821 {
4822 PyObject *o = PyInt_FromLong((long) (*arg2));
4823 resultobj = t_output_helper(resultobj,o);
4824 }
4825 {
4826 PyObject *o = PyInt_FromLong((long) (*arg3));
4827 resultobj = t_output_helper(resultobj,o);
4828 }
4829 return resultobj;
4830 fail:
4831 return NULL;
4832 }
4833
4834
4835 static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) {
4836 PyObject *resultobj;
4837 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4838 int *arg2 = (int *) 0 ;
4839 int *arg3 = (int *) 0 ;
4840 int temp2 ;
4841 int temp3 ;
4842 PyObject * obj0 = 0 ;
4843 char *kwnames[] = {
4844 (char *) "self", NULL
4845 };
4846
4847 arg2 = &temp2;
4848 arg3 = &temp3;
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
4850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 Py_INCREF(Py_None); resultobj = Py_None;
4860 {
4861 PyObject *o = PyInt_FromLong((long) (*arg2));
4862 resultobj = t_output_helper(resultobj,o);
4863 }
4864 {
4865 PyObject *o = PyInt_FromLong((long) (*arg3));
4866 resultobj = t_output_helper(resultobj,o);
4867 }
4868 return resultobj;
4869 fail:
4870 return NULL;
4871 }
4872
4873
4874 static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
4875 PyObject *resultobj;
4876 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4877 double result;
4878 PyObject * obj0 = 0 ;
4879 char *kwnames[] = {
4880 (char *) "self", NULL
4881 };
4882
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 resultobj = SWIG_FromDouble((double)result);
4894 return resultobj;
4895 fail:
4896 return NULL;
4897 }
4898
4899
4900 static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
4901 PyObject *resultobj;
4902 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4903 double result;
4904 PyObject * obj0 = 0 ;
4905 char *kwnames[] = {
4906 (char *) "self", NULL
4907 };
4908
4909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
4910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4915
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
4919 resultobj = SWIG_FromDouble((double)result);
4920 return resultobj;
4921 fail:
4922 return NULL;
4923 }
4924
4925
4926 static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4929 double arg2 ;
4930 PyObject * obj0 = 0 ;
4931 PyObject * obj1 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "length", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4939 arg2 = (double) SWIG_AsDouble(obj1);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 (arg1)->SetVectorLength(arg2);
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 Py_INCREF(Py_None); resultobj = Py_None;
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj;
4957 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4958 double arg2 ;
4959 PyObject * obj0 = 0 ;
4960 PyObject * obj1 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self",(char *) "degrees", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
4966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4968 arg2 = (double) SWIG_AsDouble(obj1);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 (arg1)->SetVectorAngle(arg2);
4973
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 Py_INCREF(Py_None); resultobj = Py_None;
4978 return resultobj;
4979 fail:
4980 return NULL;
4981 }
4982
4983
4984 static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) {
4985 PyObject *resultobj;
4986 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4987 wxPoint2D *arg2 = 0 ;
4988 double result;
4989 wxPoint2D temp2 ;
4990 PyObject * obj0 = 0 ;
4991 PyObject * obj1 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self",(char *) "pt", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
4997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4999 {
5000 arg2 = &temp2;
5001 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5002 }
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 resultobj = SWIG_FromDouble((double)result);
5011 return resultobj;
5012 fail:
5013 return NULL;
5014 }
5015
5016
5017 static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5020 wxPoint2D *arg2 = 0 ;
5021 double result;
5022 wxPoint2D temp2 ;
5023 PyObject * obj0 = 0 ;
5024 PyObject * obj1 = 0 ;
5025 char *kwnames[] = {
5026 (char *) "self",(char *) "pt", NULL
5027 };
5028
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
5030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5032 {
5033 arg2 = &temp2;
5034 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5035 }
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 resultobj = SWIG_FromDouble((double)result);
5044 return resultobj;
5045 fail:
5046 return NULL;
5047 }
5048
5049
5050 static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) {
5051 PyObject *resultobj;
5052 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5053 wxPoint2D *arg2 = 0 ;
5054 double result;
5055 wxPoint2D temp2 ;
5056 PyObject * obj0 = 0 ;
5057 PyObject * obj1 = 0 ;
5058 char *kwnames[] = {
5059 (char *) "self",(char *) "vec", NULL
5060 };
5061
5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
5063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5065 {
5066 arg2 = &temp2;
5067 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5068 }
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 resultobj = SWIG_FromDouble((double)result);
5077 return resultobj;
5078 fail:
5079 return NULL;
5080 }
5081
5082
5083 static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) {
5084 PyObject *resultobj;
5085 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5086 wxPoint2D *arg2 = 0 ;
5087 double result;
5088 wxPoint2D temp2 ;
5089 PyObject * obj0 = 0 ;
5090 PyObject * obj1 = 0 ;
5091 char *kwnames[] = {
5092 (char *) "self",(char *) "vec", NULL
5093 };
5094
5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
5096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5098 {
5099 arg2 = &temp2;
5100 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5101 }
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 resultobj = SWIG_FromDouble((double)result);
5110 return resultobj;
5111 fail:
5112 return NULL;
5113 }
5114
5115
5116 static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
5117 PyObject *resultobj;
5118 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5119 wxPoint2D result;
5120 PyObject * obj0 = 0 ;
5121 char *kwnames[] = {
5122 (char *) "self", NULL
5123 };
5124
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
5126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 result = (arg1)->operator -();
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 {
5136 wxPoint2D * resultptr;
5137 resultptr = new wxPoint2D((wxPoint2D &) result);
5138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
5139 }
5140 return resultobj;
5141 fail:
5142 return NULL;
5143 }
5144
5145
5146 static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj;
5148 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5149 wxPoint2D *arg2 = 0 ;
5150 wxPoint2D *result;
5151 wxPoint2D temp2 ;
5152 PyObject * obj0 = 0 ;
5153 PyObject * obj1 = 0 ;
5154 char *kwnames[] = {
5155 (char *) "self",(char *) "pt", NULL
5156 };
5157
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
5159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5161 {
5162 arg2 = &temp2;
5163 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5164 }
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 {
5168 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5169 result = (wxPoint2D *) &_result_ref;
5170 }
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5176 return resultobj;
5177 fail:
5178 return NULL;
5179 }
5180
5181
5182 static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj;
5184 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5185 wxPoint2D *arg2 = 0 ;
5186 wxPoint2D *result;
5187 wxPoint2D temp2 ;
5188 PyObject * obj0 = 0 ;
5189 PyObject * obj1 = 0 ;
5190 char *kwnames[] = {
5191 (char *) "self",(char *) "pt", NULL
5192 };
5193
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
5195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5197 {
5198 arg2 = &temp2;
5199 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5200 }
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 {
5204 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5205 result = (wxPoint2D *) &_result_ref;
5206 }
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5212 return resultobj;
5213 fail:
5214 return NULL;
5215 }
5216
5217
5218 static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj;
5220 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5221 wxPoint2D *arg2 = 0 ;
5222 wxPoint2D *result;
5223 wxPoint2D temp2 ;
5224 PyObject * obj0 = 0 ;
5225 PyObject * obj1 = 0 ;
5226 char *kwnames[] = {
5227 (char *) "self",(char *) "pt", NULL
5228 };
5229
5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
5231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5233 {
5234 arg2 = &temp2;
5235 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5236 }
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 {
5240 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5241 result = (wxPoint2D *) &_result_ref;
5242 }
5243
5244 wxPyEndAllowThreads(__tstate);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5248 return resultobj;
5249 fail:
5250 return NULL;
5251 }
5252
5253
5254 static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj;
5256 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5257 wxPoint2D *arg2 = 0 ;
5258 wxPoint2D *result;
5259 wxPoint2D temp2 ;
5260 PyObject * obj0 = 0 ;
5261 PyObject * obj1 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "pt", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
5267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5269 {
5270 arg2 = &temp2;
5271 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5272 }
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 {
5276 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5277 result = (wxPoint2D *) &_result_ref;
5278 }
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj;
5292 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5293 wxPoint2D *arg2 = 0 ;
5294 bool result;
5295 wxPoint2D temp2 ;
5296 PyObject * obj0 = 0 ;
5297 PyObject * obj1 = 0 ;
5298 char *kwnames[] = {
5299 (char *) "self",(char *) "pt", NULL
5300 };
5301
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
5303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5305 {
5306 arg2 = &temp2;
5307 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5308 }
5309 {
5310 PyThreadState* __tstate = wxPyBeginAllowThreads();
5311 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5312
5313 wxPyEndAllowThreads(__tstate);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 }
5316 {
5317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5318 }
5319 return resultobj;
5320 fail:
5321 return NULL;
5322 }
5323
5324
5325 static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
5326 PyObject *resultobj;
5327 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5328 wxPoint2D *arg2 = 0 ;
5329 bool result;
5330 wxPoint2D temp2 ;
5331 PyObject * obj0 = 0 ;
5332 PyObject * obj1 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self",(char *) "pt", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
5338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5340 {
5341 arg2 = &temp2;
5342 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5343 }
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5347
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 {
5352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5353 }
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj;
5362 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5363 double arg2 ;
5364 PyObject * obj0 = 0 ;
5365 PyObject * obj1 = 0 ;
5366 char *kwnames[] = {
5367 (char *) "self",(char *) "m_x", NULL
5368 };
5369
5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
5371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5373 arg2 = (double) SWIG_AsDouble(obj1);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 if (arg1) (arg1)->m_x = arg2;
5376
5377 Py_INCREF(Py_None); resultobj = Py_None;
5378 return resultobj;
5379 fail:
5380 return NULL;
5381 }
5382
5383
5384 static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
5385 PyObject *resultobj;
5386 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5387 double result;
5388 PyObject * obj0 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
5394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5396 result = (double) ((arg1)->m_x);
5397
5398 resultobj = SWIG_FromDouble((double)result);
5399 return resultobj;
5400 fail:
5401 return NULL;
5402 }
5403
5404
5405 static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
5406 PyObject *resultobj;
5407 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5408 double arg2 ;
5409 PyObject * obj0 = 0 ;
5410 PyObject * obj1 = 0 ;
5411 char *kwnames[] = {
5412 (char *) "self",(char *) "m_y", NULL
5413 };
5414
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
5416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5418 arg2 = (double) SWIG_AsDouble(obj1);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 if (arg1) (arg1)->m_y = arg2;
5421
5422 Py_INCREF(Py_None); resultobj = Py_None;
5423 return resultobj;
5424 fail:
5425 return NULL;
5426 }
5427
5428
5429 static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
5430 PyObject *resultobj;
5431 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5432 double result;
5433 PyObject * obj0 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "self", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
5439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5441 result = (double) ((arg1)->m_y);
5442
5443 resultobj = SWIG_FromDouble((double)result);
5444 return resultobj;
5445 fail:
5446 return NULL;
5447 }
5448
5449
5450 static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5453 double arg2 = (double) 0 ;
5454 double arg3 = (double) 0 ;
5455 PyObject * obj0 = 0 ;
5456 PyObject * obj1 = 0 ;
5457 PyObject * obj2 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "self",(char *) "x",(char *) "y", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
5463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5465 if (obj1) {
5466 arg2 = (double) SWIG_AsDouble(obj1);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 if (obj2) {
5470 arg3 = (double) SWIG_AsDouble(obj2);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 wxPoint2D_Set(arg1,arg2,arg3);
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 Py_INCREF(Py_None); resultobj = Py_None;
5481 return resultobj;
5482 fail:
5483 return NULL;
5484 }
5485
5486
5487 static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj;
5489 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5490 PyObject *result;
5491 PyObject * obj0 = 0 ;
5492 char *kwnames[] = {
5493 (char *) "self", NULL
5494 };
5495
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
5497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 result = (PyObject *)wxPoint2D_Get(arg1);
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 resultobj = result;
5507 return resultobj;
5508 fail:
5509 return NULL;
5510 }
5511
5512
5513 static PyObject * Point2D_swigregister(PyObject *, PyObject *args) {
5514 PyObject *obj;
5515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5516 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5517 Py_INCREF(obj);
5518 return Py_BuildValue((char *)"");
5519 }
5520 static int _wrap_DefaultPosition_set(PyObject *) {
5521 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5522 return 1;
5523 }
5524
5525
5526 static PyObject *_wrap_DefaultPosition_get() {
5527 PyObject *pyobj;
5528
5529 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
5530 return pyobj;
5531 }
5532
5533
5534 static int _wrap_DefaultSize_set(PyObject *) {
5535 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5536 return 1;
5537 }
5538
5539
5540 static PyObject *_wrap_DefaultSize_get() {
5541 PyObject *pyobj;
5542
5543 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
5544 return pyobj;
5545 }
5546
5547
5548 static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
5549 PyObject *resultobj;
5550 PyObject *arg1 = (PyObject *) 0 ;
5551 wxPyInputStream *result;
5552 PyObject * obj0 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "p", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5558 arg1 = obj0;
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5576 PyObject * obj0 = 0 ;
5577 char *kwnames[] = {
5578 (char *) "self", NULL
5579 };
5580
5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
5582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5584 {
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 (arg1)->close();
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 Py_INCREF(Py_None); resultobj = Py_None;
5592 return resultobj;
5593 fail:
5594 return NULL;
5595 }
5596
5597
5598 static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj;
5600 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5601 PyObject * obj0 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
5607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 (arg1)->flush();
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 Py_INCREF(Py_None); resultobj = Py_None;
5617 return resultobj;
5618 fail:
5619 return NULL;
5620 }
5621
5622
5623 static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) {
5624 PyObject *resultobj;
5625 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5626 bool result;
5627 PyObject * obj0 = 0 ;
5628 char *kwnames[] = {
5629 (char *) "self", NULL
5630 };
5631
5632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
5633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 result = (bool)(arg1)->eof();
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 {
5643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5644 }
5645 return resultobj;
5646 fail:
5647 return NULL;
5648 }
5649
5650
5651 static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) {
5652 PyObject *resultobj;
5653 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5654 int arg2 = (int) -1 ;
5655 PyObject *result;
5656 PyObject * obj0 = 0 ;
5657 PyObject * obj1 = 0 ;
5658 char *kwnames[] = {
5659 (char *) "self",(char *) "size", NULL
5660 };
5661
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
5663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5665 if (obj1) {
5666 arg2 = (int) SWIG_AsInt(obj1);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 result = (PyObject *)(arg1)->read(arg2);
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 resultobj = result;
5677 return resultobj;
5678 fail:
5679 return NULL;
5680 }
5681
5682
5683 static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj;
5685 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5686 int arg2 = (int) -1 ;
5687 PyObject *result;
5688 PyObject * obj0 = 0 ;
5689 PyObject * obj1 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self",(char *) "size", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
5695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5697 if (obj1) {
5698 arg2 = (int) SWIG_AsInt(obj1);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 result = (PyObject *)(arg1)->readline(arg2);
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 resultobj = result;
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5718 int arg2 = (int) -1 ;
5719 PyObject *result;
5720 PyObject * obj0 = 0 ;
5721 PyObject * obj1 = 0 ;
5722 char *kwnames[] = {
5723 (char *) "self",(char *) "sizehint", NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
5727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5729 if (obj1) {
5730 arg2 = (int) SWIG_AsInt(obj1);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (PyObject *)(arg1)->readlines(arg2);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 resultobj = result;
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5750 int arg2 ;
5751 int arg3 = (int) 0 ;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 PyObject * obj2 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self",(char *) "offset",(char *) "whence", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
5760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5762 arg2 = (int) SWIG_AsInt(obj1);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 if (obj2) {
5765 arg3 = (int) SWIG_AsInt(obj2);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 {
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 (arg1)->seek(arg2,arg3);
5771
5772 wxPyEndAllowThreads(__tstate);
5773 if (PyErr_Occurred()) SWIG_fail;
5774 }
5775 Py_INCREF(Py_None); resultobj = Py_None;
5776 return resultobj;
5777 fail:
5778 return NULL;
5779 }
5780
5781
5782 static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) {
5783 PyObject *resultobj;
5784 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5785 int result;
5786 PyObject * obj0 = 0 ;
5787 char *kwnames[] = {
5788 (char *) "self", NULL
5789 };
5790
5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
5792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 result = (int)(arg1)->tell();
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 resultobj = SWIG_FromInt((int)result);
5802 return resultobj;
5803 fail:
5804 return NULL;
5805 }
5806
5807
5808 static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) {
5809 PyObject *resultobj;
5810 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5811 char result;
5812 PyObject * obj0 = 0 ;
5813 char *kwnames[] = {
5814 (char *) "self", NULL
5815 };
5816
5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
5818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 result = (char)(arg1)->Peek();
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 resultobj = SWIG_FromChar((char)result);
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj;
5836 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5837 char result;
5838 PyObject * obj0 = 0 ;
5839 char *kwnames[] = {
5840 (char *) "self", NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
5844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 result = (char)(arg1)->GetC();
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 resultobj = SWIG_FromChar((char)result);
5854 return resultobj;
5855 fail:
5856 return NULL;
5857 }
5858
5859
5860 static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj;
5862 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5863 size_t result;
5864 PyObject * obj0 = 0 ;
5865 char *kwnames[] = {
5866 (char *) "self", NULL
5867 };
5868
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
5870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5872 {
5873 PyThreadState* __tstate = wxPyBeginAllowThreads();
5874 result = (size_t)(arg1)->LastRead();
5875
5876 wxPyEndAllowThreads(__tstate);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
5879 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
5880 return resultobj;
5881 fail:
5882 return NULL;
5883 }
5884
5885
5886 static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
5887 PyObject *resultobj;
5888 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5889 bool result;
5890 PyObject * obj0 = 0 ;
5891 char *kwnames[] = {
5892 (char *) "self", NULL
5893 };
5894
5895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
5896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (bool)(arg1)->CanRead();
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 {
5906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5907 }
5908 return resultobj;
5909 fail:
5910 return NULL;
5911 }
5912
5913
5914 static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj;
5916 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5917 bool result;
5918 PyObject * obj0 = 0 ;
5919 char *kwnames[] = {
5920 (char *) "self", NULL
5921 };
5922
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
5924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 result = (bool)(arg1)->Eof();
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 {
5934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5935 }
5936 return resultobj;
5937 fail:
5938 return NULL;
5939 }
5940
5941
5942 static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj;
5944 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5945 char arg2 ;
5946 bool result;
5947 PyObject * obj0 = 0 ;
5948 PyObject * obj1 = 0 ;
5949 char *kwnames[] = {
5950 (char *) "self",(char *) "c", NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
5954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5956 arg2 = (char) SWIG_AsChar(obj1);
5957 if (PyErr_Occurred()) SWIG_fail;
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 result = (bool)(arg1)->Ungetch(arg2);
5961
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 {
5966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5967 }
5968 return resultobj;
5969 fail:
5970 return NULL;
5971 }
5972
5973
5974 static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) {
5975 PyObject *resultobj;
5976 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5977 long arg2 ;
5978 int arg3 = (int) wxFromStart ;
5979 long result;
5980 PyObject * obj0 = 0 ;
5981 PyObject * obj1 = 0 ;
5982 PyObject * obj2 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self",(char *) "pos",(char *) "mode", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
5988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5990 arg2 = (long) SWIG_AsLong(obj1);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 if (obj2) {
5993 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 resultobj = SWIG_FromLong((long)result);
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6013 long result;
6014 PyObject * obj0 = 0 ;
6015 char *kwnames[] = {
6016 (char *) "self", NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
6020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (long)(arg1)->TellI();
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = SWIG_FromLong((long)result);
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject * InputStream_swigregister(PyObject *, PyObject *args) {
6037 PyObject *obj;
6038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6039 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6040 Py_INCREF(obj);
6041 return Py_BuildValue((char *)"");
6042 }
6043 static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6046 PyObject *arg2 = (PyObject *) 0 ;
6047 PyObject * obj0 = 0 ;
6048 PyObject * obj1 = 0 ;
6049 char *kwnames[] = {
6050 (char *) "self",(char *) "obj", NULL
6051 };
6052
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
6054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6056 arg2 = obj1;
6057 {
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 wxOutputStream_write(arg1,arg2);
6060
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) SWIG_fail;
6063 }
6064 Py_INCREF(Py_None); resultobj = Py_None;
6065 return resultobj;
6066 fail:
6067 return NULL;
6068 }
6069
6070
6071 static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) {
6072 PyObject *obj;
6073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6074 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6075 Py_INCREF(obj);
6076 return Py_BuildValue((char *)"");
6077 }
6078 static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
6079 PyObject *resultobj;
6080 wxInputStream *arg1 = (wxInputStream *) 0 ;
6081 wxString *arg2 = 0 ;
6082 wxString *arg3 = 0 ;
6083 wxString *arg4 = 0 ;
6084 wxDateTime arg5 ;
6085 wxFSFile *result;
6086 wxPyInputStream *temp1 ;
6087 bool created1 ;
6088 bool temp2 = False ;
6089 bool temp3 = False ;
6090 bool temp4 = False ;
6091 wxDateTime *argp5 ;
6092 PyObject * obj0 = 0 ;
6093 PyObject * obj1 = 0 ;
6094 PyObject * obj2 = 0 ;
6095 PyObject * obj3 = 0 ;
6096 PyObject * obj4 = 0 ;
6097 char *kwnames[] = {
6098 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6099 };
6100
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6102 {
6103 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6104 arg1 = temp1->m_wxis;
6105 created1 = False;
6106 } else {
6107 PyErr_Clear(); // clear the failure of the wxPyConvert above
6108 arg1 = wxPyCBInputStream_create(obj0, False);
6109 if (arg1 == NULL) {
6110 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6111 SWIG_fail;
6112 }
6113 created1 = True;
6114 }
6115 }
6116 {
6117 arg2 = wxString_in_helper(obj1);
6118 if (arg2 == NULL) SWIG_fail;
6119 temp2 = True;
6120 }
6121 {
6122 arg3 = wxString_in_helper(obj2);
6123 if (arg3 == NULL) SWIG_fail;
6124 temp3 = True;
6125 }
6126 {
6127 arg4 = wxString_in_helper(obj3);
6128 if (arg4 == NULL) SWIG_fail;
6129 temp4 = True;
6130 }
6131 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6132 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6133 arg5 = *argp5;
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6137
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 {
6142 resultobj = wxPyMake_wxObject(result);
6143 }
6144 {
6145 if (created1)
6146 delete arg1;
6147 }
6148 {
6149 if (temp2)
6150 delete arg2;
6151 }
6152 {
6153 if (temp3)
6154 delete arg3;
6155 }
6156 {
6157 if (temp4)
6158 delete arg4;
6159 }
6160 return resultobj;
6161 fail:
6162 {
6163 if (created1)
6164 delete arg1;
6165 }
6166 {
6167 if (temp2)
6168 delete arg2;
6169 }
6170 {
6171 if (temp3)
6172 delete arg3;
6173 }
6174 {
6175 if (temp4)
6176 delete arg4;
6177 }
6178 return NULL;
6179 }
6180
6181
6182 static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
6183 PyObject *resultobj;
6184 wxFSFile *arg1 = (wxFSFile *) 0 ;
6185 PyObject * obj0 = 0 ;
6186 char *kwnames[] = {
6187 (char *) "self", NULL
6188 };
6189
6190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
6191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6193 {
6194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6195 delete arg1;
6196
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 Py_INCREF(Py_None); resultobj = Py_None;
6201 return resultobj;
6202 fail:
6203 return NULL;
6204 }
6205
6206
6207 static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj;
6209 wxFSFile *arg1 = (wxFSFile *) 0 ;
6210 wxInputStream *result;
6211 PyObject * obj0 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
6217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 result = (wxInputStream *)(arg1)->GetStream();
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 {
6227 wxPyInputStream * _ptr = NULL;
6228
6229 if (result) {
6230 _ptr = new wxPyInputStream(result);
6231 }
6232 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
6233 }
6234 return resultobj;
6235 fail:
6236 return NULL;
6237 }
6238
6239
6240 static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj;
6242 wxFSFile *arg1 = (wxFSFile *) 0 ;
6243 wxString *result;
6244 PyObject * obj0 = 0 ;
6245 char *kwnames[] = {
6246 (char *) "self", NULL
6247 };
6248
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
6250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 {
6255 wxString const &_result_ref = (arg1)->GetMimeType();
6256 result = (wxString *) &_result_ref;
6257 }
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 {
6263 #if wxUSE_UNICODE
6264 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6265 #else
6266 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6267 #endif
6268 }
6269 return resultobj;
6270 fail:
6271 return NULL;
6272 }
6273
6274
6275 static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) {
6276 PyObject *resultobj;
6277 wxFSFile *arg1 = (wxFSFile *) 0 ;
6278 wxString *result;
6279 PyObject * obj0 = 0 ;
6280 char *kwnames[] = {
6281 (char *) "self", NULL
6282 };
6283
6284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
6285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 {
6290 wxString const &_result_ref = (arg1)->GetLocation();
6291 result = (wxString *) &_result_ref;
6292 }
6293
6294 wxPyEndAllowThreads(__tstate);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
6297 {
6298 #if wxUSE_UNICODE
6299 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6300 #else
6301 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6302 #endif
6303 }
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj;
6312 wxFSFile *arg1 = (wxFSFile *) 0 ;
6313 wxString *result;
6314 PyObject * obj0 = 0 ;
6315 char *kwnames[] = {
6316 (char *) "self", NULL
6317 };
6318
6319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
6320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 {
6325 wxString const &_result_ref = (arg1)->GetAnchor();
6326 result = (wxString *) &_result_ref;
6327 }
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 {
6333 #if wxUSE_UNICODE
6334 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6335 #else
6336 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6337 #endif
6338 }
6339 return resultobj;
6340 fail:
6341 return NULL;
6342 }
6343
6344
6345 static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) {
6346 PyObject *resultobj;
6347 wxFSFile *arg1 = (wxFSFile *) 0 ;
6348 wxDateTime result;
6349 PyObject * obj0 = 0 ;
6350 char *kwnames[] = {
6351 (char *) "self", NULL
6352 };
6353
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
6355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (arg1)->GetModificationTime();
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 {
6365 wxDateTime * resultptr;
6366 resultptr = new wxDateTime((wxDateTime &) result);
6367 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
6368 }
6369 return resultobj;
6370 fail:
6371 return NULL;
6372 }
6373
6374
6375 static PyObject * FSFile_swigregister(PyObject *, PyObject *args) {
6376 PyObject *obj;
6377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6378 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6379 Py_INCREF(obj);
6380 return Py_BuildValue((char *)"");
6381 }
6382 static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) {
6383 PyObject *obj;
6384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6385 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6386 Py_INCREF(obj);
6387 return Py_BuildValue((char *)"");
6388 }
6389 static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxPyFileSystemHandler *result;
6392 char *kwnames[] = {
6393 NULL
6394 };
6395
6396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
6404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
6405 return resultobj;
6406 fail:
6407 return NULL;
6408 }
6409
6410
6411 static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6412 PyObject *resultobj;
6413 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6414 PyObject *arg2 = (PyObject *) 0 ;
6415 PyObject *arg3 = (PyObject *) 0 ;
6416 PyObject * obj0 = 0 ;
6417 PyObject * obj1 = 0 ;
6418 PyObject * obj2 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self",(char *) "self",(char *) "_class", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6426 arg2 = obj1;
6427 arg3 = obj2;
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 (arg1)->_setCallbackInfo(arg2,arg3);
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 Py_INCREF(Py_None); resultobj = Py_None;
6436 return resultobj;
6437 fail:
6438 return NULL;
6439 }
6440
6441
6442 static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
6443 PyObject *resultobj;
6444 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6445 wxString *arg2 = 0 ;
6446 bool result;
6447 bool temp2 = False ;
6448 PyObject * obj0 = 0 ;
6449 PyObject * obj1 = 0 ;
6450 char *kwnames[] = {
6451 (char *) "self",(char *) "location", NULL
6452 };
6453
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6457 {
6458 arg2 = wxString_in_helper(obj1);
6459 if (arg2 == NULL) SWIG_fail;
6460 temp2 = True;
6461 }
6462 {
6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
6464 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6465
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 {
6470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6471 }
6472 {
6473 if (temp2)
6474 delete arg2;
6475 }
6476 return resultobj;
6477 fail:
6478 {
6479 if (temp2)
6480 delete arg2;
6481 }
6482 return NULL;
6483 }
6484
6485
6486 static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj;
6488 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6489 wxFileSystem *arg2 = 0 ;
6490 wxString *arg3 = 0 ;
6491 wxFSFile *result;
6492 bool temp3 = False ;
6493 PyObject * obj0 = 0 ;
6494 PyObject * obj1 = 0 ;
6495 PyObject * obj2 = 0 ;
6496 char *kwnames[] = {
6497 (char *) "self",(char *) "fs",(char *) "location", NULL
6498 };
6499
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6504 SWIG_POINTER_EXCEPTION | 0)) == -1)
6505 SWIG_fail;
6506 if (arg2 == NULL) {
6507 PyErr_SetString(PyExc_TypeError,"null reference");
6508 SWIG_fail;
6509 }
6510 {
6511 arg3 = wxString_in_helper(obj2);
6512 if (arg3 == NULL) SWIG_fail;
6513 temp3 = True;
6514 }
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 {
6523 resultobj = wxPyMake_wxObject(result);
6524 }
6525 {
6526 if (temp3)
6527 delete arg3;
6528 }
6529 return resultobj;
6530 fail:
6531 {
6532 if (temp3)
6533 delete arg3;
6534 }
6535 return NULL;
6536 }
6537
6538
6539 static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6542 wxString *arg2 = 0 ;
6543 int arg3 = (int) 0 ;
6544 wxString result;
6545 bool temp2 = False ;
6546 PyObject * obj0 = 0 ;
6547 PyObject * obj1 = 0 ;
6548 PyObject * obj2 = 0 ;
6549 char *kwnames[] = {
6550 (char *) "self",(char *) "spec",(char *) "flags", NULL
6551 };
6552
6553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
6554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6556 {
6557 arg2 = wxString_in_helper(obj1);
6558 if (arg2 == NULL) SWIG_fail;
6559 temp2 = True;
6560 }
6561 if (obj2) {
6562 arg3 = (int) SWIG_AsInt(obj2);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 }
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) SWIG_fail;
6571 }
6572 {
6573 #if wxUSE_UNICODE
6574 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6575 #else
6576 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6577 #endif
6578 }
6579 {
6580 if (temp2)
6581 delete arg2;
6582 }
6583 return resultobj;
6584 fail:
6585 {
6586 if (temp2)
6587 delete arg2;
6588 }
6589 return NULL;
6590 }
6591
6592
6593 static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
6594 PyObject *resultobj;
6595 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6596 wxString result;
6597 PyObject * obj0 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
6603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 result = (arg1)->FindNext();
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 {
6613 #if wxUSE_UNICODE
6614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6615 #else
6616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6617 #endif
6618 }
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6628 wxString *arg2 = 0 ;
6629 wxString result;
6630 bool temp2 = False ;
6631 PyObject * obj0 = 0 ;
6632 PyObject * obj1 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self",(char *) "location", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
6638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6640 {
6641 arg2 = wxString_in_helper(obj1);
6642 if (arg2 == NULL) SWIG_fail;
6643 temp2 = True;
6644 }
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 result = (arg1)->GetProtocol((wxString const &)*arg2);
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 {
6653 #if wxUSE_UNICODE
6654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6655 #else
6656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6657 #endif
6658 }
6659 {
6660 if (temp2)
6661 delete arg2;
6662 }
6663 return resultobj;
6664 fail:
6665 {
6666 if (temp2)
6667 delete arg2;
6668 }
6669 return NULL;
6670 }
6671
6672
6673 static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) {
6674 PyObject *resultobj;
6675 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6676 wxString *arg2 = 0 ;
6677 wxString result;
6678 bool temp2 = False ;
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self",(char *) "location", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
6686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6688 {
6689 arg2 = wxString_in_helper(obj1);
6690 if (arg2 == NULL) SWIG_fail;
6691 temp2 = True;
6692 }
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6696
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
6700 {
6701 #if wxUSE_UNICODE
6702 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6703 #else
6704 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6705 #endif
6706 }
6707 {
6708 if (temp2)
6709 delete arg2;
6710 }
6711 return resultobj;
6712 fail:
6713 {
6714 if (temp2)
6715 delete arg2;
6716 }
6717 return NULL;
6718 }
6719
6720
6721 static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
6722 PyObject *resultobj;
6723 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6724 wxString *arg2 = 0 ;
6725 wxString result;
6726 bool temp2 = False ;
6727 PyObject * obj0 = 0 ;
6728 PyObject * obj1 = 0 ;
6729 char *kwnames[] = {
6730 (char *) "self",(char *) "location", NULL
6731 };
6732
6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
6734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6736 {
6737 arg2 = wxString_in_helper(obj1);
6738 if (arg2 == NULL) SWIG_fail;
6739 temp2 = True;
6740 }
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 result = (arg1)->GetAnchor((wxString const &)*arg2);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 {
6749 #if wxUSE_UNICODE
6750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6751 #else
6752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6753 #endif
6754 }
6755 {
6756 if (temp2)
6757 delete arg2;
6758 }
6759 return resultobj;
6760 fail:
6761 {
6762 if (temp2)
6763 delete arg2;
6764 }
6765 return NULL;
6766 }
6767
6768
6769 static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) {
6770 PyObject *resultobj;
6771 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6772 wxString *arg2 = 0 ;
6773 wxString result;
6774 bool temp2 = False ;
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj1 = 0 ;
6777 char *kwnames[] = {
6778 (char *) "self",(char *) "location", NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
6782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6784 {
6785 arg2 = wxString_in_helper(obj1);
6786 if (arg2 == NULL) SWIG_fail;
6787 temp2 = True;
6788 }
6789 {
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6792
6793 wxPyEndAllowThreads(__tstate);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 {
6797 #if wxUSE_UNICODE
6798 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6799 #else
6800 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6801 #endif
6802 }
6803 {
6804 if (temp2)
6805 delete arg2;
6806 }
6807 return resultobj;
6808 fail:
6809 {
6810 if (temp2)
6811 delete arg2;
6812 }
6813 return NULL;
6814 }
6815
6816
6817 static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) {
6818 PyObject *resultobj;
6819 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6820 wxString *arg2 = 0 ;
6821 wxString result;
6822 bool temp2 = False ;
6823 PyObject * obj0 = 0 ;
6824 PyObject * obj1 = 0 ;
6825 char *kwnames[] = {
6826 (char *) "self",(char *) "location", NULL
6827 };
6828
6829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
6830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6832 {
6833 arg2 = wxString_in_helper(obj1);
6834 if (arg2 == NULL) SWIG_fail;
6835 temp2 = True;
6836 }
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6839 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6840
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 {
6845 #if wxUSE_UNICODE
6846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6847 #else
6848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6849 #endif
6850 }
6851 {
6852 if (temp2)
6853 delete arg2;
6854 }
6855 return resultobj;
6856 fail:
6857 {
6858 if (temp2)
6859 delete arg2;
6860 }
6861 return NULL;
6862 }
6863
6864
6865 static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) {
6866 PyObject *obj;
6867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6868 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6869 Py_INCREF(obj);
6870 return Py_BuildValue((char *)"");
6871 }
6872 static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 wxFileSystem *result;
6875 char *kwnames[] = {
6876 NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 result = (wxFileSystem *)new wxFileSystem();
6883
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 {
6888 resultobj = wxPyMake_wxObject(result);
6889 }
6890 return resultobj;
6891 fail:
6892 return NULL;
6893 }
6894
6895
6896 static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
6897 PyObject *resultobj;
6898 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6899 PyObject * obj0 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 delete arg1;
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 Py_INCREF(Py_None); resultobj = Py_None;
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6924 wxString *arg2 = 0 ;
6925 bool arg3 = (bool) False ;
6926 bool temp2 = False ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 PyObject * obj2 = 0 ;
6930 char *kwnames[] = {
6931 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6932 };
6933
6934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6937 {
6938 arg2 = wxString_in_helper(obj1);
6939 if (arg2 == NULL) SWIG_fail;
6940 temp2 = True;
6941 }
6942 if (obj2) {
6943 arg3 = (bool) SWIG_AsBool(obj2);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 Py_INCREF(Py_None); resultobj = Py_None;
6954 {
6955 if (temp2)
6956 delete arg2;
6957 }
6958 return resultobj;
6959 fail:
6960 {
6961 if (temp2)
6962 delete arg2;
6963 }
6964 return NULL;
6965 }
6966
6967
6968 static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
6969 PyObject *resultobj;
6970 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6971 wxString result;
6972 PyObject * obj0 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
6978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (arg1)->GetPath();
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 {
6988 #if wxUSE_UNICODE
6989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6990 #else
6991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6992 #endif
6993 }
6994 return resultobj;
6995 fail:
6996 return NULL;
6997 }
6998
6999
7000 static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
7001 PyObject *resultobj;
7002 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7003 wxString *arg2 = 0 ;
7004 wxFSFile *result;
7005 bool temp2 = False ;
7006 PyObject * obj0 = 0 ;
7007 PyObject * obj1 = 0 ;
7008 char *kwnames[] = {
7009 (char *) "self",(char *) "location", NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
7013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7015 {
7016 arg2 = wxString_in_helper(obj1);
7017 if (arg2 == NULL) SWIG_fail;
7018 temp2 = True;
7019 }
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 {
7028 resultobj = wxPyMake_wxObject(result);
7029 }
7030 {
7031 if (temp2)
7032 delete arg2;
7033 }
7034 return resultobj;
7035 fail:
7036 {
7037 if (temp2)
7038 delete arg2;
7039 }
7040 return NULL;
7041 }
7042
7043
7044 static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7047 wxString *arg2 = 0 ;
7048 int arg3 = (int) 0 ;
7049 wxString result;
7050 bool temp2 = False ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 PyObject * obj2 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self",(char *) "spec",(char *) "flags", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7061 {
7062 arg2 = wxString_in_helper(obj1);
7063 if (arg2 == NULL) SWIG_fail;
7064 temp2 = True;
7065 }
7066 if (obj2) {
7067 arg3 = (int) SWIG_AsInt(obj2);
7068 if (PyErr_Occurred()) SWIG_fail;
7069 }
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 {
7078 #if wxUSE_UNICODE
7079 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7080 #else
7081 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7082 #endif
7083 }
7084 {
7085 if (temp2)
7086 delete arg2;
7087 }
7088 return resultobj;
7089 fail:
7090 {
7091 if (temp2)
7092 delete arg2;
7093 }
7094 return NULL;
7095 }
7096
7097
7098 static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj;
7100 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7101 wxString result;
7102 PyObject * obj0 = 0 ;
7103 char *kwnames[] = {
7104 (char *) "self", NULL
7105 };
7106
7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
7108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7110 {
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 result = (arg1)->FindNext();
7113
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 {
7118 #if wxUSE_UNICODE
7119 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7120 #else
7121 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7122 #endif
7123 }
7124 return resultobj;
7125 fail:
7126 return NULL;
7127 }
7128
7129
7130 static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
7131 PyObject *resultobj;
7132 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7133 PyObject * obj0 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "handler", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
7139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 wxFileSystem::AddHandler(arg1);
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 Py_INCREF(Py_None); resultobj = Py_None;
7149 return resultobj;
7150 fail:
7151 return NULL;
7152 }
7153
7154
7155 static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
7156 PyObject *resultobj;
7157 char *kwnames[] = {
7158 NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7162 {
7163 PyThreadState* __tstate = wxPyBeginAllowThreads();
7164 wxFileSystem::CleanUpHandlers();
7165
7166 wxPyEndAllowThreads(__tstate);
7167 if (PyErr_Occurred()) SWIG_fail;
7168 }
7169 Py_INCREF(Py_None); resultobj = Py_None;
7170 return resultobj;
7171 fail:
7172 return NULL;
7173 }
7174
7175
7176 static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) {
7177 PyObject *resultobj;
7178 wxString *arg1 = 0 ;
7179 wxString result;
7180 bool temp1 = False ;
7181 PyObject * obj0 = 0 ;
7182 char *kwnames[] = {
7183 (char *) "filename", NULL
7184 };
7185
7186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7187 {
7188 arg1 = wxString_in_helper(obj0);
7189 if (arg1 == NULL) SWIG_fail;
7190 temp1 = True;
7191 }
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7195
7196 wxPyEndAllowThreads(__tstate);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
7199 {
7200 #if wxUSE_UNICODE
7201 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7202 #else
7203 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7204 #endif
7205 }
7206 {
7207 if (temp1)
7208 delete arg1;
7209 }
7210 return resultobj;
7211 fail:
7212 {
7213 if (temp1)
7214 delete arg1;
7215 }
7216 return NULL;
7217 }
7218
7219
7220 static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
7221 PyObject *obj;
7222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7223 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7224 Py_INCREF(obj);
7225 return Py_BuildValue((char *)"");
7226 }
7227 static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
7228 PyObject *resultobj;
7229 wxString *arg1 = 0 ;
7230 wxString result;
7231 bool temp1 = False ;
7232 PyObject * obj0 = 0 ;
7233 char *kwnames[] = {
7234 (char *) "url", NULL
7235 };
7236
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7238 {
7239 arg1 = wxString_in_helper(obj0);
7240 if (arg1 == NULL) SWIG_fail;
7241 temp1 = True;
7242 }
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 {
7251 #if wxUSE_UNICODE
7252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7253 #else
7254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7255 #endif
7256 }
7257 {
7258 if (temp1)
7259 delete arg1;
7260 }
7261 return resultobj;
7262 fail:
7263 {
7264 if (temp1)
7265 delete arg1;
7266 }
7267 return NULL;
7268 }
7269
7270
7271 static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj;
7273 wxInternetFSHandler *result;
7274 char *kwnames[] = {
7275 NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
7287 return resultobj;
7288 fail:
7289 return NULL;
7290 }
7291
7292
7293 static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7296 wxString *arg2 = 0 ;
7297 bool result;
7298 bool temp2 = False ;
7299 PyObject * obj0 = 0 ;
7300 PyObject * obj1 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "self",(char *) "location", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7308 {
7309 arg2 = wxString_in_helper(obj1);
7310 if (arg2 == NULL) SWIG_fail;
7311 temp2 = True;
7312 }
7313 {
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7316
7317 wxPyEndAllowThreads(__tstate);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 }
7320 {
7321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7322 }
7323 {
7324 if (temp2)
7325 delete arg2;
7326 }
7327 return resultobj;
7328 fail:
7329 {
7330 if (temp2)
7331 delete arg2;
7332 }
7333 return NULL;
7334 }
7335
7336
7337 static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj;
7339 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7340 wxFileSystem *arg2 = 0 ;
7341 wxString *arg3 = 0 ;
7342 wxFSFile *result;
7343 bool temp3 = False ;
7344 PyObject * obj0 = 0 ;
7345 PyObject * obj1 = 0 ;
7346 PyObject * obj2 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "self",(char *) "fs",(char *) "location", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7355 SWIG_POINTER_EXCEPTION | 0)) == -1)
7356 SWIG_fail;
7357 if (arg2 == NULL) {
7358 PyErr_SetString(PyExc_TypeError,"null reference");
7359 SWIG_fail;
7360 }
7361 {
7362 arg3 = wxString_in_helper(obj2);
7363 if (arg3 == NULL) SWIG_fail;
7364 temp3 = True;
7365 }
7366 {
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7369
7370 wxPyEndAllowThreads(__tstate);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 {
7374 resultobj = wxPyMake_wxObject(result);
7375 }
7376 {
7377 if (temp3)
7378 delete arg3;
7379 }
7380 return resultobj;
7381 fail:
7382 {
7383 if (temp3)
7384 delete arg3;
7385 }
7386 return NULL;
7387 }
7388
7389
7390 static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) {
7391 PyObject *obj;
7392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7393 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7394 Py_INCREF(obj);
7395 return Py_BuildValue((char *)"");
7396 }
7397 static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
7398 PyObject *resultobj;
7399 wxZipFSHandler *result;
7400 char *kwnames[] = {
7401 NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = (wxZipFSHandler *)new wxZipFSHandler();
7408
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
7413 return resultobj;
7414 fail:
7415 return NULL;
7416 }
7417
7418
7419 static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7422 wxString *arg2 = 0 ;
7423 bool result;
7424 bool temp2 = False ;
7425 PyObject * obj0 = 0 ;
7426 PyObject * obj1 = 0 ;
7427 char *kwnames[] = {
7428 (char *) "self",(char *) "location", NULL
7429 };
7430
7431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7434 {
7435 arg2 = wxString_in_helper(obj1);
7436 if (arg2 == NULL) SWIG_fail;
7437 temp2 = True;
7438 }
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7442
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 {
7447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7448 }
7449 {
7450 if (temp2)
7451 delete arg2;
7452 }
7453 return resultobj;
7454 fail:
7455 {
7456 if (temp2)
7457 delete arg2;
7458 }
7459 return NULL;
7460 }
7461
7462
7463 static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
7464 PyObject *resultobj;
7465 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7466 wxFileSystem *arg2 = 0 ;
7467 wxString *arg3 = 0 ;
7468 wxFSFile *result;
7469 bool temp3 = False ;
7470 PyObject * obj0 = 0 ;
7471 PyObject * obj1 = 0 ;
7472 PyObject * obj2 = 0 ;
7473 char *kwnames[] = {
7474 (char *) "self",(char *) "fs",(char *) "location", NULL
7475 };
7476
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7481 SWIG_POINTER_EXCEPTION | 0)) == -1)
7482 SWIG_fail;
7483 if (arg2 == NULL) {
7484 PyErr_SetString(PyExc_TypeError,"null reference");
7485 SWIG_fail;
7486 }
7487 {
7488 arg3 = wxString_in_helper(obj2);
7489 if (arg3 == NULL) SWIG_fail;
7490 temp3 = True;
7491 }
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7495
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) SWIG_fail;
7498 }
7499 {
7500 resultobj = wxPyMake_wxObject(result);
7501 }
7502 {
7503 if (temp3)
7504 delete arg3;
7505 }
7506 return resultobj;
7507 fail:
7508 {
7509 if (temp3)
7510 delete arg3;
7511 }
7512 return NULL;
7513 }
7514
7515
7516 static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
7517 PyObject *resultobj;
7518 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7519 wxString *arg2 = 0 ;
7520 int arg3 = (int) 0 ;
7521 wxString result;
7522 bool temp2 = False ;
7523 PyObject * obj0 = 0 ;
7524 PyObject * obj1 = 0 ;
7525 PyObject * obj2 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self",(char *) "spec",(char *) "flags", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7533 {
7534 arg2 = wxString_in_helper(obj1);
7535 if (arg2 == NULL) SWIG_fail;
7536 temp2 = True;
7537 }
7538 if (obj2) {
7539 arg3 = (int) SWIG_AsInt(obj2);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 {
7550 #if wxUSE_UNICODE
7551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7552 #else
7553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7554 #endif
7555 }
7556 {
7557 if (temp2)
7558 delete arg2;
7559 }
7560 return resultobj;
7561 fail:
7562 {
7563 if (temp2)
7564 delete arg2;
7565 }
7566 return NULL;
7567 }
7568
7569
7570 static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
7571 PyObject *resultobj;
7572 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7573 wxString result;
7574 PyObject * obj0 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
7580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 result = (arg1)->FindNext();
7585
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
7589 {
7590 #if wxUSE_UNICODE
7591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7592 #else
7593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7594 #endif
7595 }
7596 return resultobj;
7597 fail:
7598 return NULL;
7599 }
7600
7601
7602 static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) {
7603 PyObject *obj;
7604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7605 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7606 Py_INCREF(obj);
7607 return Py_BuildValue((char *)"");
7608 }
7609 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj;
7611 wxString *arg1 = 0 ;
7612 wxImage *arg2 = 0 ;
7613 long arg3 ;
7614 bool temp1 = False ;
7615 PyObject * obj0 = 0 ;
7616 PyObject * obj1 = 0 ;
7617 PyObject * obj2 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "filename",(char *) "image",(char *) "type", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
7623 {
7624 arg1 = wxString_in_helper(obj0);
7625 if (arg1 == NULL) SWIG_fail;
7626 temp1 = True;
7627 }
7628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
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 arg3 = (long) SWIG_AsLong(obj2);
7636 if (PyErr_Occurred()) SWIG_fail;
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 }
7644 Py_INCREF(Py_None); resultobj = Py_None;
7645 {
7646 if (temp1)
7647 delete arg1;
7648 }
7649 return resultobj;
7650 fail:
7651 {
7652 if (temp1)
7653 delete arg1;
7654 }
7655 return NULL;
7656 }
7657
7658
7659 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7660 PyObject *resultobj;
7661 wxString *arg1 = 0 ;
7662 wxBitmap *arg2 = 0 ;
7663 long arg3 ;
7664 bool temp1 = False ;
7665 PyObject * obj0 = 0 ;
7666 PyObject * obj1 = 0 ;
7667 PyObject * obj2 = 0 ;
7668 char *kwnames[] = {
7669 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7670 };
7671
7672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
7673 {
7674 arg1 = wxString_in_helper(obj0);
7675 if (arg1 == NULL) SWIG_fail;
7676 temp1 = True;
7677 }
7678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7679 SWIG_POINTER_EXCEPTION | 0)) == -1)
7680 SWIG_fail;
7681 if (arg2 == NULL) {
7682 PyErr_SetString(PyExc_TypeError,"null reference");
7683 SWIG_fail;
7684 }
7685 arg3 = (long) SWIG_AsLong(obj2);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 Py_INCREF(Py_None); resultobj = Py_None;
7695 {
7696 if (temp1)
7697 delete arg1;
7698 }
7699 return resultobj;
7700 fail:
7701 {
7702 if (temp1)
7703 delete arg1;
7704 }
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxString *arg1 = 0 ;
7712 PyObject *arg2 = (PyObject *) 0 ;
7713 bool temp1 = False ;
7714 PyObject * obj0 = 0 ;
7715 PyObject * obj1 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "filename",(char *) "data", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7721 {
7722 arg1 = wxString_in_helper(obj0);
7723 if (arg1 == NULL) SWIG_fail;
7724 temp1 = True;
7725 }
7726 arg2 = obj1;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 Py_INCREF(Py_None); resultobj = Py_None;
7735 {
7736 if (temp1)
7737 delete arg1;
7738 }
7739 return resultobj;
7740 fail:
7741 {
7742 if (temp1)
7743 delete arg1;
7744 }
7745 return NULL;
7746 }
7747
7748
7749 static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxMemoryFSHandler *result;
7752 char *kwnames[] = {
7753 NULL
7754 };
7755
7756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
7765 return resultobj;
7766 fail:
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxString *arg1 = 0 ;
7774 bool temp1 = False ;
7775 PyObject * obj0 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "filename", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7781 {
7782 arg1 = wxString_in_helper(obj0);
7783 if (arg1 == NULL) SWIG_fail;
7784 temp1 = True;
7785 }
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 Py_INCREF(Py_None); resultobj = Py_None;
7794 {
7795 if (temp1)
7796 delete arg1;
7797 }
7798 return resultobj;
7799 fail:
7800 {
7801 if (temp1)
7802 delete arg1;
7803 }
7804 return NULL;
7805 }
7806
7807
7808 static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj;
7810 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7811 wxString *arg2 = 0 ;
7812 bool result;
7813 bool temp2 = False ;
7814 PyObject * obj0 = 0 ;
7815 PyObject * obj1 = 0 ;
7816 char *kwnames[] = {
7817 (char *) "self",(char *) "location", NULL
7818 };
7819
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7823 {
7824 arg2 = wxString_in_helper(obj1);
7825 if (arg2 == NULL) SWIG_fail;
7826 temp2 = True;
7827 }
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 {
7836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7837 }
7838 {
7839 if (temp2)
7840 delete arg2;
7841 }
7842 return resultobj;
7843 fail:
7844 {
7845 if (temp2)
7846 delete arg2;
7847 }
7848 return NULL;
7849 }
7850
7851
7852 static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7855 wxFileSystem *arg2 = 0 ;
7856 wxString *arg3 = 0 ;
7857 wxFSFile *result;
7858 bool temp3 = False ;
7859 PyObject * obj0 = 0 ;
7860 PyObject * obj1 = 0 ;
7861 PyObject * obj2 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self",(char *) "fs",(char *) "location", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7870 SWIG_POINTER_EXCEPTION | 0)) == -1)
7871 SWIG_fail;
7872 if (arg2 == NULL) {
7873 PyErr_SetString(PyExc_TypeError,"null reference");
7874 SWIG_fail;
7875 }
7876 {
7877 arg3 = wxString_in_helper(obj2);
7878 if (arg3 == NULL) SWIG_fail;
7879 temp3 = True;
7880 }
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 {
7889 resultobj = wxPyMake_wxObject(result);
7890 }
7891 {
7892 if (temp3)
7893 delete arg3;
7894 }
7895 return resultobj;
7896 fail:
7897 {
7898 if (temp3)
7899 delete arg3;
7900 }
7901 return NULL;
7902 }
7903
7904
7905 static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
7906 PyObject *resultobj;
7907 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7908 wxString *arg2 = 0 ;
7909 int arg3 = (int) 0 ;
7910 wxString result;
7911 bool temp2 = False ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 PyObject * obj2 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self",(char *) "spec",(char *) "flags", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7922 {
7923 arg2 = wxString_in_helper(obj1);
7924 if (arg2 == NULL) SWIG_fail;
7925 temp2 = True;
7926 }
7927 if (obj2) {
7928 arg3 = (int) SWIG_AsInt(obj2);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 {
7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7933 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7934
7935 wxPyEndAllowThreads(__tstate);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 }
7938 {
7939 #if wxUSE_UNICODE
7940 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7941 #else
7942 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7943 #endif
7944 }
7945 {
7946 if (temp2)
7947 delete arg2;
7948 }
7949 return resultobj;
7950 fail:
7951 {
7952 if (temp2)
7953 delete arg2;
7954 }
7955 return NULL;
7956 }
7957
7958
7959 static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7962 wxString result;
7963 PyObject * obj0 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 result = (arg1)->FindNext();
7974
7975 wxPyEndAllowThreads(__tstate);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
7978 {
7979 #if wxUSE_UNICODE
7980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7981 #else
7982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7983 #endif
7984 }
7985 return resultobj;
7986 fail:
7987 return NULL;
7988 }
7989
7990
7991 static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) {
7992 PyObject *obj;
7993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7994 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
7995 Py_INCREF(obj);
7996 return Py_BuildValue((char *)"");
7997 }
7998 static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8001 wxString result;
8002 PyObject * obj0 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 result = (arg1)->GetName();
8013
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 {
8018 #if wxUSE_UNICODE
8019 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8020 #else
8021 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8022 #endif
8023 }
8024 return resultobj;
8025 fail:
8026 return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj;
8032 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8033 wxString result;
8034 PyObject * obj0 = 0 ;
8035 char *kwnames[] = {
8036 (char *) "self", NULL
8037 };
8038
8039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
8040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 result = (arg1)->GetExtension();
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 {
8050 #if wxUSE_UNICODE
8051 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8052 #else
8053 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8054 #endif
8055 }
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8065 long result;
8066 PyObject * obj0 = 0 ;
8067 char *kwnames[] = {
8068 (char *) "self", NULL
8069 };
8070
8071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
8072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 result = (long)(arg1)->GetType();
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 resultobj = SWIG_FromLong((long)result);
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8091 wxString result;
8092 PyObject * obj0 = 0 ;
8093 char *kwnames[] = {
8094 (char *) "self", NULL
8095 };
8096
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
8098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8100 {
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
8102 result = (arg1)->GetMimeType();
8103
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 {
8108 #if wxUSE_UNICODE
8109 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8110 #else
8111 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8112 #endif
8113 }
8114 return resultobj;
8115 fail:
8116 return NULL;
8117 }
8118
8119
8120 static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
8121 PyObject *resultobj;
8122 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8123 wxString *arg2 = 0 ;
8124 bool result;
8125 bool temp2 = False ;
8126 PyObject * obj0 = 0 ;
8127 PyObject * obj1 = 0 ;
8128 char *kwnames[] = {
8129 (char *) "self",(char *) "name", NULL
8130 };
8131
8132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
8133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8135 {
8136 arg2 = wxString_in_helper(obj1);
8137 if (arg2 == NULL) SWIG_fail;
8138 temp2 = True;
8139 }
8140 {
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8143
8144 wxPyEndAllowThreads(__tstate);
8145 if (PyErr_Occurred()) SWIG_fail;
8146 }
8147 {
8148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8149 }
8150 {
8151 if (temp2)
8152 delete arg2;
8153 }
8154 return resultobj;
8155 fail:
8156 {
8157 if (temp2)
8158 delete arg2;
8159 }
8160 return NULL;
8161 }
8162
8163
8164 static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
8165 PyObject *resultobj;
8166 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8167 wxString *arg2 = 0 ;
8168 bool temp2 = False ;
8169 PyObject * obj0 = 0 ;
8170 PyObject * obj1 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self",(char *) "name", NULL
8173 };
8174
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
8176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8178 {
8179 arg2 = wxString_in_helper(obj1);
8180 if (arg2 == NULL) SWIG_fail;
8181 temp2 = True;
8182 }
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 (arg1)->SetName((wxString const &)*arg2);
8186
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 Py_INCREF(Py_None); resultobj = Py_None;
8191 {
8192 if (temp2)
8193 delete arg2;
8194 }
8195 return resultobj;
8196 fail:
8197 {
8198 if (temp2)
8199 delete arg2;
8200 }
8201 return NULL;
8202 }
8203
8204
8205 static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
8206 PyObject *resultobj;
8207 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8208 wxString *arg2 = 0 ;
8209 bool temp2 = False ;
8210 PyObject * obj0 = 0 ;
8211 PyObject * obj1 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self",(char *) "extension", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
8217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8219 {
8220 arg2 = wxString_in_helper(obj1);
8221 if (arg2 == NULL) SWIG_fail;
8222 temp2 = True;
8223 }
8224 {
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 (arg1)->SetExtension((wxString const &)*arg2);
8227
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 Py_INCREF(Py_None); resultobj = Py_None;
8232 {
8233 if (temp2)
8234 delete arg2;
8235 }
8236 return resultobj;
8237 fail:
8238 {
8239 if (temp2)
8240 delete arg2;
8241 }
8242 return NULL;
8243 }
8244
8245
8246 static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
8247 PyObject *resultobj;
8248 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8249 long arg2 ;
8250 PyObject * obj0 = 0 ;
8251 PyObject * obj1 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "self",(char *) "type", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
8257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8259 arg2 = (long) SWIG_AsLong(obj1);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 {
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 (arg1)->SetType(arg2);
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 Py_INCREF(Py_None); resultobj = Py_None;
8269 return resultobj;
8270 fail:
8271 return NULL;
8272 }
8273
8274
8275 static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
8276 PyObject *resultobj;
8277 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8278 wxString *arg2 = 0 ;
8279 bool temp2 = False ;
8280 PyObject * obj0 = 0 ;
8281 PyObject * obj1 = 0 ;
8282 char *kwnames[] = {
8283 (char *) "self",(char *) "mimetype", NULL
8284 };
8285
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
8287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8289 {
8290 arg2 = wxString_in_helper(obj1);
8291 if (arg2 == NULL) SWIG_fail;
8292 temp2 = True;
8293 }
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8296 (arg1)->SetMimeType((wxString const &)*arg2);
8297
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 Py_INCREF(Py_None); resultobj = Py_None;
8302 {
8303 if (temp2)
8304 delete arg2;
8305 }
8306 return resultobj;
8307 fail:
8308 {
8309 if (temp2)
8310 delete arg2;
8311 }
8312 return NULL;
8313 }
8314
8315
8316 static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) {
8317 PyObject *obj;
8318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8319 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8320 Py_INCREF(obj);
8321 return Py_BuildValue((char *)"");
8322 }
8323 static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
8324 PyObject *resultobj;
8325 wxImageHistogram *result;
8326 char *kwnames[] = {
8327 NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (wxImageHistogram *)new wxImageHistogram();
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
8339 return resultobj;
8340 fail:
8341 return NULL;
8342 }
8343
8344
8345 static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) {
8346 PyObject *resultobj;
8347 unsigned char arg1 ;
8348 unsigned char arg2 ;
8349 unsigned char arg3 ;
8350 unsigned long result;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 PyObject * obj2 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "r",(char *) "g",(char *) "b", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
8359 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
8380 PyObject *resultobj;
8381 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8382 unsigned char *arg2 = (unsigned char *) 0 ;
8383 unsigned char *arg3 = (unsigned char *) 0 ;
8384 unsigned char *arg4 = (unsigned char *) 0 ;
8385 unsigned char arg5 = (unsigned char) 1 ;
8386 unsigned char arg6 = (unsigned char) 0 ;
8387 unsigned char arg7 = (unsigned char) 0 ;
8388 bool result;
8389 unsigned char temp2 ;
8390 unsigned char temp3 ;
8391 unsigned char temp4 ;
8392 PyObject * obj0 = 0 ;
8393 PyObject * obj1 = 0 ;
8394 PyObject * obj2 = 0 ;
8395 PyObject * obj3 = 0 ;
8396 char *kwnames[] = {
8397 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8398 };
8399
8400 arg2 = &temp2;
8401 arg3 = &temp3;
8402 arg4 = &temp4;
8403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8406 if (obj1) {
8407 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 if (obj2) {
8411 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 if (obj3) {
8415 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 {
8419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8420 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8421
8422 wxPyEndAllowThreads(__tstate);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 {
8426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8427 }
8428 {
8429 PyObject *o = PyInt_FromLong((long) (*arg2));
8430 resultobj = t_output_helper(resultobj,o);
8431 }
8432 {
8433 PyObject *o = PyInt_FromLong((long) (*arg3));
8434 resultobj = t_output_helper(resultobj,o);
8435 }
8436 {
8437 PyObject *o = PyInt_FromLong((long) (*arg4));
8438 resultobj = t_output_helper(resultobj,o);
8439 }
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) {
8447 PyObject *obj;
8448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8449 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8450 Py_INCREF(obj);
8451 return Py_BuildValue((char *)"");
8452 }
8453 static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) {
8454 PyObject *resultobj;
8455 wxString *arg1 = 0 ;
8456 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8457 int arg3 = (int) -1 ;
8458 wxImage *result;
8459 bool temp1 = False ;
8460 PyObject * obj0 = 0 ;
8461 PyObject * obj1 = 0 ;
8462 PyObject * obj2 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "name",(char *) "type",(char *) "index", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
8468 {
8469 arg1 = wxString_in_helper(obj0);
8470 if (arg1 == NULL) SWIG_fail;
8471 temp1 = True;
8472 }
8473 if (obj1) {
8474 arg2 = (long) SWIG_AsLong(obj1);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 if (obj2) {
8478 arg3 = (int) SWIG_AsInt(obj2);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 {
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8484
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
8488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8489 {
8490 if (temp1)
8491 delete arg1;
8492 }
8493 return resultobj;
8494 fail:
8495 {
8496 if (temp1)
8497 delete arg1;
8498 }
8499 return NULL;
8500 }
8501
8502
8503 static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) {
8504 PyObject *resultobj;
8505 wxImage *arg1 = (wxImage *) 0 ;
8506 PyObject * obj0 = 0 ;
8507 char *kwnames[] = {
8508 (char *) "self", NULL
8509 };
8510
8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
8512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8514 {
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 delete arg1;
8517
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
8521 Py_INCREF(Py_None); resultobj = Py_None;
8522 return resultobj;
8523 fail:
8524 return NULL;
8525 }
8526
8527
8528 static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 wxString *arg1 = 0 ;
8531 wxString *arg2 = 0 ;
8532 int arg3 = (int) -1 ;
8533 wxImage *result;
8534 bool temp1 = False ;
8535 bool temp2 = False ;
8536 PyObject * obj0 = 0 ;
8537 PyObject * obj1 = 0 ;
8538 PyObject * obj2 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
8544 {
8545 arg1 = wxString_in_helper(obj0);
8546 if (arg1 == NULL) SWIG_fail;
8547 temp1 = True;
8548 }
8549 {
8550 arg2 = wxString_in_helper(obj1);
8551 if (arg2 == NULL) SWIG_fail;
8552 temp2 = True;
8553 }
8554 if (obj2) {
8555 arg3 = (int) SWIG_AsInt(obj2);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 {
8559 PyThreadState* __tstate = wxPyBeginAllowThreads();
8560 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8561
8562 wxPyEndAllowThreads(__tstate);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8566 {
8567 if (temp1)
8568 delete arg1;
8569 }
8570 {
8571 if (temp2)
8572 delete arg2;
8573 }
8574 return resultobj;
8575 fail:
8576 {
8577 if (temp1)
8578 delete arg1;
8579 }
8580 {
8581 if (temp2)
8582 delete arg2;
8583 }
8584 return NULL;
8585 }
8586
8587
8588 static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
8589 PyObject *resultobj;
8590 wxInputStream *arg1 = 0 ;
8591 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8592 int arg3 = (int) -1 ;
8593 wxImage *result;
8594 wxPyInputStream *temp1 ;
8595 bool created1 ;
8596 PyObject * obj0 = 0 ;
8597 PyObject * obj1 = 0 ;
8598 PyObject * obj2 = 0 ;
8599 char *kwnames[] = {
8600 (char *) "stream",(char *) "type",(char *) "index", NULL
8601 };
8602
8603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
8604 {
8605 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8606 arg1 = temp1->m_wxis;
8607 created1 = False;
8608 } else {
8609 PyErr_Clear(); // clear the failure of the wxPyConvert above
8610 arg1 = wxPyCBInputStream_create(obj0, False);
8611 if (arg1 == NULL) {
8612 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8613 SWIG_fail;
8614 }
8615 created1 = True;
8616 }
8617 }
8618 if (obj1) {
8619 arg2 = (long) SWIG_AsLong(obj1);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 if (obj2) {
8623 arg3 = (int) SWIG_AsInt(obj2);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8634 {
8635 if (created1)
8636 delete arg1;
8637 }
8638 return resultobj;
8639 fail:
8640 {
8641 if (created1)
8642 delete arg1;
8643 }
8644 return NULL;
8645 }
8646
8647
8648 static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) {
8649 PyObject *resultobj;
8650 wxInputStream *arg1 = 0 ;
8651 wxString *arg2 = 0 ;
8652 int arg3 = (int) -1 ;
8653 wxImage *result;
8654 wxPyInputStream *temp1 ;
8655 bool created1 ;
8656 bool temp2 = False ;
8657 PyObject * obj0 = 0 ;
8658 PyObject * obj1 = 0 ;
8659 PyObject * obj2 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
8665 {
8666 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8667 arg1 = temp1->m_wxis;
8668 created1 = False;
8669 } else {
8670 PyErr_Clear(); // clear the failure of the wxPyConvert above
8671 arg1 = wxPyCBInputStream_create(obj0, False);
8672 if (arg1 == NULL) {
8673 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8674 SWIG_fail;
8675 }
8676 created1 = True;
8677 }
8678 }
8679 {
8680 arg2 = wxString_in_helper(obj1);
8681 if (arg2 == NULL) SWIG_fail;
8682 temp2 = True;
8683 }
8684 if (obj2) {
8685 arg3 = (int) SWIG_AsInt(obj2);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8696 {
8697 if (created1)
8698 delete arg1;
8699 }
8700 {
8701 if (temp2)
8702 delete arg2;
8703 }
8704 return resultobj;
8705 fail:
8706 {
8707 if (created1)
8708 delete arg1;
8709 }
8710 {
8711 if (temp2)
8712 delete arg2;
8713 }
8714 return NULL;
8715 }
8716
8717
8718 static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) {
8719 PyObject *resultobj;
8720 int arg1 = (int) 0 ;
8721 int arg2 = (int) 0 ;
8722 bool arg3 = (bool) True ;
8723 wxImage *result;
8724 PyObject * obj0 = 0 ;
8725 PyObject * obj1 = 0 ;
8726 PyObject * obj2 = 0 ;
8727 char *kwnames[] = {
8728 (char *) "width",(char *) "height",(char *) "clear", NULL
8729 };
8730
8731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
8732 if (obj0) {
8733 arg1 = (int) SWIG_AsInt(obj0);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 if (obj1) {
8737 arg2 = (int) SWIG_AsInt(obj1);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 if (obj2) {
8741 arg3 = (bool) SWIG_AsBool(obj2);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8752 return resultobj;
8753 fail:
8754 return NULL;
8755 }
8756
8757
8758 static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8759 PyObject *resultobj;
8760 wxBitmap *arg1 = 0 ;
8761 wxImage *result;
8762 PyObject * obj0 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "bitmap", NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
8768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8769 SWIG_POINTER_EXCEPTION | 0)) == -1)
8770 SWIG_fail;
8771 if (arg1 == NULL) {
8772 PyErr_SetString(PyExc_TypeError,"null reference");
8773 SWIG_fail;
8774 }
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8783 return resultobj;
8784 fail:
8785 return NULL;
8786 }
8787
8788
8789 static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 int arg1 ;
8792 int arg2 ;
8793 unsigned char *arg3 = (unsigned char *) 0 ;
8794 wxImage *result;
8795 PyObject * obj0 = 0 ;
8796 PyObject * obj1 = 0 ;
8797 PyObject * obj2 = 0 ;
8798 char *kwnames[] = {
8799 (char *) "width",(char *) "height",(char *) "data", NULL
8800 };
8801
8802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
8803 arg1 = (int) SWIG_AsInt(obj0);
8804 if (PyErr_Occurred()) SWIG_fail;
8805 arg2 = (int) SWIG_AsInt(obj1);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8817 return resultobj;
8818 fail:
8819 return NULL;
8820 }
8821
8822
8823 static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8824 PyObject *resultobj;
8825 wxImage *arg1 = (wxImage *) 0 ;
8826 int arg2 ;
8827 int arg3 ;
8828 PyObject * obj0 = 0 ;
8829 PyObject * obj1 = 0 ;
8830 PyObject * obj2 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self",(char *) "width",(char *) "height", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8838 arg2 = (int) SWIG_AsInt(obj1);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 arg3 = (int) SWIG_AsInt(obj2);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 (arg1)->Create(arg2,arg3);
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 Py_INCREF(Py_None); resultobj = Py_None;
8850 return resultobj;
8851 fail:
8852 return NULL;
8853 }
8854
8855
8856 static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxImage *arg1 = (wxImage *) 0 ;
8859 PyObject * obj0 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 (arg1)->Destroy();
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 Py_INCREF(Py_None); resultobj = Py_None;
8875 return resultobj;
8876 fail:
8877 return NULL;
8878 }
8879
8880
8881 static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
8882 PyObject *resultobj;
8883 wxImage *arg1 = (wxImage *) 0 ;
8884 int arg2 ;
8885 int arg3 ;
8886 SwigValueWrapper< wxImage > result;
8887 PyObject * obj0 = 0 ;
8888 PyObject * obj1 = 0 ;
8889 PyObject * obj2 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self",(char *) "width",(char *) "height", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
8895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8897 arg2 = (int) SWIG_AsInt(obj1);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 arg3 = (int) SWIG_AsInt(obj2);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 result = (arg1)->Scale(arg2,arg3);
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 {
8909 wxImage * resultptr;
8910 resultptr = new wxImage((wxImage &) result);
8911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
8912 }
8913 return resultobj;
8914 fail:
8915 return NULL;
8916 }
8917
8918
8919 static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj;
8921 wxImage *arg1 = (wxImage *) 0 ;
8922 int arg2 ;
8923 int arg3 ;
8924 SwigValueWrapper< wxImage > result;
8925 PyObject * obj0 = 0 ;
8926 PyObject * obj1 = 0 ;
8927 PyObject * obj2 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8935 arg2 = (int) SWIG_AsInt(obj1);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 arg3 = (int) SWIG_AsInt(obj2);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
8942
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 {
8947 wxImage * resultptr;
8948 resultptr = new wxImage((wxImage &) result);
8949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
8950 }
8951 return resultobj;
8952 fail:
8953 return NULL;
8954 }
8955
8956
8957 static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) {
8958 PyObject *resultobj;
8959 wxImage *arg1 = (wxImage *) 0 ;
8960 int arg2 ;
8961 int arg3 ;
8962 wxImage *result;
8963 PyObject * obj0 = 0 ;
8964 PyObject * obj1 = 0 ;
8965 PyObject * obj2 = 0 ;
8966 char *kwnames[] = {
8967 (char *) "self",(char *) "width",(char *) "height", NULL
8968 };
8969
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
8971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8973 arg2 = (int) SWIG_AsInt(obj1);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 arg3 = (int) SWIG_AsInt(obj2);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 {
8980 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
8981 result = (wxImage *) &_result_ref;
8982 }
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj;
8996 wxImage *arg1 = (wxImage *) 0 ;
8997 int arg2 ;
8998 int arg3 ;
8999 unsigned char arg4 ;
9000 unsigned char arg5 ;
9001 unsigned char arg6 ;
9002 PyObject * obj0 = 0 ;
9003 PyObject * obj1 = 0 ;
9004 PyObject * obj2 = 0 ;
9005 PyObject * obj3 = 0 ;
9006 PyObject * obj4 = 0 ;
9007 PyObject * obj5 = 0 ;
9008 char *kwnames[] = {
9009 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9010 };
9011
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9015 arg2 = (int) SWIG_AsInt(obj1);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 arg3 = (int) SWIG_AsInt(obj2);
9018 if (PyErr_Occurred()) SWIG_fail;
9019 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 Py_INCREF(Py_None); resultobj = Py_None;
9033 return resultobj;
9034 fail:
9035 return NULL;
9036 }
9037
9038
9039 static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 wxImage *arg1 = (wxImage *) 0 ;
9042 int arg2 ;
9043 int arg3 ;
9044 unsigned char result;
9045 PyObject * obj0 = 0 ;
9046 PyObject * obj1 = 0 ;
9047 PyObject * obj2 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "self",(char *) "x",(char *) "y", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
9053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9055 arg2 = (int) SWIG_AsInt(obj1);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 arg3 = (int) SWIG_AsInt(obj2);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
9066 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9067 return resultobj;
9068 fail:
9069 return NULL;
9070 }
9071
9072
9073 static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj;
9075 wxImage *arg1 = (wxImage *) 0 ;
9076 int arg2 ;
9077 int arg3 ;
9078 unsigned char result;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 PyObject * obj2 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self",(char *) "x",(char *) "y", NULL
9084 };
9085
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
9087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9089 arg2 = (int) SWIG_AsInt(obj1);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 arg3 = (int) SWIG_AsInt(obj2);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9101 return resultobj;
9102 fail:
9103 return NULL;
9104 }
9105
9106
9107 static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) {
9108 PyObject *resultobj;
9109 wxImage *arg1 = (wxImage *) 0 ;
9110 int arg2 ;
9111 int arg3 ;
9112 unsigned char result;
9113 PyObject * obj0 = 0 ;
9114 PyObject * obj1 = 0 ;
9115 PyObject * obj2 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self",(char *) "x",(char *) "y", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9123 arg2 = (int) SWIG_AsInt(obj1);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 arg3 = (int) SWIG_AsInt(obj2);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9135 return resultobj;
9136 fail:
9137 return NULL;
9138 }
9139
9140
9141 static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj;
9143 wxImage *arg1 = (wxImage *) 0 ;
9144 int arg2 ;
9145 int arg3 ;
9146 unsigned char arg4 ;
9147 PyObject * obj0 = 0 ;
9148 PyObject * obj1 = 0 ;
9149 PyObject * obj2 = 0 ;
9150 PyObject * obj3 = 0 ;
9151 char *kwnames[] = {
9152 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9158 arg2 = (int) SWIG_AsInt(obj1);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 arg3 = (int) SWIG_AsInt(obj2);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 {
9165 PyThreadState* __tstate = wxPyBeginAllowThreads();
9166 (arg1)->SetAlpha(arg2,arg3,arg4);
9167
9168 wxPyEndAllowThreads(__tstate);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 }
9171 Py_INCREF(Py_None); resultobj = Py_None;
9172 return resultobj;
9173 fail:
9174 return NULL;
9175 }
9176
9177
9178 static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
9179 PyObject *resultobj;
9180 wxImage *arg1 = (wxImage *) 0 ;
9181 int arg2 ;
9182 int arg3 ;
9183 unsigned char result;
9184 PyObject * obj0 = 0 ;
9185 PyObject * obj1 = 0 ;
9186 PyObject * obj2 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self",(char *) "x",(char *) "y", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
9192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9194 arg2 = (int) SWIG_AsInt(obj1);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 arg3 = (int) SWIG_AsInt(obj2);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9201
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9206 return resultobj;
9207 fail:
9208 return NULL;
9209 }
9210
9211
9212 static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj;
9214 wxImage *arg1 = (wxImage *) 0 ;
9215 bool result;
9216 PyObject * obj0 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
9222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 result = (bool)(arg1)->HasAlpha();
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 {
9232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9233 }
9234 return resultobj;
9235 fail:
9236 return NULL;
9237 }
9238
9239
9240 static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxImage *arg1 = (wxImage *) 0 ;
9243 byte *arg2 = (byte *) 0 ;
9244 byte *arg3 = (byte *) 0 ;
9245 byte *arg4 = (byte *) 0 ;
9246 byte arg5 = (byte) 0 ;
9247 byte arg6 = (byte) 0 ;
9248 byte arg7 = (byte) 0 ;
9249 bool result;
9250 byte temp2 ;
9251 byte temp3 ;
9252 byte temp4 ;
9253 PyObject * obj0 = 0 ;
9254 PyObject * obj1 = 0 ;
9255 PyObject * obj2 = 0 ;
9256 PyObject * obj3 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9259 };
9260
9261 arg2 = &temp2;
9262 arg3 = &temp3;
9263 arg4 = &temp4;
9264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9267 if (obj1) {
9268 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 if (obj2) {
9272 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 }
9275 if (obj3) {
9276 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9282
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 {
9287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9288 }
9289 {
9290 PyObject *o = PyInt_FromLong((long) (*arg2));
9291 resultobj = t_output_helper(resultobj,o);
9292 }
9293 {
9294 PyObject *o = PyInt_FromLong((long) (*arg3));
9295 resultobj = t_output_helper(resultobj,o);
9296 }
9297 {
9298 PyObject *o = PyInt_FromLong((long) (*arg4));
9299 resultobj = t_output_helper(resultobj,o);
9300 }
9301 return resultobj;
9302 fail:
9303 return NULL;
9304 }
9305
9306
9307 static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
9308 PyObject *resultobj;
9309 wxImage *arg1 = (wxImage *) 0 ;
9310 wxImage *arg2 = 0 ;
9311 byte arg3 ;
9312 byte arg4 ;
9313 byte arg5 ;
9314 bool result;
9315 PyObject * obj0 = 0 ;
9316 PyObject * obj1 = 0 ;
9317 PyObject * obj2 = 0 ;
9318 PyObject * obj3 = 0 ;
9319 PyObject * obj4 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9328 SWIG_POINTER_EXCEPTION | 0)) == -1)
9329 SWIG_fail;
9330 if (arg2 == NULL) {
9331 PyErr_SetString(PyExc_TypeError,"null reference");
9332 SWIG_fail;
9333 }
9334 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 {
9348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9349 }
9350 return resultobj;
9351 fail:
9352 return NULL;
9353 }
9354
9355
9356 static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
9357 PyObject *resultobj;
9358 wxString *arg1 = 0 ;
9359 bool result;
9360 bool temp1 = False ;
9361 PyObject * obj0 = 0 ;
9362 char *kwnames[] = {
9363 (char *) "name", NULL
9364 };
9365
9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9367 {
9368 arg1 = wxString_in_helper(obj0);
9369 if (arg1 == NULL) SWIG_fail;
9370 temp1 = True;
9371 }
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 {
9380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9381 }
9382 {
9383 if (temp1)
9384 delete arg1;
9385 }
9386 return resultobj;
9387 fail:
9388 {
9389 if (temp1)
9390 delete arg1;
9391 }
9392 return NULL;
9393 }
9394
9395
9396 static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj;
9398 wxString *arg1 = 0 ;
9399 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9400 int result;
9401 bool temp1 = False ;
9402 PyObject * obj0 = 0 ;
9403 PyObject * obj1 = 0 ;
9404 char *kwnames[] = {
9405 (char *) "name",(char *) "type", NULL
9406 };
9407
9408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
9409 {
9410 arg1 = wxString_in_helper(obj0);
9411 if (arg1 == NULL) SWIG_fail;
9412 temp1 = True;
9413 }
9414 if (obj1) {
9415 arg2 = (long) SWIG_AsLong(obj1);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9421
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 resultobj = SWIG_FromInt((int)result);
9426 {
9427 if (temp1)
9428 delete arg1;
9429 }
9430 return resultobj;
9431 fail:
9432 {
9433 if (temp1)
9434 delete arg1;
9435 }
9436 return NULL;
9437 }
9438
9439
9440 static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxImage *arg1 = (wxImage *) 0 ;
9443 wxString *arg2 = 0 ;
9444 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9445 int arg4 = (int) -1 ;
9446 bool result;
9447 bool temp2 = False ;
9448 PyObject * obj0 = 0 ;
9449 PyObject * obj1 = 0 ;
9450 PyObject * obj2 = 0 ;
9451 PyObject * obj3 = 0 ;
9452 char *kwnames[] = {
9453 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9454 };
9455
9456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9459 {
9460 arg2 = wxString_in_helper(obj1);
9461 if (arg2 == NULL) SWIG_fail;
9462 temp2 = True;
9463 }
9464 if (obj2) {
9465 arg3 = (long) SWIG_AsLong(obj2);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 if (obj3) {
9469 arg4 = (int) SWIG_AsInt(obj3);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 {
9480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9481 }
9482 {
9483 if (temp2)
9484 delete arg2;
9485 }
9486 return resultobj;
9487 fail:
9488 {
9489 if (temp2)
9490 delete arg2;
9491 }
9492 return NULL;
9493 }
9494
9495
9496 static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj;
9498 wxImage *arg1 = (wxImage *) 0 ;
9499 wxString *arg2 = 0 ;
9500 wxString *arg3 = 0 ;
9501 int arg4 = (int) -1 ;
9502 bool result;
9503 bool temp2 = False ;
9504 bool temp3 = False ;
9505 PyObject * obj0 = 0 ;
9506 PyObject * obj1 = 0 ;
9507 PyObject * obj2 = 0 ;
9508 PyObject * obj3 = 0 ;
9509 char *kwnames[] = {
9510 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9511 };
9512
9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9516 {
9517 arg2 = wxString_in_helper(obj1);
9518 if (arg2 == NULL) SWIG_fail;
9519 temp2 = True;
9520 }
9521 {
9522 arg3 = wxString_in_helper(obj2);
9523 if (arg3 == NULL) SWIG_fail;
9524 temp3 = True;
9525 }
9526 if (obj3) {
9527 arg4 = (int) SWIG_AsInt(obj3);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
9530 {
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9533
9534 wxPyEndAllowThreads(__tstate);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 {
9538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9539 }
9540 {
9541 if (temp2)
9542 delete arg2;
9543 }
9544 {
9545 if (temp3)
9546 delete arg3;
9547 }
9548 return resultobj;
9549 fail:
9550 {
9551 if (temp2)
9552 delete arg2;
9553 }
9554 {
9555 if (temp3)
9556 delete arg3;
9557 }
9558 return NULL;
9559 }
9560
9561
9562 static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
9563 PyObject *resultobj;
9564 wxImage *arg1 = (wxImage *) 0 ;
9565 wxString *arg2 = 0 ;
9566 int arg3 ;
9567 bool result;
9568 bool temp2 = False ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 PyObject * obj2 = 0 ;
9572 char *kwnames[] = {
9573 (char *) "self",(char *) "name",(char *) "type", NULL
9574 };
9575
9576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9579 {
9580 arg2 = wxString_in_helper(obj1);
9581 if (arg2 == NULL) SWIG_fail;
9582 temp2 = True;
9583 }
9584 arg3 = (int) SWIG_AsInt(obj2);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9589
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 {
9594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9595 }
9596 {
9597 if (temp2)
9598 delete arg2;
9599 }
9600 return resultobj;
9601 fail:
9602 {
9603 if (temp2)
9604 delete arg2;
9605 }
9606 return NULL;
9607 }
9608
9609
9610 static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
9611 PyObject *resultobj;
9612 wxImage *arg1 = (wxImage *) 0 ;
9613 wxString *arg2 = 0 ;
9614 wxString *arg3 = 0 ;
9615 bool result;
9616 bool temp2 = False ;
9617 bool temp3 = False ;
9618 PyObject * obj0 = 0 ;
9619 PyObject * obj1 = 0 ;
9620 PyObject * obj2 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9628 {
9629 arg2 = wxString_in_helper(obj1);
9630 if (arg2 == NULL) SWIG_fail;
9631 temp2 = True;
9632 }
9633 {
9634 arg3 = wxString_in_helper(obj2);
9635 if (arg3 == NULL) SWIG_fail;
9636 temp3 = True;
9637 }
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 {
9646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9647 }
9648 {
9649 if (temp2)
9650 delete arg2;
9651 }
9652 {
9653 if (temp3)
9654 delete arg3;
9655 }
9656 return resultobj;
9657 fail:
9658 {
9659 if (temp2)
9660 delete arg2;
9661 }
9662 {
9663 if (temp3)
9664 delete arg3;
9665 }
9666 return NULL;
9667 }
9668
9669
9670 static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) {
9671 PyObject *resultobj;
9672 wxInputStream *arg1 = 0 ;
9673 bool result;
9674 wxPyInputStream *temp1 ;
9675 bool created1 ;
9676 PyObject * obj0 = 0 ;
9677 char *kwnames[] = {
9678 (char *) "stream", NULL
9679 };
9680
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9682 {
9683 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9684 arg1 = temp1->m_wxis;
9685 created1 = False;
9686 } else {
9687 PyErr_Clear(); // clear the failure of the wxPyConvert above
9688 arg1 = wxPyCBInputStream_create(obj0, False);
9689 if (arg1 == NULL) {
9690 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9691 SWIG_fail;
9692 }
9693 created1 = True;
9694 }
9695 }
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 result = (bool)wxImage::CanRead(*arg1);
9699
9700 wxPyEndAllowThreads(__tstate);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 {
9704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9705 }
9706 {
9707 if (created1)
9708 delete arg1;
9709 }
9710 return resultobj;
9711 fail:
9712 {
9713 if (created1)
9714 delete arg1;
9715 }
9716 return NULL;
9717 }
9718
9719
9720 static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) {
9721 PyObject *resultobj;
9722 wxImage *arg1 = (wxImage *) 0 ;
9723 wxInputStream *arg2 = 0 ;
9724 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9725 int arg4 = (int) -1 ;
9726 bool result;
9727 wxPyInputStream *temp2 ;
9728 bool created2 ;
9729 PyObject * obj0 = 0 ;
9730 PyObject * obj1 = 0 ;
9731 PyObject * obj2 = 0 ;
9732 PyObject * obj3 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9740 {
9741 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9742 arg2 = temp2->m_wxis;
9743 created2 = False;
9744 } else {
9745 PyErr_Clear(); // clear the failure of the wxPyConvert above
9746 arg2 = wxPyCBInputStream_create(obj1, False);
9747 if (arg2 == NULL) {
9748 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9749 SWIG_fail;
9750 }
9751 created2 = True;
9752 }
9753 }
9754 if (obj2) {
9755 arg3 = (long) SWIG_AsLong(obj2);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 if (obj3) {
9759 arg4 = (int) SWIG_AsInt(obj3);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9765
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 {
9770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9771 }
9772 {
9773 if (created2)
9774 delete arg2;
9775 }
9776 return resultobj;
9777 fail:
9778 {
9779 if (created2)
9780 delete arg2;
9781 }
9782 return NULL;
9783 }
9784
9785
9786 static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxImage *arg1 = (wxImage *) 0 ;
9789 wxInputStream *arg2 = 0 ;
9790 wxString *arg3 = 0 ;
9791 int arg4 = (int) -1 ;
9792 bool result;
9793 wxPyInputStream *temp2 ;
9794 bool created2 ;
9795 bool temp3 = False ;
9796 PyObject * obj0 = 0 ;
9797 PyObject * obj1 = 0 ;
9798 PyObject * obj2 = 0 ;
9799 PyObject * obj3 = 0 ;
9800 char *kwnames[] = {
9801 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9802 };
9803
9804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9807 {
9808 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9809 arg2 = temp2->m_wxis;
9810 created2 = False;
9811 } else {
9812 PyErr_Clear(); // clear the failure of the wxPyConvert above
9813 arg2 = wxPyCBInputStream_create(obj1, False);
9814 if (arg2 == NULL) {
9815 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9816 SWIG_fail;
9817 }
9818 created2 = True;
9819 }
9820 }
9821 {
9822 arg3 = wxString_in_helper(obj2);
9823 if (arg3 == NULL) SWIG_fail;
9824 temp3 = True;
9825 }
9826 if (obj3) {
9827 arg4 = (int) SWIG_AsInt(obj3);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 }
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 {
9838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9839 }
9840 {
9841 if (created2)
9842 delete arg2;
9843 }
9844 {
9845 if (temp3)
9846 delete arg3;
9847 }
9848 return resultobj;
9849 fail:
9850 {
9851 if (created2)
9852 delete arg2;
9853 }
9854 {
9855 if (temp3)
9856 delete arg3;
9857 }
9858 return NULL;
9859 }
9860
9861
9862 static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj;
9864 wxImage *arg1 = (wxImage *) 0 ;
9865 bool result;
9866 PyObject * obj0 = 0 ;
9867 char *kwnames[] = {
9868 (char *) "self", NULL
9869 };
9870
9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
9872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9874 {
9875 PyThreadState* __tstate = wxPyBeginAllowThreads();
9876 result = (bool)(arg1)->Ok();
9877
9878 wxPyEndAllowThreads(__tstate);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
9881 {
9882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9883 }
9884 return resultobj;
9885 fail:
9886 return NULL;
9887 }
9888
9889
9890 static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9891 PyObject *resultobj;
9892 wxImage *arg1 = (wxImage *) 0 ;
9893 int result;
9894 PyObject * obj0 = 0 ;
9895 char *kwnames[] = {
9896 (char *) "self", NULL
9897 };
9898
9899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
9900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 result = (int)(arg1)->GetWidth();
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 resultobj = SWIG_FromInt((int)result);
9910 return resultobj;
9911 fail:
9912 return NULL;
9913 }
9914
9915
9916 static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxImage *arg1 = (wxImage *) 0 ;
9919 int result;
9920 PyObject * obj0 = 0 ;
9921 char *kwnames[] = {
9922 (char *) "self", NULL
9923 };
9924
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
9926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 result = (int)(arg1)->GetHeight();
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 resultobj = SWIG_FromInt((int)result);
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxImage *arg1 = (wxImage *) 0 ;
9945 wxRect *arg2 = 0 ;
9946 SwigValueWrapper< wxImage > result;
9947 wxRect temp2 ;
9948 PyObject * obj0 = 0 ;
9949 PyObject * obj1 = 0 ;
9950 char *kwnames[] = {
9951 (char *) "self",(char *) "rect", NULL
9952 };
9953
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
9955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9957 {
9958 arg2 = &temp2;
9959 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9960 }
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = (arg1)->GetSubImage((wxRect const &)*arg2);
9964
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 {
9969 wxImage * resultptr;
9970 resultptr = new wxImage((wxImage &) result);
9971 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
9972 }
9973 return resultobj;
9974 fail:
9975 return NULL;
9976 }
9977
9978
9979 static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj;
9981 wxImage *arg1 = (wxImage *) 0 ;
9982 SwigValueWrapper< wxImage > result;
9983 PyObject * obj0 = 0 ;
9984 char *kwnames[] = {
9985 (char *) "self", NULL
9986 };
9987
9988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
9989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = (arg1)->Copy();
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 {
9999 wxImage * resultptr;
10000 resultptr = new wxImage((wxImage &) result);
10001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10002 }
10003 return resultobj;
10004 fail:
10005 return NULL;
10006 }
10007
10008
10009 static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
10010 PyObject *resultobj;
10011 wxImage *arg1 = (wxImage *) 0 ;
10012 wxImage *arg2 = 0 ;
10013 int arg3 ;
10014 int arg4 ;
10015 PyObject * obj0 = 0 ;
10016 PyObject * obj1 = 0 ;
10017 PyObject * obj2 = 0 ;
10018 PyObject * obj3 = 0 ;
10019 char *kwnames[] = {
10020 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10021 };
10022
10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10027 SWIG_POINTER_EXCEPTION | 0)) == -1)
10028 SWIG_fail;
10029 if (arg2 == NULL) {
10030 PyErr_SetString(PyExc_TypeError,"null reference");
10031 SWIG_fail;
10032 }
10033 arg3 = (int) SWIG_AsInt(obj2);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 arg4 = (int) SWIG_AsInt(obj3);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 Py_INCREF(Py_None); resultobj = Py_None;
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj;
10053 wxImage *arg1 = (wxImage *) 0 ;
10054 PyObject *result;
10055 PyObject * obj0 = 0 ;
10056 char *kwnames[] = {
10057 (char *) "self", NULL
10058 };
10059
10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
10061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 result = (PyObject *)wxImage_GetData(arg1);
10066
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 resultobj = result;
10071 return resultobj;
10072 fail:
10073 return NULL;
10074 }
10075
10076
10077 static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
10078 PyObject *resultobj;
10079 wxImage *arg1 = (wxImage *) 0 ;
10080 PyObject *arg2 = (PyObject *) 0 ;
10081 PyObject * obj0 = 0 ;
10082 PyObject * obj1 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "self",(char *) "data", NULL
10085 };
10086
10087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
10088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10090 arg2 = obj1;
10091 {
10092 PyThreadState* __tstate = wxPyBeginAllowThreads();
10093 wxImage_SetData(arg1,arg2);
10094
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
10098 Py_INCREF(Py_None); resultobj = Py_None;
10099 return resultobj;
10100 fail:
10101 return NULL;
10102 }
10103
10104
10105 static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj;
10107 wxImage *arg1 = (wxImage *) 0 ;
10108 PyObject *result;
10109 PyObject * obj0 = 0 ;
10110 char *kwnames[] = {
10111 (char *) "self", NULL
10112 };
10113
10114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
10115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10117 {
10118 PyThreadState* __tstate = wxPyBeginAllowThreads();
10119 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10120
10121 wxPyEndAllowThreads(__tstate);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 }
10124 resultobj = result;
10125 return resultobj;
10126 fail:
10127 return NULL;
10128 }
10129
10130
10131 static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
10132 PyObject *resultobj;
10133 wxImage *arg1 = (wxImage *) 0 ;
10134 PyObject *arg2 = (PyObject *) 0 ;
10135 PyObject * obj0 = 0 ;
10136 PyObject * obj1 = 0 ;
10137 char *kwnames[] = {
10138 (char *) "self",(char *) "data", NULL
10139 };
10140
10141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
10142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10144 arg2 = obj1;
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 wxImage_SetDataBuffer(arg1,arg2);
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 Py_INCREF(Py_None); resultobj = Py_None;
10153 return resultobj;
10154 fail:
10155 return NULL;
10156 }
10157
10158
10159 static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj;
10161 wxImage *arg1 = (wxImage *) 0 ;
10162 PyObject *result;
10163 PyObject * obj0 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "self", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
10169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 result = (PyObject *)wxImage_GetAlphaData(arg1);
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 resultobj = result;
10179 return resultobj;
10180 fail:
10181 return NULL;
10182 }
10183
10184
10185 static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
10186 PyObject *resultobj;
10187 wxImage *arg1 = (wxImage *) 0 ;
10188 PyObject *arg2 = (PyObject *) 0 ;
10189 PyObject * obj0 = 0 ;
10190 PyObject * obj1 = 0 ;
10191 char *kwnames[] = {
10192 (char *) "self",(char *) "data", NULL
10193 };
10194
10195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
10196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10198 arg2 = obj1;
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 wxImage_SetAlphaData(arg1,arg2);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 Py_INCREF(Py_None); resultobj = Py_None;
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxImage *arg1 = (wxImage *) 0 ;
10216 PyObject *result;
10217 PyObject * obj0 = 0 ;
10218 char *kwnames[] = {
10219 (char *) "self", NULL
10220 };
10221
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
10223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 resultobj = result;
10233 return resultobj;
10234 fail:
10235 return NULL;
10236 }
10237
10238
10239 static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
10240 PyObject *resultobj;
10241 wxImage *arg1 = (wxImage *) 0 ;
10242 PyObject *arg2 = (PyObject *) 0 ;
10243 PyObject * obj0 = 0 ;
10244 PyObject * obj1 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self",(char *) "data", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
10250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10252 arg2 = obj1;
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 wxImage_SetAlphaBuffer(arg1,arg2);
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 Py_INCREF(Py_None); resultobj = Py_None;
10261 return resultobj;
10262 fail:
10263 return NULL;
10264 }
10265
10266
10267 static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxImage *arg1 = (wxImage *) 0 ;
10270 unsigned char arg2 ;
10271 unsigned char arg3 ;
10272 unsigned char arg4 ;
10273 PyObject * obj0 = 0 ;
10274 PyObject * obj1 = 0 ;
10275 PyObject * obj2 = 0 ;
10276 PyObject * obj3 = 0 ;
10277 char *kwnames[] = {
10278 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10279 };
10280
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10284 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 (arg1)->SetMaskColour(arg2,arg3,arg4);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 Py_INCREF(Py_None); resultobj = Py_None;
10298 return resultobj;
10299 fail:
10300 return NULL;
10301 }
10302
10303
10304 static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) {
10305 PyObject *resultobj;
10306 wxImage *arg1 = (wxImage *) 0 ;
10307 unsigned char result;
10308 PyObject * obj0 = 0 ;
10309 char *kwnames[] = {
10310 (char *) "self", NULL
10311 };
10312
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
10314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 result = (unsigned char)(arg1)->GetMaskRed();
10319
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10324 return resultobj;
10325 fail:
10326 return NULL;
10327 }
10328
10329
10330 static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxImage *arg1 = (wxImage *) 0 ;
10333 unsigned char result;
10334 PyObject * obj0 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self", NULL
10337 };
10338
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
10340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 result = (unsigned char)(arg1)->GetMaskGreen();
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10350 return resultobj;
10351 fail:
10352 return NULL;
10353 }
10354
10355
10356 static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxImage *arg1 = (wxImage *) 0 ;
10359 unsigned char result;
10360 PyObject * obj0 = 0 ;
10361 char *kwnames[] = {
10362 (char *) "self", NULL
10363 };
10364
10365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
10366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 result = (unsigned char)(arg1)->GetMaskBlue();
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
10375 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10376 return resultobj;
10377 fail:
10378 return NULL;
10379 }
10380
10381
10382 static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
10383 PyObject *resultobj;
10384 wxImage *arg1 = (wxImage *) 0 ;
10385 bool arg2 = (bool) True ;
10386 PyObject * obj0 = 0 ;
10387 PyObject * obj1 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self",(char *) "mask", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
10393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10395 if (obj1) {
10396 arg2 = (bool) SWIG_AsBool(obj1);
10397 if (PyErr_Occurred()) SWIG_fail;
10398 }
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 (arg1)->SetMask(arg2);
10402
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 Py_INCREF(Py_None); resultobj = Py_None;
10407 return resultobj;
10408 fail:
10409 return NULL;
10410 }
10411
10412
10413 static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj;
10415 wxImage *arg1 = (wxImage *) 0 ;
10416 bool result;
10417 PyObject * obj0 = 0 ;
10418 char *kwnames[] = {
10419 (char *) "self", NULL
10420 };
10421
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
10423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 result = (bool)(arg1)->HasMask();
10428
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 {
10433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10434 }
10435 return resultobj;
10436 fail:
10437 return NULL;
10438 }
10439
10440
10441 static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
10442 PyObject *resultobj;
10443 wxImage *arg1 = (wxImage *) 0 ;
10444 double arg2 ;
10445 wxPoint *arg3 = 0 ;
10446 bool arg4 = (bool) True ;
10447 wxPoint *arg5 = (wxPoint *) NULL ;
10448 SwigValueWrapper< wxImage > result;
10449 wxPoint temp3 ;
10450 PyObject * obj0 = 0 ;
10451 PyObject * obj1 = 0 ;
10452 PyObject * obj2 = 0 ;
10453 PyObject * obj3 = 0 ;
10454 PyObject * obj4 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10462 arg2 = (double) SWIG_AsDouble(obj1);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 {
10465 arg3 = &temp3;
10466 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10467 }
10468 if (obj3) {
10469 arg4 = (bool) SWIG_AsBool(obj3);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 if (obj4) {
10473 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10475 }
10476 {
10477 PyThreadState* __tstate = wxPyBeginAllowThreads();
10478 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10479
10480 wxPyEndAllowThreads(__tstate);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 }
10483 {
10484 wxImage * resultptr;
10485 resultptr = new wxImage((wxImage &) result);
10486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10487 }
10488 return resultobj;
10489 fail:
10490 return NULL;
10491 }
10492
10493
10494 static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
10495 PyObject *resultobj;
10496 wxImage *arg1 = (wxImage *) 0 ;
10497 bool arg2 = (bool) True ;
10498 SwigValueWrapper< wxImage > result;
10499 PyObject * obj0 = 0 ;
10500 PyObject * obj1 = 0 ;
10501 char *kwnames[] = {
10502 (char *) "self",(char *) "clockwise", NULL
10503 };
10504
10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
10506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10508 if (obj1) {
10509 arg2 = (bool) SWIG_AsBool(obj1);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 result = (arg1)->Rotate90(arg2);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 {
10520 wxImage * resultptr;
10521 resultptr = new wxImage((wxImage &) result);
10522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10523 }
10524 return resultobj;
10525 fail:
10526 return NULL;
10527 }
10528
10529
10530 static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
10531 PyObject *resultobj;
10532 wxImage *arg1 = (wxImage *) 0 ;
10533 bool arg2 = (bool) True ;
10534 SwigValueWrapper< wxImage > result;
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "self",(char *) "horizontally", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
10542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10544 if (obj1) {
10545 arg2 = (bool) SWIG_AsBool(obj1);
10546 if (PyErr_Occurred()) SWIG_fail;
10547 }
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 result = (arg1)->Mirror(arg2);
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 {
10556 wxImage * resultptr;
10557 resultptr = new wxImage((wxImage &) result);
10558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10559 }
10560 return resultobj;
10561 fail:
10562 return NULL;
10563 }
10564
10565
10566 static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10567 PyObject *resultobj;
10568 wxImage *arg1 = (wxImage *) 0 ;
10569 unsigned char arg2 ;
10570 unsigned char arg3 ;
10571 unsigned char arg4 ;
10572 unsigned char arg5 ;
10573 unsigned char arg6 ;
10574 unsigned char arg7 ;
10575 PyObject * obj0 = 0 ;
10576 PyObject * obj1 = 0 ;
10577 PyObject * obj2 = 0 ;
10578 PyObject * obj3 = 0 ;
10579 PyObject * obj4 = 0 ;
10580 PyObject * obj5 = 0 ;
10581 PyObject * obj6 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10589 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10598 if (PyErr_Occurred()) SWIG_fail;
10599 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10604
10605 wxPyEndAllowThreads(__tstate);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 }
10608 Py_INCREF(Py_None); resultobj = Py_None;
10609 return resultobj;
10610 fail:
10611 return NULL;
10612 }
10613
10614
10615 static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj;
10617 wxImage *arg1 = (wxImage *) 0 ;
10618 unsigned char arg2 ;
10619 unsigned char arg3 ;
10620 unsigned char arg4 ;
10621 SwigValueWrapper< wxImage > result;
10622 PyObject * obj0 = 0 ;
10623 PyObject * obj1 = 0 ;
10624 PyObject * obj2 = 0 ;
10625 PyObject * obj3 = 0 ;
10626 char *kwnames[] = {
10627 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10628 };
10629
10630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10633 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10634 if (PyErr_Occurred()) SWIG_fail;
10635 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 {
10647 wxImage * resultptr;
10648 resultptr = new wxImage((wxImage &) result);
10649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10650 }
10651 return resultobj;
10652 fail:
10653 return NULL;
10654 }
10655
10656
10657 static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj;
10659 wxImage *arg1 = (wxImage *) 0 ;
10660 wxString *arg2 = 0 ;
10661 wxString *arg3 = 0 ;
10662 bool temp2 = False ;
10663 bool temp3 = False ;
10664 PyObject * obj0 = 0 ;
10665 PyObject * obj1 = 0 ;
10666 PyObject * obj2 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self",(char *) "name",(char *) "value", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10674 {
10675 arg2 = wxString_in_helper(obj1);
10676 if (arg2 == NULL) SWIG_fail;
10677 temp2 = True;
10678 }
10679 {
10680 arg3 = wxString_in_helper(obj2);
10681 if (arg3 == NULL) SWIG_fail;
10682 temp3 = True;
10683 }
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10687
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 Py_INCREF(Py_None); resultobj = Py_None;
10692 {
10693 if (temp2)
10694 delete arg2;
10695 }
10696 {
10697 if (temp3)
10698 delete arg3;
10699 }
10700 return resultobj;
10701 fail:
10702 {
10703 if (temp2)
10704 delete arg2;
10705 }
10706 {
10707 if (temp3)
10708 delete arg3;
10709 }
10710 return NULL;
10711 }
10712
10713
10714 static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
10715 PyObject *resultobj;
10716 wxImage *arg1 = (wxImage *) 0 ;
10717 wxString *arg2 = 0 ;
10718 int arg3 ;
10719 bool temp2 = False ;
10720 PyObject * obj0 = 0 ;
10721 PyObject * obj1 = 0 ;
10722 PyObject * obj2 = 0 ;
10723 char *kwnames[] = {
10724 (char *) "self",(char *) "name",(char *) "value", NULL
10725 };
10726
10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
10728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10730 {
10731 arg2 = wxString_in_helper(obj1);
10732 if (arg2 == NULL) SWIG_fail;
10733 temp2 = True;
10734 }
10735 arg3 = (int) SWIG_AsInt(obj2);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 (arg1)->SetOption((wxString const &)*arg2,arg3);
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 Py_INCREF(Py_None); resultobj = Py_None;
10745 {
10746 if (temp2)
10747 delete arg2;
10748 }
10749 return resultobj;
10750 fail:
10751 {
10752 if (temp2)
10753 delete arg2;
10754 }
10755 return NULL;
10756 }
10757
10758
10759 static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
10760 PyObject *resultobj;
10761 wxImage *arg1 = (wxImage *) 0 ;
10762 wxString *arg2 = 0 ;
10763 wxString result;
10764 bool temp2 = False ;
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "name", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10774 {
10775 arg2 = wxString_in_helper(obj1);
10776 if (arg2 == NULL) SWIG_fail;
10777 temp2 = True;
10778 }
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 {
10787 #if wxUSE_UNICODE
10788 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10789 #else
10790 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10791 #endif
10792 }
10793 {
10794 if (temp2)
10795 delete arg2;
10796 }
10797 return resultobj;
10798 fail:
10799 {
10800 if (temp2)
10801 delete arg2;
10802 }
10803 return NULL;
10804 }
10805
10806
10807 static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
10808 PyObject *resultobj;
10809 wxImage *arg1 = (wxImage *) 0 ;
10810 wxString *arg2 = 0 ;
10811 int result;
10812 bool temp2 = False ;
10813 PyObject * obj0 = 0 ;
10814 PyObject * obj1 = 0 ;
10815 char *kwnames[] = {
10816 (char *) "self",(char *) "name", NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
10820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10822 {
10823 arg2 = wxString_in_helper(obj1);
10824 if (arg2 == NULL) SWIG_fail;
10825 temp2 = True;
10826 }
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
10830
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 resultobj = SWIG_FromInt((int)result);
10835 {
10836 if (temp2)
10837 delete arg2;
10838 }
10839 return resultobj;
10840 fail:
10841 {
10842 if (temp2)
10843 delete arg2;
10844 }
10845 return NULL;
10846 }
10847
10848
10849 static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
10850 PyObject *resultobj;
10851 wxImage *arg1 = (wxImage *) 0 ;
10852 wxString *arg2 = 0 ;
10853 bool result;
10854 bool temp2 = False ;
10855 PyObject * obj0 = 0 ;
10856 PyObject * obj1 = 0 ;
10857 char *kwnames[] = {
10858 (char *) "self",(char *) "name", NULL
10859 };
10860
10861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
10862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10864 {
10865 arg2 = wxString_in_helper(obj1);
10866 if (arg2 == NULL) SWIG_fail;
10867 temp2 = True;
10868 }
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 {
10877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10878 }
10879 {
10880 if (temp2)
10881 delete arg2;
10882 }
10883 return resultobj;
10884 fail:
10885 {
10886 if (temp2)
10887 delete arg2;
10888 }
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxImage *arg1 = (wxImage *) 0 ;
10896 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
10897 unsigned long result;
10898 PyObject * obj0 = 0 ;
10899 PyObject * obj1 = 0 ;
10900 char *kwnames[] = {
10901 (char *) "self",(char *) "stopafter", NULL
10902 };
10903
10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
10905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10907 if (obj1) {
10908 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = (unsigned long)(arg1)->CountColours(arg2);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10919 return resultobj;
10920 fail:
10921 return NULL;
10922 }
10923
10924
10925 static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj;
10927 wxImage *arg1 = (wxImage *) 0 ;
10928 wxImageHistogram *arg2 = 0 ;
10929 unsigned long result;
10930 PyObject * obj0 = 0 ;
10931 PyObject * obj1 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self",(char *) "h", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
10937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
10940 SWIG_POINTER_EXCEPTION | 0)) == -1)
10941 SWIG_fail;
10942 if (arg2 == NULL) {
10943 PyErr_SetString(PyExc_TypeError,"null reference");
10944 SWIG_fail;
10945 }
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10954 return resultobj;
10955 fail:
10956 return NULL;
10957 }
10958
10959
10960 static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj;
10962 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10963 PyObject * obj0 = 0 ;
10964 char *kwnames[] = {
10965 (char *) "handler", NULL
10966 };
10967
10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
10969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
10970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 wxImage::AddHandler(arg1);
10974
10975 wxPyEndAllowThreads(__tstate);
10976 if (PyErr_Occurred()) SWIG_fail;
10977 }
10978 Py_INCREF(Py_None); resultobj = Py_None;
10979 return resultobj;
10980 fail:
10981 return NULL;
10982 }
10983
10984
10985 static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj;
10987 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10988 PyObject * obj0 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "handler", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 wxImage::InsertHandler(arg1);
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 Py_INCREF(Py_None); resultobj = Py_None;
11004 return resultobj;
11005 fail:
11006 return NULL;
11007 }
11008
11009
11010 static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj;
11012 wxString *arg1 = 0 ;
11013 bool result;
11014 bool temp1 = False ;
11015 PyObject * obj0 = 0 ;
11016 char *kwnames[] = {
11017 (char *) "name", NULL
11018 };
11019
11020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11021 {
11022 arg1 = wxString_in_helper(obj0);
11023 if (arg1 == NULL) SWIG_fail;
11024 temp1 = True;
11025 }
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 {
11034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11035 }
11036 {
11037 if (temp1)
11038 delete arg1;
11039 }
11040 return resultobj;
11041 fail:
11042 {
11043 if (temp1)
11044 delete arg1;
11045 }
11046 return NULL;
11047 }
11048
11049
11050 static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj;
11052 wxString result;
11053 char *kwnames[] = {
11054 NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11058 {
11059 PyThreadState* __tstate = wxPyBeginAllowThreads();
11060 result = wxImage::GetImageExtWildcard();
11061
11062 wxPyEndAllowThreads(__tstate);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 }
11065 {
11066 #if wxUSE_UNICODE
11067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11068 #else
11069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11070 #endif
11071 }
11072 return resultobj;
11073 fail:
11074 return NULL;
11075 }
11076
11077
11078 static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
11079 PyObject *resultobj;
11080 wxImage *arg1 = (wxImage *) 0 ;
11081 wxBitmap result;
11082 PyObject * obj0 = 0 ;
11083 char *kwnames[] = {
11084 (char *) "self", NULL
11085 };
11086
11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
11088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11090 {
11091 PyThreadState* __tstate = wxPyBeginAllowThreads();
11092 result = wxImage_ConvertToBitmap(arg1);
11093
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 {
11098 wxBitmap * resultptr;
11099 resultptr = new wxBitmap((wxBitmap &) result);
11100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
11101 }
11102 return resultobj;
11103 fail:
11104 return NULL;
11105 }
11106
11107
11108 static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
11109 PyObject *resultobj;
11110 wxImage *arg1 = (wxImage *) 0 ;
11111 unsigned char arg2 ;
11112 unsigned char arg3 ;
11113 unsigned char arg4 ;
11114 wxBitmap result;
11115 PyObject * obj0 = 0 ;
11116 PyObject * obj1 = 0 ;
11117 PyObject * obj2 = 0 ;
11118 PyObject * obj3 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11126 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11135
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 {
11140 wxBitmap * resultptr;
11141 resultptr = new wxBitmap((wxBitmap &) result);
11142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
11143 }
11144 return resultobj;
11145 fail:
11146 return NULL;
11147 }
11148
11149
11150 static PyObject * Image_swigregister(PyObject *, PyObject *args) {
11151 PyObject *obj;
11152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11153 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11154 Py_INCREF(obj);
11155 return Py_BuildValue((char *)"");
11156 }
11157 static PyObject *_wrap_InitAllImageHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
11158 PyObject *resultobj;
11159 char *kwnames[] = {
11160 NULL
11161 };
11162
11163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
11164 {
11165 PyThreadState* __tstate = wxPyBeginAllowThreads();
11166 wxInitAllImageHandlers();
11167
11168 wxPyEndAllowThreads(__tstate);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 }
11171 Py_INCREF(Py_None); resultobj = Py_None;
11172 return resultobj;
11173 fail:
11174 return NULL;
11175 }
11176
11177
11178 static int _wrap_NullImage_set(PyObject *) {
11179 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11180 return 1;
11181 }
11182
11183
11184 static PyObject *_wrap_NullImage_get() {
11185 PyObject *pyobj;
11186
11187 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
11188 return pyobj;
11189 }
11190
11191
11192 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) {
11193 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11194 return 1;
11195 }
11196
11197
11198 static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11199 PyObject *pyobj;
11200
11201 {
11202 #if wxUSE_UNICODE
11203 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11204 #else
11205 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11206 #endif
11207 }
11208 return pyobj;
11209 }
11210
11211
11212 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) {
11213 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11214 return 1;
11215 }
11216
11217
11218 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11219 PyObject *pyobj;
11220
11221 {
11222 #if wxUSE_UNICODE
11223 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11224 #else
11225 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11226 #endif
11227 }
11228 return pyobj;
11229 }
11230
11231
11232 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) {
11233 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11234 return 1;
11235 }
11236
11237
11238 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11239 PyObject *pyobj;
11240
11241 {
11242 #if wxUSE_UNICODE
11243 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11244 #else
11245 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11246 #endif
11247 }
11248 return pyobj;
11249 }
11250
11251
11252 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) {
11253 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11254 return 1;
11255 }
11256
11257
11258 static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11259 PyObject *pyobj;
11260
11261 {
11262 #if wxUSE_UNICODE
11263 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11264 #else
11265 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11266 #endif
11267 }
11268 return pyobj;
11269 }
11270
11271
11272 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) {
11273 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11274 return 1;
11275 }
11276
11277
11278 static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11279 PyObject *pyobj;
11280
11281 {
11282 #if wxUSE_UNICODE
11283 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11284 #else
11285 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11286 #endif
11287 }
11288 return pyobj;
11289 }
11290
11291
11292 static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxBMPHandler *result;
11295 char *kwnames[] = {
11296 NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11300 {
11301 PyThreadState* __tstate = wxPyBeginAllowThreads();
11302 result = (wxBMPHandler *)new wxBMPHandler();
11303
11304 wxPyEndAllowThreads(__tstate);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 }
11307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
11308 return resultobj;
11309 fail:
11310 return NULL;
11311 }
11312
11313
11314 static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) {
11315 PyObject *obj;
11316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11317 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11318 Py_INCREF(obj);
11319 return Py_BuildValue((char *)"");
11320 }
11321 static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11322 PyObject *resultobj;
11323 wxICOHandler *result;
11324 char *kwnames[] = {
11325 NULL
11326 };
11327
11328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11329 {
11330 PyThreadState* __tstate = wxPyBeginAllowThreads();
11331 result = (wxICOHandler *)new wxICOHandler();
11332
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
11337 return resultobj;
11338 fail:
11339 return NULL;
11340 }
11341
11342
11343 static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) {
11344 PyObject *obj;
11345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11346 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11347 Py_INCREF(obj);
11348 return Py_BuildValue((char *)"");
11349 }
11350 static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11351 PyObject *resultobj;
11352 wxCURHandler *result;
11353 char *kwnames[] = {
11354 NULL
11355 };
11356
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 result = (wxCURHandler *)new wxCURHandler();
11361
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
11366 return resultobj;
11367 fail:
11368 return NULL;
11369 }
11370
11371
11372 static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) {
11373 PyObject *obj;
11374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11375 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11376 Py_INCREF(obj);
11377 return Py_BuildValue((char *)"");
11378 }
11379 static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11380 PyObject *resultobj;
11381 wxANIHandler *result;
11382 char *kwnames[] = {
11383 NULL
11384 };
11385
11386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11387 {
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 result = (wxANIHandler *)new wxANIHandler();
11390
11391 wxPyEndAllowThreads(__tstate);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
11395 return resultobj;
11396 fail:
11397 return NULL;
11398 }
11399
11400
11401 static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) {
11402 PyObject *obj;
11403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11404 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11405 Py_INCREF(obj);
11406 return Py_BuildValue((char *)"");
11407 }
11408 static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11409 PyObject *resultobj;
11410 wxPNGHandler *result;
11411 char *kwnames[] = {
11412 NULL
11413 };
11414
11415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 result = (wxPNGHandler *)new wxPNGHandler();
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
11424 return resultobj;
11425 fail:
11426 return NULL;
11427 }
11428
11429
11430 static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) {
11431 PyObject *obj;
11432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11433 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11434 Py_INCREF(obj);
11435 return Py_BuildValue((char *)"");
11436 }
11437 static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11438 PyObject *resultobj;
11439 wxGIFHandler *result;
11440 char *kwnames[] = {
11441 NULL
11442 };
11443
11444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (wxGIFHandler *)new wxGIFHandler();
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) {
11460 PyObject *obj;
11461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11462 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11463 Py_INCREF(obj);
11464 return Py_BuildValue((char *)"");
11465 }
11466 static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj;
11468 wxPCXHandler *result;
11469 char *kwnames[] = {
11470 NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 result = (wxPCXHandler *)new wxPCXHandler();
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) {
11489 PyObject *obj;
11490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11491 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11492 Py_INCREF(obj);
11493 return Py_BuildValue((char *)"");
11494 }
11495 static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11496 PyObject *resultobj;
11497 wxJPEGHandler *result;
11498 char *kwnames[] = {
11499 NULL
11500 };
11501
11502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11503 {
11504 PyThreadState* __tstate = wxPyBeginAllowThreads();
11505 result = (wxJPEGHandler *)new wxJPEGHandler();
11506
11507 wxPyEndAllowThreads(__tstate);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 }
11510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
11511 return resultobj;
11512 fail:
11513 return NULL;
11514 }
11515
11516
11517 static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) {
11518 PyObject *obj;
11519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11520 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11521 Py_INCREF(obj);
11522 return Py_BuildValue((char *)"");
11523 }
11524 static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11525 PyObject *resultobj;
11526 wxPNMHandler *result;
11527 char *kwnames[] = {
11528 NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (wxPNMHandler *)new wxPNMHandler();
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) {
11547 PyObject *obj;
11548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11549 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11550 Py_INCREF(obj);
11551 return Py_BuildValue((char *)"");
11552 }
11553 static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj;
11555 wxXPMHandler *result;
11556 char *kwnames[] = {
11557 NULL
11558 };
11559
11560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11561 {
11562 PyThreadState* __tstate = wxPyBeginAllowThreads();
11563 result = (wxXPMHandler *)new wxXPMHandler();
11564
11565 wxPyEndAllowThreads(__tstate);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 }
11568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
11569 return resultobj;
11570 fail:
11571 return NULL;
11572 }
11573
11574
11575 static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) {
11576 PyObject *obj;
11577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11578 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11579 Py_INCREF(obj);
11580 return Py_BuildValue((char *)"");
11581 }
11582 static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj;
11584 wxTIFFHandler *result;
11585 char *kwnames[] = {
11586 NULL
11587 };
11588
11589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11590 {
11591 PyThreadState* __tstate = wxPyBeginAllowThreads();
11592 result = (wxTIFFHandler *)new wxTIFFHandler();
11593
11594 wxPyEndAllowThreads(__tstate);
11595 if (PyErr_Occurred()) SWIG_fail;
11596 }
11597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
11598 return resultobj;
11599 fail:
11600 return NULL;
11601 }
11602
11603
11604 static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) {
11605 PyObject *obj;
11606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11607 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11608 Py_INCREF(obj);
11609 return Py_BuildValue((char *)"");
11610 }
11611 static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11612 PyObject *resultobj;
11613 wxEvtHandler *result;
11614 char *kwnames[] = {
11615 NULL
11616 };
11617
11618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11619 {
11620 PyThreadState* __tstate = wxPyBeginAllowThreads();
11621 result = (wxEvtHandler *)new wxEvtHandler();
11622
11623 wxPyEndAllowThreads(__tstate);
11624 if (PyErr_Occurred()) SWIG_fail;
11625 }
11626 {
11627 resultobj = wxPyMake_wxObject(result);
11628 }
11629 return resultobj;
11630 fail:
11631 return NULL;
11632 }
11633
11634
11635 static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11636 PyObject *resultobj;
11637 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11638 wxEvtHandler *result;
11639 PyObject * obj0 = 0 ;
11640 char *kwnames[] = {
11641 (char *) "self", NULL
11642 };
11643
11644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
11645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11647 {
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11650
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 {
11655 resultobj = wxPyMake_wxObject(result);
11656 }
11657 return resultobj;
11658 fail:
11659 return NULL;
11660 }
11661
11662
11663 static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11664 PyObject *resultobj;
11665 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11666 wxEvtHandler *result;
11667 PyObject * obj0 = 0 ;
11668 char *kwnames[] = {
11669 (char *) "self", NULL
11670 };
11671
11672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
11673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 {
11683 resultobj = wxPyMake_wxObject(result);
11684 }
11685 return resultobj;
11686 fail:
11687 return NULL;
11688 }
11689
11690
11691 static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj;
11693 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11694 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11695 PyObject * obj0 = 0 ;
11696 PyObject * obj1 = 0 ;
11697 char *kwnames[] = {
11698 (char *) "self",(char *) "handler", NULL
11699 };
11700
11701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
11702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 (arg1)->SetNextHandler(arg2);
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 Py_INCREF(Py_None); resultobj = Py_None;
11714 return resultobj;
11715 fail:
11716 return NULL;
11717 }
11718
11719
11720 static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
11721 PyObject *resultobj;
11722 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11723 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11724 PyObject * obj0 = 0 ;
11725 PyObject * obj1 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self",(char *) "handler", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
11731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11735 {
11736 PyThreadState* __tstate = wxPyBeginAllowThreads();
11737 (arg1)->SetPreviousHandler(arg2);
11738
11739 wxPyEndAllowThreads(__tstate);
11740 if (PyErr_Occurred()) SWIG_fail;
11741 }
11742 Py_INCREF(Py_None); resultobj = Py_None;
11743 return resultobj;
11744 fail:
11745 return NULL;
11746 }
11747
11748
11749 static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
11750 PyObject *resultobj;
11751 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11752 bool result;
11753 PyObject * obj0 = 0 ;
11754 char *kwnames[] = {
11755 (char *) "self", NULL
11756 };
11757
11758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
11759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11761 {
11762 PyThreadState* __tstate = wxPyBeginAllowThreads();
11763 result = (bool)(arg1)->GetEvtHandlerEnabled();
11764
11765 wxPyEndAllowThreads(__tstate);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 {
11769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11770 }
11771 return resultobj;
11772 fail:
11773 return NULL;
11774 }
11775
11776
11777 static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
11778 PyObject *resultobj;
11779 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11780 bool arg2 ;
11781 PyObject * obj0 = 0 ;
11782 PyObject * obj1 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self",(char *) "enabled", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11790 arg2 = (bool) SWIG_AsBool(obj1);
11791 if (PyErr_Occurred()) SWIG_fail;
11792 {
11793 PyThreadState* __tstate = wxPyBeginAllowThreads();
11794 (arg1)->SetEvtHandlerEnabled(arg2);
11795
11796 wxPyEndAllowThreads(__tstate);
11797 if (PyErr_Occurred()) SWIG_fail;
11798 }
11799 Py_INCREF(Py_None); resultobj = Py_None;
11800 return resultobj;
11801 fail:
11802 return NULL;
11803 }
11804
11805
11806 static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11807 PyObject *resultobj;
11808 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11809 wxEvent *arg2 = 0 ;
11810 bool result;
11811 PyObject * obj0 = 0 ;
11812 PyObject * obj1 = 0 ;
11813 char *kwnames[] = {
11814 (char *) "self",(char *) "event", NULL
11815 };
11816
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
11818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11821 SWIG_POINTER_EXCEPTION | 0)) == -1)
11822 SWIG_fail;
11823 if (arg2 == NULL) {
11824 PyErr_SetString(PyExc_TypeError,"null reference");
11825 SWIG_fail;
11826 }
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 result = (bool)(arg1)->ProcessEvent(*arg2);
11830
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 {
11835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11836 }
11837 return resultobj;
11838 fail:
11839 return NULL;
11840 }
11841
11842
11843 static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11844 PyObject *resultobj;
11845 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11846 wxEvent *arg2 = 0 ;
11847 PyObject * obj0 = 0 ;
11848 PyObject * obj1 = 0 ;
11849 char *kwnames[] = {
11850 (char *) "self",(char *) "event", NULL
11851 };
11852
11853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
11854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11857 SWIG_POINTER_EXCEPTION | 0)) == -1)
11858 SWIG_fail;
11859 if (arg2 == NULL) {
11860 PyErr_SetString(PyExc_TypeError,"null reference");
11861 SWIG_fail;
11862 }
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 (arg1)->AddPendingEvent(*arg2);
11866
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 Py_INCREF(Py_None); resultobj = Py_None;
11871 return resultobj;
11872 fail:
11873 return NULL;
11874 }
11875
11876
11877 static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj;
11879 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11880 PyObject * obj0 = 0 ;
11881 char *kwnames[] = {
11882 (char *) "self", NULL
11883 };
11884
11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
11886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 (arg1)->ProcessPendingEvents();
11891
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 Py_INCREF(Py_None); resultobj = Py_None;
11896 return resultobj;
11897 fail:
11898 return NULL;
11899 }
11900
11901
11902 static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) {
11903 PyObject *resultobj;
11904 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11905 int arg2 ;
11906 int arg3 ;
11907 int arg4 ;
11908 PyObject *arg5 = (PyObject *) 0 ;
11909 PyObject * obj0 = 0 ;
11910 PyObject * obj1 = 0 ;
11911 PyObject * obj2 = 0 ;
11912 PyObject * obj3 = 0 ;
11913 PyObject * obj4 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11921 arg2 = (int) SWIG_AsInt(obj1);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 arg3 = (int) SWIG_AsInt(obj2);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 arg4 = (int) SWIG_AsInt(obj3);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 arg5 = obj4;
11928 {
11929 PyThreadState* __tstate = wxPyBeginAllowThreads();
11930 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
11931
11932 wxPyEndAllowThreads(__tstate);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 Py_INCREF(Py_None); resultobj = Py_None;
11936 return resultobj;
11937 fail:
11938 return NULL;
11939 }
11940
11941
11942 static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) {
11943 PyObject *resultobj;
11944 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11945 int arg2 ;
11946 int arg3 = (int) -1 ;
11947 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
11948 bool result;
11949 PyObject * obj0 = 0 ;
11950 PyObject * obj1 = 0 ;
11951 PyObject * obj2 = 0 ;
11952 PyObject * obj3 = 0 ;
11953 char *kwnames[] = {
11954 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11955 };
11956
11957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11960 arg2 = (int) SWIG_AsInt(obj1);
11961 if (PyErr_Occurred()) SWIG_fail;
11962 if (obj2) {
11963 arg3 = (int) SWIG_AsInt(obj2);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 if (obj3) {
11967 arg4 = (wxEventType) SWIG_AsInt(obj3);
11968 if (PyErr_Occurred()) SWIG_fail;
11969 }
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 {
11978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11979 }
11980 return resultobj;
11981 fail:
11982 return NULL;
11983 }
11984
11985
11986 static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj;
11988 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11989 PyObject *arg2 = (PyObject *) 0 ;
11990 PyObject * obj0 = 0 ;
11991 PyObject * obj1 = 0 ;
11992 char *kwnames[] = {
11993 (char *) "self",(char *) "_self", NULL
11994 };
11995
11996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
11997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11999 arg2 = obj1;
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 wxEvtHandler__setOORInfo(arg1,arg2);
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 Py_INCREF(Py_None); resultobj = Py_None;
12008 return resultobj;
12009 fail:
12010 return NULL;
12011 }
12012
12013
12014 static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) {
12015 PyObject *obj;
12016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12017 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12018 Py_INCREF(obj);
12019 return Py_BuildValue((char *)"");
12020 }
12021 static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) {
12022 PyObject *resultobj;
12023 wxEventType result;
12024 char *kwnames[] = {
12025 NULL
12026 };
12027
12028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 result = (wxEventType)wxNewEventType();
12032
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 resultobj = SWIG_FromInt((int)result);
12037 return resultobj;
12038 fail:
12039 return NULL;
12040 }
12041
12042
12043 static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) {
12044 PyObject *resultobj;
12045 wxEvent *arg1 = (wxEvent *) 0 ;
12046 PyObject * obj0 = 0 ;
12047 char *kwnames[] = {
12048 (char *) "self", NULL
12049 };
12050
12051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
12052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
12056 delete arg1;
12057
12058 wxPyEndAllowThreads(__tstate);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 }
12061 Py_INCREF(Py_None); resultobj = Py_None;
12062 return resultobj;
12063 fail:
12064 return NULL;
12065 }
12066
12067
12068 static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxEvent *arg1 = (wxEvent *) 0 ;
12071 wxEventType arg2 ;
12072 PyObject * obj0 = 0 ;
12073 PyObject * obj1 = 0 ;
12074 char *kwnames[] = {
12075 (char *) "self",(char *) "typ", NULL
12076 };
12077
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
12079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12081 arg2 = (wxEventType) SWIG_AsInt(obj1);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 {
12084 PyThreadState* __tstate = wxPyBeginAllowThreads();
12085 (arg1)->SetEventType(arg2);
12086
12087 wxPyEndAllowThreads(__tstate);
12088 if (PyErr_Occurred()) SWIG_fail;
12089 }
12090 Py_INCREF(Py_None); resultobj = Py_None;
12091 return resultobj;
12092 fail:
12093 return NULL;
12094 }
12095
12096
12097 static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
12098 PyObject *resultobj;
12099 wxEvent *arg1 = (wxEvent *) 0 ;
12100 wxEventType result;
12101 PyObject * obj0 = 0 ;
12102 char *kwnames[] = {
12103 (char *) "self", NULL
12104 };
12105
12106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
12107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12109 {
12110 PyThreadState* __tstate = wxPyBeginAllowThreads();
12111 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12112
12113 wxPyEndAllowThreads(__tstate);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 resultobj = SWIG_FromInt((int)result);
12117 return resultobj;
12118 fail:
12119 return NULL;
12120 }
12121
12122
12123 static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
12124 PyObject *resultobj;
12125 wxEvent *arg1 = (wxEvent *) 0 ;
12126 wxObject *result;
12127 PyObject * obj0 = 0 ;
12128 char *kwnames[] = {
12129 (char *) "self", NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
12133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12135 {
12136 PyThreadState* __tstate = wxPyBeginAllowThreads();
12137 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12138
12139 wxPyEndAllowThreads(__tstate);
12140 if (PyErr_Occurred()) SWIG_fail;
12141 }
12142 {
12143 resultobj = wxPyMake_wxObject(result);
12144 }
12145 return resultobj;
12146 fail:
12147 return NULL;
12148 }
12149
12150
12151 static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
12152 PyObject *resultobj;
12153 wxEvent *arg1 = (wxEvent *) 0 ;
12154 wxObject *arg2 = (wxObject *) 0 ;
12155 PyObject * obj0 = 0 ;
12156 PyObject * obj1 = 0 ;
12157 char *kwnames[] = {
12158 (char *) "self",(char *) "obj", NULL
12159 };
12160
12161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
12162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12166 {
12167 PyThreadState* __tstate = wxPyBeginAllowThreads();
12168 (arg1)->SetEventObject(arg2);
12169
12170 wxPyEndAllowThreads(__tstate);
12171 if (PyErr_Occurred()) SWIG_fail;
12172 }
12173 Py_INCREF(Py_None); resultobj = Py_None;
12174 return resultobj;
12175 fail:
12176 return NULL;
12177 }
12178
12179
12180 static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
12181 PyObject *resultobj;
12182 wxEvent *arg1 = (wxEvent *) 0 ;
12183 long result;
12184 PyObject * obj0 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "self", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
12190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 resultobj = SWIG_FromLong((long)result);
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj;
12208 wxEvent *arg1 = (wxEvent *) 0 ;
12209 long arg2 = (long) 0 ;
12210 PyObject * obj0 = 0 ;
12211 PyObject * obj1 = 0 ;
12212 char *kwnames[] = {
12213 (char *) "self",(char *) "ts", NULL
12214 };
12215
12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
12217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12219 if (obj1) {
12220 arg2 = (long) SWIG_AsLong(obj1);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 (arg1)->SetTimestamp(arg2);
12226
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 Py_INCREF(Py_None); resultobj = Py_None;
12231 return resultobj;
12232 fail:
12233 return NULL;
12234 }
12235
12236
12237 static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
12238 PyObject *resultobj;
12239 wxEvent *arg1 = (wxEvent *) 0 ;
12240 int result;
12241 PyObject * obj0 = 0 ;
12242 char *kwnames[] = {
12243 (char *) "self", NULL
12244 };
12245
12246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
12247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 result = (int)((wxEvent const *)arg1)->GetId();
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 resultobj = SWIG_FromInt((int)result);
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj;
12265 wxEvent *arg1 = (wxEvent *) 0 ;
12266 int arg2 ;
12267 PyObject * obj0 = 0 ;
12268 PyObject * obj1 = 0 ;
12269 char *kwnames[] = {
12270 (char *) "self",(char *) "Id", NULL
12271 };
12272
12273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
12274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12276 arg2 = (int) SWIG_AsInt(obj1);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 (arg1)->SetId(arg2);
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 Py_INCREF(Py_None); resultobj = Py_None;
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj;
12294 wxEvent *arg1 = (wxEvent *) 0 ;
12295 bool result;
12296 PyObject * obj0 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
12302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 {
12312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12313 }
12314 return resultobj;
12315 fail:
12316 return NULL;
12317 }
12318
12319
12320 static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
12321 PyObject *resultobj;
12322 wxEvent *arg1 = (wxEvent *) 0 ;
12323 bool arg2 = (bool) True ;
12324 PyObject * obj0 = 0 ;
12325 PyObject * obj1 = 0 ;
12326 char *kwnames[] = {
12327 (char *) "self",(char *) "skip", NULL
12328 };
12329
12330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
12331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12333 if (obj1) {
12334 arg2 = (bool) SWIG_AsBool(obj1);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 }
12337 {
12338 PyThreadState* __tstate = wxPyBeginAllowThreads();
12339 (arg1)->Skip(arg2);
12340
12341 wxPyEndAllowThreads(__tstate);
12342 if (PyErr_Occurred()) SWIG_fail;
12343 }
12344 Py_INCREF(Py_None); resultobj = Py_None;
12345 return resultobj;
12346 fail:
12347 return NULL;
12348 }
12349
12350
12351 static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) {
12352 PyObject *resultobj;
12353 wxEvent *arg1 = (wxEvent *) 0 ;
12354 bool result;
12355 PyObject * obj0 = 0 ;
12356 char *kwnames[] = {
12357 (char *) "self", NULL
12358 };
12359
12360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
12361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12363 {
12364 PyThreadState* __tstate = wxPyBeginAllowThreads();
12365 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12366
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 {
12371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12372 }
12373 return resultobj;
12374 fail:
12375 return NULL;
12376 }
12377
12378
12379 static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) {
12380 PyObject *resultobj;
12381 wxEvent *arg1 = (wxEvent *) 0 ;
12382 bool result;
12383 PyObject * obj0 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
12389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12391 {
12392 PyThreadState* __tstate = wxPyBeginAllowThreads();
12393 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12394
12395 wxPyEndAllowThreads(__tstate);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
12398 {
12399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12400 }
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj;
12409 wxEvent *arg1 = (wxEvent *) 0 ;
12410 int result;
12411 PyObject * obj0 = 0 ;
12412 char *kwnames[] = {
12413 (char *) "self", NULL
12414 };
12415
12416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
12417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 result = (int)(arg1)->StopPropagation();
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = SWIG_FromInt((int)result);
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxEvent *arg1 = (wxEvent *) 0 ;
12436 int arg2 ;
12437 PyObject * obj0 = 0 ;
12438 PyObject * obj1 = 0 ;
12439 char *kwnames[] = {
12440 (char *) "self",(char *) "propagationLevel", NULL
12441 };
12442
12443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
12444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12446 arg2 = (int) SWIG_AsInt(obj1);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 (arg1)->ResumePropagation(arg2);
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 Py_INCREF(Py_None); resultobj = Py_None;
12456 return resultobj;
12457 fail:
12458 return NULL;
12459 }
12460
12461
12462 static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
12463 PyObject *resultobj;
12464 wxEvent *arg1 = (wxEvent *) 0 ;
12465 wxEvent *result;
12466 PyObject * obj0 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (wxEvent *)(arg1)->Clone();
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
12482 return resultobj;
12483 fail:
12484 return NULL;
12485 }
12486
12487
12488 static PyObject * Event_swigregister(PyObject *, PyObject *args) {
12489 PyObject *obj;
12490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12491 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12492 Py_INCREF(obj);
12493 return Py_BuildValue((char *)"");
12494 }
12495 static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
12496 PyObject *resultobj;
12497 wxEvent *arg1 = 0 ;
12498 wxPropagationDisabler *result;
12499 PyObject * obj0 = 0 ;
12500 char *kwnames[] = {
12501 (char *) "event", NULL
12502 };
12503
12504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
12505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12506 SWIG_POINTER_EXCEPTION | 0)) == -1)
12507 SWIG_fail;
12508 if (arg1 == NULL) {
12509 PyErr_SetString(PyExc_TypeError,"null reference");
12510 SWIG_fail;
12511 }
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12529 PyObject * obj0 = 0 ;
12530 char *kwnames[] = {
12531 (char *) "self", NULL
12532 };
12533
12534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
12535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 delete arg1;
12540
12541 wxPyEndAllowThreads(__tstate);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 }
12544 Py_INCREF(Py_None); resultobj = Py_None;
12545 return resultobj;
12546 fail:
12547 return NULL;
12548 }
12549
12550
12551 static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) {
12552 PyObject *obj;
12553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12554 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12555 Py_INCREF(obj);
12556 return Py_BuildValue((char *)"");
12557 }
12558 static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
12559 PyObject *resultobj;
12560 wxEvent *arg1 = 0 ;
12561 wxPropagateOnce *result;
12562 PyObject * obj0 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "event", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12569 SWIG_POINTER_EXCEPTION | 0)) == -1)
12570 SWIG_fail;
12571 if (arg1 == NULL) {
12572 PyErr_SetString(PyExc_TypeError,"null reference");
12573 SWIG_fail;
12574 }
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
12583 return resultobj;
12584 fail:
12585 return NULL;
12586 }
12587
12588
12589 static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
12590 PyObject *resultobj;
12591 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12592 PyObject * obj0 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self", NULL
12595 };
12596
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
12598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12600 {
12601 PyThreadState* __tstate = wxPyBeginAllowThreads();
12602 delete arg1;
12603
12604 wxPyEndAllowThreads(__tstate);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 }
12607 Py_INCREF(Py_None); resultobj = Py_None;
12608 return resultobj;
12609 fail:
12610 return NULL;
12611 }
12612
12613
12614 static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) {
12615 PyObject *obj;
12616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12617 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12618 Py_INCREF(obj);
12619 return Py_BuildValue((char *)"");
12620 }
12621 static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj;
12623 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12624 int arg2 = (int) 0 ;
12625 wxCommandEvent *result;
12626 PyObject * obj0 = 0 ;
12627 PyObject * obj1 = 0 ;
12628 char *kwnames[] = {
12629 (char *) "commandType",(char *) "winid", NULL
12630 };
12631
12632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12633 if (obj0) {
12634 arg1 = (wxEventType) SWIG_AsInt(obj0);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 if (obj1) {
12638 arg2 = (int) SWIG_AsInt(obj1);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12644
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
12649 return resultobj;
12650 fail:
12651 return NULL;
12652 }
12653
12654
12655 static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj;
12657 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12658 int result;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
12665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12667 {
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12670
12671 wxPyEndAllowThreads(__tstate);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 resultobj = SWIG_FromInt((int)result);
12675 return resultobj;
12676 fail:
12677 return NULL;
12678 }
12679
12680
12681 static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj;
12683 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12684 wxString *arg2 = 0 ;
12685 bool temp2 = False ;
12686 PyObject * obj0 = 0 ;
12687 PyObject * obj1 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self",(char *) "s", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
12693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12695 {
12696 arg2 = wxString_in_helper(obj1);
12697 if (arg2 == NULL) SWIG_fail;
12698 temp2 = True;
12699 }
12700 {
12701 PyThreadState* __tstate = wxPyBeginAllowThreads();
12702 (arg1)->SetString((wxString const &)*arg2);
12703
12704 wxPyEndAllowThreads(__tstate);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
12707 Py_INCREF(Py_None); resultobj = Py_None;
12708 {
12709 if (temp2)
12710 delete arg2;
12711 }
12712 return resultobj;
12713 fail:
12714 {
12715 if (temp2)
12716 delete arg2;
12717 }
12718 return NULL;
12719 }
12720
12721
12722 static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
12723 PyObject *resultobj;
12724 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12725 wxString result;
12726 PyObject * obj0 = 0 ;
12727 char *kwnames[] = {
12728 (char *) "self", NULL
12729 };
12730
12731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
12732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12734 {
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 result = ((wxCommandEvent const *)arg1)->GetString();
12737
12738 wxPyEndAllowThreads(__tstate);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
12741 {
12742 #if wxUSE_UNICODE
12743 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12744 #else
12745 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12746 #endif
12747 }
12748 return resultobj;
12749 fail:
12750 return NULL;
12751 }
12752
12753
12754 static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
12755 PyObject *resultobj;
12756 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12757 bool result;
12758 PyObject * obj0 = 0 ;
12759 char *kwnames[] = {
12760 (char *) "self", NULL
12761 };
12762
12763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
12764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12766 {
12767 PyThreadState* __tstate = wxPyBeginAllowThreads();
12768 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12769
12770 wxPyEndAllowThreads(__tstate);
12771 if (PyErr_Occurred()) SWIG_fail;
12772 }
12773 {
12774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12775 }
12776 return resultobj;
12777 fail:
12778 return NULL;
12779 }
12780
12781
12782 static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12783 PyObject *resultobj;
12784 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12785 bool result;
12786 PyObject * obj0 = 0 ;
12787 char *kwnames[] = {
12788 (char *) "self", NULL
12789 };
12790
12791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
12792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12794 {
12795 PyThreadState* __tstate = wxPyBeginAllowThreads();
12796 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12797
12798 wxPyEndAllowThreads(__tstate);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 {
12802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12803 }
12804 return resultobj;
12805 fail:
12806 return NULL;
12807 }
12808
12809
12810 static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
12811 PyObject *resultobj;
12812 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12813 long arg2 ;
12814 PyObject * obj0 = 0 ;
12815 PyObject * obj1 = 0 ;
12816 char *kwnames[] = {
12817 (char *) "self",(char *) "extraLong", NULL
12818 };
12819
12820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
12821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12823 arg2 = (long) SWIG_AsLong(obj1);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 {
12826 PyThreadState* __tstate = wxPyBeginAllowThreads();
12827 (arg1)->SetExtraLong(arg2);
12828
12829 wxPyEndAllowThreads(__tstate);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 }
12832 Py_INCREF(Py_None); resultobj = Py_None;
12833 return resultobj;
12834 fail:
12835 return NULL;
12836 }
12837
12838
12839 static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
12840 PyObject *resultobj;
12841 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12842 long result;
12843 PyObject * obj0 = 0 ;
12844 char *kwnames[] = {
12845 (char *) "self", NULL
12846 };
12847
12848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
12849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12851 {
12852 PyThreadState* __tstate = wxPyBeginAllowThreads();
12853 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
12854
12855 wxPyEndAllowThreads(__tstate);
12856 if (PyErr_Occurred()) SWIG_fail;
12857 }
12858 resultobj = SWIG_FromLong((long)result);
12859 return resultobj;
12860 fail:
12861 return NULL;
12862 }
12863
12864
12865 static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) {
12866 PyObject *resultobj;
12867 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12868 int arg2 ;
12869 PyObject * obj0 = 0 ;
12870 PyObject * obj1 = 0 ;
12871 char *kwnames[] = {
12872 (char *) "self",(char *) "i", NULL
12873 };
12874
12875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
12876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12878 arg2 = (int) SWIG_AsInt(obj1);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 (arg1)->SetInt(arg2);
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 Py_INCREF(Py_None); resultobj = Py_None;
12888 return resultobj;
12889 fail:
12890 return NULL;
12891 }
12892
12893
12894 static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) {
12895 PyObject *resultobj;
12896 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12897 long result;
12898 PyObject * obj0 = 0 ;
12899 char *kwnames[] = {
12900 (char *) "self", NULL
12901 };
12902
12903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
12904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12906 {
12907 PyThreadState* __tstate = wxPyBeginAllowThreads();
12908 result = (long)((wxCommandEvent const *)arg1)->GetInt();
12909
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 resultobj = SWIG_FromLong((long)result);
12914 return resultobj;
12915 fail:
12916 return NULL;
12917 }
12918
12919
12920 static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
12921 PyObject *resultobj;
12922 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12923 wxEvent *result;
12924 PyObject * obj0 = 0 ;
12925 char *kwnames[] = {
12926 (char *) "self", NULL
12927 };
12928
12929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
12930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12932 {
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
12935
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
12940 return resultobj;
12941 fail:
12942 return NULL;
12943 }
12944
12945
12946 static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) {
12947 PyObject *obj;
12948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12949 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
12950 Py_INCREF(obj);
12951 return Py_BuildValue((char *)"");
12952 }
12953 static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12954 PyObject *resultobj;
12955 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12956 int arg2 = (int) 0 ;
12957 wxNotifyEvent *result;
12958 PyObject * obj0 = 0 ;
12959 PyObject * obj1 = 0 ;
12960 char *kwnames[] = {
12961 (char *) "commandType",(char *) "winid", NULL
12962 };
12963
12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
12965 if (obj0) {
12966 arg1 = (wxEventType) SWIG_AsInt(obj0);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 if (obj1) {
12970 arg2 = (int) SWIG_AsInt(obj1);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 {
12974 PyThreadState* __tstate = wxPyBeginAllowThreads();
12975 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
12976
12977 wxPyEndAllowThreads(__tstate);
12978 if (PyErr_Occurred()) SWIG_fail;
12979 }
12980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
12981 return resultobj;
12982 fail:
12983 return NULL;
12984 }
12985
12986
12987 static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
12988 PyObject *resultobj;
12989 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12990 PyObject * obj0 = 0 ;
12991 char *kwnames[] = {
12992 (char *) "self", NULL
12993 };
12994
12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
12996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
12997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12998 {
12999 PyThreadState* __tstate = wxPyBeginAllowThreads();
13000 (arg1)->Veto();
13001
13002 wxPyEndAllowThreads(__tstate);
13003 if (PyErr_Occurred()) SWIG_fail;
13004 }
13005 Py_INCREF(Py_None); resultobj = Py_None;
13006 return resultobj;
13007 fail:
13008 return NULL;
13009 }
13010
13011
13012 static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) {
13013 PyObject *resultobj;
13014 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13015 PyObject * obj0 = 0 ;
13016 char *kwnames[] = {
13017 (char *) "self", NULL
13018 };
13019
13020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
13021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 (arg1)->Allow();
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 Py_INCREF(Py_None); resultobj = Py_None;
13031 return resultobj;
13032 fail:
13033 return NULL;
13034 }
13035
13036
13037 static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
13038 PyObject *resultobj;
13039 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13040 bool result;
13041 PyObject * obj0 = 0 ;
13042 char *kwnames[] = {
13043 (char *) "self", NULL
13044 };
13045
13046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
13047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (bool)(arg1)->IsAllowed();
13052
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 {
13057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13058 }
13059 return resultobj;
13060 fail:
13061 return NULL;
13062 }
13063
13064
13065 static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) {
13066 PyObject *obj;
13067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13068 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13069 Py_INCREF(obj);
13070 return Py_BuildValue((char *)"");
13071 }
13072 static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13073 PyObject *resultobj;
13074 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13075 int arg2 = (int) 0 ;
13076 int arg3 = (int) 0 ;
13077 int arg4 = (int) 0 ;
13078 wxScrollEvent *result;
13079 PyObject * obj0 = 0 ;
13080 PyObject * obj1 = 0 ;
13081 PyObject * obj2 = 0 ;
13082 PyObject * obj3 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13088 if (obj0) {
13089 arg1 = (wxEventType) SWIG_AsInt(obj0);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 if (obj1) {
13093 arg2 = (int) SWIG_AsInt(obj1);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 if (obj2) {
13097 arg3 = (int) SWIG_AsInt(obj2);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
13100 if (obj3) {
13101 arg4 = (int) SWIG_AsInt(obj3);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13107
13108 wxPyEndAllowThreads(__tstate);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
13112 return resultobj;
13113 fail:
13114 return NULL;
13115 }
13116
13117
13118 static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj;
13120 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13121 int result;
13122 PyObject * obj0 = 0 ;
13123 char *kwnames[] = {
13124 (char *) "self", NULL
13125 };
13126
13127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
13128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13130 {
13131 PyThreadState* __tstate = wxPyBeginAllowThreads();
13132 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13133
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 resultobj = SWIG_FromInt((int)result);
13138 return resultobj;
13139 fail:
13140 return NULL;
13141 }
13142
13143
13144 static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13145 PyObject *resultobj;
13146 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13147 int result;
13148 PyObject * obj0 = 0 ;
13149 char *kwnames[] = {
13150 (char *) "self", NULL
13151 };
13152
13153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
13154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13156 {
13157 PyThreadState* __tstate = wxPyBeginAllowThreads();
13158 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13159
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 }
13163 resultobj = SWIG_FromInt((int)result);
13164 return resultobj;
13165 fail:
13166 return NULL;
13167 }
13168
13169
13170 static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
13171 PyObject *resultobj;
13172 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13173 int arg2 ;
13174 PyObject * obj0 = 0 ;
13175 PyObject * obj1 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self",(char *) "orient", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
13181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13183 arg2 = (int) SWIG_AsInt(obj1);
13184 if (PyErr_Occurred()) SWIG_fail;
13185 {
13186 PyThreadState* __tstate = wxPyBeginAllowThreads();
13187 (arg1)->SetOrientation(arg2);
13188
13189 wxPyEndAllowThreads(__tstate);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 }
13192 Py_INCREF(Py_None); resultobj = Py_None;
13193 return resultobj;
13194 fail:
13195 return NULL;
13196 }
13197
13198
13199 static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13200 PyObject *resultobj;
13201 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13202 int arg2 ;
13203 PyObject * obj0 = 0 ;
13204 PyObject * obj1 = 0 ;
13205 char *kwnames[] = {
13206 (char *) "self",(char *) "pos", NULL
13207 };
13208
13209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13212 arg2 = (int) SWIG_AsInt(obj1);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 {
13215 PyThreadState* __tstate = wxPyBeginAllowThreads();
13216 (arg1)->SetPosition(arg2);
13217
13218 wxPyEndAllowThreads(__tstate);
13219 if (PyErr_Occurred()) SWIG_fail;
13220 }
13221 Py_INCREF(Py_None); resultobj = Py_None;
13222 return resultobj;
13223 fail:
13224 return NULL;
13225 }
13226
13227
13228 static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) {
13229 PyObject *obj;
13230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13231 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13232 Py_INCREF(obj);
13233 return Py_BuildValue((char *)"");
13234 }
13235 static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13236 PyObject *resultobj;
13237 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13238 int arg2 = (int) 0 ;
13239 int arg3 = (int) 0 ;
13240 wxScrollWinEvent *result;
13241 PyObject * obj0 = 0 ;
13242 PyObject * obj1 = 0 ;
13243 PyObject * obj2 = 0 ;
13244 char *kwnames[] = {
13245 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13246 };
13247
13248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13249 if (obj0) {
13250 arg1 = (wxEventType) SWIG_AsInt(obj0);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
13253 if (obj1) {
13254 arg2 = (int) SWIG_AsInt(obj1);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 if (obj2) {
13258 arg3 = (int) SWIG_AsInt(obj2);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
13269 return resultobj;
13270 fail:
13271 return NULL;
13272 }
13273
13274
13275 static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
13276 PyObject *resultobj;
13277 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13278 int result;
13279 PyObject * obj0 = 0 ;
13280 char *kwnames[] = {
13281 (char *) "self", NULL
13282 };
13283
13284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
13285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13290
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 resultobj = SWIG_FromInt((int)result);
13295 return resultobj;
13296 fail:
13297 return NULL;
13298 }
13299
13300
13301 static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13302 PyObject *resultobj;
13303 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13304 int result;
13305 PyObject * obj0 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13313 {
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
13315 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13316
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 resultobj = SWIG_FromInt((int)result);
13321 return resultobj;
13322 fail:
13323 return NULL;
13324 }
13325
13326
13327 static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
13328 PyObject *resultobj;
13329 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13330 int arg2 ;
13331 PyObject * obj0 = 0 ;
13332 PyObject * obj1 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "self",(char *) "orient", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
13338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13340 arg2 = (int) SWIG_AsInt(obj1);
13341 if (PyErr_Occurred()) SWIG_fail;
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 (arg1)->SetOrientation(arg2);
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 Py_INCREF(Py_None); resultobj = Py_None;
13350 return resultobj;
13351 fail:
13352 return NULL;
13353 }
13354
13355
13356 static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13359 int arg2 ;
13360 PyObject * obj0 = 0 ;
13361 PyObject * obj1 = 0 ;
13362 char *kwnames[] = {
13363 (char *) "self",(char *) "pos", NULL
13364 };
13365
13366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13369 arg2 = (int) SWIG_AsInt(obj1);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 (arg1)->SetPosition(arg2);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 Py_INCREF(Py_None); resultobj = Py_None;
13379 return resultobj;
13380 fail:
13381 return NULL;
13382 }
13383
13384
13385 static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) {
13386 PyObject *obj;
13387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13388 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13389 Py_INCREF(obj);
13390 return Py_BuildValue((char *)"");
13391 }
13392 static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj;
13394 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13395 wxMouseEvent *result;
13396 PyObject * obj0 = 0 ;
13397 char *kwnames[] = {
13398 (char *) "mouseType", NULL
13399 };
13400
13401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13402 if (obj0) {
13403 arg1 = (wxEventType) SWIG_AsInt(obj0);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 {
13407 PyThreadState* __tstate = wxPyBeginAllowThreads();
13408 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13409
13410 wxPyEndAllowThreads(__tstate);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 }
13413 {
13414 resultobj = wxPyMake_wxObject(result);
13415 }
13416 return resultobj;
13417 fail:
13418 return NULL;
13419 }
13420
13421
13422 static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
13423 PyObject *resultobj;
13424 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13425 bool result;
13426 PyObject * obj0 = 0 ;
13427 char *kwnames[] = {
13428 (char *) "self", NULL
13429 };
13430
13431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
13432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13434 {
13435 PyThreadState* __tstate = wxPyBeginAllowThreads();
13436 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13437
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 {
13442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13443 }
13444 return resultobj;
13445 fail:
13446 return NULL;
13447 }
13448
13449
13450 static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
13451 PyObject *resultobj;
13452 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13453 int arg2 = (int) wxMOUSE_BTN_ANY ;
13454 bool result;
13455 PyObject * obj0 = 0 ;
13456 PyObject * obj1 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self",(char *) "but", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
13462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13464 if (obj1) {
13465 arg2 = (int) SWIG_AsInt(obj1);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 {
13469 PyThreadState* __tstate = wxPyBeginAllowThreads();
13470 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13471
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 {
13476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13477 }
13478 return resultobj;
13479 fail:
13480 return NULL;
13481 }
13482
13483
13484 static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) {
13485 PyObject *resultobj;
13486 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13487 int arg2 = (int) wxMOUSE_BTN_ANY ;
13488 bool result;
13489 PyObject * obj0 = 0 ;
13490 PyObject * obj1 = 0 ;
13491 char *kwnames[] = {
13492 (char *) "self",(char *) "but", NULL
13493 };
13494
13495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
13496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13498 if (obj1) {
13499 arg2 = (int) SWIG_AsInt(obj1);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 {
13510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13511 }
13512 return resultobj;
13513 fail:
13514 return NULL;
13515 }
13516
13517
13518 static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
13519 PyObject *resultobj;
13520 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13521 int arg2 = (int) wxMOUSE_BTN_ANY ;
13522 bool result;
13523 PyObject * obj0 = 0 ;
13524 PyObject * obj1 = 0 ;
13525 char *kwnames[] = {
13526 (char *) "self",(char *) "but", NULL
13527 };
13528
13529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
13530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13532 if (obj1) {
13533 arg2 = (int) SWIG_AsInt(obj1);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13539
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 {
13544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13545 }
13546 return resultobj;
13547 fail:
13548 return NULL;
13549 }
13550
13551
13552 static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) {
13553 PyObject *resultobj;
13554 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13555 int arg2 ;
13556 bool result;
13557 PyObject * obj0 = 0 ;
13558 PyObject * obj1 = 0 ;
13559 char *kwnames[] = {
13560 (char *) "self",(char *) "but", NULL
13561 };
13562
13563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
13564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13566 arg2 = (int) SWIG_AsInt(obj1);
13567 if (PyErr_Occurred()) SWIG_fail;
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13571
13572 wxPyEndAllowThreads(__tstate);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
13575 {
13576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13577 }
13578 return resultobj;
13579 fail:
13580 return NULL;
13581 }
13582
13583
13584 static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj;
13586 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13587 int arg2 ;
13588 bool result;
13589 PyObject * obj0 = 0 ;
13590 PyObject * obj1 = 0 ;
13591 char *kwnames[] = {
13592 (char *) "self",(char *) "but", NULL
13593 };
13594
13595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
13596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13598 arg2 = (int) SWIG_AsInt(obj1);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 {
13601 PyThreadState* __tstate = wxPyBeginAllowThreads();
13602 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13603
13604 wxPyEndAllowThreads(__tstate);
13605 if (PyErr_Occurred()) SWIG_fail;
13606 }
13607 {
13608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13609 }
13610 return resultobj;
13611 fail:
13612 return NULL;
13613 }
13614
13615
13616 static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) {
13617 PyObject *resultobj;
13618 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13619 int result;
13620 PyObject * obj0 = 0 ;
13621 char *kwnames[] = {
13622 (char *) "self", NULL
13623 };
13624
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
13626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
13635 resultobj = SWIG_FromInt((int)result);
13636 return resultobj;
13637 fail:
13638 return NULL;
13639 }
13640
13641
13642 static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
13643 PyObject *resultobj;
13644 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13645 bool result;
13646 PyObject * obj0 = 0 ;
13647 char *kwnames[] = {
13648 (char *) "self", NULL
13649 };
13650
13651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
13652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13654 {
13655 PyThreadState* __tstate = wxPyBeginAllowThreads();
13656 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13657
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 {
13662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13663 }
13664 return resultobj;
13665 fail:
13666 return NULL;
13667 }
13668
13669
13670 static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
13671 PyObject *resultobj;
13672 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13673 bool result;
13674 PyObject * obj0 = 0 ;
13675 char *kwnames[] = {
13676 (char *) "self", NULL
13677 };
13678
13679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
13680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13682 {
13683 PyThreadState* __tstate = wxPyBeginAllowThreads();
13684 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13685
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 {
13690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13691 }
13692 return resultobj;
13693 fail:
13694 return NULL;
13695 }
13696
13697
13698 static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
13699 PyObject *resultobj;
13700 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13701 bool result;
13702 PyObject * obj0 = 0 ;
13703 char *kwnames[] = {
13704 (char *) "self", NULL
13705 };
13706
13707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
13708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13710 {
13711 PyThreadState* __tstate = wxPyBeginAllowThreads();
13712 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13713
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 {
13718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13719 }
13720 return resultobj;
13721 fail:
13722 return NULL;
13723 }
13724
13725
13726 static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
13727 PyObject *resultobj;
13728 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13729 bool result;
13730 PyObject * obj0 = 0 ;
13731 char *kwnames[] = {
13732 (char *) "self", NULL
13733 };
13734
13735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
13736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13741
13742 wxPyEndAllowThreads(__tstate);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 }
13745 {
13746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13747 }
13748 return resultobj;
13749 fail:
13750 return NULL;
13751 }
13752
13753
13754 static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
13755 PyObject *resultobj;
13756 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13757 bool result;
13758 PyObject * obj0 = 0 ;
13759 char *kwnames[] = {
13760 (char *) "self", NULL
13761 };
13762
13763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
13764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13766 {
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 {
13774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13775 }
13776 return resultobj;
13777 fail:
13778 return NULL;
13779 }
13780
13781
13782 static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj;
13784 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13785 bool result;
13786 PyObject * obj0 = 0 ;
13787 char *kwnames[] = {
13788 (char *) "self", NULL
13789 };
13790
13791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
13792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13794 {
13795 PyThreadState* __tstate = wxPyBeginAllowThreads();
13796 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13797
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 {
13802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13803 }
13804 return resultobj;
13805 fail:
13806 return NULL;
13807 }
13808
13809
13810 static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
13811 PyObject *resultobj;
13812 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13813 bool result;
13814 PyObject * obj0 = 0 ;
13815 char *kwnames[] = {
13816 (char *) "self", NULL
13817 };
13818
13819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
13820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13822 {
13823 PyThreadState* __tstate = wxPyBeginAllowThreads();
13824 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
13825
13826 wxPyEndAllowThreads(__tstate);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 {
13830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13831 }
13832 return resultobj;
13833 fail:
13834 return NULL;
13835 }
13836
13837
13838 static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) {
13839 PyObject *resultobj;
13840 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13841 bool result;
13842 PyObject * obj0 = 0 ;
13843 char *kwnames[] = {
13844 (char *) "self", NULL
13845 };
13846
13847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
13848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13850 {
13851 PyThreadState* __tstate = wxPyBeginAllowThreads();
13852 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
13853
13854 wxPyEndAllowThreads(__tstate);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 {
13858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13859 }
13860 return resultobj;
13861 fail:
13862 return NULL;
13863 }
13864
13865
13866 static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) {
13867 PyObject *resultobj;
13868 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13869 bool result;
13870 PyObject * obj0 = 0 ;
13871 char *kwnames[] = {
13872 (char *) "self", NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
13876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13878 {
13879 PyThreadState* __tstate = wxPyBeginAllowThreads();
13880 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
13881
13882 wxPyEndAllowThreads(__tstate);
13883 if (PyErr_Occurred()) SWIG_fail;
13884 }
13885 {
13886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13887 }
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj;
13896 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13897 bool result;
13898 PyObject * obj0 = 0 ;
13899 char *kwnames[] = {
13900 (char *) "self", NULL
13901 };
13902
13903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
13904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13906 {
13907 PyThreadState* __tstate = wxPyBeginAllowThreads();
13908 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
13909
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 {
13914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13915 }
13916 return resultobj;
13917 fail:
13918 return NULL;
13919 }
13920
13921
13922 static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) {
13923 PyObject *resultobj;
13924 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13925 bool result;
13926 PyObject * obj0 = 0 ;
13927 char *kwnames[] = {
13928 (char *) "self", NULL
13929 };
13930
13931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
13932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13934 {
13935 PyThreadState* __tstate = wxPyBeginAllowThreads();
13936 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
13937
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 {
13942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13943 }
13944 return resultobj;
13945 fail:
13946 return NULL;
13947 }
13948
13949
13950 static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) {
13951 PyObject *resultobj;
13952 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13953 bool result;
13954 PyObject * obj0 = 0 ;
13955 char *kwnames[] = {
13956 (char *) "self", NULL
13957 };
13958
13959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
13960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
13965
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 {
13970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13971 }
13972 return resultobj;
13973 fail:
13974 return NULL;
13975 }
13976
13977
13978 static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) {
13979 PyObject *resultobj;
13980 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13981 bool result;
13982 PyObject * obj0 = 0 ;
13983 char *kwnames[] = {
13984 (char *) "self", NULL
13985 };
13986
13987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
13988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13990 {
13991 PyThreadState* __tstate = wxPyBeginAllowThreads();
13992 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
13993
13994 wxPyEndAllowThreads(__tstate);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 {
13998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13999 }
14000 return resultobj;
14001 fail:
14002 return NULL;
14003 }
14004
14005
14006 static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
14007 PyObject *resultobj;
14008 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14009 bool result;
14010 PyObject * obj0 = 0 ;
14011 char *kwnames[] = {
14012 (char *) "self", NULL
14013 };
14014
14015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
14016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14018 {
14019 PyThreadState* __tstate = wxPyBeginAllowThreads();
14020 result = (bool)(arg1)->LeftIsDown();
14021
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
14025 {
14026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14027 }
14028 return resultobj;
14029 fail:
14030 return NULL;
14031 }
14032
14033
14034 static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
14035 PyObject *resultobj;
14036 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14037 bool result;
14038 PyObject * obj0 = 0 ;
14039 char *kwnames[] = {
14040 (char *) "self", NULL
14041 };
14042
14043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
14044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (bool)(arg1)->MiddleIsDown();
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 {
14054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14055 }
14056 return resultobj;
14057 fail:
14058 return NULL;
14059 }
14060
14061
14062 static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj;
14064 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14065 bool result;
14066 PyObject * obj0 = 0 ;
14067 char *kwnames[] = {
14068 (char *) "self", NULL
14069 };
14070
14071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
14072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14074 {
14075 PyThreadState* __tstate = wxPyBeginAllowThreads();
14076 result = (bool)(arg1)->RightIsDown();
14077
14078 wxPyEndAllowThreads(__tstate);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 }
14081 {
14082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14083 }
14084 return resultobj;
14085 fail:
14086 return NULL;
14087 }
14088
14089
14090 static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) {
14091 PyObject *resultobj;
14092 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14093 bool result;
14094 PyObject * obj0 = 0 ;
14095 char *kwnames[] = {
14096 (char *) "self", NULL
14097 };
14098
14099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
14100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14102 {
14103 PyThreadState* __tstate = wxPyBeginAllowThreads();
14104 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14105
14106 wxPyEndAllowThreads(__tstate);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 {
14110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14111 }
14112 return resultobj;
14113 fail:
14114 return NULL;
14115 }
14116
14117
14118 static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) {
14119 PyObject *resultobj;
14120 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14121 bool result;
14122 PyObject * obj0 = 0 ;
14123 char *kwnames[] = {
14124 (char *) "self", NULL
14125 };
14126
14127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
14128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14133
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 {
14138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14139 }
14140 return resultobj;
14141 fail:
14142 return NULL;
14143 }
14144
14145
14146 static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj;
14148 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14149 bool result;
14150 PyObject * obj0 = 0 ;
14151 char *kwnames[] = {
14152 (char *) "self", NULL
14153 };
14154
14155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
14156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14161
14162 wxPyEndAllowThreads(__tstate);
14163 if (PyErr_Occurred()) SWIG_fail;
14164 }
14165 {
14166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14167 }
14168 return resultobj;
14169 fail:
14170 return NULL;
14171 }
14172
14173
14174 static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14177 bool result;
14178 PyObject * obj0 = 0 ;
14179 char *kwnames[] = {
14180 (char *) "self", NULL
14181 };
14182
14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
14184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 {
14194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14195 }
14196 return resultobj;
14197 fail:
14198 return NULL;
14199 }
14200
14201
14202 static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14205 wxPoint result;
14206 PyObject * obj0 = 0 ;
14207 char *kwnames[] = {
14208 (char *) "self", NULL
14209 };
14210
14211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
14212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 result = (arg1)->GetPosition();
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 {
14222 wxPoint * resultptr;
14223 resultptr = new wxPoint((wxPoint &) result);
14224 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14225 }
14226 return resultobj;
14227 fail:
14228 return NULL;
14229 }
14230
14231
14232 static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
14233 PyObject *resultobj;
14234 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14235 long *arg2 = (long *) 0 ;
14236 long *arg3 = (long *) 0 ;
14237 long temp2 ;
14238 long temp3 ;
14239 PyObject * obj0 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self", NULL
14242 };
14243
14244 arg2 = &temp2;
14245 arg3 = &temp3;
14246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
14247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 (arg1)->GetPosition(arg2,arg3);
14252
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 Py_INCREF(Py_None); resultobj = Py_None;
14257 {
14258 PyObject *o = PyInt_FromLong((long) (*arg2));
14259 resultobj = t_output_helper(resultobj,o);
14260 }
14261 {
14262 PyObject *o = PyInt_FromLong((long) (*arg3));
14263 resultobj = t_output_helper(resultobj,o);
14264 }
14265 return resultobj;
14266 fail:
14267 return NULL;
14268 }
14269
14270
14271 static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) {
14272 PyObject *resultobj;
14273 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14274 wxDC *arg2 = 0 ;
14275 wxPoint result;
14276 PyObject * obj0 = 0 ;
14277 PyObject * obj1 = 0 ;
14278 char *kwnames[] = {
14279 (char *) "self",(char *) "dc", NULL
14280 };
14281
14282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
14283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14286 SWIG_POINTER_EXCEPTION | 0)) == -1)
14287 SWIG_fail;
14288 if (arg2 == NULL) {
14289 PyErr_SetString(PyExc_TypeError,"null reference");
14290 SWIG_fail;
14291 }
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 {
14300 wxPoint * resultptr;
14301 resultptr = new wxPoint((wxPoint &) result);
14302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14303 }
14304 return resultobj;
14305 fail:
14306 return NULL;
14307 }
14308
14309
14310 static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
14311 PyObject *resultobj;
14312 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14313 int result;
14314 PyObject * obj0 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "self", NULL
14317 };
14318
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
14320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
14324 result = (int)((wxMouseEvent const *)arg1)->GetX();
14325
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 resultobj = SWIG_FromInt((int)result);
14330 return resultobj;
14331 fail:
14332 return NULL;
14333 }
14334
14335
14336 static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj;
14338 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14339 int result;
14340 PyObject * obj0 = 0 ;
14341 char *kwnames[] = {
14342 (char *) "self", NULL
14343 };
14344
14345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
14346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14348 {
14349 PyThreadState* __tstate = wxPyBeginAllowThreads();
14350 result = (int)((wxMouseEvent const *)arg1)->GetY();
14351
14352 wxPyEndAllowThreads(__tstate);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 resultobj = SWIG_FromInt((int)result);
14356 return resultobj;
14357 fail:
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14365 int result;
14366 PyObject * obj0 = 0 ;
14367 char *kwnames[] = {
14368 (char *) "self", NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",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 = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14377
14378 wxPyEndAllowThreads(__tstate);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
14381 resultobj = SWIG_FromInt((int)result);
14382 return resultobj;
14383 fail:
14384 return NULL;
14385 }
14386
14387
14388 static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) {
14389 PyObject *resultobj;
14390 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14391 int result;
14392 PyObject * obj0 = 0 ;
14393 char *kwnames[] = {
14394 (char *) "self", NULL
14395 };
14396
14397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
14398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 resultobj = SWIG_FromInt((int)result);
14408 return resultobj;
14409 fail:
14410 return NULL;
14411 }
14412
14413
14414 static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj;
14416 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14417 int result;
14418 PyObject * obj0 = 0 ;
14419 char *kwnames[] = {
14420 (char *) "self", NULL
14421 };
14422
14423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
14424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
14428 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14429
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 resultobj = SWIG_FromInt((int)result);
14434 return resultobj;
14435 fail:
14436 return NULL;
14437 }
14438
14439
14440 static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj;
14442 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14443 bool result;
14444 PyObject * obj0 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
14450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 {
14460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14461 }
14462 return resultobj;
14463 fail:
14464 return NULL;
14465 }
14466
14467
14468 static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
14469 PyObject *resultobj;
14470 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14471 int arg2 ;
14472 PyObject * obj0 = 0 ;
14473 PyObject * obj1 = 0 ;
14474 char *kwnames[] = {
14475 (char *) "self",(char *) "m_x", NULL
14476 };
14477
14478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
14479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14481 arg2 = (int) SWIG_AsInt(obj1);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 if (arg1) (arg1)->m_x = arg2;
14484
14485 Py_INCREF(Py_None); resultobj = Py_None;
14486 return resultobj;
14487 fail:
14488 return NULL;
14489 }
14490
14491
14492 static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
14493 PyObject *resultobj;
14494 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14495 int result;
14496 PyObject * obj0 = 0 ;
14497 char *kwnames[] = {
14498 (char *) "self", NULL
14499 };
14500
14501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
14502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14504 result = (int) ((arg1)->m_x);
14505
14506 resultobj = SWIG_FromInt((int)result);
14507 return resultobj;
14508 fail:
14509 return NULL;
14510 }
14511
14512
14513 static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj;
14515 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14516 int arg2 ;
14517 PyObject * obj0 = 0 ;
14518 PyObject * obj1 = 0 ;
14519 char *kwnames[] = {
14520 (char *) "self",(char *) "m_y", NULL
14521 };
14522
14523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
14524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14526 arg2 = (int) SWIG_AsInt(obj1);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 if (arg1) (arg1)->m_y = arg2;
14529
14530 Py_INCREF(Py_None); resultobj = Py_None;
14531 return resultobj;
14532 fail:
14533 return NULL;
14534 }
14535
14536
14537 static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
14538 PyObject *resultobj;
14539 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14540 int result;
14541 PyObject * obj0 = 0 ;
14542 char *kwnames[] = {
14543 (char *) "self", NULL
14544 };
14545
14546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
14547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14549 result = (int) ((arg1)->m_y);
14550
14551 resultobj = SWIG_FromInt((int)result);
14552 return resultobj;
14553 fail:
14554 return NULL;
14555 }
14556
14557
14558 static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
14559 PyObject *resultobj;
14560 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14561 bool arg2 ;
14562 PyObject * obj0 = 0 ;
14563 PyObject * obj1 = 0 ;
14564 char *kwnames[] = {
14565 (char *) "self",(char *) "m_leftDown", NULL
14566 };
14567
14568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
14569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14571 arg2 = (bool) SWIG_AsBool(obj1);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 if (arg1) (arg1)->m_leftDown = arg2;
14574
14575 Py_INCREF(Py_None); resultobj = Py_None;
14576 return resultobj;
14577 fail:
14578 return NULL;
14579 }
14580
14581
14582 static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
14583 PyObject *resultobj;
14584 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14585 bool result;
14586 PyObject * obj0 = 0 ;
14587 char *kwnames[] = {
14588 (char *) "self", NULL
14589 };
14590
14591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
14592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14594 result = (bool) ((arg1)->m_leftDown);
14595
14596 {
14597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14598 }
14599 return resultobj;
14600 fail:
14601 return NULL;
14602 }
14603
14604
14605 static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
14606 PyObject *resultobj;
14607 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14608 bool arg2 ;
14609 PyObject * obj0 = 0 ;
14610 PyObject * obj1 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self",(char *) "m_middleDown", NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
14616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14618 arg2 = (bool) SWIG_AsBool(obj1);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 if (arg1) (arg1)->m_middleDown = arg2;
14621
14622 Py_INCREF(Py_None); resultobj = Py_None;
14623 return resultobj;
14624 fail:
14625 return NULL;
14626 }
14627
14628
14629 static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
14630 PyObject *resultobj;
14631 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14632 bool result;
14633 PyObject * obj0 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
14639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14641 result = (bool) ((arg1)->m_middleDown);
14642
14643 {
14644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14645 }
14646 return resultobj;
14647 fail:
14648 return NULL;
14649 }
14650
14651
14652 static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
14653 PyObject *resultobj;
14654 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14655 bool arg2 ;
14656 PyObject * obj0 = 0 ;
14657 PyObject * obj1 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "self",(char *) "m_rightDown", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
14663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14665 arg2 = (bool) SWIG_AsBool(obj1);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 if (arg1) (arg1)->m_rightDown = arg2;
14668
14669 Py_INCREF(Py_None); resultobj = Py_None;
14670 return resultobj;
14671 fail:
14672 return NULL;
14673 }
14674
14675
14676 static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
14677 PyObject *resultobj;
14678 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14679 bool result;
14680 PyObject * obj0 = 0 ;
14681 char *kwnames[] = {
14682 (char *) "self", NULL
14683 };
14684
14685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
14686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14688 result = (bool) ((arg1)->m_rightDown);
14689
14690 {
14691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14692 }
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14702 bool arg2 ;
14703 PyObject * obj0 = 0 ;
14704 PyObject * obj1 = 0 ;
14705 char *kwnames[] = {
14706 (char *) "self",(char *) "m_controlDown", NULL
14707 };
14708
14709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
14710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14712 arg2 = (bool) SWIG_AsBool(obj1);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 if (arg1) (arg1)->m_controlDown = arg2;
14715
14716 Py_INCREF(Py_None); resultobj = Py_None;
14717 return resultobj;
14718 fail:
14719 return NULL;
14720 }
14721
14722
14723 static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
14724 PyObject *resultobj;
14725 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14726 bool result;
14727 PyObject * obj0 = 0 ;
14728 char *kwnames[] = {
14729 (char *) "self", NULL
14730 };
14731
14732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14735 result = (bool) ((arg1)->m_controlDown);
14736
14737 {
14738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14739 }
14740 return resultobj;
14741 fail:
14742 return NULL;
14743 }
14744
14745
14746 static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
14747 PyObject *resultobj;
14748 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14749 bool arg2 ;
14750 PyObject * obj0 = 0 ;
14751 PyObject * obj1 = 0 ;
14752 char *kwnames[] = {
14753 (char *) "self",(char *) "m_shiftDown", NULL
14754 };
14755
14756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14759 arg2 = (bool) SWIG_AsBool(obj1);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 if (arg1) (arg1)->m_shiftDown = arg2;
14762
14763 Py_INCREF(Py_None); resultobj = Py_None;
14764 return resultobj;
14765 fail:
14766 return NULL;
14767 }
14768
14769
14770 static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
14771 PyObject *resultobj;
14772 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14773 bool result;
14774 PyObject * obj0 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14782 result = (bool) ((arg1)->m_shiftDown);
14783
14784 {
14785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14786 }
14787 return resultobj;
14788 fail:
14789 return NULL;
14790 }
14791
14792
14793 static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14796 bool arg2 ;
14797 PyObject * obj0 = 0 ;
14798 PyObject * obj1 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "self",(char *) "m_altDown", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14806 arg2 = (bool) SWIG_AsBool(obj1);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 if (arg1) (arg1)->m_altDown = arg2;
14809
14810 Py_INCREF(Py_None); resultobj = Py_None;
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14820 bool result;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "self", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14829 result = (bool) ((arg1)->m_altDown);
14830
14831 {
14832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14833 }
14834 return resultobj;
14835 fail:
14836 return NULL;
14837 }
14838
14839
14840 static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
14841 PyObject *resultobj;
14842 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14843 bool arg2 ;
14844 PyObject * obj0 = 0 ;
14845 PyObject * obj1 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self",(char *) "m_metaDown", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
14851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14853 arg2 = (bool) SWIG_AsBool(obj1);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 if (arg1) (arg1)->m_metaDown = arg2;
14856
14857 Py_INCREF(Py_None); resultobj = Py_None;
14858 return resultobj;
14859 fail:
14860 return NULL;
14861 }
14862
14863
14864 static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj;
14866 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14867 bool result;
14868 PyObject * obj0 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
14874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14876 result = (bool) ((arg1)->m_metaDown);
14877
14878 {
14879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14880 }
14881 return resultobj;
14882 fail:
14883 return NULL;
14884 }
14885
14886
14887 static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) {
14888 PyObject *resultobj;
14889 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14890 int arg2 ;
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self",(char *) "m_wheelRotation", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
14898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14900 arg2 = (int) SWIG_AsInt(obj1);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 if (arg1) (arg1)->m_wheelRotation = arg2;
14903
14904 Py_INCREF(Py_None); resultobj = Py_None;
14905 return resultobj;
14906 fail:
14907 return NULL;
14908 }
14909
14910
14911 static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) {
14912 PyObject *resultobj;
14913 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14914 int result;
14915 PyObject * obj0 = 0 ;
14916 char *kwnames[] = {
14917 (char *) "self", NULL
14918 };
14919
14920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
14921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14923 result = (int) ((arg1)->m_wheelRotation);
14924
14925 resultobj = SWIG_FromInt((int)result);
14926 return resultobj;
14927 fail:
14928 return NULL;
14929 }
14930
14931
14932 static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj;
14934 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14935 int arg2 ;
14936 PyObject * obj0 = 0 ;
14937 PyObject * obj1 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self",(char *) "m_wheelDelta", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14945 arg2 = (int) SWIG_AsInt(obj1);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 if (arg1) (arg1)->m_wheelDelta = arg2;
14948
14949 Py_INCREF(Py_None); resultobj = Py_None;
14950 return resultobj;
14951 fail:
14952 return NULL;
14953 }
14954
14955
14956 static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14959 int result;
14960 PyObject * obj0 = 0 ;
14961 char *kwnames[] = {
14962 (char *) "self", NULL
14963 };
14964
14965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
14966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14968 result = (int) ((arg1)->m_wheelDelta);
14969
14970 resultobj = SWIG_FromInt((int)result);
14971 return resultobj;
14972 fail:
14973 return NULL;
14974 }
14975
14976
14977 static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj;
14979 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14980 int arg2 ;
14981 PyObject * obj0 = 0 ;
14982 PyObject * obj1 = 0 ;
14983 char *kwnames[] = {
14984 (char *) "self",(char *) "m_linesPerAction", NULL
14985 };
14986
14987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
14988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14990 arg2 = (int) SWIG_AsInt(obj1);
14991 if (PyErr_Occurred()) SWIG_fail;
14992 if (arg1) (arg1)->m_linesPerAction = arg2;
14993
14994 Py_INCREF(Py_None); resultobj = Py_None;
14995 return resultobj;
14996 fail:
14997 return NULL;
14998 }
14999
15000
15001 static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) {
15002 PyObject *resultobj;
15003 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15004 int result;
15005 PyObject * obj0 = 0 ;
15006 char *kwnames[] = {
15007 (char *) "self", NULL
15008 };
15009
15010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15013 result = (int) ((arg1)->m_linesPerAction);
15014
15015 resultobj = SWIG_FromInt((int)result);
15016 return resultobj;
15017 fail:
15018 return NULL;
15019 }
15020
15021
15022 static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) {
15023 PyObject *obj;
15024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15025 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15026 Py_INCREF(obj);
15027 return Py_BuildValue((char *)"");
15028 }
15029 static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15030 PyObject *resultobj;
15031 int arg1 = (int) 0 ;
15032 int arg2 = (int) 0 ;
15033 wxSetCursorEvent *result;
15034 PyObject * obj0 = 0 ;
15035 PyObject * obj1 = 0 ;
15036 char *kwnames[] = {
15037 (char *) "x",(char *) "y", NULL
15038 };
15039
15040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15041 if (obj0) {
15042 arg1 = (int) SWIG_AsInt(obj0);
15043 if (PyErr_Occurred()) SWIG_fail;
15044 }
15045 if (obj1) {
15046 arg2 = (int) SWIG_AsInt(obj1);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 {
15050 PyThreadState* __tstate = wxPyBeginAllowThreads();
15051 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15052
15053 wxPyEndAllowThreads(__tstate);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
15056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
15057 return resultobj;
15058 fail:
15059 return NULL;
15060 }
15061
15062
15063 static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
15064 PyObject *resultobj;
15065 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15066 int result;
15067 PyObject * obj0 = 0 ;
15068 char *kwnames[] = {
15069 (char *) "self", NULL
15070 };
15071
15072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15075 {
15076 PyThreadState* __tstate = wxPyBeginAllowThreads();
15077 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
15078
15079 wxPyEndAllowThreads(__tstate);
15080 if (PyErr_Occurred()) SWIG_fail;
15081 }
15082 resultobj = SWIG_FromInt((int)result);
15083 return resultobj;
15084 fail:
15085 return NULL;
15086 }
15087
15088
15089 static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
15090 PyObject *resultobj;
15091 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15092 int result;
15093 PyObject * obj0 = 0 ;
15094 char *kwnames[] = {
15095 (char *) "self", NULL
15096 };
15097
15098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 resultobj = SWIG_FromInt((int)result);
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15118 wxCursor *arg2 = 0 ;
15119 PyObject * obj0 = 0 ;
15120 PyObject * obj1 = 0 ;
15121 char *kwnames[] = {
15122 (char *) "self",(char *) "cursor", NULL
15123 };
15124
15125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15129 SWIG_POINTER_EXCEPTION | 0)) == -1)
15130 SWIG_fail;
15131 if (arg2 == NULL) {
15132 PyErr_SetString(PyExc_TypeError,"null reference");
15133 SWIG_fail;
15134 }
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 (arg1)->SetCursor((wxCursor const &)*arg2);
15138
15139 wxPyEndAllowThreads(__tstate);
15140 if (PyErr_Occurred()) SWIG_fail;
15141 }
15142 Py_INCREF(Py_None); resultobj = Py_None;
15143 return resultobj;
15144 fail:
15145 return NULL;
15146 }
15147
15148
15149 static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
15150 PyObject *resultobj;
15151 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15152 wxCursor *result;
15153 PyObject * obj0 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 {
15164 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15165 result = (wxCursor *) &_result_ref;
15166 }
15167
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 {
15172 wxCursor* resultptr = new wxCursor(*result);
15173 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15174 }
15175 return resultobj;
15176 fail:
15177 return NULL;
15178 }
15179
15180
15181 static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj;
15183 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15184 bool result;
15185 PyObject * obj0 = 0 ;
15186 char *kwnames[] = {
15187 (char *) "self", NULL
15188 };
15189
15190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15193 {
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15196
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
15200 {
15201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15202 }
15203 return resultobj;
15204 fail:
15205 return NULL;
15206 }
15207
15208
15209 static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) {
15210 PyObject *obj;
15211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15213 Py_INCREF(obj);
15214 return Py_BuildValue((char *)"");
15215 }
15216 static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15217 PyObject *resultobj;
15218 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15219 wxKeyEvent *result;
15220 PyObject * obj0 = 0 ;
15221 char *kwnames[] = {
15222 (char *) "keyType", NULL
15223 };
15224
15225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15226 if (obj0) {
15227 arg1 = (wxEventType) SWIG_AsInt(obj0);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 {
15231 PyThreadState* __tstate = wxPyBeginAllowThreads();
15232 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15233
15234 wxPyEndAllowThreads(__tstate);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
15238 return resultobj;
15239 fail:
15240 return NULL;
15241 }
15242
15243
15244 static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
15245 PyObject *resultobj;
15246 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15247 bool result;
15248 PyObject * obj0 = 0 ;
15249 char *kwnames[] = {
15250 (char *) "self", NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15256 {
15257 PyThreadState* __tstate = wxPyBeginAllowThreads();
15258 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15259
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15263 {
15264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15265 }
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15275 bool result;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 {
15292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15293 }
15294 return resultobj;
15295 fail:
15296 return NULL;
15297 }
15298
15299
15300 static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15303 bool result;
15304 PyObject * obj0 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 {
15320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15321 }
15322 return resultobj;
15323 fail:
15324 return NULL;
15325 }
15326
15327
15328 static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15331 bool result;
15332 PyObject * obj0 = 0 ;
15333 char *kwnames[] = {
15334 (char *) "self", NULL
15335 };
15336
15337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15343
15344 wxPyEndAllowThreads(__tstate);
15345 if (PyErr_Occurred()) SWIG_fail;
15346 }
15347 {
15348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15349 }
15350 return resultobj;
15351 fail:
15352 return NULL;
15353 }
15354
15355
15356 static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15359 bool result;
15360 PyObject * obj0 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 {
15376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15377 }
15378 return resultobj;
15379 fail:
15380 return NULL;
15381 }
15382
15383
15384 static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
15385 PyObject *resultobj;
15386 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15387 int result;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15396 {
15397 PyThreadState* __tstate = wxPyBeginAllowThreads();
15398 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15399
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 resultobj = SWIG_FromInt((int)result);
15404 return resultobj;
15405 fail:
15406 return NULL;
15407 }
15408
15409
15410 static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *, PyObject *args, PyObject *kwargs) {
15411 PyObject *resultobj;
15412 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15413 int result;
15414 PyObject * obj0 = 0 ;
15415 char *kwnames[] = {
15416 (char *) "self", NULL
15417 };
15418
15419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
15420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15422 {
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 result = (int)wxKeyEvent_GetUniChar(arg1);
15425
15426 wxPyEndAllowThreads(__tstate);
15427 if (PyErr_Occurred()) SWIG_fail;
15428 }
15429 resultobj = SWIG_FromInt((int)result);
15430 return resultobj;
15431 fail:
15432 return NULL;
15433 }
15434
15435
15436 static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
15437 PyObject *resultobj;
15438 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15439 unsigned int result;
15440 PyObject * obj0 = 0 ;
15441 char *kwnames[] = {
15442 (char *) "self", NULL
15443 };
15444
15445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15448 {
15449 PyThreadState* __tstate = wxPyBeginAllowThreads();
15450 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
15451
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
15456 return resultobj;
15457 fail:
15458 return NULL;
15459 }
15460
15461
15462 static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj;
15464 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15465 unsigned int result;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
15482 return resultobj;
15483 fail:
15484 return NULL;
15485 }
15486
15487
15488 static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj;
15490 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15491 wxPoint result;
15492 PyObject * obj0 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",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 = (arg1)->GetPosition();
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 {
15508 wxPoint * resultptr;
15509 resultptr = new wxPoint((wxPoint &) result);
15510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
15511 }
15512 return resultobj;
15513 fail:
15514 return NULL;
15515 }
15516
15517
15518 static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
15519 PyObject *resultobj;
15520 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15521 long *arg2 = (long *) 0 ;
15522 long *arg3 = (long *) 0 ;
15523 long temp2 ;
15524 long temp3 ;
15525 PyObject * obj0 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self", NULL
15528 };
15529
15530 arg2 = &temp2;
15531 arg3 = &temp3;
15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 (arg1)->GetPosition(arg2,arg3);
15538
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 Py_INCREF(Py_None); resultobj = Py_None;
15543 {
15544 PyObject *o = PyInt_FromLong((long) (*arg2));
15545 resultobj = t_output_helper(resultobj,o);
15546 }
15547 {
15548 PyObject *o = PyInt_FromLong((long) (*arg3));
15549 resultobj = t_output_helper(resultobj,o);
15550 }
15551 return resultobj;
15552 fail:
15553 return NULL;
15554 }
15555
15556
15557 static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
15558 PyObject *resultobj;
15559 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15560 int result;
15561 PyObject * obj0 = 0 ;
15562 char *kwnames[] = {
15563 (char *) "self", NULL
15564 };
15565
15566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15569 {
15570 PyThreadState* __tstate = wxPyBeginAllowThreads();
15571 result = (int)((wxKeyEvent const *)arg1)->GetX();
15572
15573 wxPyEndAllowThreads(__tstate);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 resultobj = SWIG_FromInt((int)result);
15577 return resultobj;
15578 fail:
15579 return NULL;
15580 }
15581
15582
15583 static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
15584 PyObject *resultobj;
15585 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15586 int result;
15587 PyObject * obj0 = 0 ;
15588 char *kwnames[] = {
15589 (char *) "self", NULL
15590 };
15591
15592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15595 {
15596 PyThreadState* __tstate = wxPyBeginAllowThreads();
15597 result = (int)((wxKeyEvent const *)arg1)->GetY();
15598
15599 wxPyEndAllowThreads(__tstate);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
15602 resultobj = SWIG_FromInt((int)result);
15603 return resultobj;
15604 fail:
15605 return NULL;
15606 }
15607
15608
15609 static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
15610 PyObject *resultobj;
15611 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15612 int arg2 ;
15613 PyObject * obj0 = 0 ;
15614 PyObject * obj1 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "self",(char *) "m_x", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15622 arg2 = (int) SWIG_AsInt(obj1);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 if (arg1) (arg1)->m_x = arg2;
15625
15626 Py_INCREF(Py_None); resultobj = Py_None;
15627 return resultobj;
15628 fail:
15629 return NULL;
15630 }
15631
15632
15633 static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15636 int result;
15637 PyObject * obj0 = 0 ;
15638 char *kwnames[] = {
15639 (char *) "self", NULL
15640 };
15641
15642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15645 result = (int) ((arg1)->m_x);
15646
15647 resultobj = SWIG_FromInt((int)result);
15648 return resultobj;
15649 fail:
15650 return NULL;
15651 }
15652
15653
15654 static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
15655 PyObject *resultobj;
15656 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15657 int arg2 ;
15658 PyObject * obj0 = 0 ;
15659 PyObject * obj1 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "self",(char *) "m_y", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15667 arg2 = (int) SWIG_AsInt(obj1);
15668 if (PyErr_Occurred()) SWIG_fail;
15669 if (arg1) (arg1)->m_y = arg2;
15670
15671 Py_INCREF(Py_None); resultobj = Py_None;
15672 return resultobj;
15673 fail:
15674 return NULL;
15675 }
15676
15677
15678 static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15681 int result;
15682 PyObject * obj0 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "self", NULL
15685 };
15686
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15690 result = (int) ((arg1)->m_y);
15691
15692 resultobj = SWIG_FromInt((int)result);
15693 return resultobj;
15694 fail:
15695 return NULL;
15696 }
15697
15698
15699 static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15702 long arg2 ;
15703 PyObject * obj0 = 0 ;
15704 PyObject * obj1 = 0 ;
15705 char *kwnames[] = {
15706 (char *) "self",(char *) "m_keyCode", NULL
15707 };
15708
15709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15712 arg2 = (long) SWIG_AsLong(obj1);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 if (arg1) (arg1)->m_keyCode = arg2;
15715
15716 Py_INCREF(Py_None); resultobj = Py_None;
15717 return resultobj;
15718 fail:
15719 return NULL;
15720 }
15721
15722
15723 static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj;
15725 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15726 long result;
15727 PyObject * obj0 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15735 result = (long) ((arg1)->m_keyCode);
15736
15737 resultobj = SWIG_FromLong((long)result);
15738 return resultobj;
15739 fail:
15740 return NULL;
15741 }
15742
15743
15744 static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
15745 PyObject *resultobj;
15746 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15747 bool arg2 ;
15748 PyObject * obj0 = 0 ;
15749 PyObject * obj1 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self",(char *) "m_controlDown", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15757 arg2 = (bool) SWIG_AsBool(obj1);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 if (arg1) (arg1)->m_controlDown = arg2;
15760
15761 Py_INCREF(Py_None); resultobj = Py_None;
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj;
15770 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15771 bool result;
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15780 result = (bool) ((arg1)->m_controlDown);
15781
15782 {
15783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15784 }
15785 return resultobj;
15786 fail:
15787 return NULL;
15788 }
15789
15790
15791 static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
15792 PyObject *resultobj;
15793 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15794 bool arg2 ;
15795 PyObject * obj0 = 0 ;
15796 PyObject * obj1 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self",(char *) "m_shiftDown", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15804 arg2 = (bool) SWIG_AsBool(obj1);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 if (arg1) (arg1)->m_shiftDown = arg2;
15807
15808 Py_INCREF(Py_None); resultobj = Py_None;
15809 return resultobj;
15810 fail:
15811 return NULL;
15812 }
15813
15814
15815 static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
15816 PyObject *resultobj;
15817 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15818 bool result;
15819 PyObject * obj0 = 0 ;
15820 char *kwnames[] = {
15821 (char *) "self", NULL
15822 };
15823
15824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15827 result = (bool) ((arg1)->m_shiftDown);
15828
15829 {
15830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15831 }
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15841 bool arg2 ;
15842 PyObject * obj0 = 0 ;
15843 PyObject * obj1 = 0 ;
15844 char *kwnames[] = {
15845 (char *) "self",(char *) "m_altDown", NULL
15846 };
15847
15848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15851 arg2 = (bool) SWIG_AsBool(obj1);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 if (arg1) (arg1)->m_altDown = arg2;
15854
15855 Py_INCREF(Py_None); resultobj = Py_None;
15856 return resultobj;
15857 fail:
15858 return NULL;
15859 }
15860
15861
15862 static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
15863 PyObject *resultobj;
15864 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15865 bool result;
15866 PyObject * obj0 = 0 ;
15867 char *kwnames[] = {
15868 (char *) "self", NULL
15869 };
15870
15871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15874 result = (bool) ((arg1)->m_altDown);
15875
15876 {
15877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15878 }
15879 return resultobj;
15880 fail:
15881 return NULL;
15882 }
15883
15884
15885 static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
15886 PyObject *resultobj;
15887 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15888 bool arg2 ;
15889 PyObject * obj0 = 0 ;
15890 PyObject * obj1 = 0 ;
15891 char *kwnames[] = {
15892 (char *) "self",(char *) "m_metaDown", NULL
15893 };
15894
15895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15898 arg2 = (bool) SWIG_AsBool(obj1);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 if (arg1) (arg1)->m_metaDown = arg2;
15901
15902 Py_INCREF(Py_None); resultobj = Py_None;
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15912 bool result;
15913 PyObject * obj0 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15921 result = (bool) ((arg1)->m_metaDown);
15922
15923 {
15924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15925 }
15926 return resultobj;
15927 fail:
15928 return NULL;
15929 }
15930
15931
15932 static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
15933 PyObject *resultobj;
15934 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15935 bool arg2 ;
15936 PyObject * obj0 = 0 ;
15937 PyObject * obj1 = 0 ;
15938 char *kwnames[] = {
15939 (char *) "self",(char *) "m_scanCode", NULL
15940 };
15941
15942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
15943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15945 arg2 = (bool) SWIG_AsBool(obj1);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 if (arg1) (arg1)->m_scanCode = arg2;
15948
15949 Py_INCREF(Py_None); resultobj = Py_None;
15950 return resultobj;
15951 fail:
15952 return NULL;
15953 }
15954
15955
15956 static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj;
15958 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15959 bool result;
15960 PyObject * obj0 = 0 ;
15961 char *kwnames[] = {
15962 (char *) "self", NULL
15963 };
15964
15965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
15966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15968 result = (bool) ((arg1)->m_scanCode);
15969
15970 {
15971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15972 }
15973 return resultobj;
15974 fail:
15975 return NULL;
15976 }
15977
15978
15979 static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
15980 PyObject *resultobj;
15981 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15982 unsigned int arg2 ;
15983 PyObject * obj0 = 0 ;
15984 PyObject * obj1 = 0 ;
15985 char *kwnames[] = {
15986 (char *) "self",(char *) "m_rawCode", NULL
15987 };
15988
15989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
15990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15992 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
15993 if (PyErr_Occurred()) SWIG_fail;
15994 if (arg1) (arg1)->m_rawCode = arg2;
15995
15996 Py_INCREF(Py_None); resultobj = Py_None;
15997 return resultobj;
15998 fail:
15999 return NULL;
16000 }
16001
16002
16003 static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
16004 PyObject *resultobj;
16005 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16006 unsigned int result;
16007 PyObject * obj0 = 0 ;
16008 char *kwnames[] = {
16009 (char *) "self", NULL
16010 };
16011
16012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
16013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16015 result = (unsigned int) ((arg1)->m_rawCode);
16016
16017 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
16018 return resultobj;
16019 fail:
16020 return NULL;
16021 }
16022
16023
16024 static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) {
16025 PyObject *resultobj;
16026 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16027 unsigned int arg2 ;
16028 PyObject * obj0 = 0 ;
16029 PyObject * obj1 = 0 ;
16030 char *kwnames[] = {
16031 (char *) "self",(char *) "m_rawFlags", NULL
16032 };
16033
16034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
16035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16037 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 if (arg1) (arg1)->m_rawFlags = arg2;
16040
16041 Py_INCREF(Py_None); resultobj = Py_None;
16042 return resultobj;
16043 fail:
16044 return NULL;
16045 }
16046
16047
16048 static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj;
16050 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16051 unsigned int result;
16052 PyObject * obj0 = 0 ;
16053 char *kwnames[] = {
16054 (char *) "self", NULL
16055 };
16056
16057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
16058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16060 result = (unsigned int) ((arg1)->m_rawFlags);
16061
16062 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
16063 return resultobj;
16064 fail:
16065 return NULL;
16066 }
16067
16068
16069 static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) {
16070 PyObject *obj;
16071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16072 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16073 Py_INCREF(obj);
16074 return Py_BuildValue((char *)"");
16075 }
16076 static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16077 PyObject *resultobj;
16078 wxSize const &arg1_defvalue = wxDefaultSize ;
16079 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16080 int arg2 = (int) 0 ;
16081 wxSizeEvent *result;
16082 wxSize temp1 ;
16083 PyObject * obj0 = 0 ;
16084 PyObject * obj1 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "sz",(char *) "winid", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
16090 if (obj0) {
16091 {
16092 arg1 = &temp1;
16093 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16094 }
16095 }
16096 if (obj1) {
16097 arg2 = (int) SWIG_AsInt(obj1);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 {
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16117 wxSize result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
16124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 result = ((wxSizeEvent const *)arg1)->GetSize();
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 {
16134 wxSize * resultptr;
16135 resultptr = new wxSize((wxSize &) result);
16136 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16137 }
16138 return resultobj;
16139 fail:
16140 return NULL;
16141 }
16142
16143
16144 static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16147 wxRect result;
16148 PyObject * obj0 = 0 ;
16149 char *kwnames[] = {
16150 (char *) "self", NULL
16151 };
16152
16153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
16154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 result = ((wxSizeEvent const *)arg1)->GetRect();
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 {
16164 wxRect * resultptr;
16165 resultptr = new wxRect((wxRect &) result);
16166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
16167 }
16168 return resultobj;
16169 fail:
16170 return NULL;
16171 }
16172
16173
16174 static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
16175 PyObject *resultobj;
16176 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16177 wxRect arg2 ;
16178 wxRect *argp2 ;
16179 PyObject * obj0 = 0 ;
16180 PyObject * obj1 = 0 ;
16181 char *kwnames[] = {
16182 (char *) "self",(char *) "rect", NULL
16183 };
16184
16185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
16186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16188 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16189 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16190 arg2 = *argp2;
16191 {
16192 PyThreadState* __tstate = wxPyBeginAllowThreads();
16193 (arg1)->SetRect(arg2);
16194
16195 wxPyEndAllowThreads(__tstate);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 }
16198 Py_INCREF(Py_None); resultobj = Py_None;
16199 return resultobj;
16200 fail:
16201 return NULL;
16202 }
16203
16204
16205 static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16206 PyObject *resultobj;
16207 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16208 wxSize arg2 ;
16209 wxSize *argp2 ;
16210 PyObject * obj0 = 0 ;
16211 PyObject * obj1 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "self",(char *) "size", NULL
16214 };
16215
16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
16217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16219 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16220 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16221 arg2 = *argp2;
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 wxSizeEvent_SetSize(arg1,arg2);
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 Py_INCREF(Py_None); resultobj = Py_None;
16230 return resultobj;
16231 fail:
16232 return NULL;
16233 }
16234
16235
16236 static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) {
16237 PyObject *resultobj;
16238 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16239 wxSize *arg2 = (wxSize *) 0 ;
16240 PyObject * obj0 = 0 ;
16241 PyObject * obj1 = 0 ;
16242 char *kwnames[] = {
16243 (char *) "self",(char *) "m_size", NULL
16244 };
16245
16246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
16247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16251 if (arg1) (arg1)->m_size = *arg2;
16252
16253 Py_INCREF(Py_None); resultobj = Py_None;
16254 return resultobj;
16255 fail:
16256 return NULL;
16257 }
16258
16259
16260 static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) {
16261 PyObject *resultobj;
16262 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16263 wxSize *result;
16264 PyObject * obj0 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "self", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
16270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16272 result = (wxSize *)& ((arg1)->m_size);
16273
16274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16275 return resultobj;
16276 fail:
16277 return NULL;
16278 }
16279
16280
16281 static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
16282 PyObject *resultobj;
16283 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16284 wxRect *arg2 = (wxRect *) 0 ;
16285 PyObject * obj0 = 0 ;
16286 PyObject * obj1 = 0 ;
16287 char *kwnames[] = {
16288 (char *) "self",(char *) "m_rect", NULL
16289 };
16290
16291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
16292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16294 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16296 if (arg1) (arg1)->m_rect = *arg2;
16297
16298 Py_INCREF(Py_None); resultobj = Py_None;
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16308 wxRect *result;
16309 PyObject * obj0 = 0 ;
16310 char *kwnames[] = {
16311 (char *) "self", NULL
16312 };
16313
16314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
16315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16317 result = (wxRect *)& ((arg1)->m_rect);
16318
16319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
16320 return resultobj;
16321 fail:
16322 return NULL;
16323 }
16324
16325
16326 static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) {
16327 PyObject *obj;
16328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16329 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16330 Py_INCREF(obj);
16331 return Py_BuildValue((char *)"");
16332 }
16333 static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16334 PyObject *resultobj;
16335 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16336 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16337 int arg2 = (int) 0 ;
16338 wxMoveEvent *result;
16339 wxPoint temp1 ;
16340 PyObject * obj0 = 0 ;
16341 PyObject * obj1 = 0 ;
16342 char *kwnames[] = {
16343 (char *) "pos",(char *) "winid", NULL
16344 };
16345
16346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
16347 if (obj0) {
16348 {
16349 arg1 = &temp1;
16350 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16351 }
16352 }
16353 if (obj1) {
16354 arg2 = (int) SWIG_AsInt(obj1);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
16359 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16360
16361 wxPyEndAllowThreads(__tstate);
16362 if (PyErr_Occurred()) SWIG_fail;
16363 }
16364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
16365 return resultobj;
16366 fail:
16367 return NULL;
16368 }
16369
16370
16371 static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16372 PyObject *resultobj;
16373 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16374 wxPoint result;
16375 PyObject * obj0 = 0 ;
16376 char *kwnames[] = {
16377 (char *) "self", NULL
16378 };
16379
16380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
16381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16383 {
16384 PyThreadState* __tstate = wxPyBeginAllowThreads();
16385 result = ((wxMoveEvent const *)arg1)->GetPosition();
16386
16387 wxPyEndAllowThreads(__tstate);
16388 if (PyErr_Occurred()) SWIG_fail;
16389 }
16390 {
16391 wxPoint * resultptr;
16392 resultptr = new wxPoint((wxPoint &) result);
16393 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
16394 }
16395 return resultobj;
16396 fail:
16397 return NULL;
16398 }
16399
16400
16401 static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
16402 PyObject *resultobj;
16403 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16404 wxRect result;
16405 PyObject * obj0 = 0 ;
16406 char *kwnames[] = {
16407 (char *) "self", NULL
16408 };
16409
16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
16411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 result = ((wxMoveEvent const *)arg1)->GetRect();
16416
16417 wxPyEndAllowThreads(__tstate);
16418 if (PyErr_Occurred()) SWIG_fail;
16419 }
16420 {
16421 wxRect * resultptr;
16422 resultptr = new wxRect((wxRect &) result);
16423 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
16424 }
16425 return resultobj;
16426 fail:
16427 return NULL;
16428 }
16429
16430
16431 static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj;
16433 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16434 wxRect arg2 ;
16435 wxRect *argp2 ;
16436 PyObject * obj0 = 0 ;
16437 PyObject * obj1 = 0 ;
16438 char *kwnames[] = {
16439 (char *) "self",(char *) "rect", NULL
16440 };
16441
16442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
16443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16445 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16446 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16447 arg2 = *argp2;
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 (arg1)->SetRect(arg2);
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 Py_INCREF(Py_None); resultobj = Py_None;
16456 return resultobj;
16457 fail:
16458 return NULL;
16459 }
16460
16461
16462 static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj;
16464 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16465 wxPoint arg2 ;
16466 wxPoint *argp2 ;
16467 PyObject * obj0 = 0 ;
16468 PyObject * obj1 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self",(char *) "pos", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16476 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16477 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16478 arg2 = *argp2;
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 wxMoveEvent_SetPosition(arg1,arg2);
16482
16483 wxPyEndAllowThreads(__tstate);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 }
16486 Py_INCREF(Py_None); resultobj = Py_None;
16487 return resultobj;
16488 fail:
16489 return NULL;
16490 }
16491
16492
16493 static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
16494 PyObject *resultobj;
16495 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16496 wxPoint *arg2 = (wxPoint *) 0 ;
16497 PyObject * obj0 = 0 ;
16498 PyObject * obj1 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self",(char *) "m_pos", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
16504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16508 if (arg1) (arg1)->m_pos = *arg2;
16509
16510 Py_INCREF(Py_None); resultobj = Py_None;
16511 return resultobj;
16512 fail:
16513 return NULL;
16514 }
16515
16516
16517 static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16520 wxPoint *result;
16521 PyObject * obj0 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
16527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16529 result = (wxPoint *)& ((arg1)->m_pos);
16530
16531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
16532 return resultobj;
16533 fail:
16534 return NULL;
16535 }
16536
16537
16538 static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
16539 PyObject *resultobj;
16540 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16541 wxRect *arg2 = (wxRect *) 0 ;
16542 PyObject * obj0 = 0 ;
16543 PyObject * obj1 = 0 ;
16544 char *kwnames[] = {
16545 (char *) "self",(char *) "m_rect", NULL
16546 };
16547
16548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
16549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16553 if (arg1) (arg1)->m_rect = *arg2;
16554
16555 Py_INCREF(Py_None); resultobj = Py_None;
16556 return resultobj;
16557 fail:
16558 return NULL;
16559 }
16560
16561
16562 static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
16563 PyObject *resultobj;
16564 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16565 wxRect *result;
16566 PyObject * obj0 = 0 ;
16567 char *kwnames[] = {
16568 (char *) "self", NULL
16569 };
16570
16571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
16572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16574 result = (wxRect *)& ((arg1)->m_rect);
16575
16576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
16577 return resultobj;
16578 fail:
16579 return NULL;
16580 }
16581
16582
16583 static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) {
16584 PyObject *obj;
16585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16586 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16587 Py_INCREF(obj);
16588 return Py_BuildValue((char *)"");
16589 }
16590 static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16591 PyObject *resultobj;
16592 int arg1 = (int) 0 ;
16593 wxPaintEvent *result;
16594 PyObject * obj0 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "Id", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16600 if (obj0) {
16601 arg1 = (int) SWIG_AsInt(obj0);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 {
16605 PyThreadState* __tstate = wxPyBeginAllowThreads();
16606 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16607
16608 wxPyEndAllowThreads(__tstate);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 }
16611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) {
16619 PyObject *obj;
16620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16621 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16622 Py_INCREF(obj);
16623 return Py_BuildValue((char *)"");
16624 }
16625 static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16626 PyObject *resultobj;
16627 int arg1 = (int) 0 ;
16628 wxNcPaintEvent *result;
16629 PyObject * obj0 = 0 ;
16630 char *kwnames[] = {
16631 (char *) "winid", NULL
16632 };
16633
16634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16635 if (obj0) {
16636 arg1 = (int) SWIG_AsInt(obj0);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
16654 PyObject *obj;
16655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16656 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16657 Py_INCREF(obj);
16658 return Py_BuildValue((char *)"");
16659 }
16660 static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16661 PyObject *resultobj;
16662 int arg1 = (int) 0 ;
16663 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16664 wxEraseEvent *result;
16665 PyObject * obj0 = 0 ;
16666 PyObject * obj1 = 0 ;
16667 char *kwnames[] = {
16668 (char *) "Id",(char *) "dc", NULL
16669 };
16670
16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16672 if (obj0) {
16673 arg1 = (int) SWIG_AsInt(obj0);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
16676 if (obj1) {
16677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16679 }
16680 {
16681 PyThreadState* __tstate = wxPyBeginAllowThreads();
16682 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16683
16684 wxPyEndAllowThreads(__tstate);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 }
16687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
16688 return resultobj;
16689 fail:
16690 return NULL;
16691 }
16692
16693
16694 static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj;
16696 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16697 wxDC *result;
16698 PyObject * obj0 = 0 ;
16699 char *kwnames[] = {
16700 (char *) "self", NULL
16701 };
16702
16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
16704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16706 {
16707 PyThreadState* __tstate = wxPyBeginAllowThreads();
16708 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16709
16710 wxPyEndAllowThreads(__tstate);
16711 if (PyErr_Occurred()) SWIG_fail;
16712 }
16713 {
16714 resultobj = wxPyMake_wxObject(result);
16715 }
16716 return resultobj;
16717 fail:
16718 return NULL;
16719 }
16720
16721
16722 static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) {
16723 PyObject *obj;
16724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16725 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16726 Py_INCREF(obj);
16727 return Py_BuildValue((char *)"");
16728 }
16729 static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16730 PyObject *resultobj;
16731 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16732 int arg2 = (int) 0 ;
16733 wxFocusEvent *result;
16734 PyObject * obj0 = 0 ;
16735 PyObject * obj1 = 0 ;
16736 char *kwnames[] = {
16737 (char *) "type",(char *) "winid", NULL
16738 };
16739
16740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16741 if (obj0) {
16742 arg1 = (wxEventType) SWIG_AsInt(obj0);
16743 if (PyErr_Occurred()) SWIG_fail;
16744 }
16745 if (obj1) {
16746 arg2 = (int) SWIG_AsInt(obj1);
16747 if (PyErr_Occurred()) SWIG_fail;
16748 }
16749 {
16750 PyThreadState* __tstate = wxPyBeginAllowThreads();
16751 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16752
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
16756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
16757 return resultobj;
16758 fail:
16759 return NULL;
16760 }
16761
16762
16763 static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16764 PyObject *resultobj;
16765 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16766 wxWindow *result;
16767 PyObject * obj0 = 0 ;
16768 char *kwnames[] = {
16769 (char *) "self", NULL
16770 };
16771
16772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
16773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
16777 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16778
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 {
16783 resultobj = wxPyMake_wxObject(result);
16784 }
16785 return resultobj;
16786 fail:
16787 return NULL;
16788 }
16789
16790
16791 static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16792 PyObject *resultobj;
16793 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16794 wxWindow *arg2 = (wxWindow *) 0 ;
16795 PyObject * obj0 = 0 ;
16796 PyObject * obj1 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self",(char *) "win", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
16802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 (arg1)->SetWindow(arg2);
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 Py_INCREF(Py_None); resultobj = Py_None;
16814 return resultobj;
16815 fail:
16816 return NULL;
16817 }
16818
16819
16820 static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) {
16821 PyObject *obj;
16822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16823 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
16824 Py_INCREF(obj);
16825 return Py_BuildValue((char *)"");
16826 }
16827 static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16828 PyObject *resultobj;
16829 wxWindow *arg1 = (wxWindow *) NULL ;
16830 wxChildFocusEvent *result;
16831 PyObject * obj0 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "win", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
16837 if (obj0) {
16838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16840 }
16841 {
16842 PyThreadState* __tstate = wxPyBeginAllowThreads();
16843 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
16844
16845 wxPyEndAllowThreads(__tstate);
16846 if (PyErr_Occurred()) SWIG_fail;
16847 }
16848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
16849 return resultobj;
16850 fail:
16851 return NULL;
16852 }
16853
16854
16855 static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16856 PyObject *resultobj;
16857 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
16858 wxWindow *result;
16859 PyObject * obj0 = 0 ;
16860 char *kwnames[] = {
16861 (char *) "self", NULL
16862 };
16863
16864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
16865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
16866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16867 {
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
16869 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
16870
16871 wxPyEndAllowThreads(__tstate);
16872 if (PyErr_Occurred()) SWIG_fail;
16873 }
16874 {
16875 resultobj = wxPyMake_wxObject(result);
16876 }
16877 return resultobj;
16878 fail:
16879 return NULL;
16880 }
16881
16882
16883 static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) {
16884 PyObject *obj;
16885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16886 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
16887 Py_INCREF(obj);
16888 return Py_BuildValue((char *)"");
16889 }
16890 static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16893 bool arg2 = (bool) True ;
16894 int arg3 = (int) 0 ;
16895 wxActivateEvent *result;
16896 PyObject * obj0 = 0 ;
16897 PyObject * obj1 = 0 ;
16898 PyObject * obj2 = 0 ;
16899 char *kwnames[] = {
16900 (char *) "type",(char *) "active",(char *) "Id", NULL
16901 };
16902
16903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16904 if (obj0) {
16905 arg1 = (wxEventType) SWIG_AsInt(obj0);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 if (obj1) {
16909 arg2 = (bool) SWIG_AsBool(obj1);
16910 if (PyErr_Occurred()) SWIG_fail;
16911 }
16912 if (obj2) {
16913 arg3 = (int) SWIG_AsInt(obj2);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 {
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
16919
16920 wxPyEndAllowThreads(__tstate);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 }
16923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
16924 return resultobj;
16925 fail:
16926 return NULL;
16927 }
16928
16929
16930 static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
16931 PyObject *resultobj;
16932 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
16933 bool result;
16934 PyObject * obj0 = 0 ;
16935 char *kwnames[] = {
16936 (char *) "self", NULL
16937 };
16938
16939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
16940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
16941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16942 {
16943 PyThreadState* __tstate = wxPyBeginAllowThreads();
16944 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
16945
16946 wxPyEndAllowThreads(__tstate);
16947 if (PyErr_Occurred()) SWIG_fail;
16948 }
16949 {
16950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16951 }
16952 return resultobj;
16953 fail:
16954 return NULL;
16955 }
16956
16957
16958 static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) {
16959 PyObject *obj;
16960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16961 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
16962 Py_INCREF(obj);
16963 return Py_BuildValue((char *)"");
16964 }
16965 static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16966 PyObject *resultobj;
16967 int arg1 = (int) 0 ;
16968 wxInitDialogEvent *result;
16969 PyObject * obj0 = 0 ;
16970 char *kwnames[] = {
16971 (char *) "Id", NULL
16972 };
16973
16974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
16975 if (obj0) {
16976 arg1 = (int) SWIG_AsInt(obj0);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 {
16980 PyThreadState* __tstate = wxPyBeginAllowThreads();
16981 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
16982
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
16987 return resultobj;
16988 fail:
16989 return NULL;
16990 }
16991
16992
16993 static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) {
16994 PyObject *obj;
16995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16996 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
16997 Py_INCREF(obj);
16998 return Py_BuildValue((char *)"");
16999 }
17000 static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17001 PyObject *resultobj;
17002 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17003 int arg2 = (int) 0 ;
17004 wxMenu *arg3 = (wxMenu *) NULL ;
17005 wxMenuEvent *result;
17006 PyObject * obj0 = 0 ;
17007 PyObject * obj1 = 0 ;
17008 PyObject * obj2 = 0 ;
17009 char *kwnames[] = {
17010 (char *) "type",(char *) "winid",(char *) "menu", NULL
17011 };
17012
17013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17014 if (obj0) {
17015 arg1 = (wxEventType) SWIG_AsInt(obj0);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 if (obj1) {
17019 arg2 = (int) SWIG_AsInt(obj1);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 if (obj2) {
17023 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17025 }
17026 {
17027 PyThreadState* __tstate = wxPyBeginAllowThreads();
17028 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17029
17030 wxPyEndAllowThreads(__tstate);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
17033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
17034 return resultobj;
17035 fail:
17036 return NULL;
17037 }
17038
17039
17040 static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) {
17041 PyObject *resultobj;
17042 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17043 int result;
17044 PyObject * obj0 = 0 ;
17045 char *kwnames[] = {
17046 (char *) "self", NULL
17047 };
17048
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
17050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 resultobj = SWIG_FromInt((int)result);
17060 return resultobj;
17061 fail:
17062 return NULL;
17063 }
17064
17065
17066 static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj;
17068 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17069 bool result;
17070 PyObject * obj0 = 0 ;
17071 char *kwnames[] = {
17072 (char *) "self", NULL
17073 };
17074
17075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
17076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 {
17086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17087 }
17088 return resultobj;
17089 fail:
17090 return NULL;
17091 }
17092
17093
17094 static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
17095 PyObject *resultobj;
17096 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17097 wxMenu *result;
17098 PyObject * obj0 = 0 ;
17099 char *kwnames[] = {
17100 (char *) "self", NULL
17101 };
17102
17103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
17104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
17108 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17109
17110 wxPyEndAllowThreads(__tstate);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 }
17113 {
17114 resultobj = wxPyMake_wxObject(result);
17115 }
17116 return resultobj;
17117 fail:
17118 return NULL;
17119 }
17120
17121
17122 static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) {
17123 PyObject *obj;
17124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17125 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17126 Py_INCREF(obj);
17127 return Py_BuildValue((char *)"");
17128 }
17129 static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17130 PyObject *resultobj;
17131 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17132 int arg2 = (int) 0 ;
17133 wxCloseEvent *result;
17134 PyObject * obj0 = 0 ;
17135 PyObject * obj1 = 0 ;
17136 char *kwnames[] = {
17137 (char *) "type",(char *) "winid", NULL
17138 };
17139
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17141 if (obj0) {
17142 arg1 = (wxEventType) SWIG_AsInt(obj0);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
17145 if (obj1) {
17146 arg2 = (int) SWIG_AsInt(obj1);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
17157 return resultobj;
17158 fail:
17159 return NULL;
17160 }
17161
17162
17163 static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
17164 PyObject *resultobj;
17165 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17166 bool arg2 ;
17167 PyObject * obj0 = 0 ;
17168 PyObject * obj1 = 0 ;
17169 char *kwnames[] = {
17170 (char *) "self",(char *) "logOff", NULL
17171 };
17172
17173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
17174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17176 arg2 = (bool) SWIG_AsBool(obj1);
17177 if (PyErr_Occurred()) SWIG_fail;
17178 {
17179 PyThreadState* __tstate = wxPyBeginAllowThreads();
17180 (arg1)->SetLoggingOff(arg2);
17181
17182 wxPyEndAllowThreads(__tstate);
17183 if (PyErr_Occurred()) SWIG_fail;
17184 }
17185 Py_INCREF(Py_None); resultobj = Py_None;
17186 return resultobj;
17187 fail:
17188 return NULL;
17189 }
17190
17191
17192 static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
17193 PyObject *resultobj;
17194 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17195 bool result;
17196 PyObject * obj0 = 0 ;
17197 char *kwnames[] = {
17198 (char *) "self", NULL
17199 };
17200
17201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
17202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 {
17212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17213 }
17214 return resultobj;
17215 fail:
17216 return NULL;
17217 }
17218
17219
17220 static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
17221 PyObject *resultobj;
17222 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17223 bool arg2 = (bool) True ;
17224 PyObject * obj0 = 0 ;
17225 PyObject * obj1 = 0 ;
17226 char *kwnames[] = {
17227 (char *) "self",(char *) "veto", NULL
17228 };
17229
17230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
17231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17233 if (obj1) {
17234 arg2 = (bool) SWIG_AsBool(obj1);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 }
17237 {
17238 PyThreadState* __tstate = wxPyBeginAllowThreads();
17239 (arg1)->Veto(arg2);
17240
17241 wxPyEndAllowThreads(__tstate);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 }
17244 Py_INCREF(Py_None); resultobj = Py_None;
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17254 bool arg2 ;
17255 PyObject * obj0 = 0 ;
17256 PyObject * obj1 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self",(char *) "canVeto", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17264 arg2 = (bool) SWIG_AsBool(obj1);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 (arg1)->SetCanVeto(arg2);
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 Py_INCREF(Py_None); resultobj = Py_None;
17274 return resultobj;
17275 fail:
17276 return NULL;
17277 }
17278
17279
17280 static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17283 bool result;
17284 PyObject * obj0 = 0 ;
17285 char *kwnames[] = {
17286 (char *) "self", NULL
17287 };
17288
17289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
17290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17295
17296 wxPyEndAllowThreads(__tstate);
17297 if (PyErr_Occurred()) SWIG_fail;
17298 }
17299 {
17300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17301 }
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17311 bool result;
17312 PyObject * obj0 = 0 ;
17313 char *kwnames[] = {
17314 (char *) "self", NULL
17315 };
17316
17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
17318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17323
17324 wxPyEndAllowThreads(__tstate);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 }
17327 {
17328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17329 }
17330 return resultobj;
17331 fail:
17332 return NULL;
17333 }
17334
17335
17336 static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
17337 PyObject *obj;
17338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17339 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17340 Py_INCREF(obj);
17341 return Py_BuildValue((char *)"");
17342 }
17343 static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17344 PyObject *resultobj;
17345 int arg1 = (int) 0 ;
17346 bool arg2 = (bool) False ;
17347 wxShowEvent *result;
17348 PyObject * obj0 = 0 ;
17349 PyObject * obj1 = 0 ;
17350 char *kwnames[] = {
17351 (char *) "winid",(char *) "show", NULL
17352 };
17353
17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17355 if (obj0) {
17356 arg1 = (int) SWIG_AsInt(obj0);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 }
17359 if (obj1) {
17360 arg2 = (bool) SWIG_AsBool(obj1);
17361 if (PyErr_Occurred()) SWIG_fail;
17362 }
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17366
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
17371 return resultobj;
17372 fail:
17373 return NULL;
17374 }
17375
17376
17377 static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) {
17378 PyObject *resultobj;
17379 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17380 bool arg2 ;
17381 PyObject * obj0 = 0 ;
17382 PyObject * obj1 = 0 ;
17383 char *kwnames[] = {
17384 (char *) "self",(char *) "show", NULL
17385 };
17386
17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
17388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17390 arg2 = (bool) SWIG_AsBool(obj1);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 (arg1)->SetShow(arg2);
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 Py_INCREF(Py_None); resultobj = Py_None;
17400 return resultobj;
17401 fail:
17402 return NULL;
17403 }
17404
17405
17406 static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) {
17407 PyObject *resultobj;
17408 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17409 bool result;
17410 PyObject * obj0 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
17416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17418 {
17419 PyThreadState* __tstate = wxPyBeginAllowThreads();
17420 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17421
17422 wxPyEndAllowThreads(__tstate);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 {
17426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17427 }
17428 return resultobj;
17429 fail:
17430 return NULL;
17431 }
17432
17433
17434 static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) {
17435 PyObject *obj;
17436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17437 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17438 Py_INCREF(obj);
17439 return Py_BuildValue((char *)"");
17440 }
17441 static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17442 PyObject *resultobj;
17443 int arg1 = (int) 0 ;
17444 bool arg2 = (bool) True ;
17445 wxIconizeEvent *result;
17446 PyObject * obj0 = 0 ;
17447 PyObject * obj1 = 0 ;
17448 char *kwnames[] = {
17449 (char *) "id",(char *) "iconized", NULL
17450 };
17451
17452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17453 if (obj0) {
17454 arg1 = (int) SWIG_AsInt(obj0);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 if (obj1) {
17458 arg2 = (bool) SWIG_AsBool(obj1);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 {
17462 PyThreadState* __tstate = wxPyBeginAllowThreads();
17463 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17464
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
17469 return resultobj;
17470 fail:
17471 return NULL;
17472 }
17473
17474
17475 static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) {
17476 PyObject *resultobj;
17477 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17478 bool result;
17479 PyObject * obj0 = 0 ;
17480 char *kwnames[] = {
17481 (char *) "self", NULL
17482 };
17483
17484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
17485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17487 {
17488 PyThreadState* __tstate = wxPyBeginAllowThreads();
17489 result = (bool)(arg1)->Iconized();
17490
17491 wxPyEndAllowThreads(__tstate);
17492 if (PyErr_Occurred()) SWIG_fail;
17493 }
17494 {
17495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17496 }
17497 return resultobj;
17498 fail:
17499 return NULL;
17500 }
17501
17502
17503 static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) {
17504 PyObject *obj;
17505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17506 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17507 Py_INCREF(obj);
17508 return Py_BuildValue((char *)"");
17509 }
17510 static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17511 PyObject *resultobj;
17512 int arg1 = (int) 0 ;
17513 wxMaximizeEvent *result;
17514 PyObject * obj0 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "id", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17520 if (obj0) {
17521 arg1 = (int) SWIG_AsInt(obj0);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) {
17539 PyObject *obj;
17540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17541 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17542 Py_INCREF(obj);
17543 return Py_BuildValue((char *)"");
17544 }
17545 static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17546 PyObject *resultobj;
17547 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17548 wxPoint result;
17549 PyObject * obj0 = 0 ;
17550 char *kwnames[] = {
17551 (char *) "self", NULL
17552 };
17553
17554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
17555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17557 {
17558 PyThreadState* __tstate = wxPyBeginAllowThreads();
17559 result = (arg1)->GetPosition();
17560
17561 wxPyEndAllowThreads(__tstate);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 {
17565 wxPoint * resultptr;
17566 resultptr = new wxPoint((wxPoint &) result);
17567 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17568 }
17569 return resultobj;
17570 fail:
17571 return NULL;
17572 }
17573
17574
17575 static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) {
17576 PyObject *resultobj;
17577 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17578 int result;
17579 PyObject * obj0 = 0 ;
17580 char *kwnames[] = {
17581 (char *) "self", NULL
17582 };
17583
17584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
17585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17587 {
17588 PyThreadState* __tstate = wxPyBeginAllowThreads();
17589 result = (int)(arg1)->GetNumberOfFiles();
17590
17591 wxPyEndAllowThreads(__tstate);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
17594 resultobj = SWIG_FromInt((int)result);
17595 return resultobj;
17596 fail:
17597 return NULL;
17598 }
17599
17600
17601 static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj;
17603 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17604 PyObject *result;
17605 PyObject * obj0 = 0 ;
17606 char *kwnames[] = {
17607 (char *) "self", NULL
17608 };
17609
17610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
17611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17613 {
17614 PyThreadState* __tstate = wxPyBeginAllowThreads();
17615 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17616
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
17620 resultobj = result;
17621 return resultobj;
17622 fail:
17623 return NULL;
17624 }
17625
17626
17627 static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) {
17628 PyObject *obj;
17629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17630 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17631 Py_INCREF(obj);
17632 return Py_BuildValue((char *)"");
17633 }
17634 static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17635 PyObject *resultobj;
17636 int arg1 = (int) 0 ;
17637 wxUpdateUIEvent *result;
17638 PyObject * obj0 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "commandId", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17644 if (obj0) {
17645 arg1 = (int) SWIG_AsInt(obj0);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17665 bool result;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17677
17678 wxPyEndAllowThreads(__tstate);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
17681 {
17682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17683 }
17684 return resultobj;
17685 fail:
17686 return NULL;
17687 }
17688
17689
17690 static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
17691 PyObject *resultobj;
17692 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17693 bool result;
17694 PyObject * obj0 = 0 ;
17695 char *kwnames[] = {
17696 (char *) "self", NULL
17697 };
17698
17699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
17700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17702 {
17703 PyThreadState* __tstate = wxPyBeginAllowThreads();
17704 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17705
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
17709 {
17710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17711 }
17712 return resultobj;
17713 fail:
17714 return NULL;
17715 }
17716
17717
17718 static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
17719 PyObject *resultobj;
17720 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17721 wxString result;
17722 PyObject * obj0 = 0 ;
17723 char *kwnames[] = {
17724 (char *) "self", NULL
17725 };
17726
17727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
17728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 {
17738 #if wxUSE_UNICODE
17739 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17740 #else
17741 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17742 #endif
17743 }
17744 return resultobj;
17745 fail:
17746 return NULL;
17747 }
17748
17749
17750 static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) {
17751 PyObject *resultobj;
17752 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17753 bool result;
17754 PyObject * obj0 = 0 ;
17755 char *kwnames[] = {
17756 (char *) "self", NULL
17757 };
17758
17759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
17760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17762 {
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17765
17766 wxPyEndAllowThreads(__tstate);
17767 if (PyErr_Occurred()) SWIG_fail;
17768 }
17769 {
17770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17771 }
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj;
17780 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17781 bool result;
17782 PyObject * obj0 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "self", NULL
17785 };
17786
17787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
17788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17790 {
17791 PyThreadState* __tstate = wxPyBeginAllowThreads();
17792 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17793
17794 wxPyEndAllowThreads(__tstate);
17795 if (PyErr_Occurred()) SWIG_fail;
17796 }
17797 {
17798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17799 }
17800 return resultobj;
17801 fail:
17802 return NULL;
17803 }
17804
17805
17806 static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
17807 PyObject *resultobj;
17808 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17809 bool result;
17810 PyObject * obj0 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "self", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
17816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
17820 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
17821
17822 wxPyEndAllowThreads(__tstate);
17823 if (PyErr_Occurred()) SWIG_fail;
17824 }
17825 {
17826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17827 }
17828 return resultobj;
17829 fail:
17830 return NULL;
17831 }
17832
17833
17834 static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) {
17835 PyObject *resultobj;
17836 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17837 bool arg2 ;
17838 PyObject * obj0 = 0 ;
17839 PyObject * obj1 = 0 ;
17840 char *kwnames[] = {
17841 (char *) "self",(char *) "check", NULL
17842 };
17843
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
17845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17847 arg2 = (bool) SWIG_AsBool(obj1);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 {
17850 PyThreadState* __tstate = wxPyBeginAllowThreads();
17851 (arg1)->Check(arg2);
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 Py_INCREF(Py_None); resultobj = Py_None;
17857 return resultobj;
17858 fail:
17859 return NULL;
17860 }
17861
17862
17863 static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
17864 PyObject *resultobj;
17865 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17866 bool arg2 ;
17867 PyObject * obj0 = 0 ;
17868 PyObject * obj1 = 0 ;
17869 char *kwnames[] = {
17870 (char *) "self",(char *) "enable", NULL
17871 };
17872
17873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
17874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17876 arg2 = (bool) SWIG_AsBool(obj1);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 (arg1)->Enable(arg2);
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 Py_INCREF(Py_None); resultobj = Py_None;
17886 return resultobj;
17887 fail:
17888 return NULL;
17889 }
17890
17891
17892 static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
17893 PyObject *resultobj;
17894 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17895 wxString *arg2 = 0 ;
17896 bool temp2 = False ;
17897 PyObject * obj0 = 0 ;
17898 PyObject * obj1 = 0 ;
17899 char *kwnames[] = {
17900 (char *) "self",(char *) "text", NULL
17901 };
17902
17903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
17904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17906 {
17907 arg2 = wxString_in_helper(obj1);
17908 if (arg2 == NULL) SWIG_fail;
17909 temp2 = True;
17910 }
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 (arg1)->SetText((wxString const &)*arg2);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 Py_INCREF(Py_None); resultobj = Py_None;
17919 {
17920 if (temp2)
17921 delete arg2;
17922 }
17923 return resultobj;
17924 fail:
17925 {
17926 if (temp2)
17927 delete arg2;
17928 }
17929 return NULL;
17930 }
17931
17932
17933 static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj;
17935 long arg1 ;
17936 PyObject * obj0 = 0 ;
17937 char *kwnames[] = {
17938 (char *) "updateInterval", NULL
17939 };
17940
17941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
17942 arg1 = (long) SWIG_AsLong(obj0);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 {
17945 PyThreadState* __tstate = wxPyBeginAllowThreads();
17946 wxUpdateUIEvent::SetUpdateInterval(arg1);
17947
17948 wxPyEndAllowThreads(__tstate);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 }
17951 Py_INCREF(Py_None); resultobj = Py_None;
17952 return resultobj;
17953 fail:
17954 return NULL;
17955 }
17956
17957
17958 static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
17959 PyObject *resultobj;
17960 long result;
17961 char *kwnames[] = {
17962 NULL
17963 };
17964
17965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 result = (long)wxUpdateUIEvent::GetUpdateInterval();
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 resultobj = SWIG_FromLong((long)result);
17974 return resultobj;
17975 fail:
17976 return NULL;
17977 }
17978
17979
17980 static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj;
17982 wxWindow *arg1 = (wxWindow *) 0 ;
17983 bool result;
17984 PyObject * obj0 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "win", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
17990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 {
18000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18001 }
18002 return resultobj;
18003 fail:
18004 return NULL;
18005 }
18006
18007
18008 static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj;
18010 char *kwnames[] = {
18011 NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 wxUpdateUIEvent::ResetUpdateTime();
18018
18019 wxPyEndAllowThreads(__tstate);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 Py_INCREF(Py_None); resultobj = Py_None;
18023 return resultobj;
18024 fail:
18025 return NULL;
18026 }
18027
18028
18029 static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
18030 PyObject *resultobj;
18031 int arg1 ;
18032 PyObject * obj0 = 0 ;
18033 char *kwnames[] = {
18034 (char *) "mode", NULL
18035 };
18036
18037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
18038 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 Py_INCREF(Py_None); resultobj = Py_None;
18048 return resultobj;
18049 fail:
18050 return NULL;
18051 }
18052
18053
18054 static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
18055 PyObject *resultobj;
18056 int result;
18057 char *kwnames[] = {
18058 NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 result = (int)wxUpdateUIEvent::GetMode();
18065
18066 wxPyEndAllowThreads(__tstate);
18067 if (PyErr_Occurred()) SWIG_fail;
18068 }
18069 resultobj = SWIG_FromInt((int)result);
18070 return resultobj;
18071 fail:
18072 return NULL;
18073 }
18074
18075
18076 static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) {
18077 PyObject *obj;
18078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18079 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18080 Py_INCREF(obj);
18081 return Py_BuildValue((char *)"");
18082 }
18083 static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18084 PyObject *resultobj;
18085 wxSysColourChangedEvent *result;
18086 char *kwnames[] = {
18087 NULL
18088 };
18089
18090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18091 {
18092 PyThreadState* __tstate = wxPyBeginAllowThreads();
18093 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18094
18095 wxPyEndAllowThreads(__tstate);
18096 if (PyErr_Occurred()) SWIG_fail;
18097 }
18098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
18099 return resultobj;
18100 fail:
18101 return NULL;
18102 }
18103
18104
18105 static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) {
18106 PyObject *obj;
18107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18108 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18109 Py_INCREF(obj);
18110 return Py_BuildValue((char *)"");
18111 }
18112 static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 int arg1 = (int) 0 ;
18115 wxWindow *arg2 = (wxWindow *) NULL ;
18116 wxMouseCaptureChangedEvent *result;
18117 PyObject * obj0 = 0 ;
18118 PyObject * obj1 = 0 ;
18119 char *kwnames[] = {
18120 (char *) "winid",(char *) "gainedCapture", NULL
18121 };
18122
18123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18124 if (obj0) {
18125 arg1 = (int) SWIG_AsInt(obj0);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 if (obj1) {
18129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18131 }
18132 {
18133 PyThreadState* __tstate = wxPyBeginAllowThreads();
18134 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
18140 return resultobj;
18141 fail:
18142 return NULL;
18143 }
18144
18145
18146 static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18149 wxWindow *result;
18150 PyObject * obj0 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
18156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 {
18166 resultobj = wxPyMake_wxObject(result);
18167 }
18168 return resultobj;
18169 fail:
18170 return NULL;
18171 }
18172
18173
18174 static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) {
18175 PyObject *obj;
18176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18177 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18178 Py_INCREF(obj);
18179 return Py_BuildValue((char *)"");
18180 }
18181 static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18182 PyObject *resultobj;
18183 wxDisplayChangedEvent *result;
18184 char *kwnames[] = {
18185 NULL
18186 };
18187
18188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18189 {
18190 PyThreadState* __tstate = wxPyBeginAllowThreads();
18191 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18192
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
18197 return resultobj;
18198 fail:
18199 return NULL;
18200 }
18201
18202
18203 static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) {
18204 PyObject *obj;
18205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18206 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18207 Py_INCREF(obj);
18208 return Py_BuildValue((char *)"");
18209 }
18210 static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18211 PyObject *resultobj;
18212 int arg1 = (int) 0 ;
18213 wxPaletteChangedEvent *result;
18214 PyObject * obj0 = 0 ;
18215 char *kwnames[] = {
18216 (char *) "id", NULL
18217 };
18218
18219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18220 if (obj0) {
18221 arg1 = (int) SWIG_AsInt(obj0);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 {
18225 PyThreadState* __tstate = wxPyBeginAllowThreads();
18226 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18227
18228 wxPyEndAllowThreads(__tstate);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 }
18231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
18232 return resultobj;
18233 fail:
18234 return NULL;
18235 }
18236
18237
18238 static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18239 PyObject *resultobj;
18240 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18241 wxWindow *arg2 = (wxWindow *) 0 ;
18242 PyObject * obj0 = 0 ;
18243 PyObject * obj1 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self",(char *) "win", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 (arg1)->SetChangedWindow(arg2);
18256
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
18260 Py_INCREF(Py_None); resultobj = Py_None;
18261 return resultobj;
18262 fail:
18263 return NULL;
18264 }
18265
18266
18267 static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj;
18269 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18270 wxWindow *result;
18271 PyObject * obj0 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "self", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
18277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18279 {
18280 PyThreadState* __tstate = wxPyBeginAllowThreads();
18281 result = (wxWindow *)(arg1)->GetChangedWindow();
18282
18283 wxPyEndAllowThreads(__tstate);
18284 if (PyErr_Occurred()) SWIG_fail;
18285 }
18286 {
18287 resultobj = wxPyMake_wxObject(result);
18288 }
18289 return resultobj;
18290 fail:
18291 return NULL;
18292 }
18293
18294
18295 static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) {
18296 PyObject *obj;
18297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18298 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18299 Py_INCREF(obj);
18300 return Py_BuildValue((char *)"");
18301 }
18302 static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18303 PyObject *resultobj;
18304 int arg1 = (int) 0 ;
18305 wxQueryNewPaletteEvent *result;
18306 PyObject * obj0 = 0 ;
18307 char *kwnames[] = {
18308 (char *) "winid", NULL
18309 };
18310
18311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18312 if (obj0) {
18313 arg1 = (int) SWIG_AsInt(obj0);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 {
18317 PyThreadState* __tstate = wxPyBeginAllowThreads();
18318 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18319
18320 wxPyEndAllowThreads(__tstate);
18321 if (PyErr_Occurred()) SWIG_fail;
18322 }
18323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj;
18332 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18333 bool arg2 ;
18334 PyObject * obj0 = 0 ;
18335 PyObject * obj1 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self",(char *) "realized", NULL
18338 };
18339
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
18341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18343 arg2 = (bool) SWIG_AsBool(obj1);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 (arg1)->SetPaletteRealized(arg2);
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 Py_INCREF(Py_None); resultobj = Py_None;
18353 return resultobj;
18354 fail:
18355 return NULL;
18356 }
18357
18358
18359 static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
18360 PyObject *resultobj;
18361 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18362 bool result;
18363 PyObject * obj0 = 0 ;
18364 char *kwnames[] = {
18365 (char *) "self", NULL
18366 };
18367
18368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
18369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18371 {
18372 PyThreadState* __tstate = wxPyBeginAllowThreads();
18373 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18374
18375 wxPyEndAllowThreads(__tstate);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 {
18379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18380 }
18381 return resultobj;
18382 fail:
18383 return NULL;
18384 }
18385
18386
18387 static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) {
18388 PyObject *obj;
18389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18390 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18391 Py_INCREF(obj);
18392 return Py_BuildValue((char *)"");
18393 }
18394 static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18395 PyObject *resultobj;
18396 wxNavigationKeyEvent *result;
18397 char *kwnames[] = {
18398 NULL
18399 };
18400
18401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18402 {
18403 PyThreadState* __tstate = wxPyBeginAllowThreads();
18404 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18405
18406 wxPyEndAllowThreads(__tstate);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
18410 return resultobj;
18411 fail:
18412 return NULL;
18413 }
18414
18415
18416 static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
18417 PyObject *resultobj;
18418 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18419 bool result;
18420 PyObject * obj0 = 0 ;
18421 char *kwnames[] = {
18422 (char *) "self", NULL
18423 };
18424
18425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
18426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 {
18436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18437 }
18438 return resultobj;
18439 fail:
18440 return NULL;
18441 }
18442
18443
18444 static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
18445 PyObject *resultobj;
18446 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18447 bool arg2 ;
18448 PyObject * obj0 = 0 ;
18449 PyObject * obj1 = 0 ;
18450 char *kwnames[] = {
18451 (char *) "self",(char *) "bForward", NULL
18452 };
18453
18454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
18455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18457 arg2 = (bool) SWIG_AsBool(obj1);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 (arg1)->SetDirection(arg2);
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 Py_INCREF(Py_None); resultobj = Py_None;
18467 return resultobj;
18468 fail:
18469 return NULL;
18470 }
18471
18472
18473 static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
18474 PyObject *resultobj;
18475 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18476 bool result;
18477 PyObject * obj0 = 0 ;
18478 char *kwnames[] = {
18479 (char *) "self", NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
18483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18488
18489 wxPyEndAllowThreads(__tstate);
18490 if (PyErr_Occurred()) SWIG_fail;
18491 }
18492 {
18493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18494 }
18495 return resultobj;
18496 fail:
18497 return NULL;
18498 }
18499
18500
18501 static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
18502 PyObject *resultobj;
18503 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18504 bool arg2 ;
18505 PyObject * obj0 = 0 ;
18506 PyObject * obj1 = 0 ;
18507 char *kwnames[] = {
18508 (char *) "self",(char *) "bIs", NULL
18509 };
18510
18511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
18512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18514 arg2 = (bool) SWIG_AsBool(obj1);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 {
18517 PyThreadState* __tstate = wxPyBeginAllowThreads();
18518 (arg1)->SetWindowChange(arg2);
18519
18520 wxPyEndAllowThreads(__tstate);
18521 if (PyErr_Occurred()) SWIG_fail;
18522 }
18523 Py_INCREF(Py_None); resultobj = Py_None;
18524 return resultobj;
18525 fail:
18526 return NULL;
18527 }
18528
18529
18530 static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18531 PyObject *resultobj;
18532 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18533 wxWindow *result;
18534 PyObject * obj0 = 0 ;
18535 char *kwnames[] = {
18536 (char *) "self", NULL
18537 };
18538
18539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
18540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 {
18550 resultobj = wxPyMake_wxObject(result);
18551 }
18552 return resultobj;
18553 fail:
18554 return NULL;
18555 }
18556
18557
18558 static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18559 PyObject *resultobj;
18560 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18561 wxWindow *arg2 = (wxWindow *) 0 ;
18562 PyObject * obj0 = 0 ;
18563 PyObject * obj1 = 0 ;
18564 char *kwnames[] = {
18565 (char *) "self",(char *) "win", NULL
18566 };
18567
18568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
18569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18573 {
18574 PyThreadState* __tstate = wxPyBeginAllowThreads();
18575 (arg1)->SetCurrentFocus(arg2);
18576
18577 wxPyEndAllowThreads(__tstate);
18578 if (PyErr_Occurred()) SWIG_fail;
18579 }
18580 Py_INCREF(Py_None); resultobj = Py_None;
18581 return resultobj;
18582 fail:
18583 return NULL;
18584 }
18585
18586
18587 static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) {
18588 PyObject *obj;
18589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18590 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18591 Py_INCREF(obj);
18592 return Py_BuildValue((char *)"");
18593 }
18594 static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18595 PyObject *resultobj;
18596 wxWindow *arg1 = (wxWindow *) NULL ;
18597 wxWindowCreateEvent *result;
18598 PyObject * obj0 = 0 ;
18599 char *kwnames[] = {
18600 (char *) "win", NULL
18601 };
18602
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18604 if (obj0) {
18605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18607 }
18608 {
18609 PyThreadState* __tstate = wxPyBeginAllowThreads();
18610 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18611
18612 wxPyEndAllowThreads(__tstate);
18613 if (PyErr_Occurred()) SWIG_fail;
18614 }
18615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
18616 return resultobj;
18617 fail:
18618 return NULL;
18619 }
18620
18621
18622 static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18623 PyObject *resultobj;
18624 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18625 wxWindow *result;
18626 PyObject * obj0 = 0 ;
18627 char *kwnames[] = {
18628 (char *) "self", NULL
18629 };
18630
18631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
18632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 {
18642 resultobj = wxPyMake_wxObject(result);
18643 }
18644 return resultobj;
18645 fail:
18646 return NULL;
18647 }
18648
18649
18650 static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) {
18651 PyObject *obj;
18652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18653 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18654 Py_INCREF(obj);
18655 return Py_BuildValue((char *)"");
18656 }
18657 static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxWindow *arg1 = (wxWindow *) NULL ;
18660 wxWindowDestroyEvent *result;
18661 PyObject * obj0 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "win", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18667 if (obj0) {
18668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18670 }
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18674
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
18679 return resultobj;
18680 fail:
18681 return NULL;
18682 }
18683
18684
18685 static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18686 PyObject *resultobj;
18687 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18688 wxWindow *result;
18689 PyObject * obj0 = 0 ;
18690 char *kwnames[] = {
18691 (char *) "self", NULL
18692 };
18693
18694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
18695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18697 {
18698 PyThreadState* __tstate = wxPyBeginAllowThreads();
18699 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18700
18701 wxPyEndAllowThreads(__tstate);
18702 if (PyErr_Occurred()) SWIG_fail;
18703 }
18704 {
18705 resultobj = wxPyMake_wxObject(result);
18706 }
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) {
18714 PyObject *obj;
18715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18716 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18717 Py_INCREF(obj);
18718 return Py_BuildValue((char *)"");
18719 }
18720 static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj;
18722 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18723 int arg2 = (int) 0 ;
18724 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18725 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18726 wxContextMenuEvent *result;
18727 wxPoint temp3 ;
18728 PyObject * obj0 = 0 ;
18729 PyObject * obj1 = 0 ;
18730 PyObject * obj2 = 0 ;
18731 char *kwnames[] = {
18732 (char *) "type",(char *) "winid",(char *) "pt", NULL
18733 };
18734
18735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18736 if (obj0) {
18737 arg1 = (wxEventType) SWIG_AsInt(obj0);
18738 if (PyErr_Occurred()) SWIG_fail;
18739 }
18740 if (obj1) {
18741 arg2 = (int) SWIG_AsInt(obj1);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
18744 if (obj2) {
18745 {
18746 arg3 = &temp3;
18747 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18748 }
18749 }
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
18758 return resultobj;
18759 fail:
18760 return NULL;
18761 }
18762
18763
18764 static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj;
18766 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18767 wxPoint *result;
18768 PyObject * obj0 = 0 ;
18769 char *kwnames[] = {
18770 (char *) "self", NULL
18771 };
18772
18773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
18774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18776 {
18777 PyThreadState* __tstate = wxPyBeginAllowThreads();
18778 {
18779 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18780 result = (wxPoint *) &_result_ref;
18781 }
18782
18783 wxPyEndAllowThreads(__tstate);
18784 if (PyErr_Occurred()) SWIG_fail;
18785 }
18786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
18787 return resultobj;
18788 fail:
18789 return NULL;
18790 }
18791
18792
18793 static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18794 PyObject *resultobj;
18795 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18796 wxPoint *arg2 = 0 ;
18797 wxPoint temp2 ;
18798 PyObject * obj0 = 0 ;
18799 PyObject * obj1 = 0 ;
18800 char *kwnames[] = {
18801 (char *) "self",(char *) "pos", NULL
18802 };
18803
18804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
18805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18807 {
18808 arg2 = &temp2;
18809 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18810 }
18811 {
18812 PyThreadState* __tstate = wxPyBeginAllowThreads();
18813 (arg1)->SetPosition((wxPoint const &)*arg2);
18814
18815 wxPyEndAllowThreads(__tstate);
18816 if (PyErr_Occurred()) SWIG_fail;
18817 }
18818 Py_INCREF(Py_None); resultobj = Py_None;
18819 return resultobj;
18820 fail:
18821 return NULL;
18822 }
18823
18824
18825 static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) {
18826 PyObject *obj;
18827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18828 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
18829 Py_INCREF(obj);
18830 return Py_BuildValue((char *)"");
18831 }
18832 static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18833 PyObject *resultobj;
18834 wxIdleEvent *result;
18835 char *kwnames[] = {
18836 NULL
18837 };
18838
18839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 result = (wxIdleEvent *)new wxIdleEvent();
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
18848 return resultobj;
18849 fail:
18850 return NULL;
18851 }
18852
18853
18854 static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj;
18856 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
18857 bool arg2 = (bool) True ;
18858 PyObject * obj0 = 0 ;
18859 PyObject * obj1 = 0 ;
18860 char *kwnames[] = {
18861 (char *) "self",(char *) "needMore", NULL
18862 };
18863
18864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
18865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18867 if (obj1) {
18868 arg2 = (bool) SWIG_AsBool(obj1);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 {
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 (arg1)->RequestMore(arg2);
18874
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 Py_INCREF(Py_None); resultobj = Py_None;
18879 return resultobj;
18880 fail:
18881 return NULL;
18882 }
18883
18884
18885 static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
18888 bool result;
18889 PyObject * obj0 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
18895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
18900
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 {
18905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18906 }
18907 return resultobj;
18908 fail:
18909 return NULL;
18910 }
18911
18912
18913 static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj;
18915 int arg1 ;
18916 PyObject * obj0 = 0 ;
18917 char *kwnames[] = {
18918 (char *) "mode", NULL
18919 };
18920
18921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
18922 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 wxIdleEvent::SetMode((wxIdleMode )arg1);
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 Py_INCREF(Py_None); resultobj = Py_None;
18932 return resultobj;
18933 fail:
18934 return NULL;
18935 }
18936
18937
18938 static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 int result;
18941 char *kwnames[] = {
18942 NULL
18943 };
18944
18945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
18946 {
18947 PyThreadState* __tstate = wxPyBeginAllowThreads();
18948 result = (int)wxIdleEvent::GetMode();
18949
18950 wxPyEndAllowThreads(__tstate);
18951 if (PyErr_Occurred()) SWIG_fail;
18952 }
18953 resultobj = SWIG_FromInt((int)result);
18954 return resultobj;
18955 fail:
18956 return NULL;
18957 }
18958
18959
18960 static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) {
18961 PyObject *resultobj;
18962 wxWindow *arg1 = (wxWindow *) 0 ;
18963 bool result;
18964 PyObject * obj0 = 0 ;
18965 char *kwnames[] = {
18966 (char *) "win", NULL
18967 };
18968
18969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
18970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 result = (bool)wxIdleEvent::CanSend(arg1);
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 {
18980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18981 }
18982 return resultobj;
18983 fail:
18984 return NULL;
18985 }
18986
18987
18988 static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) {
18989 PyObject *obj;
18990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18991 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
18992 Py_INCREF(obj);
18993 return Py_BuildValue((char *)"");
18994 }
18995 static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18996 PyObject *resultobj;
18997 int arg1 = (int) 0 ;
18998 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
18999 wxPyEvent *result;
19000 PyObject * obj0 = 0 ;
19001 PyObject * obj1 = 0 ;
19002 char *kwnames[] = {
19003 (char *) "winid",(char *) "commandType", NULL
19004 };
19005
19006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19007 if (obj0) {
19008 arg1 = (int) SWIG_AsInt(obj0);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 if (obj1) {
19012 arg2 = (wxEventType) SWIG_AsInt(obj1);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 {
19016 PyThreadState* __tstate = wxPyBeginAllowThreads();
19017 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19018
19019 wxPyEndAllowThreads(__tstate);
19020 if (PyErr_Occurred()) SWIG_fail;
19021 }
19022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
19023 return resultobj;
19024 fail:
19025 return NULL;
19026 }
19027
19028
19029 static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19030 PyObject *resultobj;
19031 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19032 PyObject * obj0 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
19038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 delete arg1;
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 Py_INCREF(Py_None); resultobj = Py_None;
19048 return resultobj;
19049 fail:
19050 return NULL;
19051 }
19052
19053
19054 static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19057 PyObject *arg2 = (PyObject *) 0 ;
19058 PyObject * obj0 = 0 ;
19059 PyObject * obj1 = 0 ;
19060 char *kwnames[] = {
19061 (char *) "self",(char *) "self", NULL
19062 };
19063
19064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
19065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19067 arg2 = obj1;
19068 {
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
19070 (arg1)->SetSelf(arg2);
19071
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 Py_INCREF(Py_None); resultobj = Py_None;
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj;
19084 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19085 PyObject *result;
19086 PyObject * obj0 = 0 ;
19087 char *kwnames[] = {
19088 (char *) "self", NULL
19089 };
19090
19091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
19092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 result = (PyObject *)(arg1)->GetSelf();
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 resultobj = result;
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) {
19109 PyObject *obj;
19110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19111 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19112 Py_INCREF(obj);
19113 return Py_BuildValue((char *)"");
19114 }
19115 static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19116 PyObject *resultobj;
19117 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19118 int arg2 = (int) 0 ;
19119 wxPyCommandEvent *result;
19120 PyObject * obj0 = 0 ;
19121 PyObject * obj1 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "commandType",(char *) "id", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19127 if (obj0) {
19128 arg1 = (wxEventType) SWIG_AsInt(obj0);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 if (obj1) {
19132 arg2 = (int) SWIG_AsInt(obj1);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 {
19136 PyThreadState* __tstate = wxPyBeginAllowThreads();
19137 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19138
19139 wxPyEndAllowThreads(__tstate);
19140 if (PyErr_Occurred()) SWIG_fail;
19141 }
19142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
19143 return resultobj;
19144 fail:
19145 return NULL;
19146 }
19147
19148
19149 static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19150 PyObject *resultobj;
19151 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19152 PyObject * obj0 = 0 ;
19153 char *kwnames[] = {
19154 (char *) "self", NULL
19155 };
19156
19157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
19158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
19162 delete arg1;
19163
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 Py_INCREF(Py_None); resultobj = Py_None;
19168 return resultobj;
19169 fail:
19170 return NULL;
19171 }
19172
19173
19174 static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
19175 PyObject *resultobj;
19176 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19177 PyObject *arg2 = (PyObject *) 0 ;
19178 PyObject * obj0 = 0 ;
19179 PyObject * obj1 = 0 ;
19180 char *kwnames[] = {
19181 (char *) "self",(char *) "self", NULL
19182 };
19183
19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
19185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19187 arg2 = obj1;
19188 {
19189 PyThreadState* __tstate = wxPyBeginAllowThreads();
19190 (arg1)->SetSelf(arg2);
19191
19192 wxPyEndAllowThreads(__tstate);
19193 if (PyErr_Occurred()) SWIG_fail;
19194 }
19195 Py_INCREF(Py_None); resultobj = Py_None;
19196 return resultobj;
19197 fail:
19198 return NULL;
19199 }
19200
19201
19202 static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
19203 PyObject *resultobj;
19204 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19205 PyObject *result;
19206 PyObject * obj0 = 0 ;
19207 char *kwnames[] = {
19208 (char *) "self", NULL
19209 };
19210
19211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
19212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = (PyObject *)(arg1)->GetSelf();
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 resultobj = result;
19222 return resultobj;
19223 fail:
19224 return NULL;
19225 }
19226
19227
19228 static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) {
19229 PyObject *obj;
19230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19231 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19232 Py_INCREF(obj);
19233 return Py_BuildValue((char *)"");
19234 }
19235 static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
19236 PyObject *resultobj;
19237 wxPyApp *result;
19238 char *kwnames[] = {
19239 NULL
19240 };
19241
19242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 result = (wxPyApp *)new_wxPyApp();
19246
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 {
19251 resultobj = wxPyMake_wxObject(result);
19252 }
19253 return resultobj;
19254 fail:
19255 return NULL;
19256 }
19257
19258
19259 static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
19260 PyObject *resultobj;
19261 wxPyApp *arg1 = (wxPyApp *) 0 ;
19262 PyObject * obj0 = 0 ;
19263 char *kwnames[] = {
19264 (char *) "self", NULL
19265 };
19266
19267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
19268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19270 {
19271 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272 delete arg1;
19273
19274 wxPyEndAllowThreads(__tstate);
19275 if (PyErr_Occurred()) SWIG_fail;
19276 }
19277 Py_INCREF(Py_None); resultobj = Py_None;
19278 return resultobj;
19279 fail:
19280 return NULL;
19281 }
19282
19283
19284 static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19285 PyObject *resultobj;
19286 wxPyApp *arg1 = (wxPyApp *) 0 ;
19287 PyObject *arg2 = (PyObject *) 0 ;
19288 PyObject *arg3 = (PyObject *) 0 ;
19289 PyObject * obj0 = 0 ;
19290 PyObject * obj1 = 0 ;
19291 PyObject * obj2 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self",(char *) "self",(char *) "_class", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19299 arg2 = obj1;
19300 arg3 = obj2;
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 (arg1)->_setCallbackInfo(arg2,arg3);
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxPyApp *arg1 = (wxPyApp *) 0 ;
19318 wxString result;
19319 PyObject * obj0 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
19325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 result = ((wxPyApp const *)arg1)->GetAppName();
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 {
19335 #if wxUSE_UNICODE
19336 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19337 #else
19338 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19339 #endif
19340 }
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj;
19349 wxPyApp *arg1 = (wxPyApp *) 0 ;
19350 wxString *arg2 = 0 ;
19351 bool temp2 = False ;
19352 PyObject * obj0 = 0 ;
19353 PyObject * obj1 = 0 ;
19354 char *kwnames[] = {
19355 (char *) "self",(char *) "name", NULL
19356 };
19357
19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
19359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19361 {
19362 arg2 = wxString_in_helper(obj1);
19363 if (arg2 == NULL) SWIG_fail;
19364 temp2 = True;
19365 }
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 (arg1)->SetAppName((wxString const &)*arg2);
19369
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
19373 Py_INCREF(Py_None); resultobj = Py_None;
19374 {
19375 if (temp2)
19376 delete arg2;
19377 }
19378 return resultobj;
19379 fail:
19380 {
19381 if (temp2)
19382 delete arg2;
19383 }
19384 return NULL;
19385 }
19386
19387
19388 static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj;
19390 wxPyApp *arg1 = (wxPyApp *) 0 ;
19391 wxString result;
19392 PyObject * obj0 = 0 ;
19393 char *kwnames[] = {
19394 (char *) "self", NULL
19395 };
19396
19397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
19398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 result = ((wxPyApp const *)arg1)->GetClassName();
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 {
19408 #if wxUSE_UNICODE
19409 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19410 #else
19411 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19412 #endif
19413 }
19414 return resultobj;
19415 fail:
19416 return NULL;
19417 }
19418
19419
19420 static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
19421 PyObject *resultobj;
19422 wxPyApp *arg1 = (wxPyApp *) 0 ;
19423 wxString *arg2 = 0 ;
19424 bool temp2 = False ;
19425 PyObject * obj0 = 0 ;
19426 PyObject * obj1 = 0 ;
19427 char *kwnames[] = {
19428 (char *) "self",(char *) "name", NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
19432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19434 {
19435 arg2 = wxString_in_helper(obj1);
19436 if (arg2 == NULL) SWIG_fail;
19437 temp2 = True;
19438 }
19439 {
19440 PyThreadState* __tstate = wxPyBeginAllowThreads();
19441 (arg1)->SetClassName((wxString const &)*arg2);
19442
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
19446 Py_INCREF(Py_None); resultobj = Py_None;
19447 {
19448 if (temp2)
19449 delete arg2;
19450 }
19451 return resultobj;
19452 fail:
19453 {
19454 if (temp2)
19455 delete arg2;
19456 }
19457 return NULL;
19458 }
19459
19460
19461 static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
19462 PyObject *resultobj;
19463 wxPyApp *arg1 = (wxPyApp *) 0 ;
19464 wxString *result;
19465 PyObject * obj0 = 0 ;
19466 char *kwnames[] = {
19467 (char *) "self", NULL
19468 };
19469
19470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
19471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19473 {
19474 PyThreadState* __tstate = wxPyBeginAllowThreads();
19475 {
19476 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19477 result = (wxString *) &_result_ref;
19478 }
19479
19480 wxPyEndAllowThreads(__tstate);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 }
19483 {
19484 #if wxUSE_UNICODE
19485 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19486 #else
19487 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19488 #endif
19489 }
19490 return resultobj;
19491 fail:
19492 return NULL;
19493 }
19494
19495
19496 static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
19497 PyObject *resultobj;
19498 wxPyApp *arg1 = (wxPyApp *) 0 ;
19499 wxString *arg2 = 0 ;
19500 bool temp2 = False ;
19501 PyObject * obj0 = 0 ;
19502 PyObject * obj1 = 0 ;
19503 char *kwnames[] = {
19504 (char *) "self",(char *) "name", NULL
19505 };
19506
19507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
19508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19510 {
19511 arg2 = wxString_in_helper(obj1);
19512 if (arg2 == NULL) SWIG_fail;
19513 temp2 = True;
19514 }
19515 {
19516 PyThreadState* __tstate = wxPyBeginAllowThreads();
19517 (arg1)->SetVendorName((wxString const &)*arg2);
19518
19519 wxPyEndAllowThreads(__tstate);
19520 if (PyErr_Occurred()) SWIG_fail;
19521 }
19522 Py_INCREF(Py_None); resultobj = Py_None;
19523 {
19524 if (temp2)
19525 delete arg2;
19526 }
19527 return resultobj;
19528 fail:
19529 {
19530 if (temp2)
19531 delete arg2;
19532 }
19533 return NULL;
19534 }
19535
19536
19537 static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj;
19539 wxPyApp *arg1 = (wxPyApp *) 0 ;
19540 wxAppTraits *result;
19541 PyObject * obj0 = 0 ;
19542 char *kwnames[] = {
19543 (char *) "self", NULL
19544 };
19545
19546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
19547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19549 {
19550 PyThreadState* __tstate = wxPyBeginAllowThreads();
19551 result = (wxAppTraits *)(arg1)->GetTraits();
19552
19553 wxPyEndAllowThreads(__tstate);
19554 if (PyErr_Occurred()) SWIG_fail;
19555 }
19556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
19557 return resultobj;
19558 fail:
19559 return NULL;
19560 }
19561
19562
19563 static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj;
19565 wxPyApp *arg1 = (wxPyApp *) 0 ;
19566 PyObject * obj0 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
19572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 (arg1)->ProcessPendingEvents();
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 Py_INCREF(Py_None); resultobj = Py_None;
19582 return resultobj;
19583 fail:
19584 return NULL;
19585 }
19586
19587
19588 static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxPyApp *arg1 = (wxPyApp *) 0 ;
19591 bool arg2 = (bool) False ;
19592 bool result;
19593 PyObject * obj0 = 0 ;
19594 PyObject * obj1 = 0 ;
19595 char *kwnames[] = {
19596 (char *) "self",(char *) "onlyIfNeeded", NULL
19597 };
19598
19599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
19600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19602 if (obj1) {
19603 arg2 = (bool) SWIG_AsBool(obj1);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 {
19607 PyThreadState* __tstate = wxPyBeginAllowThreads();
19608 result = (bool)(arg1)->Yield(arg2);
19609
19610 wxPyEndAllowThreads(__tstate);
19611 if (PyErr_Occurred()) SWIG_fail;
19612 }
19613 {
19614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19615 }
19616 return resultobj;
19617 fail:
19618 return NULL;
19619 }
19620
19621
19622 static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
19623 PyObject *resultobj;
19624 wxPyApp *arg1 = (wxPyApp *) 0 ;
19625 PyObject * obj0 = 0 ;
19626 char *kwnames[] = {
19627 (char *) "self", NULL
19628 };
19629
19630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
19631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19633 {
19634 PyThreadState* __tstate = wxPyBeginAllowThreads();
19635 (arg1)->WakeUpIdle();
19636
19637 wxPyEndAllowThreads(__tstate);
19638 if (PyErr_Occurred()) SWIG_fail;
19639 }
19640 Py_INCREF(Py_None); resultobj = Py_None;
19641 return resultobj;
19642 fail:
19643 return NULL;
19644 }
19645
19646
19647 static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
19648 PyObject *resultobj;
19649 wxPyApp *arg1 = (wxPyApp *) 0 ;
19650 int result;
19651 PyObject * obj0 = 0 ;
19652 char *kwnames[] = {
19653 (char *) "self", NULL
19654 };
19655
19656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
19657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19659 {
19660 PyThreadState* __tstate = wxPyBeginAllowThreads();
19661 result = (int)(arg1)->MainLoop();
19662
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 resultobj = SWIG_FromInt((int)result);
19667 return resultobj;
19668 fail:
19669 return NULL;
19670 }
19671
19672
19673 static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
19674 PyObject *resultobj;
19675 wxPyApp *arg1 = (wxPyApp *) 0 ;
19676 PyObject * obj0 = 0 ;
19677 char *kwnames[] = {
19678 (char *) "self", NULL
19679 };
19680
19681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
19682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 (arg1)->Exit();
19687
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 Py_INCREF(Py_None); resultobj = Py_None;
19692 return resultobj;
19693 fail:
19694 return NULL;
19695 }
19696
19697
19698 static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
19699 PyObject *resultobj;
19700 wxPyApp *arg1 = (wxPyApp *) 0 ;
19701 PyObject * obj0 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "self", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
19707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 (arg1)->ExitMainLoop();
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 Py_INCREF(Py_None); resultobj = Py_None;
19717 return resultobj;
19718 fail:
19719 return NULL;
19720 }
19721
19722
19723 static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj;
19725 wxPyApp *arg1 = (wxPyApp *) 0 ;
19726 bool result;
19727 PyObject * obj0 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
19733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 result = (bool)(arg1)->Pending();
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 {
19743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19744 }
19745 return resultobj;
19746 fail:
19747 return NULL;
19748 }
19749
19750
19751 static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj;
19753 wxPyApp *arg1 = (wxPyApp *) 0 ;
19754 bool result;
19755 PyObject * obj0 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",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 result = (bool)(arg1)->Dispatch();
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 {
19771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19772 }
19773 return resultobj;
19774 fail:
19775 return NULL;
19776 }
19777
19778
19779 static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxPyApp *arg1 = (wxPyApp *) 0 ;
19782 bool result;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
19789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (bool)(arg1)->ProcessIdle();
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 {
19799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19800 }
19801 return resultobj;
19802 fail:
19803 return NULL;
19804 }
19805
19806
19807 static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj;
19809 wxPyApp *arg1 = (wxPyApp *) 0 ;
19810 wxWindow *arg2 = (wxWindow *) 0 ;
19811 wxIdleEvent *arg3 = 0 ;
19812 bool result;
19813 PyObject * obj0 = 0 ;
19814 PyObject * obj1 = 0 ;
19815 PyObject * obj2 = 0 ;
19816 char *kwnames[] = {
19817 (char *) "self",(char *) "win",(char *) "event", NULL
19818 };
19819
19820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
19821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19825 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
19826 SWIG_POINTER_EXCEPTION | 0)) == -1)
19827 SWIG_fail;
19828 if (arg3 == NULL) {
19829 PyErr_SetString(PyExc_TypeError,"null reference");
19830 SWIG_fail;
19831 }
19832 {
19833 PyThreadState* __tstate = wxPyBeginAllowThreads();
19834 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
19835
19836 wxPyEndAllowThreads(__tstate);
19837 if (PyErr_Occurred()) SWIG_fail;
19838 }
19839 {
19840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19841 }
19842 return resultobj;
19843 fail:
19844 return NULL;
19845 }
19846
19847
19848 static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
19849 PyObject *resultobj;
19850 wxPyApp *arg1 = (wxPyApp *) 0 ;
19851 bool result;
19852 PyObject * obj0 = 0 ;
19853 char *kwnames[] = {
19854 (char *) "self", NULL
19855 };
19856
19857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
19858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19860 {
19861 PyThreadState* __tstate = wxPyBeginAllowThreads();
19862 result = (bool)((wxPyApp const *)arg1)->IsActive();
19863
19864 wxPyEndAllowThreads(__tstate);
19865 if (PyErr_Occurred()) SWIG_fail;
19866 }
19867 {
19868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19869 }
19870 return resultobj;
19871 fail:
19872 return NULL;
19873 }
19874
19875
19876 static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19877 PyObject *resultobj;
19878 wxPyApp *arg1 = (wxPyApp *) 0 ;
19879 wxWindow *arg2 = (wxWindow *) 0 ;
19880 PyObject * obj0 = 0 ;
19881 PyObject * obj1 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self",(char *) "win", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
19887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 (arg1)->SetTopWindow(arg2);
19894
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
19898 Py_INCREF(Py_None); resultobj = Py_None;
19899 return resultobj;
19900 fail:
19901 return NULL;
19902 }
19903
19904
19905 static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19906 PyObject *resultobj;
19907 wxPyApp *arg1 = (wxPyApp *) 0 ;
19908 wxWindow *result;
19909 PyObject * obj0 = 0 ;
19910 char *kwnames[] = {
19911 (char *) "self", NULL
19912 };
19913
19914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
19915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 {
19925 resultobj = wxPyMake_wxObject(result);
19926 }
19927 return resultobj;
19928 fail:
19929 return NULL;
19930 }
19931
19932
19933 static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
19934 PyObject *resultobj;
19935 wxPyApp *arg1 = (wxPyApp *) 0 ;
19936 bool arg2 ;
19937 PyObject * obj0 = 0 ;
19938 PyObject * obj1 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self",(char *) "flag", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19946 arg2 = (bool) SWIG_AsBool(obj1);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 (arg1)->SetExitOnFrameDelete(arg2);
19951
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
19955 Py_INCREF(Py_None); resultobj = Py_None;
19956 return resultobj;
19957 fail:
19958 return NULL;
19959 }
19960
19961
19962 static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
19963 PyObject *resultobj;
19964 wxPyApp *arg1 = (wxPyApp *) 0 ;
19965 bool result;
19966 PyObject * obj0 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
19972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 {
19982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19983 }
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxPyApp *arg1 = (wxPyApp *) 0 ;
19993 bool arg2 ;
19994 PyObject * obj0 = 0 ;
19995 PyObject * obj1 = 0 ;
19996 char *kwnames[] = {
19997 (char *) "self",(char *) "flag", NULL
19998 };
19999
20000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
20001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20003 arg2 = (bool) SWIG_AsBool(obj1);
20004 if (PyErr_Occurred()) SWIG_fail;
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 (arg1)->SetUseBestVisual(arg2);
20008
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 Py_INCREF(Py_None); resultobj = Py_None;
20013 return resultobj;
20014 fail:
20015 return NULL;
20016 }
20017
20018
20019 static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
20020 PyObject *resultobj;
20021 wxPyApp *arg1 = (wxPyApp *) 0 ;
20022 bool result;
20023 PyObject * obj0 = 0 ;
20024 char *kwnames[] = {
20025 (char *) "self", NULL
20026 };
20027
20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
20029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 {
20039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20040 }
20041 return resultobj;
20042 fail:
20043 return NULL;
20044 }
20045
20046
20047 static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20048 PyObject *resultobj;
20049 wxPyApp *arg1 = (wxPyApp *) 0 ;
20050 int arg2 ;
20051 PyObject * obj0 = 0 ;
20052 PyObject * obj1 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "mode", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
20058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20060 arg2 = (int) SWIG_AsInt(obj1);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 (arg1)->SetPrintMode(arg2);
20065
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 Py_INCREF(Py_None); resultobj = Py_None;
20070 return resultobj;
20071 fail:
20072 return NULL;
20073 }
20074
20075
20076 static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20077 PyObject *resultobj;
20078 wxPyApp *arg1 = (wxPyApp *) 0 ;
20079 int result;
20080 PyObject * obj0 = 0 ;
20081 char *kwnames[] = {
20082 (char *) "self", NULL
20083 };
20084
20085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
20086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20088 {
20089 PyThreadState* __tstate = wxPyBeginAllowThreads();
20090 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20091
20092 wxPyEndAllowThreads(__tstate);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 }
20095 resultobj = SWIG_FromInt((int)result);
20096 return resultobj;
20097 fail:
20098 return NULL;
20099 }
20100
20101
20102 static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
20103 PyObject *resultobj;
20104 wxPyApp *arg1 = (wxPyApp *) 0 ;
20105 int arg2 ;
20106 PyObject * obj0 = 0 ;
20107 PyObject * obj1 = 0 ;
20108 char *kwnames[] = {
20109 (char *) "self",(char *) "mode", NULL
20110 };
20111
20112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
20113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20115 arg2 = (int) SWIG_AsInt(obj1);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 {
20118 PyThreadState* __tstate = wxPyBeginAllowThreads();
20119 (arg1)->SetAssertMode(arg2);
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 Py_INCREF(Py_None); resultobj = Py_None;
20125 return resultobj;
20126 fail:
20127 return NULL;
20128 }
20129
20130
20131 static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxPyApp *arg1 = (wxPyApp *) 0 ;
20134 int result;
20135 PyObject * obj0 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 result = (int)(arg1)->GetAssertMode();
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 resultobj = SWIG_FromInt((int)result);
20151 return resultobj;
20152 fail:
20153 return NULL;
20154 }
20155
20156
20157 static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
20158 PyObject *resultobj;
20159 bool result;
20160 char *kwnames[] = {
20161 NULL
20162 };
20163
20164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20168
20169 wxPyEndAllowThreads(__tstate);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 }
20172 {
20173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20174 }
20175 return resultobj;
20176 fail:
20177 return NULL;
20178 }
20179
20180
20181 static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
20182 PyObject *resultobj;
20183 long result;
20184 char *kwnames[] = {
20185 NULL
20186 };
20187
20188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 result = (long)wxPyApp::GetMacAboutMenuItemId();
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 resultobj = SWIG_FromLong((long)result);
20197 return resultobj;
20198 fail:
20199 return NULL;
20200 }
20201
20202
20203 static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
20204 PyObject *resultobj;
20205 long result;
20206 char *kwnames[] = {
20207 NULL
20208 };
20209
20210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20211 {
20212 PyThreadState* __tstate = wxPyBeginAllowThreads();
20213 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20214
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 resultobj = SWIG_FromLong((long)result);
20219 return resultobj;
20220 fail:
20221 return NULL;
20222 }
20223
20224
20225 static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj;
20227 long result;
20228 char *kwnames[] = {
20229 NULL
20230 };
20231
20232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20233 {
20234 PyThreadState* __tstate = wxPyBeginAllowThreads();
20235 result = (long)wxPyApp::GetMacExitMenuItemId();
20236
20237 wxPyEndAllowThreads(__tstate);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
20240 resultobj = SWIG_FromLong((long)result);
20241 return resultobj;
20242 fail:
20243 return NULL;
20244 }
20245
20246
20247 static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj;
20249 wxString result;
20250 char *kwnames[] = {
20251 NULL
20252 };
20253
20254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20255 {
20256 PyThreadState* __tstate = wxPyBeginAllowThreads();
20257 result = wxPyApp::GetMacHelpMenuTitleName();
20258
20259 wxPyEndAllowThreads(__tstate);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 }
20262 {
20263 #if wxUSE_UNICODE
20264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20265 #else
20266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20267 #endif
20268 }
20269 return resultobj;
20270 fail:
20271 return NULL;
20272 }
20273
20274
20275 static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
20276 PyObject *resultobj;
20277 bool arg1 ;
20278 PyObject * obj0 = 0 ;
20279 char *kwnames[] = {
20280 (char *) "val", NULL
20281 };
20282
20283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
20284 arg1 = (bool) SWIG_AsBool(obj0);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 {
20287 PyThreadState* __tstate = wxPyBeginAllowThreads();
20288 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20289
20290 wxPyEndAllowThreads(__tstate);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 }
20293 Py_INCREF(Py_None); resultobj = Py_None;
20294 return resultobj;
20295 fail:
20296 return NULL;
20297 }
20298
20299
20300 static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
20301 PyObject *resultobj;
20302 long arg1 ;
20303 PyObject * obj0 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "val", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
20309 arg1 = (long) SWIG_AsLong(obj0);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 {
20312 PyThreadState* __tstate = wxPyBeginAllowThreads();
20313 wxPyApp::SetMacAboutMenuItemId(arg1);
20314
20315 wxPyEndAllowThreads(__tstate);
20316 if (PyErr_Occurred()) SWIG_fail;
20317 }
20318 Py_INCREF(Py_None); resultobj = Py_None;
20319 return resultobj;
20320 fail:
20321 return NULL;
20322 }
20323
20324
20325 static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
20326 PyObject *resultobj;
20327 long arg1 ;
20328 PyObject * obj0 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "val", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
20334 arg1 = (long) SWIG_AsLong(obj0);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 {
20337 PyThreadState* __tstate = wxPyBeginAllowThreads();
20338 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20339
20340 wxPyEndAllowThreads(__tstate);
20341 if (PyErr_Occurred()) SWIG_fail;
20342 }
20343 Py_INCREF(Py_None); resultobj = Py_None;
20344 return resultobj;
20345 fail:
20346 return NULL;
20347 }
20348
20349
20350 static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
20351 PyObject *resultobj;
20352 long arg1 ;
20353 PyObject * obj0 = 0 ;
20354 char *kwnames[] = {
20355 (char *) "val", NULL
20356 };
20357
20358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
20359 arg1 = (long) SWIG_AsLong(obj0);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 wxPyApp::SetMacExitMenuItemId(arg1);
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 Py_INCREF(Py_None); resultobj = Py_None;
20369 return resultobj;
20370 fail:
20371 return NULL;
20372 }
20373
20374
20375 static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 wxString *arg1 = 0 ;
20378 bool temp1 = False ;
20379 PyObject * obj0 = 0 ;
20380 char *kwnames[] = {
20381 (char *) "val", NULL
20382 };
20383
20384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20385 {
20386 arg1 = wxString_in_helper(obj0);
20387 if (arg1 == NULL) SWIG_fail;
20388 temp1 = True;
20389 }
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20393
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 Py_INCREF(Py_None); resultobj = Py_None;
20398 {
20399 if (temp1)
20400 delete arg1;
20401 }
20402 return resultobj;
20403 fail:
20404 {
20405 if (temp1)
20406 delete arg1;
20407 }
20408 return NULL;
20409 }
20410
20411
20412 static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj;
20414 wxPyApp *arg1 = (wxPyApp *) 0 ;
20415 PyObject * obj0 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
20421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 (arg1)->_BootstrapApp();
20426
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 Py_INCREF(Py_None); resultobj = Py_None;
20431 return resultobj;
20432 fail:
20433 return NULL;
20434 }
20435
20436
20437 static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj;
20439 int result;
20440 char *kwnames[] = {
20441 NULL
20442 };
20443
20444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 result = (int)PyApp_GetComCtl32Version();
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 resultobj = SWIG_FromInt((int)result);
20453 return resultobj;
20454 fail:
20455 return NULL;
20456 }
20457
20458
20459 static PyObject * PyApp_swigregister(PyObject *, PyObject *args) {
20460 PyObject *obj;
20461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20462 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20463 Py_INCREF(obj);
20464 return Py_BuildValue((char *)"");
20465 }
20466 static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
20467 PyObject *resultobj;
20468 char *kwnames[] = {
20469 NULL
20470 };
20471
20472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20473 {
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 wxExit();
20476
20477 wxPyEndAllowThreads(__tstate);
20478 if (PyErr_Occurred()) SWIG_fail;
20479 }
20480 Py_INCREF(Py_None); resultobj = Py_None;
20481 return resultobj;
20482 fail:
20483 return NULL;
20484 }
20485
20486
20487 static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
20488 PyObject *resultobj;
20489 bool result;
20490 char *kwnames[] = {
20491 NULL
20492 };
20493
20494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20495 {
20496 PyThreadState* __tstate = wxPyBeginAllowThreads();
20497 result = (bool)wxYield();
20498
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 {
20503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20504 }
20505 return resultobj;
20506 fail:
20507 return NULL;
20508 }
20509
20510
20511 static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
20512 PyObject *resultobj;
20513 bool result;
20514 char *kwnames[] = {
20515 NULL
20516 };
20517
20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 result = (bool)wxYieldIfNeeded();
20522
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
20526 {
20527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20528 }
20529 return resultobj;
20530 fail:
20531 return NULL;
20532 }
20533
20534
20535 static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
20536 PyObject *resultobj;
20537 wxWindow *arg1 = (wxWindow *) NULL ;
20538 bool arg2 = (bool) False ;
20539 bool result;
20540 PyObject * obj0 = 0 ;
20541 PyObject * obj1 = 0 ;
20542 char *kwnames[] = {
20543 (char *) "win",(char *) "onlyIfNeeded", NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20547 if (obj0) {
20548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20550 }
20551 if (obj1) {
20552 arg2 = (bool) SWIG_AsBool(obj1);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 result = (bool)wxSafeYield(arg1,arg2);
20558
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 {
20563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20564 }
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 char *kwnames[] = {
20574 NULL
20575 };
20576
20577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 wxWakeUpIdle();
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 Py_INCREF(Py_None); resultobj = Py_None;
20586 return resultobj;
20587 fail:
20588 return NULL;
20589 }
20590
20591
20592 static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20595 wxEvent *arg2 = 0 ;
20596 PyObject * obj0 = 0 ;
20597 PyObject * obj1 = 0 ;
20598 char *kwnames[] = {
20599 (char *) "dest",(char *) "event", NULL
20600 };
20601
20602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
20603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20606 SWIG_POINTER_EXCEPTION | 0)) == -1)
20607 SWIG_fail;
20608 if (arg2 == NULL) {
20609 PyErr_SetString(PyExc_TypeError,"null reference");
20610 SWIG_fail;
20611 }
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 wxPostEvent(arg1,*arg2);
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_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj;
20628 char *kwnames[] = {
20629 NULL
20630 };
20631
20632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20633 {
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 wxApp_CleanUp();
20636
20637 wxPyEndAllowThreads(__tstate);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 }
20640 Py_INCREF(Py_None); resultobj = Py_None;
20641 return resultobj;
20642 fail:
20643 return NULL;
20644 }
20645
20646
20647 static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) {
20648 PyObject *resultobj;
20649 wxPyApp *result;
20650 char *kwnames[] = {
20651 NULL
20652 };
20653
20654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 result = (wxPyApp *)wxGetApp();
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
20662 {
20663 resultobj = wxPyMake_wxObject(result);
20664 }
20665 return resultobj;
20666 fail:
20667 return NULL;
20668 }
20669
20670
20671 static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
20672 PyObject *resultobj;
20673 int arg1 = (int) 0 ;
20674 int arg2 = (int) 0 ;
20675 int arg3 = (int) 0 ;
20676 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
20677 wxAcceleratorEntry *result;
20678 PyObject * obj0 = 0 ;
20679 PyObject * obj1 = 0 ;
20680 PyObject * obj2 = 0 ;
20681 PyObject * obj3 = 0 ;
20682 char *kwnames[] = {
20683 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20684 };
20685
20686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20687 if (obj0) {
20688 arg1 = (int) SWIG_AsInt(obj0);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 if (obj1) {
20692 arg2 = (int) SWIG_AsInt(obj1);
20693 if (PyErr_Occurred()) SWIG_fail;
20694 }
20695 if (obj2) {
20696 arg3 = (int) SWIG_AsInt(obj2);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
20699 if (obj3) {
20700 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenuItem,
20701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20702 }
20703 {
20704 PyThreadState* __tstate = wxPyBeginAllowThreads();
20705 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
20706
20707 wxPyEndAllowThreads(__tstate);
20708 if (PyErr_Occurred()) SWIG_fail;
20709 }
20710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
20711 return resultobj;
20712 fail:
20713 return NULL;
20714 }
20715
20716
20717 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
20718 PyObject *resultobj;
20719 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20720 PyObject * obj0 = 0 ;
20721 char *kwnames[] = {
20722 (char *) "self", NULL
20723 };
20724
20725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
20726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20728 {
20729 PyThreadState* __tstate = wxPyBeginAllowThreads();
20730 delete arg1;
20731
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 Py_INCREF(Py_None); resultobj = Py_None;
20736 return resultobj;
20737 fail:
20738 return NULL;
20739 }
20740
20741
20742 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) {
20743 PyObject *resultobj;
20744 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20745 int arg2 ;
20746 int arg3 ;
20747 int arg4 ;
20748 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
20749 PyObject * obj0 = 0 ;
20750 PyObject * obj1 = 0 ;
20751 PyObject * obj2 = 0 ;
20752 PyObject * obj3 = 0 ;
20753 PyObject * obj4 = 0 ;
20754 char *kwnames[] = {
20755 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20756 };
20757
20758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20761 arg2 = (int) SWIG_AsInt(obj1);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 arg3 = (int) SWIG_AsInt(obj2);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 arg4 = (int) SWIG_AsInt(obj3);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 if (obj4) {
20768 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenuItem,
20769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20770 }
20771 {
20772 PyThreadState* __tstate = wxPyBeginAllowThreads();
20773 (arg1)->Set(arg2,arg3,arg4,arg5);
20774
20775 wxPyEndAllowThreads(__tstate);
20776 if (PyErr_Occurred()) SWIG_fail;
20777 }
20778 Py_INCREF(Py_None); resultobj = Py_None;
20779 return resultobj;
20780 fail:
20781 return NULL;
20782 }
20783
20784
20785 static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
20786 PyObject *resultobj;
20787 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20788 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
20789 PyObject * obj0 = 0 ;
20790 PyObject * obj1 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self",(char *) "item", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
20799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20800 {
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 (arg1)->SetMenuItem(arg2);
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 Py_INCREF(Py_None); resultobj = Py_None;
20808 return resultobj;
20809 fail:
20810 return NULL;
20811 }
20812
20813
20814 static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
20815 PyObject *resultobj;
20816 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20817 wxMenuItem *result;
20818 PyObject * obj0 = 0 ;
20819 char *kwnames[] = {
20820 (char *) "self", NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
20824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 {
20834 resultobj = wxPyMake_wxObject(result);
20835 }
20836 return resultobj;
20837 fail:
20838 return NULL;
20839 }
20840
20841
20842 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
20843 PyObject *resultobj;
20844 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20845 int result;
20846 PyObject * obj0 = 0 ;
20847 char *kwnames[] = {
20848 (char *) "self", NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
20852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (int)(arg1)->GetFlags();
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 resultobj = SWIG_FromInt((int)result);
20862 return resultobj;
20863 fail:
20864 return NULL;
20865 }
20866
20867
20868 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20871 int result;
20872 PyObject * obj0 = 0 ;
20873 char *kwnames[] = {
20874 (char *) "self", NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
20878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 result = (int)(arg1)->GetKeyCode();
20883
20884 wxPyEndAllowThreads(__tstate);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 }
20887 resultobj = SWIG_FromInt((int)result);
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
20895 PyObject *resultobj;
20896 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20897 int result;
20898 PyObject * obj0 = 0 ;
20899 char *kwnames[] = {
20900 (char *) "self", NULL
20901 };
20902
20903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
20904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 result = (int)(arg1)->GetCommand();
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 resultobj = SWIG_FromInt((int)result);
20914 return resultobj;
20915 fail:
20916 return NULL;
20917 }
20918
20919
20920 static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) {
20921 PyObject *obj;
20922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20923 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
20924 Py_INCREF(obj);
20925 return Py_BuildValue((char *)"");
20926 }
20927 static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
20928 PyObject *resultobj;
20929 int arg1 ;
20930 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
20931 wxAcceleratorTable *result;
20932 PyObject * obj0 = 0 ;
20933 char *kwnames[] = {
20934 (char *) "n", NULL
20935 };
20936
20937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
20938 {
20939 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
20940 if (arg2) arg1 = PyList_Size(obj0);
20941 else arg1 = 0;
20942 }
20943 {
20944 PyThreadState* __tstate = wxPyBeginAllowThreads();
20945 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
20946
20947 wxPyEndAllowThreads(__tstate);
20948 if (PyErr_Occurred()) SWIG_fail;
20949 }
20950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
20951 {
20952 delete [] arg2;
20953 }
20954 return resultobj;
20955 fail:
20956 {
20957 delete [] arg2;
20958 }
20959 return NULL;
20960 }
20961
20962
20963 static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
20964 PyObject *resultobj;
20965 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20966 PyObject * obj0 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "self", NULL
20969 };
20970
20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
20972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
20973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20974 {
20975 PyThreadState* __tstate = wxPyBeginAllowThreads();
20976 delete arg1;
20977
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
20981 Py_INCREF(Py_None); resultobj = Py_None;
20982 return resultobj;
20983 fail:
20984 return NULL;
20985 }
20986
20987
20988 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20989 PyObject *resultobj;
20990 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20991 bool result;
20992 PyObject * obj0 = 0 ;
20993 char *kwnames[] = {
20994 (char *) "self", NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
20998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
20999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 {
21008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21009 }
21010 return resultobj;
21011 fail:
21012 return NULL;
21013 }
21014
21015
21016 static PyObject * AcceleratorTable_swigregister(PyObject *, PyObject *args) {
21017 PyObject *obj;
21018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21019 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21020 Py_INCREF(obj);
21021 return Py_BuildValue((char *)"");
21022 }
21023 static int _wrap_NullAcceleratorTable_set(PyObject *) {
21024 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21025 return 1;
21026 }
21027
21028
21029 static PyObject *_wrap_NullAcceleratorTable_get() {
21030 PyObject *pyobj;
21031
21032 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
21033 return pyobj;
21034 }
21035
21036
21037 static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) {
21038 PyObject *resultobj;
21039 wxString *arg1 = 0 ;
21040 wxAcceleratorEntry *result;
21041 bool temp1 = False ;
21042 PyObject * obj0 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "label", NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21048 {
21049 arg1 = wxString_in_helper(obj0);
21050 if (arg1 == NULL) SWIG_fail;
21051 temp1 = True;
21052 }
21053 {
21054 PyThreadState* __tstate = wxPyBeginAllowThreads();
21055 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21056
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
21060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
21061 {
21062 if (temp1)
21063 delete arg1;
21064 }
21065 return resultobj;
21066 fail:
21067 {
21068 if (temp1)
21069 delete arg1;
21070 }
21071 return NULL;
21072 }
21073
21074
21075 static int _wrap_PanelNameStr_set(PyObject *) {
21076 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21077 return 1;
21078 }
21079
21080
21081 static PyObject *_wrap_PanelNameStr_get() {
21082 PyObject *pyobj;
21083
21084 {
21085 #if wxUSE_UNICODE
21086 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21087 #else
21088 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21089 #endif
21090 }
21091 return pyobj;
21092 }
21093
21094
21095 static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) {
21096 PyObject *resultobj;
21097 wxWindow *arg1 = (wxWindow *) 0 ;
21098 int arg2 ;
21099 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21100 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21101 wxSize const &arg4_defvalue = wxDefaultSize ;
21102 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21103 long arg5 = (long) 0 ;
21104 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21105 wxString *arg6 = (wxString *) &arg6_defvalue ;
21106 wxWindow *result;
21107 wxPoint temp3 ;
21108 wxSize temp4 ;
21109 bool temp6 = False ;
21110 PyObject * obj0 = 0 ;
21111 PyObject * obj1 = 0 ;
21112 PyObject * obj2 = 0 ;
21113 PyObject * obj3 = 0 ;
21114 PyObject * obj4 = 0 ;
21115 PyObject * obj5 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21123 arg2 = (int const) SWIG_AsInt(obj1);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 if (obj2) {
21126 {
21127 arg3 = &temp3;
21128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21129 }
21130 }
21131 if (obj3) {
21132 {
21133 arg4 = &temp4;
21134 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21135 }
21136 }
21137 if (obj4) {
21138 arg5 = (long) SWIG_AsLong(obj4);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
21141 if (obj5) {
21142 {
21143 arg6 = wxString_in_helper(obj5);
21144 if (arg6 == NULL) SWIG_fail;
21145 temp6 = True;
21146 }
21147 }
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 {
21156 resultobj = wxPyMake_wxObject(result);
21157 }
21158 {
21159 if (temp6)
21160 delete arg6;
21161 }
21162 return resultobj;
21163 fail:
21164 {
21165 if (temp6)
21166 delete arg6;
21167 }
21168 return NULL;
21169 }
21170
21171
21172 static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) {
21173 PyObject *resultobj;
21174 wxWindow *result;
21175 char *kwnames[] = {
21176 NULL
21177 };
21178
21179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 result = (wxWindow *)new wxWindow();
21183
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 {
21188 resultobj = wxPyMake_wxObject(result);
21189 }
21190 return resultobj;
21191 fail:
21192 return NULL;
21193 }
21194
21195
21196 static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21197 PyObject *resultobj;
21198 wxWindow *arg1 = (wxWindow *) 0 ;
21199 wxWindow *arg2 = (wxWindow *) 0 ;
21200 int arg3 ;
21201 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21202 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21203 wxSize const &arg5_defvalue = wxDefaultSize ;
21204 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21205 long arg6 = (long) 0 ;
21206 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21207 wxString *arg7 = (wxString *) &arg7_defvalue ;
21208 bool result;
21209 wxPoint temp4 ;
21210 wxSize temp5 ;
21211 bool temp7 = False ;
21212 PyObject * obj0 = 0 ;
21213 PyObject * obj1 = 0 ;
21214 PyObject * obj2 = 0 ;
21215 PyObject * obj3 = 0 ;
21216 PyObject * obj4 = 0 ;
21217 PyObject * obj5 = 0 ;
21218 PyObject * obj6 = 0 ;
21219 char *kwnames[] = {
21220 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21221 };
21222
21223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21228 arg3 = (int const) SWIG_AsInt(obj2);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 if (obj3) {
21231 {
21232 arg4 = &temp4;
21233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21234 }
21235 }
21236 if (obj4) {
21237 {
21238 arg5 = &temp5;
21239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21240 }
21241 }
21242 if (obj5) {
21243 arg6 = (long) SWIG_AsLong(obj5);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 if (obj6) {
21247 {
21248 arg7 = wxString_in_helper(obj6);
21249 if (arg7 == NULL) SWIG_fail;
21250 temp7 = True;
21251 }
21252 }
21253 {
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21256
21257 wxPyEndAllowThreads(__tstate);
21258 if (PyErr_Occurred()) SWIG_fail;
21259 }
21260 {
21261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21262 }
21263 {
21264 if (temp7)
21265 delete arg7;
21266 }
21267 return resultobj;
21268 fail:
21269 {
21270 if (temp7)
21271 delete arg7;
21272 }
21273 return NULL;
21274 }
21275
21276
21277 static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj;
21279 wxWindow *arg1 = (wxWindow *) 0 ;
21280 bool arg2 = (bool) False ;
21281 bool result;
21282 PyObject * obj0 = 0 ;
21283 PyObject * obj1 = 0 ;
21284 char *kwnames[] = {
21285 (char *) "self",(char *) "force", NULL
21286 };
21287
21288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
21289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21291 if (obj1) {
21292 arg2 = (bool) SWIG_AsBool(obj1);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 {
21296 PyThreadState* __tstate = wxPyBeginAllowThreads();
21297 result = (bool)(arg1)->Close(arg2);
21298
21299 wxPyEndAllowThreads(__tstate);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 {
21303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21304 }
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxWindow *arg1 = (wxWindow *) 0 ;
21314 bool result;
21315 PyObject * obj0 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 result = (bool)(arg1)->Destroy();
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 {
21331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21332 }
21333 return resultobj;
21334 fail:
21335 return NULL;
21336 }
21337
21338
21339 static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) {
21340 PyObject *resultobj;
21341 wxWindow *arg1 = (wxWindow *) 0 ;
21342 bool result;
21343 PyObject * obj0 = 0 ;
21344 char *kwnames[] = {
21345 (char *) "self", NULL
21346 };
21347
21348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
21349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 result = (bool)(arg1)->DestroyChildren();
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 {
21359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21360 }
21361 return resultobj;
21362 fail:
21363 return NULL;
21364 }
21365
21366
21367 static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) {
21368 PyObject *resultobj;
21369 wxWindow *arg1 = (wxWindow *) 0 ;
21370 bool result;
21371 PyObject * obj0 = 0 ;
21372 char *kwnames[] = {
21373 (char *) "self", NULL
21374 };
21375
21376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
21377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21379 {
21380 PyThreadState* __tstate = wxPyBeginAllowThreads();
21381 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21382
21383 wxPyEndAllowThreads(__tstate);
21384 if (PyErr_Occurred()) SWIG_fail;
21385 }
21386 {
21387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21388 }
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_Window_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj;
21397 wxWindow *arg1 = (wxWindow *) 0 ;
21398 wxString *arg2 = 0 ;
21399 bool temp2 = False ;
21400 PyObject * obj0 = 0 ;
21401 PyObject * obj1 = 0 ;
21402 char *kwnames[] = {
21403 (char *) "self",(char *) "title", NULL
21404 };
21405
21406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
21407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21409 {
21410 arg2 = wxString_in_helper(obj1);
21411 if (arg2 == NULL) SWIG_fail;
21412 temp2 = True;
21413 }
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 (arg1)->SetTitle((wxString const &)*arg2);
21417
21418 wxPyEndAllowThreads(__tstate);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 }
21421 Py_INCREF(Py_None); resultobj = Py_None;
21422 {
21423 if (temp2)
21424 delete arg2;
21425 }
21426 return resultobj;
21427 fail:
21428 {
21429 if (temp2)
21430 delete arg2;
21431 }
21432 return NULL;
21433 }
21434
21435
21436 static PyObject *_wrap_Window_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
21437 PyObject *resultobj;
21438 wxWindow *arg1 = (wxWindow *) 0 ;
21439 wxString result;
21440 PyObject * obj0 = 0 ;
21441 char *kwnames[] = {
21442 (char *) "self", NULL
21443 };
21444
21445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
21446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 result = ((wxWindow const *)arg1)->GetTitle();
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 {
21456 #if wxUSE_UNICODE
21457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21458 #else
21459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21460 #endif
21461 }
21462 return resultobj;
21463 fail:
21464 return NULL;
21465 }
21466
21467
21468 static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxWindow *arg1 = (wxWindow *) 0 ;
21471 wxString *arg2 = 0 ;
21472 bool temp2 = False ;
21473 PyObject * obj0 = 0 ;
21474 PyObject * obj1 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self",(char *) "label", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
21480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21482 {
21483 arg2 = wxString_in_helper(obj1);
21484 if (arg2 == NULL) SWIG_fail;
21485 temp2 = True;
21486 }
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 (arg1)->SetLabel((wxString const &)*arg2);
21490
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 Py_INCREF(Py_None); resultobj = Py_None;
21495 {
21496 if (temp2)
21497 delete arg2;
21498 }
21499 return resultobj;
21500 fail:
21501 {
21502 if (temp2)
21503 delete arg2;
21504 }
21505 return NULL;
21506 }
21507
21508
21509 static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21510 PyObject *resultobj;
21511 wxWindow *arg1 = (wxWindow *) 0 ;
21512 wxString result;
21513 PyObject * obj0 = 0 ;
21514 char *kwnames[] = {
21515 (char *) "self", NULL
21516 };
21517
21518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
21519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 result = ((wxWindow const *)arg1)->GetLabel();
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 {
21529 #if wxUSE_UNICODE
21530 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21531 #else
21532 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21533 #endif
21534 }
21535 return resultobj;
21536 fail:
21537 return NULL;
21538 }
21539
21540
21541 static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxWindow *arg1 = (wxWindow *) 0 ;
21544 wxString *arg2 = 0 ;
21545 bool temp2 = False ;
21546 PyObject * obj0 = 0 ;
21547 PyObject * obj1 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self",(char *) "name", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
21553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21555 {
21556 arg2 = wxString_in_helper(obj1);
21557 if (arg2 == NULL) SWIG_fail;
21558 temp2 = True;
21559 }
21560 {
21561 PyThreadState* __tstate = wxPyBeginAllowThreads();
21562 (arg1)->SetName((wxString const &)*arg2);
21563
21564 wxPyEndAllowThreads(__tstate);
21565 if (PyErr_Occurred()) SWIG_fail;
21566 }
21567 Py_INCREF(Py_None); resultobj = Py_None;
21568 {
21569 if (temp2)
21570 delete arg2;
21571 }
21572 return resultobj;
21573 fail:
21574 {
21575 if (temp2)
21576 delete arg2;
21577 }
21578 return NULL;
21579 }
21580
21581
21582 static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
21583 PyObject *resultobj;
21584 wxWindow *arg1 = (wxWindow *) 0 ;
21585 wxString result;
21586 PyObject * obj0 = 0 ;
21587 char *kwnames[] = {
21588 (char *) "self", NULL
21589 };
21590
21591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
21592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21594 {
21595 PyThreadState* __tstate = wxPyBeginAllowThreads();
21596 result = ((wxWindow const *)arg1)->GetName();
21597
21598 wxPyEndAllowThreads(__tstate);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
21601 {
21602 #if wxUSE_UNICODE
21603 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21604 #else
21605 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21606 #endif
21607 }
21608 return resultobj;
21609 fail:
21610 return NULL;
21611 }
21612
21613
21614 static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
21615 PyObject *resultobj;
21616 wxWindow *arg1 = (wxWindow *) 0 ;
21617 int arg2 ;
21618 PyObject * obj0 = 0 ;
21619 PyObject * obj1 = 0 ;
21620 char *kwnames[] = {
21621 (char *) "self",(char *) "variant", NULL
21622 };
21623
21624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
21625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21627 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 {
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 Py_INCREF(Py_None); resultobj = Py_None;
21637 return resultobj;
21638 fail:
21639 return NULL;
21640 }
21641
21642
21643 static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
21644 PyObject *resultobj;
21645 wxWindow *arg1 = (wxWindow *) 0 ;
21646 int result;
21647 PyObject * obj0 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "self", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
21653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21655 {
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
21658
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 resultobj = SWIG_FromInt((int)result);
21663 return resultobj;
21664 fail:
21665 return NULL;
21666 }
21667
21668
21669 static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj;
21671 wxWindow *arg1 = (wxWindow *) 0 ;
21672 int arg2 ;
21673 PyObject * obj0 = 0 ;
21674 PyObject * obj1 = 0 ;
21675 char *kwnames[] = {
21676 (char *) "self",(char *) "winid", NULL
21677 };
21678
21679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
21680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21682 arg2 = (int) SWIG_AsInt(obj1);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 {
21685 PyThreadState* __tstate = wxPyBeginAllowThreads();
21686 (arg1)->SetId(arg2);
21687
21688 wxPyEndAllowThreads(__tstate);
21689 if (PyErr_Occurred()) SWIG_fail;
21690 }
21691 Py_INCREF(Py_None); resultobj = Py_None;
21692 return resultobj;
21693 fail:
21694 return NULL;
21695 }
21696
21697
21698 static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
21699 PyObject *resultobj;
21700 wxWindow *arg1 = (wxWindow *) 0 ;
21701 int result;
21702 PyObject * obj0 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
21708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = (int)((wxWindow const *)arg1)->GetId();
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 resultobj = SWIG_FromInt((int)result);
21718 return resultobj;
21719 fail:
21720 return NULL;
21721 }
21722
21723
21724 static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) {
21725 PyObject *resultobj;
21726 int result;
21727 char *kwnames[] = {
21728 NULL
21729 };
21730
21731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
21732 {
21733 PyThreadState* __tstate = wxPyBeginAllowThreads();
21734 result = (int)wxWindow::NewControlId();
21735
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 resultobj = SWIG_FromInt((int)result);
21740 return resultobj;
21741 fail:
21742 return NULL;
21743 }
21744
21745
21746 static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) {
21747 PyObject *resultobj;
21748 int arg1 ;
21749 int result;
21750 PyObject * obj0 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "winid", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
21756 arg1 = (int) SWIG_AsInt(obj0);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 result = (int)wxWindow::NextControlId(arg1);
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 resultobj = SWIG_FromInt((int)result);
21766 return resultobj;
21767 fail:
21768 return NULL;
21769 }
21770
21771
21772 static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj;
21774 int arg1 ;
21775 int result;
21776 PyObject * obj0 = 0 ;
21777 char *kwnames[] = {
21778 (char *) "winid", NULL
21779 };
21780
21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
21782 arg1 = (int) SWIG_AsInt(obj0);
21783 if (PyErr_Occurred()) SWIG_fail;
21784 {
21785 PyThreadState* __tstate = wxPyBeginAllowThreads();
21786 result = (int)wxWindow::PrevControlId(arg1);
21787
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 resultobj = SWIG_FromInt((int)result);
21792 return resultobj;
21793 fail:
21794 return NULL;
21795 }
21796
21797
21798 static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
21799 PyObject *resultobj;
21800 wxWindow *arg1 = (wxWindow *) 0 ;
21801 wxSize *arg2 = 0 ;
21802 wxSize temp2 ;
21803 PyObject * obj0 = 0 ;
21804 PyObject * obj1 = 0 ;
21805 char *kwnames[] = {
21806 (char *) "self",(char *) "size", NULL
21807 };
21808
21809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
21810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21812 {
21813 arg2 = &temp2;
21814 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21815 }
21816 {
21817 PyThreadState* __tstate = wxPyBeginAllowThreads();
21818 (arg1)->SetSize((wxSize const &)*arg2);
21819
21820 wxPyEndAllowThreads(__tstate);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 }
21823 Py_INCREF(Py_None); resultobj = Py_None;
21824 return resultobj;
21825 fail:
21826 return NULL;
21827 }
21828
21829
21830 static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) {
21831 PyObject *resultobj;
21832 wxWindow *arg1 = (wxWindow *) 0 ;
21833 int arg2 ;
21834 int arg3 ;
21835 int arg4 ;
21836 int arg5 ;
21837 int arg6 = (int) wxSIZE_AUTO ;
21838 PyObject * obj0 = 0 ;
21839 PyObject * obj1 = 0 ;
21840 PyObject * obj2 = 0 ;
21841 PyObject * obj3 = 0 ;
21842 PyObject * obj4 = 0 ;
21843 PyObject * obj5 = 0 ;
21844 char *kwnames[] = {
21845 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21846 };
21847
21848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21851 arg2 = (int) SWIG_AsInt(obj1);
21852 if (PyErr_Occurred()) SWIG_fail;
21853 arg3 = (int) SWIG_AsInt(obj2);
21854 if (PyErr_Occurred()) SWIG_fail;
21855 arg4 = (int) SWIG_AsInt(obj3);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 arg5 = (int) SWIG_AsInt(obj4);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 if (obj5) {
21860 arg6 = (int) SWIG_AsInt(obj5);
21861 if (PyErr_Occurred()) SWIG_fail;
21862 }
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
21866
21867 wxPyEndAllowThreads(__tstate);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 Py_INCREF(Py_None); resultobj = Py_None;
21871 return resultobj;
21872 fail:
21873 return NULL;
21874 }
21875
21876
21877 static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
21878 PyObject *resultobj;
21879 wxWindow *arg1 = (wxWindow *) 0 ;
21880 wxRect *arg2 = 0 ;
21881 int arg3 = (int) wxSIZE_AUTO ;
21882 wxRect temp2 ;
21883 PyObject * obj0 = 0 ;
21884 PyObject * obj1 = 0 ;
21885 PyObject * obj2 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
21891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21893 {
21894 arg2 = &temp2;
21895 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21896 }
21897 if (obj2) {
21898 arg3 = (int) SWIG_AsInt(obj2);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
21903 (arg1)->SetSize((wxRect const &)*arg2,arg3);
21904
21905 wxPyEndAllowThreads(__tstate);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 }
21908 Py_INCREF(Py_None); resultobj = Py_None;
21909 return resultobj;
21910 fail:
21911 return NULL;
21912 }
21913
21914
21915 static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
21916 PyObject *resultobj;
21917 wxWindow *arg1 = (wxWindow *) 0 ;
21918 int arg2 ;
21919 int arg3 ;
21920 PyObject * obj0 = 0 ;
21921 PyObject * obj1 = 0 ;
21922 PyObject * obj2 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self",(char *) "width",(char *) "height", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
21928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21930 arg2 = (int) SWIG_AsInt(obj1);
21931 if (PyErr_Occurred()) SWIG_fail;
21932 arg3 = (int) SWIG_AsInt(obj2);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 (arg1)->SetSize(arg2,arg3);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 Py_INCREF(Py_None); resultobj = Py_None;
21942 return resultobj;
21943 fail:
21944 return NULL;
21945 }
21946
21947
21948 static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) {
21949 PyObject *resultobj;
21950 wxWindow *arg1 = (wxWindow *) 0 ;
21951 wxPoint *arg2 = 0 ;
21952 int arg3 = (int) wxSIZE_USE_EXISTING ;
21953 wxPoint temp2 ;
21954 PyObject * obj0 = 0 ;
21955 PyObject * obj1 = 0 ;
21956 PyObject * obj2 = 0 ;
21957 char *kwnames[] = {
21958 (char *) "self",(char *) "pt",(char *) "flags", NULL
21959 };
21960
21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
21962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21964 {
21965 arg2 = &temp2;
21966 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21967 }
21968 if (obj2) {
21969 arg3 = (int) SWIG_AsInt(obj2);
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 (arg1)->Move((wxPoint const &)*arg2,arg3);
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 Py_INCREF(Py_None); resultobj = Py_None;
21980 return resultobj;
21981 fail:
21982 return NULL;
21983 }
21984
21985
21986 static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
21987 PyObject *resultobj;
21988 wxWindow *arg1 = (wxWindow *) 0 ;
21989 int arg2 ;
21990 int arg3 ;
21991 int arg4 = (int) wxSIZE_USE_EXISTING ;
21992 PyObject * obj0 = 0 ;
21993 PyObject * obj1 = 0 ;
21994 PyObject * obj2 = 0 ;
21995 PyObject * obj3 = 0 ;
21996 char *kwnames[] = {
21997 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21998 };
21999
22000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22003 arg2 = (int) SWIG_AsInt(obj1);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 arg3 = (int) SWIG_AsInt(obj2);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 if (obj3) {
22008 arg4 = (int) SWIG_AsInt(obj3);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 (arg1)->Move(arg2,arg3,arg4);
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
22018 Py_INCREF(Py_None); resultobj = Py_None;
22019 return resultobj;
22020 fail:
22021 return NULL;
22022 }
22023
22024
22025 static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxWindow *arg1 = (wxWindow *) 0 ;
22028 PyObject * obj0 = 0 ;
22029 char *kwnames[] = {
22030 (char *) "self", NULL
22031 };
22032
22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
22034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22036 {
22037 PyThreadState* __tstate = wxPyBeginAllowThreads();
22038 (arg1)->Raise();
22039
22040 wxPyEndAllowThreads(__tstate);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 Py_INCREF(Py_None); resultobj = Py_None;
22044 return resultobj;
22045 fail:
22046 return NULL;
22047 }
22048
22049
22050 static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) {
22051 PyObject *resultobj;
22052 wxWindow *arg1 = (wxWindow *) 0 ;
22053 PyObject * obj0 = 0 ;
22054 char *kwnames[] = {
22055 (char *) "self", NULL
22056 };
22057
22058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
22059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22061 {
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 (arg1)->Lower();
22064
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 Py_INCREF(Py_None); resultobj = Py_None;
22069 return resultobj;
22070 fail:
22071 return NULL;
22072 }
22073
22074
22075 static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
22076 PyObject *resultobj;
22077 wxWindow *arg1 = (wxWindow *) 0 ;
22078 wxSize *arg2 = 0 ;
22079 wxSize temp2 ;
22080 PyObject * obj0 = 0 ;
22081 PyObject * obj1 = 0 ;
22082 char *kwnames[] = {
22083 (char *) "self",(char *) "size", NULL
22084 };
22085
22086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
22087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22089 {
22090 arg2 = &temp2;
22091 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22092 }
22093 {
22094 PyThreadState* __tstate = wxPyBeginAllowThreads();
22095 (arg1)->SetClientSize((wxSize const &)*arg2);
22096
22097 wxPyEndAllowThreads(__tstate);
22098 if (PyErr_Occurred()) SWIG_fail;
22099 }
22100 Py_INCREF(Py_None); resultobj = Py_None;
22101 return resultobj;
22102 fail:
22103 return NULL;
22104 }
22105
22106
22107 static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
22108 PyObject *resultobj;
22109 wxWindow *arg1 = (wxWindow *) 0 ;
22110 int arg2 ;
22111 int arg3 ;
22112 PyObject * obj0 = 0 ;
22113 PyObject * obj1 = 0 ;
22114 PyObject * obj2 = 0 ;
22115 char *kwnames[] = {
22116 (char *) "self",(char *) "width",(char *) "height", NULL
22117 };
22118
22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
22120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22122 arg2 = (int) SWIG_AsInt(obj1);
22123 if (PyErr_Occurred()) SWIG_fail;
22124 arg3 = (int) SWIG_AsInt(obj2);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 (arg1)->SetClientSize(arg2,arg3);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 Py_INCREF(Py_None); resultobj = Py_None;
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxWindow *arg1 = (wxWindow *) 0 ;
22143 wxRect *arg2 = 0 ;
22144 wxRect temp2 ;
22145 PyObject * obj0 = 0 ;
22146 PyObject * obj1 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "rect", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
22152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22154 {
22155 arg2 = &temp2;
22156 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22157 }
22158 {
22159 PyThreadState* __tstate = wxPyBeginAllowThreads();
22160 (arg1)->SetClientSize((wxRect const &)*arg2);
22161
22162 wxPyEndAllowThreads(__tstate);
22163 if (PyErr_Occurred()) SWIG_fail;
22164 }
22165 Py_INCREF(Py_None); resultobj = Py_None;
22166 return resultobj;
22167 fail:
22168 return NULL;
22169 }
22170
22171
22172 static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
22173 PyObject *resultobj;
22174 wxWindow *arg1 = (wxWindow *) 0 ;
22175 wxPoint result;
22176 PyObject * obj0 = 0 ;
22177 char *kwnames[] = {
22178 (char *) "self", NULL
22179 };
22180
22181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
22182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 result = (arg1)->GetPosition();
22187
22188 wxPyEndAllowThreads(__tstate);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 {
22192 wxPoint * resultptr;
22193 resultptr = new wxPoint((wxPoint &) result);
22194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22195 }
22196 return resultobj;
22197 fail:
22198 return NULL;
22199 }
22200
22201
22202 static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
22203 PyObject *resultobj;
22204 wxWindow *arg1 = (wxWindow *) 0 ;
22205 int *arg2 = (int *) 0 ;
22206 int *arg3 = (int *) 0 ;
22207 int temp2 ;
22208 int temp3 ;
22209 PyObject * obj0 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self", NULL
22212 };
22213
22214 arg2 = &temp2;
22215 arg3 = &temp3;
22216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
22217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 (arg1)->GetPosition(arg2,arg3);
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 Py_INCREF(Py_None); resultobj = Py_None;
22227 {
22228 PyObject *o = PyInt_FromLong((long) (*arg2));
22229 resultobj = t_output_helper(resultobj,o);
22230 }
22231 {
22232 PyObject *o = PyInt_FromLong((long) (*arg3));
22233 resultobj = t_output_helper(resultobj,o);
22234 }
22235 return resultobj;
22236 fail:
22237 return NULL;
22238 }
22239
22240
22241 static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
22242 PyObject *resultobj;
22243 wxWindow *arg1 = (wxWindow *) 0 ;
22244 wxSize result;
22245 PyObject * obj0 = 0 ;
22246 char *kwnames[] = {
22247 (char *) "self", NULL
22248 };
22249
22250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
22251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22253 {
22254 PyThreadState* __tstate = wxPyBeginAllowThreads();
22255 result = ((wxWindow const *)arg1)->GetSize();
22256
22257 wxPyEndAllowThreads(__tstate);
22258 if (PyErr_Occurred()) SWIG_fail;
22259 }
22260 {
22261 wxSize * resultptr;
22262 resultptr = new wxSize((wxSize &) result);
22263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22264 }
22265 return resultobj;
22266 fail:
22267 return NULL;
22268 }
22269
22270
22271 static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
22272 PyObject *resultobj;
22273 wxWindow *arg1 = (wxWindow *) 0 ;
22274 int *arg2 = (int *) 0 ;
22275 int *arg3 = (int *) 0 ;
22276 int temp2 ;
22277 int temp3 ;
22278 PyObject * obj0 = 0 ;
22279 char *kwnames[] = {
22280 (char *) "self", NULL
22281 };
22282
22283 arg2 = &temp2;
22284 arg3 = &temp3;
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
22286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 Py_INCREF(Py_None); resultobj = Py_None;
22296 {
22297 PyObject *o = PyInt_FromLong((long) (*arg2));
22298 resultobj = t_output_helper(resultobj,o);
22299 }
22300 {
22301 PyObject *o = PyInt_FromLong((long) (*arg3));
22302 resultobj = t_output_helper(resultobj,o);
22303 }
22304 return resultobj;
22305 fail:
22306 return NULL;
22307 }
22308
22309
22310 static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
22311 PyObject *resultobj;
22312 wxWindow *arg1 = (wxWindow *) 0 ;
22313 wxRect result;
22314 PyObject * obj0 = 0 ;
22315 char *kwnames[] = {
22316 (char *) "self", NULL
22317 };
22318
22319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
22320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22322 {
22323 PyThreadState* __tstate = wxPyBeginAllowThreads();
22324 result = ((wxWindow const *)arg1)->GetRect();
22325
22326 wxPyEndAllowThreads(__tstate);
22327 if (PyErr_Occurred()) SWIG_fail;
22328 }
22329 {
22330 wxRect * resultptr;
22331 resultptr = new wxRect((wxRect &) result);
22332 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22333 }
22334 return resultobj;
22335 fail:
22336 return NULL;
22337 }
22338
22339
22340 static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
22341 PyObject *resultobj;
22342 wxWindow *arg1 = (wxWindow *) 0 ;
22343 wxSize result;
22344 PyObject * obj0 = 0 ;
22345 char *kwnames[] = {
22346 (char *) "self", NULL
22347 };
22348
22349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
22350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22352 {
22353 PyThreadState* __tstate = wxPyBeginAllowThreads();
22354 result = ((wxWindow const *)arg1)->GetClientSize();
22355
22356 wxPyEndAllowThreads(__tstate);
22357 if (PyErr_Occurred()) SWIG_fail;
22358 }
22359 {
22360 wxSize * resultptr;
22361 resultptr = new wxSize((wxSize &) result);
22362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22363 }
22364 return resultobj;
22365 fail:
22366 return NULL;
22367 }
22368
22369
22370 static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
22371 PyObject *resultobj;
22372 wxWindow *arg1 = (wxWindow *) 0 ;
22373 int *arg2 = (int *) 0 ;
22374 int *arg3 = (int *) 0 ;
22375 int temp2 ;
22376 int temp3 ;
22377 PyObject * obj0 = 0 ;
22378 char *kwnames[] = {
22379 (char *) "self", NULL
22380 };
22381
22382 arg2 = &temp2;
22383 arg3 = &temp3;
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
22385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22387 {
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 Py_INCREF(Py_None); resultobj = Py_None;
22395 {
22396 PyObject *o = PyInt_FromLong((long) (*arg2));
22397 resultobj = t_output_helper(resultobj,o);
22398 }
22399 {
22400 PyObject *o = PyInt_FromLong((long) (*arg3));
22401 resultobj = t_output_helper(resultobj,o);
22402 }
22403 return resultobj;
22404 fail:
22405 return NULL;
22406 }
22407
22408
22409 static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
22410 PyObject *resultobj;
22411 wxWindow *arg1 = (wxWindow *) 0 ;
22412 wxPoint result;
22413 PyObject * obj0 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "self", NULL
22416 };
22417
22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
22419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 {
22429 wxPoint * resultptr;
22430 resultptr = new wxPoint((wxPoint &) result);
22431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22432 }
22433 return resultobj;
22434 fail:
22435 return NULL;
22436 }
22437
22438
22439 static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
22440 PyObject *resultobj;
22441 wxWindow *arg1 = (wxWindow *) 0 ;
22442 wxRect result;
22443 PyObject * obj0 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
22449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22451 {
22452 PyThreadState* __tstate = wxPyBeginAllowThreads();
22453 result = ((wxWindow const *)arg1)->GetClientRect();
22454
22455 wxPyEndAllowThreads(__tstate);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 }
22458 {
22459 wxRect * resultptr;
22460 resultptr = new wxRect((wxRect &) result);
22461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22462 }
22463 return resultobj;
22464 fail:
22465 return NULL;
22466 }
22467
22468
22469 static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
22470 PyObject *resultobj;
22471 wxWindow *arg1 = (wxWindow *) 0 ;
22472 wxSize result;
22473 PyObject * obj0 = 0 ;
22474 char *kwnames[] = {
22475 (char *) "self", NULL
22476 };
22477
22478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
22479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 result = ((wxWindow const *)arg1)->GetBestSize();
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 {
22489 wxSize * resultptr;
22490 resultptr = new wxSize((wxSize &) result);
22491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22492 }
22493 return resultobj;
22494 fail:
22495 return NULL;
22496 }
22497
22498
22499 static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
22500 PyObject *resultobj;
22501 wxWindow *arg1 = (wxWindow *) 0 ;
22502 int *arg2 = (int *) 0 ;
22503 int *arg3 = (int *) 0 ;
22504 int temp2 ;
22505 int temp3 ;
22506 PyObject * obj0 = 0 ;
22507 char *kwnames[] = {
22508 (char *) "self", NULL
22509 };
22510
22511 arg2 = &temp2;
22512 arg3 = &temp3;
22513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
22514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22516 {
22517 PyThreadState* __tstate = wxPyBeginAllowThreads();
22518 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22519
22520 wxPyEndAllowThreads(__tstate);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 Py_INCREF(Py_None); resultobj = Py_None;
22524 {
22525 PyObject *o = PyInt_FromLong((long) (*arg2));
22526 resultobj = t_output_helper(resultobj,o);
22527 }
22528 {
22529 PyObject *o = PyInt_FromLong((long) (*arg3));
22530 resultobj = t_output_helper(resultobj,o);
22531 }
22532 return resultobj;
22533 fail:
22534 return NULL;
22535 }
22536
22537
22538 static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
22539 PyObject *resultobj;
22540 wxWindow *arg1 = (wxWindow *) 0 ;
22541 wxSize result;
22542 PyObject * obj0 = 0 ;
22543 char *kwnames[] = {
22544 (char *) "self", NULL
22545 };
22546
22547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
22548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22550 {
22551 PyThreadState* __tstate = wxPyBeginAllowThreads();
22552 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22553
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 {
22558 wxSize * resultptr;
22559 resultptr = new wxSize((wxSize &) result);
22560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22561 }
22562 return resultobj;
22563 fail:
22564 return NULL;
22565 }
22566
22567
22568 static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj;
22570 wxWindow *arg1 = (wxWindow *) 0 ;
22571 int arg2 = (int) wxBOTH ;
22572 PyObject * obj0 = 0 ;
22573 PyObject * obj1 = 0 ;
22574 char *kwnames[] = {
22575 (char *) "self",(char *) "direction", NULL
22576 };
22577
22578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
22579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22581 if (obj1) {
22582 arg2 = (int) SWIG_AsInt(obj1);
22583 if (PyErr_Occurred()) SWIG_fail;
22584 }
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 (arg1)->Center(arg2);
22588
22589 wxPyEndAllowThreads(__tstate);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 Py_INCREF(Py_None); resultobj = Py_None;
22593 return resultobj;
22594 fail:
22595 return NULL;
22596 }
22597
22598
22599 static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj;
22601 wxWindow *arg1 = (wxWindow *) 0 ;
22602 int arg2 = (int) wxBOTH ;
22603 PyObject * obj0 = 0 ;
22604 PyObject * obj1 = 0 ;
22605 char *kwnames[] = {
22606 (char *) "self",(char *) "dir", NULL
22607 };
22608
22609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
22610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22612 if (obj1) {
22613 arg2 = (int) SWIG_AsInt(obj1);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
22616 {
22617 PyThreadState* __tstate = wxPyBeginAllowThreads();
22618 (arg1)->CenterOnScreen(arg2);
22619
22620 wxPyEndAllowThreads(__tstate);
22621 if (PyErr_Occurred()) SWIG_fail;
22622 }
22623 Py_INCREF(Py_None); resultobj = Py_None;
22624 return resultobj;
22625 fail:
22626 return NULL;
22627 }
22628
22629
22630 static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) {
22631 PyObject *resultobj;
22632 wxWindow *arg1 = (wxWindow *) 0 ;
22633 int arg2 = (int) wxBOTH ;
22634 PyObject * obj0 = 0 ;
22635 PyObject * obj1 = 0 ;
22636 char *kwnames[] = {
22637 (char *) "self",(char *) "dir", NULL
22638 };
22639
22640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
22641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22643 if (obj1) {
22644 arg2 = (int) SWIG_AsInt(obj1);
22645 if (PyErr_Occurred()) SWIG_fail;
22646 }
22647 {
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 (arg1)->CenterOnParent(arg2);
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 Py_INCREF(Py_None); resultobj = Py_None;
22655 return resultobj;
22656 fail:
22657 return NULL;
22658 }
22659
22660
22661 static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
22662 PyObject *resultobj;
22663 wxWindow *arg1 = (wxWindow *) 0 ;
22664 PyObject * obj0 = 0 ;
22665 char *kwnames[] = {
22666 (char *) "self", NULL
22667 };
22668
22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",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 (arg1)->Fit();
22675
22676 wxPyEndAllowThreads(__tstate);
22677 if (PyErr_Occurred()) SWIG_fail;
22678 }
22679 Py_INCREF(Py_None); resultobj = Py_None;
22680 return resultobj;
22681 fail:
22682 return NULL;
22683 }
22684
22685
22686 static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
22687 PyObject *resultobj;
22688 wxWindow *arg1 = (wxWindow *) 0 ;
22689 PyObject * obj0 = 0 ;
22690 char *kwnames[] = {
22691 (char *) "self", NULL
22692 };
22693
22694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
22695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22697 {
22698 PyThreadState* __tstate = wxPyBeginAllowThreads();
22699 (arg1)->FitInside();
22700
22701 wxPyEndAllowThreads(__tstate);
22702 if (PyErr_Occurred()) SWIG_fail;
22703 }
22704 Py_INCREF(Py_None); resultobj = Py_None;
22705 return resultobj;
22706 fail:
22707 return NULL;
22708 }
22709
22710
22711 static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
22712 PyObject *resultobj;
22713 wxWindow *arg1 = (wxWindow *) 0 ;
22714 int arg2 ;
22715 int arg3 ;
22716 int arg4 = (int) -1 ;
22717 int arg5 = (int) -1 ;
22718 int arg6 = (int) -1 ;
22719 int arg7 = (int) -1 ;
22720 PyObject * obj0 = 0 ;
22721 PyObject * obj1 = 0 ;
22722 PyObject * obj2 = 0 ;
22723 PyObject * obj3 = 0 ;
22724 PyObject * obj4 = 0 ;
22725 PyObject * obj5 = 0 ;
22726 PyObject * obj6 = 0 ;
22727 char *kwnames[] = {
22728 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22729 };
22730
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22734 arg2 = (int) SWIG_AsInt(obj1);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 arg3 = (int) SWIG_AsInt(obj2);
22737 if (PyErr_Occurred()) SWIG_fail;
22738 if (obj3) {
22739 arg4 = (int) SWIG_AsInt(obj3);
22740 if (PyErr_Occurred()) SWIG_fail;
22741 }
22742 if (obj4) {
22743 arg5 = (int) SWIG_AsInt(obj4);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
22746 if (obj5) {
22747 arg6 = (int) SWIG_AsInt(obj5);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 if (obj6) {
22751 arg7 = (int) SWIG_AsInt(obj6);
22752 if (PyErr_Occurred()) SWIG_fail;
22753 }
22754 {
22755 PyThreadState* __tstate = wxPyBeginAllowThreads();
22756 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
22757
22758 wxPyEndAllowThreads(__tstate);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 Py_INCREF(Py_None); resultobj = Py_None;
22762 return resultobj;
22763 fail:
22764 return NULL;
22765 }
22766
22767
22768 static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
22769 PyObject *resultobj;
22770 wxWindow *arg1 = (wxWindow *) 0 ;
22771 int arg2 ;
22772 int arg3 ;
22773 int arg4 = (int) -1 ;
22774 int arg5 = (int) -1 ;
22775 PyObject * obj0 = 0 ;
22776 PyObject * obj1 = 0 ;
22777 PyObject * obj2 = 0 ;
22778 PyObject * obj3 = 0 ;
22779 PyObject * obj4 = 0 ;
22780 char *kwnames[] = {
22781 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22782 };
22783
22784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22787 arg2 = (int) SWIG_AsInt(obj1);
22788 if (PyErr_Occurred()) SWIG_fail;
22789 arg3 = (int) SWIG_AsInt(obj2);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 if (obj3) {
22792 arg4 = (int) SWIG_AsInt(obj3);
22793 if (PyErr_Occurred()) SWIG_fail;
22794 }
22795 if (obj4) {
22796 arg5 = (int) SWIG_AsInt(obj4);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
22802
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 Py_INCREF(Py_None); resultobj = Py_None;
22807 return resultobj;
22808 fail:
22809 return NULL;
22810 }
22811
22812
22813 static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22814 PyObject *resultobj;
22815 wxWindow *arg1 = (wxWindow *) 0 ;
22816 int result;
22817 PyObject * obj0 = 0 ;
22818 char *kwnames[] = {
22819 (char *) "self", NULL
22820 };
22821
22822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
22823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22825 {
22826 PyThreadState* __tstate = wxPyBeginAllowThreads();
22827 result = (int)((wxWindow const *)arg1)->GetMinWidth();
22828
22829 wxPyEndAllowThreads(__tstate);
22830 if (PyErr_Occurred()) SWIG_fail;
22831 }
22832 resultobj = SWIG_FromInt((int)result);
22833 return resultobj;
22834 fail:
22835 return NULL;
22836 }
22837
22838
22839 static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
22840 PyObject *resultobj;
22841 wxWindow *arg1 = (wxWindow *) 0 ;
22842 int result;
22843 PyObject * obj0 = 0 ;
22844 char *kwnames[] = {
22845 (char *) "self", NULL
22846 };
22847
22848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
22849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 result = (int)((wxWindow const *)arg1)->GetMinHeight();
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 resultobj = SWIG_FromInt((int)result);
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj;
22867 wxWindow *arg1 = (wxWindow *) 0 ;
22868 int result;
22869 PyObject * obj0 = 0 ;
22870 char *kwnames[] = {
22871 (char *) "self", NULL
22872 };
22873
22874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
22875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22877 {
22878 PyThreadState* __tstate = wxPyBeginAllowThreads();
22879 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
22880
22881 wxPyEndAllowThreads(__tstate);
22882 if (PyErr_Occurred()) SWIG_fail;
22883 }
22884 resultobj = SWIG_FromInt((int)result);
22885 return resultobj;
22886 fail:
22887 return NULL;
22888 }
22889
22890
22891 static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) {
22892 PyObject *resultobj;
22893 wxWindow *arg1 = (wxWindow *) 0 ;
22894 int result;
22895 PyObject * obj0 = 0 ;
22896 char *kwnames[] = {
22897 (char *) "self", NULL
22898 };
22899
22900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
22901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22903 {
22904 PyThreadState* __tstate = wxPyBeginAllowThreads();
22905 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
22906
22907 wxPyEndAllowThreads(__tstate);
22908 if (PyErr_Occurred()) SWIG_fail;
22909 }
22910 resultobj = SWIG_FromInt((int)result);
22911 return resultobj;
22912 fail:
22913 return NULL;
22914 }
22915
22916
22917 static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
22918 PyObject *resultobj;
22919 wxWindow *arg1 = (wxWindow *) 0 ;
22920 wxSize result;
22921 PyObject * obj0 = 0 ;
22922 char *kwnames[] = {
22923 (char *) "self", NULL
22924 };
22925
22926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
22927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22929 {
22930 PyThreadState* __tstate = wxPyBeginAllowThreads();
22931 result = ((wxWindow const *)arg1)->GetMaxSize();
22932
22933 wxPyEndAllowThreads(__tstate);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 }
22936 {
22937 wxSize * resultptr;
22938 resultptr = new wxSize((wxSize &) result);
22939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22940 }
22941 return resultobj;
22942 fail:
22943 return NULL;
22944 }
22945
22946
22947 static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj;
22949 wxWindow *arg1 = (wxWindow *) 0 ;
22950 wxSize *arg2 = 0 ;
22951 wxSize temp2 ;
22952 PyObject * obj0 = 0 ;
22953 PyObject * obj1 = 0 ;
22954 char *kwnames[] = {
22955 (char *) "self",(char *) "size", NULL
22956 };
22957
22958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
22959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22961 {
22962 arg2 = &temp2;
22963 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22964 }
22965 {
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 (arg1)->SetVirtualSize((wxSize const &)*arg2);
22968
22969 wxPyEndAllowThreads(__tstate);
22970 if (PyErr_Occurred()) SWIG_fail;
22971 }
22972 Py_INCREF(Py_None); resultobj = Py_None;
22973 return resultobj;
22974 fail:
22975 return NULL;
22976 }
22977
22978
22979 static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
22980 PyObject *resultobj;
22981 wxWindow *arg1 = (wxWindow *) 0 ;
22982 int arg2 ;
22983 int arg3 ;
22984 PyObject * obj0 = 0 ;
22985 PyObject * obj1 = 0 ;
22986 PyObject * obj2 = 0 ;
22987 char *kwnames[] = {
22988 (char *) "self",(char *) "w",(char *) "h", NULL
22989 };
22990
22991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
22992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22994 arg2 = (int) SWIG_AsInt(obj1);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 arg3 = (int) SWIG_AsInt(obj2);
22997 if (PyErr_Occurred()) SWIG_fail;
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 (arg1)->SetVirtualSize(arg2,arg3);
23001
23002 wxPyEndAllowThreads(__tstate);
23003 if (PyErr_Occurred()) SWIG_fail;
23004 }
23005 Py_INCREF(Py_None); resultobj = Py_None;
23006 return resultobj;
23007 fail:
23008 return NULL;
23009 }
23010
23011
23012 static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
23013 PyObject *resultobj;
23014 wxWindow *arg1 = (wxWindow *) 0 ;
23015 wxSize result;
23016 PyObject * obj0 = 0 ;
23017 char *kwnames[] = {
23018 (char *) "self", NULL
23019 };
23020
23021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
23022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23024 {
23025 PyThreadState* __tstate = wxPyBeginAllowThreads();
23026 result = ((wxWindow const *)arg1)->GetVirtualSize();
23027
23028 wxPyEndAllowThreads(__tstate);
23029 if (PyErr_Occurred()) SWIG_fail;
23030 }
23031 {
23032 wxSize * resultptr;
23033 resultptr = new wxSize((wxSize &) result);
23034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23035 }
23036 return resultobj;
23037 fail:
23038 return NULL;
23039 }
23040
23041
23042 static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
23043 PyObject *resultobj;
23044 wxWindow *arg1 = (wxWindow *) 0 ;
23045 int *arg2 = (int *) 0 ;
23046 int *arg3 = (int *) 0 ;
23047 int temp2 ;
23048 int temp3 ;
23049 PyObject * obj0 = 0 ;
23050 char *kwnames[] = {
23051 (char *) "self", NULL
23052 };
23053
23054 arg2 = &temp2;
23055 arg3 = &temp3;
23056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
23057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23059 {
23060 PyThreadState* __tstate = wxPyBeginAllowThreads();
23061 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23062
23063 wxPyEndAllowThreads(__tstate);
23064 if (PyErr_Occurred()) SWIG_fail;
23065 }
23066 Py_INCREF(Py_None); resultobj = Py_None;
23067 {
23068 PyObject *o = PyInt_FromLong((long) (*arg2));
23069 resultobj = t_output_helper(resultobj,o);
23070 }
23071 {
23072 PyObject *o = PyInt_FromLong((long) (*arg3));
23073 resultobj = t_output_helper(resultobj,o);
23074 }
23075 return resultobj;
23076 fail:
23077 return NULL;
23078 }
23079
23080
23081 static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
23082 PyObject *resultobj;
23083 wxWindow *arg1 = (wxWindow *) 0 ;
23084 wxSize result;
23085 PyObject * obj0 = 0 ;
23086 char *kwnames[] = {
23087 (char *) "self", NULL
23088 };
23089
23090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
23091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23093 {
23094 PyThreadState* __tstate = wxPyBeginAllowThreads();
23095 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23096
23097 wxPyEndAllowThreads(__tstate);
23098 if (PyErr_Occurred()) SWIG_fail;
23099 }
23100 {
23101 wxSize * resultptr;
23102 resultptr = new wxSize((wxSize &) result);
23103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23104 }
23105 return resultobj;
23106 fail:
23107 return NULL;
23108 }
23109
23110
23111 static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
23112 PyObject *resultobj;
23113 wxWindow *arg1 = (wxWindow *) 0 ;
23114 bool arg2 = (bool) True ;
23115 bool result;
23116 PyObject * obj0 = 0 ;
23117 PyObject * obj1 = 0 ;
23118 char *kwnames[] = {
23119 (char *) "self",(char *) "show", NULL
23120 };
23121
23122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
23123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23125 if (obj1) {
23126 arg2 = (bool) SWIG_AsBool(obj1);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
23129 {
23130 PyThreadState* __tstate = wxPyBeginAllowThreads();
23131 result = (bool)(arg1)->Show(arg2);
23132
23133 wxPyEndAllowThreads(__tstate);
23134 if (PyErr_Occurred()) SWIG_fail;
23135 }
23136 {
23137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23138 }
23139 return resultobj;
23140 fail:
23141 return NULL;
23142 }
23143
23144
23145 static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
23146 PyObject *resultobj;
23147 wxWindow *arg1 = (wxWindow *) 0 ;
23148 bool result;
23149 PyObject * obj0 = 0 ;
23150 char *kwnames[] = {
23151 (char *) "self", NULL
23152 };
23153
23154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
23155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23157 {
23158 PyThreadState* __tstate = wxPyBeginAllowThreads();
23159 result = (bool)(arg1)->Hide();
23160
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 {
23165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23166 }
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
23174 PyObject *resultobj;
23175 wxWindow *arg1 = (wxWindow *) 0 ;
23176 bool arg2 = (bool) True ;
23177 bool result;
23178 PyObject * obj0 = 0 ;
23179 PyObject * obj1 = 0 ;
23180 char *kwnames[] = {
23181 (char *) "self",(char *) "enable", NULL
23182 };
23183
23184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
23185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23187 if (obj1) {
23188 arg2 = (bool) SWIG_AsBool(obj1);
23189 if (PyErr_Occurred()) SWIG_fail;
23190 }
23191 {
23192 PyThreadState* __tstate = wxPyBeginAllowThreads();
23193 result = (bool)(arg1)->Enable(arg2);
23194
23195 wxPyEndAllowThreads(__tstate);
23196 if (PyErr_Occurred()) SWIG_fail;
23197 }
23198 {
23199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23200 }
23201 return resultobj;
23202 fail:
23203 return NULL;
23204 }
23205
23206
23207 static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) {
23208 PyObject *resultobj;
23209 wxWindow *arg1 = (wxWindow *) 0 ;
23210 bool result;
23211 PyObject * obj0 = 0 ;
23212 char *kwnames[] = {
23213 (char *) "self", NULL
23214 };
23215
23216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
23217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23219 {
23220 PyThreadState* __tstate = wxPyBeginAllowThreads();
23221 result = (bool)(arg1)->Disable();
23222
23223 wxPyEndAllowThreads(__tstate);
23224 if (PyErr_Occurred()) SWIG_fail;
23225 }
23226 {
23227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23228 }
23229 return resultobj;
23230 fail:
23231 return NULL;
23232 }
23233
23234
23235 static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
23236 PyObject *resultobj;
23237 wxWindow *arg1 = (wxWindow *) 0 ;
23238 bool result;
23239 PyObject * obj0 = 0 ;
23240 char *kwnames[] = {
23241 (char *) "self", NULL
23242 };
23243
23244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
23245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23247 {
23248 PyThreadState* __tstate = wxPyBeginAllowThreads();
23249 result = (bool)((wxWindow const *)arg1)->IsShown();
23250
23251 wxPyEndAllowThreads(__tstate);
23252 if (PyErr_Occurred()) SWIG_fail;
23253 }
23254 {
23255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23256 }
23257 return resultobj;
23258 fail:
23259 return NULL;
23260 }
23261
23262
23263 static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
23264 PyObject *resultobj;
23265 wxWindow *arg1 = (wxWindow *) 0 ;
23266 bool result;
23267 PyObject * obj0 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "self", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
23273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23275 {
23276 PyThreadState* __tstate = wxPyBeginAllowThreads();
23277 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23278
23279 wxPyEndAllowThreads(__tstate);
23280 if (PyErr_Occurred()) SWIG_fail;
23281 }
23282 {
23283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23284 }
23285 return resultobj;
23286 fail:
23287 return NULL;
23288 }
23289
23290
23291 static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
23292 PyObject *resultobj;
23293 wxWindow *arg1 = (wxWindow *) 0 ;
23294 long arg2 ;
23295 PyObject * obj0 = 0 ;
23296 PyObject * obj1 = 0 ;
23297 char *kwnames[] = {
23298 (char *) "self",(char *) "style", NULL
23299 };
23300
23301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
23302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23304 arg2 = (long) SWIG_AsLong(obj1);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 (arg1)->SetWindowStyleFlag(arg2);
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 Py_INCREF(Py_None); resultobj = Py_None;
23314 return resultobj;
23315 fail:
23316 return NULL;
23317 }
23318
23319
23320 static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
23321 PyObject *resultobj;
23322 wxWindow *arg1 = (wxWindow *) 0 ;
23323 long result;
23324 PyObject * obj0 = 0 ;
23325 char *kwnames[] = {
23326 (char *) "self", NULL
23327 };
23328
23329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
23330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23332 {
23333 PyThreadState* __tstate = wxPyBeginAllowThreads();
23334 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23335
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 resultobj = SWIG_FromLong((long)result);
23340 return resultobj;
23341 fail:
23342 return NULL;
23343 }
23344
23345
23346 static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
23347 PyObject *resultobj;
23348 wxWindow *arg1 = (wxWindow *) 0 ;
23349 int arg2 ;
23350 bool result;
23351 PyObject * obj0 = 0 ;
23352 PyObject * obj1 = 0 ;
23353 char *kwnames[] = {
23354 (char *) "self",(char *) "flag", NULL
23355 };
23356
23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
23358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23360 arg2 = (int) SWIG_AsInt(obj1);
23361 if (PyErr_Occurred()) SWIG_fail;
23362 {
23363 PyThreadState* __tstate = wxPyBeginAllowThreads();
23364 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
23365
23366 wxPyEndAllowThreads(__tstate);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 {
23370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23371 }
23372 return resultobj;
23373 fail:
23374 return NULL;
23375 }
23376
23377
23378 static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) {
23379 PyObject *resultobj;
23380 wxWindow *arg1 = (wxWindow *) 0 ;
23381 bool result;
23382 PyObject * obj0 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
23388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 result = (bool)((wxWindow const *)arg1)->IsRetained();
23393
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 {
23398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23399 }
23400 return resultobj;
23401 fail:
23402 return NULL;
23403 }
23404
23405
23406 static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
23407 PyObject *resultobj;
23408 wxWindow *arg1 = (wxWindow *) 0 ;
23409 long arg2 ;
23410 PyObject * obj0 = 0 ;
23411 PyObject * obj1 = 0 ;
23412 char *kwnames[] = {
23413 (char *) "self",(char *) "exStyle", NULL
23414 };
23415
23416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
23417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23419 arg2 = (long) SWIG_AsLong(obj1);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 {
23422 PyThreadState* __tstate = wxPyBeginAllowThreads();
23423 (arg1)->SetExtraStyle(arg2);
23424
23425 wxPyEndAllowThreads(__tstate);
23426 if (PyErr_Occurred()) SWIG_fail;
23427 }
23428 Py_INCREF(Py_None); resultobj = Py_None;
23429 return resultobj;
23430 fail:
23431 return NULL;
23432 }
23433
23434
23435 static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
23436 PyObject *resultobj;
23437 wxWindow *arg1 = (wxWindow *) 0 ;
23438 long result;
23439 PyObject * obj0 = 0 ;
23440 char *kwnames[] = {
23441 (char *) "self", NULL
23442 };
23443
23444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
23445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 resultobj = SWIG_FromLong((long)result);
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj;
23463 wxWindow *arg1 = (wxWindow *) 0 ;
23464 bool arg2 = (bool) True ;
23465 PyObject * obj0 = 0 ;
23466 PyObject * obj1 = 0 ;
23467 char *kwnames[] = {
23468 (char *) "self",(char *) "modal", NULL
23469 };
23470
23471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
23472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23474 if (obj1) {
23475 arg2 = (bool) SWIG_AsBool(obj1);
23476 if (PyErr_Occurred()) SWIG_fail;
23477 }
23478 {
23479 PyThreadState* __tstate = wxPyBeginAllowThreads();
23480 (arg1)->MakeModal(arg2);
23481
23482 wxPyEndAllowThreads(__tstate);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
23485 Py_INCREF(Py_None); resultobj = Py_None;
23486 return resultobj;
23487 fail:
23488 return NULL;
23489 }
23490
23491
23492 static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
23493 PyObject *resultobj;
23494 wxWindow *arg1 = (wxWindow *) 0 ;
23495 bool arg2 ;
23496 PyObject * obj0 = 0 ;
23497 PyObject * obj1 = 0 ;
23498 char *kwnames[] = {
23499 (char *) "self",(char *) "enableTheme", NULL
23500 };
23501
23502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
23503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23505 arg2 = (bool) SWIG_AsBool(obj1);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 {
23508 PyThreadState* __tstate = wxPyBeginAllowThreads();
23509 (arg1)->SetThemeEnabled(arg2);
23510
23511 wxPyEndAllowThreads(__tstate);
23512 if (PyErr_Occurred()) SWIG_fail;
23513 }
23514 Py_INCREF(Py_None); resultobj = Py_None;
23515 return resultobj;
23516 fail:
23517 return NULL;
23518 }
23519
23520
23521 static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
23522 PyObject *resultobj;
23523 wxWindow *arg1 = (wxWindow *) 0 ;
23524 bool result;
23525 PyObject * obj0 = 0 ;
23526 char *kwnames[] = {
23527 (char *) "self", NULL
23528 };
23529
23530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
23531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23533 {
23534 PyThreadState* __tstate = wxPyBeginAllowThreads();
23535 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
23536
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 {
23541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23542 }
23543 return resultobj;
23544 fail:
23545 return NULL;
23546 }
23547
23548
23549 static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
23550 PyObject *resultobj;
23551 wxWindow *arg1 = (wxWindow *) 0 ;
23552 PyObject * obj0 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "self", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
23558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23560 {
23561 PyThreadState* __tstate = wxPyBeginAllowThreads();
23562 (arg1)->SetFocus();
23563
23564 wxPyEndAllowThreads(__tstate);
23565 if (PyErr_Occurred()) SWIG_fail;
23566 }
23567 Py_INCREF(Py_None); resultobj = Py_None;
23568 return resultobj;
23569 fail:
23570 return NULL;
23571 }
23572
23573
23574 static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) {
23575 PyObject *resultobj;
23576 wxWindow *arg1 = (wxWindow *) 0 ;
23577 PyObject * obj0 = 0 ;
23578 char *kwnames[] = {
23579 (char *) "self", NULL
23580 };
23581
23582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
23583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 (arg1)->SetFocusFromKbd();
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 Py_INCREF(Py_None); resultobj = Py_None;
23593 return resultobj;
23594 fail:
23595 return NULL;
23596 }
23597
23598
23599 static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) {
23600 PyObject *resultobj;
23601 wxWindow *result;
23602 char *kwnames[] = {
23603 NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
23607 {
23608 PyThreadState* __tstate = wxPyBeginAllowThreads();
23609 result = (wxWindow *)wxWindow::FindFocus();
23610
23611 wxPyEndAllowThreads(__tstate);
23612 if (PyErr_Occurred()) SWIG_fail;
23613 }
23614 {
23615 resultobj = wxPyMake_wxObject(result);
23616 }
23617 return resultobj;
23618 fail:
23619 return NULL;
23620 }
23621
23622
23623 static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
23624 PyObject *resultobj;
23625 wxWindow *arg1 = (wxWindow *) 0 ;
23626 bool result;
23627 PyObject * obj0 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
23633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23635 {
23636 PyThreadState* __tstate = wxPyBeginAllowThreads();
23637 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
23638
23639 wxPyEndAllowThreads(__tstate);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 {
23643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23644 }
23645 return resultobj;
23646 fail:
23647 return NULL;
23648 }
23649
23650
23651 static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj;
23653 wxWindow *arg1 = (wxWindow *) 0 ;
23654 bool result;
23655 PyObject * obj0 = 0 ;
23656 char *kwnames[] = {
23657 (char *) "self", NULL
23658 };
23659
23660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
23661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23663 {
23664 PyThreadState* __tstate = wxPyBeginAllowThreads();
23665 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
23666
23667 wxPyEndAllowThreads(__tstate);
23668 if (PyErr_Occurred()) SWIG_fail;
23669 }
23670 {
23671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23672 }
23673 return resultobj;
23674 fail:
23675 return NULL;
23676 }
23677
23678
23679 static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
23680 PyObject *resultobj;
23681 wxWindow *arg1 = (wxWindow *) 0 ;
23682 wxWindow *result;
23683 PyObject * obj0 = 0 ;
23684 char *kwnames[] = {
23685 (char *) "self", NULL
23686 };
23687
23688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
23689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23691 {
23692 PyThreadState* __tstate = wxPyBeginAllowThreads();
23693 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
23694
23695 wxPyEndAllowThreads(__tstate);
23696 if (PyErr_Occurred()) SWIG_fail;
23697 }
23698 {
23699 resultobj = wxPyMake_wxObject(result);
23700 }
23701 return resultobj;
23702 fail:
23703 return NULL;
23704 }
23705
23706
23707 static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
23708 PyObject *resultobj;
23709 wxWindow *arg1 = (wxWindow *) 0 ;
23710 wxWindow *arg2 = (wxWindow *) 0 ;
23711 wxWindow *result;
23712 PyObject * obj0 = 0 ;
23713 PyObject * obj1 = 0 ;
23714 char *kwnames[] = {
23715 (char *) "self",(char *) "child", NULL
23716 };
23717
23718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
23719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 {
23731 resultobj = wxPyMake_wxObject(result);
23732 }
23733 return resultobj;
23734 fail:
23735 return NULL;
23736 }
23737
23738
23739 static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
23740 PyObject *resultobj;
23741 wxWindow *arg1 = (wxWindow *) 0 ;
23742 wxWindow *arg2 = (wxWindow *) 0 ;
23743 PyObject * obj0 = 0 ;
23744 PyObject * obj1 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self",(char *) "win", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
23750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23754 {
23755 PyThreadState* __tstate = wxPyBeginAllowThreads();
23756 (arg1)->SetTmpDefaultItem(arg2);
23757
23758 wxPyEndAllowThreads(__tstate);
23759 if (PyErr_Occurred()) SWIG_fail;
23760 }
23761 Py_INCREF(Py_None); resultobj = Py_None;
23762 return resultobj;
23763 fail:
23764 return NULL;
23765 }
23766
23767
23768 static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
23769 PyObject *resultobj;
23770 wxWindow *arg1 = (wxWindow *) 0 ;
23771 PyObject *result;
23772 PyObject * obj0 = 0 ;
23773 char *kwnames[] = {
23774 (char *) "self", NULL
23775 };
23776
23777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
23778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23780 {
23781 PyThreadState* __tstate = wxPyBeginAllowThreads();
23782 result = (PyObject *)wxWindow_GetChildren(arg1);
23783
23784 wxPyEndAllowThreads(__tstate);
23785 if (PyErr_Occurred()) SWIG_fail;
23786 }
23787 resultobj = result;
23788 return resultobj;
23789 fail:
23790 return NULL;
23791 }
23792
23793
23794 static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
23795 PyObject *resultobj;
23796 wxWindow *arg1 = (wxWindow *) 0 ;
23797 wxWindow *result;
23798 PyObject * obj0 = 0 ;
23799 char *kwnames[] = {
23800 (char *) "self", NULL
23801 };
23802
23803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
23804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23806 {
23807 PyThreadState* __tstate = wxPyBeginAllowThreads();
23808 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
23809
23810 wxPyEndAllowThreads(__tstate);
23811 if (PyErr_Occurred()) SWIG_fail;
23812 }
23813 {
23814 resultobj = wxPyMake_wxObject(result);
23815 }
23816 return resultobj;
23817 fail:
23818 return NULL;
23819 }
23820
23821
23822 static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) {
23823 PyObject *resultobj;
23824 wxWindow *arg1 = (wxWindow *) 0 ;
23825 wxWindow *result;
23826 PyObject * obj0 = 0 ;
23827 char *kwnames[] = {
23828 (char *) "self", NULL
23829 };
23830
23831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
23832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
23837
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 {
23842 resultobj = wxPyMake_wxObject(result);
23843 }
23844 return resultobj;
23845 fail:
23846 return NULL;
23847 }
23848
23849
23850 static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) {
23851 PyObject *resultobj;
23852 wxWindow *arg1 = (wxWindow *) 0 ;
23853 bool result;
23854 PyObject * obj0 = 0 ;
23855 char *kwnames[] = {
23856 (char *) "self", NULL
23857 };
23858
23859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
23860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23862 {
23863 PyThreadState* __tstate = wxPyBeginAllowThreads();
23864 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
23865
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 {
23870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23871 }
23872 return resultobj;
23873 fail:
23874 return NULL;
23875 }
23876
23877
23878 static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) {
23879 PyObject *resultobj;
23880 wxWindow *arg1 = (wxWindow *) 0 ;
23881 wxWindow *arg2 = (wxWindow *) 0 ;
23882 bool result;
23883 PyObject * obj0 = 0 ;
23884 PyObject * obj1 = 0 ;
23885 char *kwnames[] = {
23886 (char *) "self",(char *) "newParent", NULL
23887 };
23888
23889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
23890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23894 {
23895 PyThreadState* __tstate = wxPyBeginAllowThreads();
23896 result = (bool)(arg1)->Reparent(arg2);
23897
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 {
23902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23903 }
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
23911 PyObject *resultobj;
23912 wxWindow *arg1 = (wxWindow *) 0 ;
23913 wxWindow *arg2 = (wxWindow *) 0 ;
23914 PyObject * obj0 = 0 ;
23915 PyObject * obj1 = 0 ;
23916 char *kwnames[] = {
23917 (char *) "self",(char *) "child", NULL
23918 };
23919
23920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
23921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 (arg1)->AddChild(arg2);
23928
23929 wxPyEndAllowThreads(__tstate);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 }
23932 Py_INCREF(Py_None); resultobj = Py_None;
23933 return resultobj;
23934 fail:
23935 return NULL;
23936 }
23937
23938
23939 static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
23940 PyObject *resultobj;
23941 wxWindow *arg1 = (wxWindow *) 0 ;
23942 wxWindow *arg2 = (wxWindow *) 0 ;
23943 PyObject * obj0 = 0 ;
23944 PyObject * obj1 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "self",(char *) "child", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
23950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 (arg1)->RemoveChild(arg2);
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 Py_INCREF(Py_None); resultobj = Py_None;
23962 return resultobj;
23963 fail:
23964 return NULL;
23965 }
23966
23967
23968 static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
23969 PyObject *resultobj;
23970 wxWindow *arg1 = (wxWindow *) 0 ;
23971 long arg2 ;
23972 wxWindow *result;
23973 PyObject * obj0 = 0 ;
23974 PyObject * obj1 = 0 ;
23975 char *kwnames[] = {
23976 (char *) "self",(char *) "winid", NULL
23977 };
23978
23979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
23980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23982 arg2 = (long) SWIG_AsLong(obj1);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 result = (wxWindow *)(arg1)->FindWindow(arg2);
23987
23988 wxPyEndAllowThreads(__tstate);
23989 if (PyErr_Occurred()) SWIG_fail;
23990 }
23991 {
23992 resultobj = wxPyMake_wxObject(result);
23993 }
23994 return resultobj;
23995 fail:
23996 return NULL;
23997 }
23998
23999
24000 static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
24001 PyObject *resultobj;
24002 wxWindow *arg1 = (wxWindow *) 0 ;
24003 wxString *arg2 = 0 ;
24004 wxWindow *result;
24005 bool temp2 = False ;
24006 PyObject * obj0 = 0 ;
24007 PyObject * obj1 = 0 ;
24008 char *kwnames[] = {
24009 (char *) "self",(char *) "name", NULL
24010 };
24011
24012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24015 {
24016 arg2 = wxString_in_helper(obj1);
24017 if (arg2 == NULL) SWIG_fail;
24018 temp2 = True;
24019 }
24020 {
24021 PyThreadState* __tstate = wxPyBeginAllowThreads();
24022 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24023
24024 wxPyEndAllowThreads(__tstate);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 {
24028 resultobj = wxPyMake_wxObject(result);
24029 }
24030 {
24031 if (temp2)
24032 delete arg2;
24033 }
24034 return resultobj;
24035 fail:
24036 {
24037 if (temp2)
24038 delete arg2;
24039 }
24040 return NULL;
24041 }
24042
24043
24044 static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
24045 PyObject *resultobj;
24046 wxWindow *arg1 = (wxWindow *) 0 ;
24047 wxEvtHandler *result;
24048 PyObject * obj0 = 0 ;
24049 char *kwnames[] = {
24050 (char *) "self", NULL
24051 };
24052
24053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
24054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24056 {
24057 PyThreadState* __tstate = wxPyBeginAllowThreads();
24058 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24059
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
24063 {
24064 resultobj = wxPyMake_wxObject(result);
24065 }
24066 return resultobj;
24067 fail:
24068 return NULL;
24069 }
24070
24071
24072 static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
24073 PyObject *resultobj;
24074 wxWindow *arg1 = (wxWindow *) 0 ;
24075 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24076 PyObject * obj0 = 0 ;
24077 PyObject * obj1 = 0 ;
24078 char *kwnames[] = {
24079 (char *) "self",(char *) "handler", NULL
24080 };
24081
24082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
24083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24087 {
24088 PyThreadState* __tstate = wxPyBeginAllowThreads();
24089 (arg1)->SetEventHandler(arg2);
24090
24091 wxPyEndAllowThreads(__tstate);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 }
24094 Py_INCREF(Py_None); resultobj = Py_None;
24095 return resultobj;
24096 fail:
24097 return NULL;
24098 }
24099
24100
24101 static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
24102 PyObject *resultobj;
24103 wxWindow *arg1 = (wxWindow *) 0 ;
24104 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24105 PyObject * obj0 = 0 ;
24106 PyObject * obj1 = 0 ;
24107 char *kwnames[] = {
24108 (char *) "self",(char *) "handler", NULL
24109 };
24110
24111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
24112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 (arg1)->PushEventHandler(arg2);
24119
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 Py_INCREF(Py_None); resultobj = Py_None;
24124 return resultobj;
24125 fail:
24126 return NULL;
24127 }
24128
24129
24130 static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj;
24132 wxWindow *arg1 = (wxWindow *) 0 ;
24133 bool arg2 = (bool) False ;
24134 wxEvtHandler *result;
24135 PyObject * obj0 = 0 ;
24136 PyObject * obj1 = 0 ;
24137 char *kwnames[] = {
24138 (char *) "self",(char *) "deleteHandler", NULL
24139 };
24140
24141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
24142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24144 if (obj1) {
24145 arg2 = (bool) SWIG_AsBool(obj1);
24146 if (PyErr_Occurred()) SWIG_fail;
24147 }
24148 {
24149 PyThreadState* __tstate = wxPyBeginAllowThreads();
24150 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24151
24152 wxPyEndAllowThreads(__tstate);
24153 if (PyErr_Occurred()) SWIG_fail;
24154 }
24155 {
24156 resultobj = wxPyMake_wxObject(result);
24157 }
24158 return resultobj;
24159 fail:
24160 return NULL;
24161 }
24162
24163
24164 static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
24165 PyObject *resultobj;
24166 wxWindow *arg1 = (wxWindow *) 0 ;
24167 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24168 bool result;
24169 PyObject * obj0 = 0 ;
24170 PyObject * obj1 = 0 ;
24171 char *kwnames[] = {
24172 (char *) "self",(char *) "handler", NULL
24173 };
24174
24175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
24176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24180 {
24181 PyThreadState* __tstate = wxPyBeginAllowThreads();
24182 result = (bool)(arg1)->RemoveEventHandler(arg2);
24183
24184 wxPyEndAllowThreads(__tstate);
24185 if (PyErr_Occurred()) SWIG_fail;
24186 }
24187 {
24188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24189 }
24190 return resultobj;
24191 fail:
24192 return NULL;
24193 }
24194
24195
24196 static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
24197 PyObject *resultobj;
24198 wxWindow *arg1 = (wxWindow *) 0 ;
24199 wxValidator *arg2 = 0 ;
24200 PyObject * obj0 = 0 ;
24201 PyObject * obj1 = 0 ;
24202 char *kwnames[] = {
24203 (char *) "self",(char *) "validator", NULL
24204 };
24205
24206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
24207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
24210 SWIG_POINTER_EXCEPTION | 0)) == -1)
24211 SWIG_fail;
24212 if (arg2 == NULL) {
24213 PyErr_SetString(PyExc_TypeError,"null reference");
24214 SWIG_fail;
24215 }
24216 {
24217 PyThreadState* __tstate = wxPyBeginAllowThreads();
24218 (arg1)->SetValidator((wxValidator const &)*arg2);
24219
24220 wxPyEndAllowThreads(__tstate);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 }
24223 Py_INCREF(Py_None); resultobj = Py_None;
24224 return resultobj;
24225 fail:
24226 return NULL;
24227 }
24228
24229
24230 static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
24231 PyObject *resultobj;
24232 wxWindow *arg1 = (wxWindow *) 0 ;
24233 wxValidator *result;
24234 PyObject * obj0 = 0 ;
24235 char *kwnames[] = {
24236 (char *) "self", NULL
24237 };
24238
24239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
24240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24242 {
24243 PyThreadState* __tstate = wxPyBeginAllowThreads();
24244 result = (wxValidator *)(arg1)->GetValidator();
24245
24246 wxPyEndAllowThreads(__tstate);
24247 if (PyErr_Occurred()) SWIG_fail;
24248 }
24249 {
24250 resultobj = wxPyMake_wxObject(result);
24251 }
24252 return resultobj;
24253 fail:
24254 return NULL;
24255 }
24256
24257
24258 static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
24259 PyObject *resultobj;
24260 wxWindow *arg1 = (wxWindow *) 0 ;
24261 wxAcceleratorTable *arg2 = 0 ;
24262 PyObject * obj0 = 0 ;
24263 PyObject * obj1 = 0 ;
24264 char *kwnames[] = {
24265 (char *) "self",(char *) "accel", NULL
24266 };
24267
24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
24269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
24272 SWIG_POINTER_EXCEPTION | 0)) == -1)
24273 SWIG_fail;
24274 if (arg2 == NULL) {
24275 PyErr_SetString(PyExc_TypeError,"null reference");
24276 SWIG_fail;
24277 }
24278 {
24279 PyThreadState* __tstate = wxPyBeginAllowThreads();
24280 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
24281
24282 wxPyEndAllowThreads(__tstate);
24283 if (PyErr_Occurred()) SWIG_fail;
24284 }
24285 Py_INCREF(Py_None); resultobj = Py_None;
24286 return resultobj;
24287 fail:
24288 return NULL;
24289 }
24290
24291
24292 static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
24293 PyObject *resultobj;
24294 wxWindow *arg1 = (wxWindow *) 0 ;
24295 wxAcceleratorTable *result;
24296 PyObject * obj0 = 0 ;
24297 char *kwnames[] = {
24298 (char *) "self", NULL
24299 };
24300
24301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
24302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
24312 return resultobj;
24313 fail:
24314 return NULL;
24315 }
24316
24317
24318 static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
24319 PyObject *resultobj;
24320 wxWindow *arg1 = (wxWindow *) 0 ;
24321 int arg2 ;
24322 int arg3 ;
24323 int arg4 ;
24324 bool result;
24325 PyObject * obj0 = 0 ;
24326 PyObject * obj1 = 0 ;
24327 PyObject * obj2 = 0 ;
24328 PyObject * obj3 = 0 ;
24329 char *kwnames[] = {
24330 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24331 };
24332
24333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24336 arg2 = (int) SWIG_AsInt(obj1);
24337 if (PyErr_Occurred()) SWIG_fail;
24338 arg3 = (int) SWIG_AsInt(obj2);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 arg4 = (int) SWIG_AsInt(obj3);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
24344 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
24345
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
24349 {
24350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24351 }
24352 return resultobj;
24353 fail:
24354 return NULL;
24355 }
24356
24357
24358 static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
24359 PyObject *resultobj;
24360 wxWindow *arg1 = (wxWindow *) 0 ;
24361 int arg2 ;
24362 bool result;
24363 PyObject * obj0 = 0 ;
24364 PyObject * obj1 = 0 ;
24365 char *kwnames[] = {
24366 (char *) "self",(char *) "hotkeyId", NULL
24367 };
24368
24369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
24370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24372 arg2 = (int) SWIG_AsInt(obj1);
24373 if (PyErr_Occurred()) SWIG_fail;
24374 {
24375 PyThreadState* __tstate = wxPyBeginAllowThreads();
24376 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
24377
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 {
24382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24383 }
24384 return resultobj;
24385 fail:
24386 return NULL;
24387 }
24388
24389
24390 static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
24391 PyObject *resultobj;
24392 wxWindow *arg1 = (wxWindow *) 0 ;
24393 wxPoint *arg2 = 0 ;
24394 wxPoint result;
24395 wxPoint temp2 ;
24396 PyObject * obj0 = 0 ;
24397 PyObject * obj1 = 0 ;
24398 char *kwnames[] = {
24399 (char *) "self",(char *) "pt", NULL
24400 };
24401
24402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
24403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24405 {
24406 arg2 = &temp2;
24407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24408 }
24409 {
24410 PyThreadState* __tstate = wxPyBeginAllowThreads();
24411 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
24412
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 {
24417 wxPoint * resultptr;
24418 resultptr = new wxPoint((wxPoint &) result);
24419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24420 }
24421 return resultobj;
24422 fail:
24423 return NULL;
24424 }
24425
24426
24427 static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
24428 PyObject *resultobj;
24429 wxWindow *arg1 = (wxWindow *) 0 ;
24430 wxSize *arg2 = 0 ;
24431 wxSize result;
24432 wxSize temp2 ;
24433 PyObject * obj0 = 0 ;
24434 PyObject * obj1 = 0 ;
24435 char *kwnames[] = {
24436 (char *) "self",(char *) "sz", NULL
24437 };
24438
24439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
24440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24442 {
24443 arg2 = &temp2;
24444 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24445 }
24446 {
24447 PyThreadState* __tstate = wxPyBeginAllowThreads();
24448 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
24449
24450 wxPyEndAllowThreads(__tstate);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 }
24453 {
24454 wxSize * resultptr;
24455 resultptr = new wxSize((wxSize &) result);
24456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24457 }
24458 return resultobj;
24459 fail:
24460 return NULL;
24461 }
24462
24463
24464 static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) {
24465 PyObject *resultobj;
24466 wxWindow *arg1 = (wxWindow *) 0 ;
24467 wxPoint *arg2 = 0 ;
24468 wxPoint result;
24469 wxPoint temp2 ;
24470 PyObject * obj0 = 0 ;
24471 PyObject * obj1 = 0 ;
24472 char *kwnames[] = {
24473 (char *) "self",(char *) "pt", NULL
24474 };
24475
24476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
24477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24479 {
24480 arg2 = &temp2;
24481 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24482 }
24483 {
24484 PyThreadState* __tstate = wxPyBeginAllowThreads();
24485 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
24486
24487 wxPyEndAllowThreads(__tstate);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
24490 {
24491 wxPoint * resultptr;
24492 resultptr = new wxPoint((wxPoint &) result);
24493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24494 }
24495 return resultobj;
24496 fail:
24497 return NULL;
24498 }
24499
24500
24501 static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) {
24502 PyObject *resultobj;
24503 wxWindow *arg1 = (wxWindow *) 0 ;
24504 wxSize *arg2 = 0 ;
24505 wxSize result;
24506 wxSize temp2 ;
24507 PyObject * obj0 = 0 ;
24508 PyObject * obj1 = 0 ;
24509 char *kwnames[] = {
24510 (char *) "self",(char *) "sz", NULL
24511 };
24512
24513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
24514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24516 {
24517 arg2 = &temp2;
24518 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24519 }
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
24522 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
24523
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
24527 {
24528 wxSize * resultptr;
24529 resultptr = new wxSize((wxSize &) result);
24530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24531 }
24532 return resultobj;
24533 fail:
24534 return NULL;
24535 }
24536
24537
24538 static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24539 PyObject *resultobj;
24540 wxWindow *arg1 = (wxWindow *) 0 ;
24541 wxPoint *arg2 = 0 ;
24542 wxPoint result;
24543 wxPoint temp2 ;
24544 PyObject * obj0 = 0 ;
24545 PyObject * obj1 = 0 ;
24546 char *kwnames[] = {
24547 (char *) "self",(char *) "pt", NULL
24548 };
24549
24550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
24551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24553 {
24554 arg2 = &temp2;
24555 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24556 }
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
24560
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
24564 {
24565 wxPoint * resultptr;
24566 resultptr = new wxPoint((wxPoint &) result);
24567 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24568 }
24569 return resultobj;
24570 fail:
24571 return NULL;
24572 }
24573
24574
24575 static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24576 PyObject *resultobj;
24577 wxWindow *arg1 = (wxWindow *) 0 ;
24578 wxSize *arg2 = 0 ;
24579 wxSize result;
24580 wxSize temp2 ;
24581 PyObject * obj0 = 0 ;
24582 PyObject * obj1 = 0 ;
24583 char *kwnames[] = {
24584 (char *) "self",(char *) "sz", NULL
24585 };
24586
24587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
24588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24590 {
24591 arg2 = &temp2;
24592 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24593 }
24594 {
24595 PyThreadState* __tstate = wxPyBeginAllowThreads();
24596 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
24597
24598 wxPyEndAllowThreads(__tstate);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 }
24601 {
24602 wxSize * resultptr;
24603 resultptr = new wxSize((wxSize &) result);
24604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24605 }
24606 return resultobj;
24607 fail:
24608 return NULL;
24609 }
24610
24611
24612 static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) {
24613 PyObject *resultobj;
24614 wxWindow *arg1 = (wxWindow *) 0 ;
24615 int arg2 ;
24616 int arg3 ;
24617 PyObject * obj0 = 0 ;
24618 PyObject * obj1 = 0 ;
24619 PyObject * obj2 = 0 ;
24620 char *kwnames[] = {
24621 (char *) "self",(char *) "x",(char *) "y", NULL
24622 };
24623
24624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
24625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24627 arg2 = (int) SWIG_AsInt(obj1);
24628 if (PyErr_Occurred()) SWIG_fail;
24629 arg3 = (int) SWIG_AsInt(obj2);
24630 if (PyErr_Occurred()) SWIG_fail;
24631 {
24632 PyThreadState* __tstate = wxPyBeginAllowThreads();
24633 (arg1)->WarpPointer(arg2,arg3);
24634
24635 wxPyEndAllowThreads(__tstate);
24636 if (PyErr_Occurred()) SWIG_fail;
24637 }
24638 Py_INCREF(Py_None); resultobj = Py_None;
24639 return resultobj;
24640 fail:
24641 return NULL;
24642 }
24643
24644
24645 static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) {
24646 PyObject *resultobj;
24647 wxWindow *arg1 = (wxWindow *) 0 ;
24648 PyObject * obj0 = 0 ;
24649 char *kwnames[] = {
24650 (char *) "self", NULL
24651 };
24652
24653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
24654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 (arg1)->CaptureMouse();
24659
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 Py_INCREF(Py_None); resultobj = Py_None;
24664 return resultobj;
24665 fail:
24666 return NULL;
24667 }
24668
24669
24670 static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) {
24671 PyObject *resultobj;
24672 wxWindow *arg1 = (wxWindow *) 0 ;
24673 PyObject * obj0 = 0 ;
24674 char *kwnames[] = {
24675 (char *) "self", NULL
24676 };
24677
24678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
24679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24681 {
24682 PyThreadState* __tstate = wxPyBeginAllowThreads();
24683 (arg1)->ReleaseMouse();
24684
24685 wxPyEndAllowThreads(__tstate);
24686 if (PyErr_Occurred()) SWIG_fail;
24687 }
24688 Py_INCREF(Py_None); resultobj = Py_None;
24689 return resultobj;
24690 fail:
24691 return NULL;
24692 }
24693
24694
24695 static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
24696 PyObject *resultobj;
24697 wxWindow *result;
24698 char *kwnames[] = {
24699 NULL
24700 };
24701
24702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
24703 {
24704 PyThreadState* __tstate = wxPyBeginAllowThreads();
24705 result = (wxWindow *)wxWindow::GetCapture();
24706
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 {
24711 resultobj = wxPyMake_wxObject(result);
24712 }
24713 return resultobj;
24714 fail:
24715 return NULL;
24716 }
24717
24718
24719 static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) {
24720 PyObject *resultobj;
24721 wxWindow *arg1 = (wxWindow *) 0 ;
24722 bool result;
24723 PyObject * obj0 = 0 ;
24724 char *kwnames[] = {
24725 (char *) "self", NULL
24726 };
24727
24728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
24729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24731 {
24732 PyThreadState* __tstate = wxPyBeginAllowThreads();
24733 result = (bool)((wxWindow const *)arg1)->HasCapture();
24734
24735 wxPyEndAllowThreads(__tstate);
24736 if (PyErr_Occurred()) SWIG_fail;
24737 }
24738 {
24739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24740 }
24741 return resultobj;
24742 fail:
24743 return NULL;
24744 }
24745
24746
24747 static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
24748 PyObject *resultobj;
24749 wxWindow *arg1 = (wxWindow *) 0 ;
24750 bool arg2 = (bool) True ;
24751 wxRect *arg3 = (wxRect *) NULL ;
24752 PyObject * obj0 = 0 ;
24753 PyObject * obj1 = 0 ;
24754 PyObject * obj2 = 0 ;
24755 char *kwnames[] = {
24756 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24757 };
24758
24759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
24760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24762 if (obj1) {
24763 arg2 = (bool) SWIG_AsBool(obj1);
24764 if (PyErr_Occurred()) SWIG_fail;
24765 }
24766 if (obj2) {
24767 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
24768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24769 }
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 (arg1)->Refresh(arg2,(wxRect const *)arg3);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 Py_INCREF(Py_None); resultobj = Py_None;
24778 return resultobj;
24779 fail:
24780 return NULL;
24781 }
24782
24783
24784 static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) {
24785 PyObject *resultobj;
24786 wxWindow *arg1 = (wxWindow *) 0 ;
24787 wxRect *arg2 = 0 ;
24788 wxRect temp2 ;
24789 PyObject * obj0 = 0 ;
24790 PyObject * obj1 = 0 ;
24791 char *kwnames[] = {
24792 (char *) "self",(char *) "rect", NULL
24793 };
24794
24795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
24796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24798 {
24799 arg2 = &temp2;
24800 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
24801 }
24802 {
24803 PyThreadState* __tstate = wxPyBeginAllowThreads();
24804 (arg1)->RefreshRect((wxRect const &)*arg2);
24805
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 Py_INCREF(Py_None); resultobj = Py_None;
24810 return resultobj;
24811 fail:
24812 return NULL;
24813 }
24814
24815
24816 static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) {
24817 PyObject *resultobj;
24818 wxWindow *arg1 = (wxWindow *) 0 ;
24819 PyObject * obj0 = 0 ;
24820 char *kwnames[] = {
24821 (char *) "self", NULL
24822 };
24823
24824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
24825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
24829 (arg1)->Update();
24830
24831 wxPyEndAllowThreads(__tstate);
24832 if (PyErr_Occurred()) SWIG_fail;
24833 }
24834 Py_INCREF(Py_None); resultobj = Py_None;
24835 return resultobj;
24836 fail:
24837 return NULL;
24838 }
24839
24840
24841 static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) {
24842 PyObject *resultobj;
24843 wxWindow *arg1 = (wxWindow *) 0 ;
24844 PyObject * obj0 = 0 ;
24845 char *kwnames[] = {
24846 (char *) "self", NULL
24847 };
24848
24849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
24850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 (arg1)->ClearBackground();
24855
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 Py_INCREF(Py_None); resultobj = Py_None;
24860 return resultobj;
24861 fail:
24862 return NULL;
24863 }
24864
24865
24866 static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) {
24867 PyObject *resultobj;
24868 wxWindow *arg1 = (wxWindow *) 0 ;
24869 PyObject * obj0 = 0 ;
24870 char *kwnames[] = {
24871 (char *) "self", NULL
24872 };
24873
24874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
24875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 (arg1)->Freeze();
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 Py_INCREF(Py_None); resultobj = Py_None;
24885 return resultobj;
24886 fail:
24887 return NULL;
24888 }
24889
24890
24891 static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) {
24892 PyObject *resultobj;
24893 wxWindow *arg1 = (wxWindow *) 0 ;
24894 PyObject * obj0 = 0 ;
24895 char *kwnames[] = {
24896 (char *) "self", NULL
24897 };
24898
24899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
24900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24902 {
24903 PyThreadState* __tstate = wxPyBeginAllowThreads();
24904 (arg1)->Thaw();
24905
24906 wxPyEndAllowThreads(__tstate);
24907 if (PyErr_Occurred()) SWIG_fail;
24908 }
24909 Py_INCREF(Py_None); resultobj = Py_None;
24910 return resultobj;
24911 fail:
24912 return NULL;
24913 }
24914
24915
24916 static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
24917 PyObject *resultobj;
24918 wxWindow *arg1 = (wxWindow *) 0 ;
24919 wxDC *arg2 = 0 ;
24920 PyObject * obj0 = 0 ;
24921 PyObject * obj1 = 0 ;
24922 char *kwnames[] = {
24923 (char *) "self",(char *) "dc", NULL
24924 };
24925
24926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
24927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24930 SWIG_POINTER_EXCEPTION | 0)) == -1)
24931 SWIG_fail;
24932 if (arg2 == NULL) {
24933 PyErr_SetString(PyExc_TypeError,"null reference");
24934 SWIG_fail;
24935 }
24936 {
24937 PyThreadState* __tstate = wxPyBeginAllowThreads();
24938 (arg1)->PrepareDC(*arg2);
24939
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 Py_INCREF(Py_None); resultobj = Py_None;
24944 return resultobj;
24945 fail:
24946 return NULL;
24947 }
24948
24949
24950 static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj;
24952 wxWindow *arg1 = (wxWindow *) 0 ;
24953 wxRegion *result;
24954 PyObject * obj0 = 0 ;
24955 char *kwnames[] = {
24956 (char *) "self", NULL
24957 };
24958
24959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
24960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 {
24965 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
24966 result = (wxRegion *) &_result_ref;
24967 }
24968
24969 wxPyEndAllowThreads(__tstate);
24970 if (PyErr_Occurred()) SWIG_fail;
24971 }
24972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
24973 return resultobj;
24974 fail:
24975 return NULL;
24976 }
24977
24978
24979 static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
24980 PyObject *resultobj;
24981 wxWindow *arg1 = (wxWindow *) 0 ;
24982 wxRect result;
24983 PyObject * obj0 = 0 ;
24984 char *kwnames[] = {
24985 (char *) "self", NULL
24986 };
24987
24988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
24989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
24994
24995 wxPyEndAllowThreads(__tstate);
24996 if (PyErr_Occurred()) SWIG_fail;
24997 }
24998 {
24999 wxRect * resultptr;
25000 resultptr = new wxRect((wxRect &) result);
25001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25002 }
25003 return resultobj;
25004 fail:
25005 return NULL;
25006 }
25007
25008
25009 static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) {
25010 PyObject *resultobj;
25011 wxWindow *arg1 = (wxWindow *) 0 ;
25012 int arg2 ;
25013 int arg3 ;
25014 int arg4 = (int) 1 ;
25015 int arg5 = (int) 1 ;
25016 bool result;
25017 PyObject * obj0 = 0 ;
25018 PyObject * obj1 = 0 ;
25019 PyObject * obj2 = 0 ;
25020 PyObject * obj3 = 0 ;
25021 PyObject * obj4 = 0 ;
25022 char *kwnames[] = {
25023 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25024 };
25025
25026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25029 arg2 = (int) SWIG_AsInt(obj1);
25030 if (PyErr_Occurred()) SWIG_fail;
25031 arg3 = (int) SWIG_AsInt(obj2);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 if (obj3) {
25034 arg4 = (int) SWIG_AsInt(obj3);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 if (obj4) {
25038 arg5 = (int) SWIG_AsInt(obj4);
25039 if (PyErr_Occurred()) SWIG_fail;
25040 }
25041 {
25042 PyThreadState* __tstate = wxPyBeginAllowThreads();
25043 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25044
25045 wxPyEndAllowThreads(__tstate);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
25048 {
25049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25050 }
25051 return resultobj;
25052 fail:
25053 return NULL;
25054 }
25055
25056
25057 static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) {
25058 PyObject *resultobj;
25059 wxWindow *arg1 = (wxWindow *) 0 ;
25060 wxPoint *arg2 = 0 ;
25061 bool result;
25062 wxPoint temp2 ;
25063 PyObject * obj0 = 0 ;
25064 PyObject * obj1 = 0 ;
25065 char *kwnames[] = {
25066 (char *) "self",(char *) "pt", NULL
25067 };
25068
25069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
25070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25072 {
25073 arg2 = &temp2;
25074 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25075 }
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25079
25080 wxPyEndAllowThreads(__tstate);
25081 if (PyErr_Occurred()) SWIG_fail;
25082 }
25083 {
25084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25085 }
25086 return resultobj;
25087 fail:
25088 return NULL;
25089 }
25090
25091
25092 static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) {
25093 PyObject *resultobj;
25094 wxWindow *arg1 = (wxWindow *) 0 ;
25095 wxRect *arg2 = 0 ;
25096 bool result;
25097 wxRect temp2 ;
25098 PyObject * obj0 = 0 ;
25099 PyObject * obj1 = 0 ;
25100 char *kwnames[] = {
25101 (char *) "self",(char *) "rect", NULL
25102 };
25103
25104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
25105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25107 {
25108 arg2 = &temp2;
25109 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25110 }
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 {
25119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25120 }
25121 return resultobj;
25122 fail:
25123 return NULL;
25124 }
25125
25126
25127 static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25128 PyObject *resultobj;
25129 wxWindow *arg1 = (wxWindow *) 0 ;
25130 wxColour *arg2 = 0 ;
25131 bool result;
25132 wxColour temp2 ;
25133 PyObject * obj0 = 0 ;
25134 PyObject * obj1 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "self",(char *) "colour", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25142 {
25143 arg2 = &temp2;
25144 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25145 }
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25149
25150 wxPyEndAllowThreads(__tstate);
25151 if (PyErr_Occurred()) SWIG_fail;
25152 }
25153 {
25154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25155 }
25156 return resultobj;
25157 fail:
25158 return NULL;
25159 }
25160
25161
25162 static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25163 PyObject *resultobj;
25164 wxWindow *arg1 = (wxWindow *) 0 ;
25165 wxColour *arg2 = 0 ;
25166 bool result;
25167 wxColour temp2 ;
25168 PyObject * obj0 = 0 ;
25169 PyObject * obj1 = 0 ;
25170 char *kwnames[] = {
25171 (char *) "self",(char *) "colour", NULL
25172 };
25173
25174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
25175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25177 {
25178 arg2 = &temp2;
25179 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25180 }
25181 {
25182 PyThreadState* __tstate = wxPyBeginAllowThreads();
25183 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25184
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 {
25189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25190 }
25191 return resultobj;
25192 fail:
25193 return NULL;
25194 }
25195
25196
25197 static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25198 PyObject *resultobj;
25199 wxWindow *arg1 = (wxWindow *) 0 ;
25200 wxColour result;
25201 PyObject * obj0 = 0 ;
25202 char *kwnames[] = {
25203 (char *) "self", NULL
25204 };
25205
25206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
25207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 result = ((wxWindow const *)arg1)->GetBackgroundColour();
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 {
25217 wxColour * resultptr;
25218 resultptr = new wxColour((wxColour &) result);
25219 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25220 }
25221 return resultobj;
25222 fail:
25223 return NULL;
25224 }
25225
25226
25227 static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25228 PyObject *resultobj;
25229 wxWindow *arg1 = (wxWindow *) 0 ;
25230 wxColour result;
25231 PyObject * obj0 = 0 ;
25232 char *kwnames[] = {
25233 (char *) "self", NULL
25234 };
25235
25236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
25237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 result = ((wxWindow const *)arg1)->GetForegroundColour();
25242
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 {
25247 wxColour * resultptr;
25248 resultptr = new wxColour((wxColour &) result);
25249 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25250 }
25251 return resultobj;
25252 fail:
25253 return NULL;
25254 }
25255
25256
25257 static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
25258 PyObject *resultobj;
25259 wxWindow *arg1 = (wxWindow *) 0 ;
25260 wxCursor *arg2 = 0 ;
25261 bool result;
25262 PyObject * obj0 = 0 ;
25263 PyObject * obj1 = 0 ;
25264 char *kwnames[] = {
25265 (char *) "self",(char *) "cursor", NULL
25266 };
25267
25268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
25269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25272 SWIG_POINTER_EXCEPTION | 0)) == -1)
25273 SWIG_fail;
25274 if (arg2 == NULL) {
25275 PyErr_SetString(PyExc_TypeError,"null reference");
25276 SWIG_fail;
25277 }
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
25281
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 {
25286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25287 }
25288 return resultobj;
25289 fail:
25290 return NULL;
25291 }
25292
25293
25294 static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
25295 PyObject *resultobj;
25296 wxWindow *arg1 = (wxWindow *) 0 ;
25297 wxCursor *result;
25298 PyObject * obj0 = 0 ;
25299 char *kwnames[] = {
25300 (char *) "self", NULL
25301 };
25302
25303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
25304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25306 {
25307 PyThreadState* __tstate = wxPyBeginAllowThreads();
25308 {
25309 wxCursor &_result_ref = (arg1)->GetCursor();
25310 result = (wxCursor *) &_result_ref;
25311 }
25312
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 {
25317 wxCursor* resultptr = new wxCursor(*result);
25318 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
25319 }
25320 return resultobj;
25321 fail:
25322 return NULL;
25323 }
25324
25325
25326 static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
25327 PyObject *resultobj;
25328 wxWindow *arg1 = (wxWindow *) 0 ;
25329 wxFont *arg2 = 0 ;
25330 bool result;
25331 PyObject * obj0 = 0 ;
25332 PyObject * obj1 = 0 ;
25333 char *kwnames[] = {
25334 (char *) "self",(char *) "font", NULL
25335 };
25336
25337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
25338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
25341 SWIG_POINTER_EXCEPTION | 0)) == -1)
25342 SWIG_fail;
25343 if (arg2 == NULL) {
25344 PyErr_SetString(PyExc_TypeError,"null reference");
25345 SWIG_fail;
25346 }
25347 {
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
25350
25351 wxPyEndAllowThreads(__tstate);
25352 if (PyErr_Occurred()) SWIG_fail;
25353 }
25354 {
25355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25356 }
25357 return resultobj;
25358 fail:
25359 return NULL;
25360 }
25361
25362
25363 static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
25364 PyObject *resultobj;
25365 wxWindow *arg1 = (wxWindow *) 0 ;
25366 wxFont *result;
25367 PyObject * obj0 = 0 ;
25368 char *kwnames[] = {
25369 (char *) "self", NULL
25370 };
25371
25372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
25373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25375 {
25376 PyThreadState* __tstate = wxPyBeginAllowThreads();
25377 {
25378 wxFont &_result_ref = (arg1)->GetFont();
25379 result = (wxFont *) &_result_ref;
25380 }
25381
25382 wxPyEndAllowThreads(__tstate);
25383 if (PyErr_Occurred()) SWIG_fail;
25384 }
25385 {
25386 wxFont* resultptr = new wxFont(*result);
25387 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
25388 }
25389 return resultobj;
25390 fail:
25391 return NULL;
25392 }
25393
25394
25395 static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
25396 PyObject *resultobj;
25397 wxWindow *arg1 = (wxWindow *) 0 ;
25398 wxCaret *arg2 = (wxCaret *) 0 ;
25399 PyObject * obj0 = 0 ;
25400 PyObject * obj1 = 0 ;
25401 char *kwnames[] = {
25402 (char *) "self",(char *) "caret", NULL
25403 };
25404
25405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
25406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
25409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25410 {
25411 PyThreadState* __tstate = wxPyBeginAllowThreads();
25412 (arg1)->SetCaret(arg2);
25413
25414 wxPyEndAllowThreads(__tstate);
25415 if (PyErr_Occurred()) SWIG_fail;
25416 }
25417 Py_INCREF(Py_None); resultobj = Py_None;
25418 return resultobj;
25419 fail:
25420 return NULL;
25421 }
25422
25423
25424 static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
25425 PyObject *resultobj;
25426 wxWindow *arg1 = (wxWindow *) 0 ;
25427 wxCaret *result;
25428 PyObject * obj0 = 0 ;
25429 char *kwnames[] = {
25430 (char *) "self", NULL
25431 };
25432
25433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
25434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
25439
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
25444 return resultobj;
25445 fail:
25446 return NULL;
25447 }
25448
25449
25450 static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
25451 PyObject *resultobj;
25452 wxWindow *arg1 = (wxWindow *) 0 ;
25453 int result;
25454 PyObject * obj0 = 0 ;
25455 char *kwnames[] = {
25456 (char *) "self", NULL
25457 };
25458
25459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
25460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 result = (int)((wxWindow const *)arg1)->GetCharHeight();
25465
25466 wxPyEndAllowThreads(__tstate);
25467 if (PyErr_Occurred()) SWIG_fail;
25468 }
25469 resultobj = SWIG_FromInt((int)result);
25470 return resultobj;
25471 fail:
25472 return NULL;
25473 }
25474
25475
25476 static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
25477 PyObject *resultobj;
25478 wxWindow *arg1 = (wxWindow *) 0 ;
25479 int result;
25480 PyObject * obj0 = 0 ;
25481 char *kwnames[] = {
25482 (char *) "self", NULL
25483 };
25484
25485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
25486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
25490 result = (int)((wxWindow const *)arg1)->GetCharWidth();
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 resultobj = SWIG_FromInt((int)result);
25496 return resultobj;
25497 fail:
25498 return NULL;
25499 }
25500
25501
25502 static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
25503 PyObject *resultobj;
25504 wxWindow *arg1 = (wxWindow *) 0 ;
25505 wxString *arg2 = 0 ;
25506 int *arg3 = (int *) 0 ;
25507 int *arg4 = (int *) 0 ;
25508 bool temp2 = False ;
25509 int temp3 ;
25510 int temp4 ;
25511 PyObject * obj0 = 0 ;
25512 PyObject * obj1 = 0 ;
25513 char *kwnames[] = {
25514 (char *) "self",(char *) "string", NULL
25515 };
25516
25517 arg3 = &temp3;
25518 arg4 = &temp4;
25519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
25520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25522 {
25523 arg2 = wxString_in_helper(obj1);
25524 if (arg2 == NULL) SWIG_fail;
25525 temp2 = True;
25526 }
25527 {
25528 PyThreadState* __tstate = wxPyBeginAllowThreads();
25529 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
25530
25531 wxPyEndAllowThreads(__tstate);
25532 if (PyErr_Occurred()) SWIG_fail;
25533 }
25534 Py_INCREF(Py_None); resultobj = Py_None;
25535 {
25536 PyObject *o = PyInt_FromLong((long) (*arg3));
25537 resultobj = t_output_helper(resultobj,o);
25538 }
25539 {
25540 PyObject *o = PyInt_FromLong((long) (*arg4));
25541 resultobj = t_output_helper(resultobj,o);
25542 }
25543 {
25544 if (temp2)
25545 delete arg2;
25546 }
25547 return resultobj;
25548 fail:
25549 {
25550 if (temp2)
25551 delete arg2;
25552 }
25553 return NULL;
25554 }
25555
25556
25557 static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
25558 PyObject *resultobj;
25559 wxWindow *arg1 = (wxWindow *) 0 ;
25560 wxString *arg2 = 0 ;
25561 int *arg3 = (int *) 0 ;
25562 int *arg4 = (int *) 0 ;
25563 int *arg5 = (int *) 0 ;
25564 int *arg6 = (int *) 0 ;
25565 wxFont *arg7 = (wxFont *) NULL ;
25566 bool temp2 = False ;
25567 int temp3 ;
25568 int temp4 ;
25569 int temp5 ;
25570 int temp6 ;
25571 PyObject * obj0 = 0 ;
25572 PyObject * obj1 = 0 ;
25573 PyObject * obj2 = 0 ;
25574 char *kwnames[] = {
25575 (char *) "self",(char *) "string",(char *) "font", NULL
25576 };
25577
25578 arg3 = &temp3;
25579 arg4 = &temp4;
25580 arg5 = &temp5;
25581 arg6 = &temp6;
25582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
25583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25585 {
25586 arg2 = wxString_in_helper(obj1);
25587 if (arg2 == NULL) SWIG_fail;
25588 temp2 = True;
25589 }
25590 if (obj2) {
25591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
25592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25593 }
25594 {
25595 PyThreadState* __tstate = wxPyBeginAllowThreads();
25596 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
25597
25598 wxPyEndAllowThreads(__tstate);
25599 if (PyErr_Occurred()) SWIG_fail;
25600 }
25601 Py_INCREF(Py_None); resultobj = Py_None;
25602 {
25603 PyObject *o = PyInt_FromLong((long) (*arg3));
25604 resultobj = t_output_helper(resultobj,o);
25605 }
25606 {
25607 PyObject *o = PyInt_FromLong((long) (*arg4));
25608 resultobj = t_output_helper(resultobj,o);
25609 }
25610 {
25611 PyObject *o = PyInt_FromLong((long) (*arg5));
25612 resultobj = t_output_helper(resultobj,o);
25613 }
25614 {
25615 PyObject *o = PyInt_FromLong((long) (*arg6));
25616 resultobj = t_output_helper(resultobj,o);
25617 }
25618 {
25619 if (temp2)
25620 delete arg2;
25621 }
25622 return resultobj;
25623 fail:
25624 {
25625 if (temp2)
25626 delete arg2;
25627 }
25628 return NULL;
25629 }
25630
25631
25632 static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) {
25633 PyObject *resultobj;
25634 wxWindow *arg1 = (wxWindow *) 0 ;
25635 int *arg2 = (int *) 0 ;
25636 int *arg3 = (int *) 0 ;
25637 int temp2 ;
25638 int temp3 ;
25639 PyObject * obj0 = 0 ;
25640 PyObject * obj1 = 0 ;
25641 PyObject * obj2 = 0 ;
25642 char *kwnames[] = {
25643 (char *) "self",(char *) "x",(char *) "y", NULL
25644 };
25645
25646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
25647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25649 {
25650 temp2 = PyInt_AsLong(obj1);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 arg2 = &temp2;
25653 }
25654 {
25655 temp3 = PyInt_AsLong(obj2);
25656 if (PyErr_Occurred()) SWIG_fail;
25657 arg3 = &temp3;
25658 }
25659 {
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
25662
25663 wxPyEndAllowThreads(__tstate);
25664 if (PyErr_Occurred()) SWIG_fail;
25665 }
25666 Py_INCREF(Py_None); resultobj = Py_None;
25667 {
25668 PyObject *o = PyInt_FromLong((long) (*arg2));
25669 resultobj = t_output_helper(resultobj,o);
25670 }
25671 {
25672 PyObject *o = PyInt_FromLong((long) (*arg3));
25673 resultobj = t_output_helper(resultobj,o);
25674 }
25675 return resultobj;
25676 fail:
25677 return NULL;
25678 }
25679
25680
25681 static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) {
25682 PyObject *resultobj;
25683 wxWindow *arg1 = (wxWindow *) 0 ;
25684 int *arg2 = (int *) 0 ;
25685 int *arg3 = (int *) 0 ;
25686 int temp2 ;
25687 int temp3 ;
25688 PyObject * obj0 = 0 ;
25689 PyObject * obj1 = 0 ;
25690 PyObject * obj2 = 0 ;
25691 char *kwnames[] = {
25692 (char *) "self",(char *) "x",(char *) "y", NULL
25693 };
25694
25695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
25696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25698 {
25699 temp2 = PyInt_AsLong(obj1);
25700 if (PyErr_Occurred()) SWIG_fail;
25701 arg2 = &temp2;
25702 }
25703 {
25704 temp3 = PyInt_AsLong(obj2);
25705 if (PyErr_Occurred()) SWIG_fail;
25706 arg3 = &temp3;
25707 }
25708 {
25709 PyThreadState* __tstate = wxPyBeginAllowThreads();
25710 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
25711
25712 wxPyEndAllowThreads(__tstate);
25713 if (PyErr_Occurred()) SWIG_fail;
25714 }
25715 Py_INCREF(Py_None); resultobj = Py_None;
25716 {
25717 PyObject *o = PyInt_FromLong((long) (*arg2));
25718 resultobj = t_output_helper(resultobj,o);
25719 }
25720 {
25721 PyObject *o = PyInt_FromLong((long) (*arg3));
25722 resultobj = t_output_helper(resultobj,o);
25723 }
25724 return resultobj;
25725 fail:
25726 return NULL;
25727 }
25728
25729
25730 static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) {
25731 PyObject *resultobj;
25732 wxWindow *arg1 = (wxWindow *) 0 ;
25733 wxPoint *arg2 = 0 ;
25734 wxPoint result;
25735 wxPoint temp2 ;
25736 PyObject * obj0 = 0 ;
25737 PyObject * obj1 = 0 ;
25738 char *kwnames[] = {
25739 (char *) "self",(char *) "pt", NULL
25740 };
25741
25742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
25743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25745 {
25746 arg2 = &temp2;
25747 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25748 }
25749 {
25750 PyThreadState* __tstate = wxPyBeginAllowThreads();
25751 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
25752
25753 wxPyEndAllowThreads(__tstate);
25754 if (PyErr_Occurred()) SWIG_fail;
25755 }
25756 {
25757 wxPoint * resultptr;
25758 resultptr = new wxPoint((wxPoint &) result);
25759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25760 }
25761 return resultobj;
25762 fail:
25763 return NULL;
25764 }
25765
25766
25767 static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) {
25768 PyObject *resultobj;
25769 wxWindow *arg1 = (wxWindow *) 0 ;
25770 wxPoint *arg2 = 0 ;
25771 wxPoint result;
25772 wxPoint temp2 ;
25773 PyObject * obj0 = 0 ;
25774 PyObject * obj1 = 0 ;
25775 char *kwnames[] = {
25776 (char *) "self",(char *) "pt", NULL
25777 };
25778
25779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
25780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25782 {
25783 arg2 = &temp2;
25784 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25785 }
25786 {
25787 PyThreadState* __tstate = wxPyBeginAllowThreads();
25788 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
25789
25790 wxPyEndAllowThreads(__tstate);
25791 if (PyErr_Occurred()) SWIG_fail;
25792 }
25793 {
25794 wxPoint * resultptr;
25795 resultptr = new wxPoint((wxPoint &) result);
25796 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25797 }
25798 return resultobj;
25799 fail:
25800 return NULL;
25801 }
25802
25803
25804 static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
25805 PyObject *resultobj;
25806 wxWindow *arg1 = (wxWindow *) 0 ;
25807 int arg2 ;
25808 int arg3 ;
25809 int result;
25810 PyObject * obj0 = 0 ;
25811 PyObject * obj1 = 0 ;
25812 PyObject * obj2 = 0 ;
25813 char *kwnames[] = {
25814 (char *) "self",(char *) "x",(char *) "y", NULL
25815 };
25816
25817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
25818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25820 arg2 = (int) SWIG_AsInt(obj1);
25821 if (PyErr_Occurred()) SWIG_fail;
25822 arg3 = (int) SWIG_AsInt(obj2);
25823 if (PyErr_Occurred()) SWIG_fail;
25824 {
25825 PyThreadState* __tstate = wxPyBeginAllowThreads();
25826 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
25827
25828 wxPyEndAllowThreads(__tstate);
25829 if (PyErr_Occurred()) SWIG_fail;
25830 }
25831 resultobj = SWIG_FromInt((int)result);
25832 return resultobj;
25833 fail:
25834 return NULL;
25835 }
25836
25837
25838 static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25839 PyObject *resultobj;
25840 wxWindow *arg1 = (wxWindow *) 0 ;
25841 wxPoint *arg2 = 0 ;
25842 int result;
25843 wxPoint temp2 ;
25844 PyObject * obj0 = 0 ;
25845 PyObject * obj1 = 0 ;
25846 char *kwnames[] = {
25847 (char *) "self",(char *) "pt", NULL
25848 };
25849
25850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
25851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25853 {
25854 arg2 = &temp2;
25855 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25856 }
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
25864 resultobj = SWIG_FromInt((int)result);
25865 return resultobj;
25866 fail:
25867 return NULL;
25868 }
25869
25870
25871 static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) {
25872 PyObject *resultobj;
25873 wxWindow *arg1 = (wxWindow *) 0 ;
25874 long arg2 ;
25875 int result;
25876 PyObject * obj0 = 0 ;
25877 PyObject * obj1 = 0 ;
25878
25879 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
25880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25882 arg2 = (long) SWIG_AsLong(obj1);
25883 if (PyErr_Occurred()) SWIG_fail;
25884 {
25885 PyThreadState* __tstate = wxPyBeginAllowThreads();
25886 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
25887
25888 wxPyEndAllowThreads(__tstate);
25889 if (PyErr_Occurred()) SWIG_fail;
25890 }
25891 resultobj = SWIG_FromInt((int)result);
25892 return resultobj;
25893 fail:
25894 return NULL;
25895 }
25896
25897
25898 static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) {
25899 PyObject *resultobj;
25900 wxWindow *arg1 = (wxWindow *) 0 ;
25901 int result;
25902 PyObject * obj0 = 0 ;
25903
25904 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
25905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25907 {
25908 PyThreadState* __tstate = wxPyBeginAllowThreads();
25909 result = (int)((wxWindow const *)arg1)->GetBorder();
25910
25911 wxPyEndAllowThreads(__tstate);
25912 if (PyErr_Occurred()) SWIG_fail;
25913 }
25914 resultobj = SWIG_FromInt((int)result);
25915 return resultobj;
25916 fail:
25917 return NULL;
25918 }
25919
25920
25921 static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
25922 int argc;
25923 PyObject *argv[3];
25924 int ii;
25925
25926 argc = PyObject_Length(args);
25927 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
25928 argv[ii] = PyTuple_GetItem(args,ii);
25929 }
25930 if (argc == 1) {
25931 int _v;
25932 {
25933 void *ptr;
25934 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
25935 _v = 0;
25936 PyErr_Clear();
25937 } else {
25938 _v = 1;
25939 }
25940 }
25941 if (_v) {
25942 return _wrap_Window_GetBorder__SWIG_1(self,args);
25943 }
25944 }
25945 if (argc == 2) {
25946 int _v;
25947 {
25948 void *ptr;
25949 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
25950 _v = 0;
25951 PyErr_Clear();
25952 } else {
25953 _v = 1;
25954 }
25955 }
25956 if (_v) {
25957 _v = SWIG_CheckLong(argv[1]);
25958 if (_v) {
25959 return _wrap_Window_GetBorder__SWIG_0(self,args);
25960 }
25961 }
25962 }
25963
25964 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
25965 return NULL;
25966 }
25967
25968
25969 static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) {
25970 PyObject *resultobj;
25971 wxWindow *arg1 = (wxWindow *) 0 ;
25972 long arg2 = (long) wxUPDATE_UI_NONE ;
25973 PyObject * obj0 = 0 ;
25974 PyObject * obj1 = 0 ;
25975 char *kwnames[] = {
25976 (char *) "self",(char *) "flags", NULL
25977 };
25978
25979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
25980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25982 if (obj1) {
25983 arg2 = (long) SWIG_AsLong(obj1);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 (arg1)->UpdateWindowUI(arg2);
25989
25990 wxPyEndAllowThreads(__tstate);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 Py_INCREF(Py_None); resultobj = Py_None;
25994 return resultobj;
25995 fail:
25996 return NULL;
25997 }
25998
25999
26000 static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) {
26001 PyObject *resultobj;
26002 wxWindow *arg1 = (wxWindow *) 0 ;
26003 wxMenu *arg2 = (wxMenu *) 0 ;
26004 int arg3 ;
26005 int arg4 ;
26006 bool result;
26007 PyObject * obj0 = 0 ;
26008 PyObject * obj1 = 0 ;
26009 PyObject * obj2 = 0 ;
26010 PyObject * obj3 = 0 ;
26011 char *kwnames[] = {
26012 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26013 };
26014
26015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26020 arg3 = (int) SWIG_AsInt(obj2);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 arg4 = (int) SWIG_AsInt(obj3);
26023 if (PyErr_Occurred()) SWIG_fail;
26024 {
26025 PyThreadState* __tstate = wxPyBeginAllowThreads();
26026 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
26027
26028 wxPyEndAllowThreads(__tstate);
26029 if (PyErr_Occurred()) SWIG_fail;
26030 }
26031 {
26032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26033 }
26034 return resultobj;
26035 fail:
26036 return NULL;
26037 }
26038
26039
26040 static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
26041 PyObject *resultobj;
26042 wxWindow *arg1 = (wxWindow *) 0 ;
26043 wxMenu *arg2 = (wxMenu *) 0 ;
26044 wxPoint *arg3 = 0 ;
26045 bool result;
26046 wxPoint temp3 ;
26047 PyObject * obj0 = 0 ;
26048 PyObject * obj1 = 0 ;
26049 PyObject * obj2 = 0 ;
26050 char *kwnames[] = {
26051 (char *) "self",(char *) "menu",(char *) "pos", NULL
26052 };
26053
26054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
26055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26059 {
26060 arg3 = &temp3;
26061 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26062 }
26063 {
26064 PyThreadState* __tstate = wxPyBeginAllowThreads();
26065 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
26066
26067 wxPyEndAllowThreads(__tstate);
26068 if (PyErr_Occurred()) SWIG_fail;
26069 }
26070 {
26071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26072 }
26073 return resultobj;
26074 fail:
26075 return NULL;
26076 }
26077
26078
26079 static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
26080 PyObject *resultobj;
26081 wxWindow *arg1 = (wxWindow *) 0 ;
26082 long result;
26083 PyObject * obj0 = 0 ;
26084 char *kwnames[] = {
26085 (char *) "self", NULL
26086 };
26087
26088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
26089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26091 {
26092 PyThreadState* __tstate = wxPyBeginAllowThreads();
26093 result = (long)wxWindow_GetHandle(arg1);
26094
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 resultobj = SWIG_FromLong((long)result);
26099 return resultobj;
26100 fail:
26101 return NULL;
26102 }
26103
26104
26105 static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
26106 PyObject *resultobj;
26107 wxWindow *arg1 = (wxWindow *) 0 ;
26108 int arg2 ;
26109 bool result;
26110 PyObject * obj0 = 0 ;
26111 PyObject * obj1 = 0 ;
26112 char *kwnames[] = {
26113 (char *) "self",(char *) "orient", NULL
26114 };
26115
26116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
26117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26119 arg2 = (int) SWIG_AsInt(obj1);
26120 if (PyErr_Occurred()) SWIG_fail;
26121 {
26122 PyThreadState* __tstate = wxPyBeginAllowThreads();
26123 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
26124
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
26128 {
26129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26130 }
26131 return resultobj;
26132 fail:
26133 return NULL;
26134 }
26135
26136
26137 static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
26138 PyObject *resultobj;
26139 wxWindow *arg1 = (wxWindow *) 0 ;
26140 int arg2 ;
26141 int arg3 ;
26142 int arg4 ;
26143 int arg5 ;
26144 bool arg6 = (bool) True ;
26145 PyObject * obj0 = 0 ;
26146 PyObject * obj1 = 0 ;
26147 PyObject * obj2 = 0 ;
26148 PyObject * obj3 = 0 ;
26149 PyObject * obj4 = 0 ;
26150 PyObject * obj5 = 0 ;
26151 char *kwnames[] = {
26152 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26153 };
26154
26155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26158 arg2 = (int) SWIG_AsInt(obj1);
26159 if (PyErr_Occurred()) SWIG_fail;
26160 arg3 = (int) SWIG_AsInt(obj2);
26161 if (PyErr_Occurred()) SWIG_fail;
26162 arg4 = (int) SWIG_AsInt(obj3);
26163 if (PyErr_Occurred()) SWIG_fail;
26164 arg5 = (int) SWIG_AsInt(obj4);
26165 if (PyErr_Occurred()) SWIG_fail;
26166 if (obj5) {
26167 arg6 = (bool) SWIG_AsBool(obj5);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 }
26170 {
26171 PyThreadState* __tstate = wxPyBeginAllowThreads();
26172 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
26173
26174 wxPyEndAllowThreads(__tstate);
26175 if (PyErr_Occurred()) SWIG_fail;
26176 }
26177 Py_INCREF(Py_None); resultobj = Py_None;
26178 return resultobj;
26179 fail:
26180 return NULL;
26181 }
26182
26183
26184 static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
26185 PyObject *resultobj;
26186 wxWindow *arg1 = (wxWindow *) 0 ;
26187 int arg2 ;
26188 int arg3 ;
26189 bool arg4 = (bool) True ;
26190 PyObject * obj0 = 0 ;
26191 PyObject * obj1 = 0 ;
26192 PyObject * obj2 = 0 ;
26193 PyObject * obj3 = 0 ;
26194 char *kwnames[] = {
26195 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26196 };
26197
26198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26201 arg2 = (int) SWIG_AsInt(obj1);
26202 if (PyErr_Occurred()) SWIG_fail;
26203 arg3 = (int) SWIG_AsInt(obj2);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 if (obj3) {
26206 arg4 = (bool) SWIG_AsBool(obj3);
26207 if (PyErr_Occurred()) SWIG_fail;
26208 }
26209 {
26210 PyThreadState* __tstate = wxPyBeginAllowThreads();
26211 (arg1)->SetScrollPos(arg2,arg3,arg4);
26212
26213 wxPyEndAllowThreads(__tstate);
26214 if (PyErr_Occurred()) SWIG_fail;
26215 }
26216 Py_INCREF(Py_None); resultobj = Py_None;
26217 return resultobj;
26218 fail:
26219 return NULL;
26220 }
26221
26222
26223 static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
26224 PyObject *resultobj;
26225 wxWindow *arg1 = (wxWindow *) 0 ;
26226 int arg2 ;
26227 int result;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 char *kwnames[] = {
26231 (char *) "self",(char *) "orientation", NULL
26232 };
26233
26234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
26235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26237 arg2 = (int) SWIG_AsInt(obj1);
26238 if (PyErr_Occurred()) SWIG_fail;
26239 {
26240 PyThreadState* __tstate = wxPyBeginAllowThreads();
26241 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
26242
26243 wxPyEndAllowThreads(__tstate);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
26246 resultobj = SWIG_FromInt((int)result);
26247 return resultobj;
26248 fail:
26249 return NULL;
26250 }
26251
26252
26253 static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) {
26254 PyObject *resultobj;
26255 wxWindow *arg1 = (wxWindow *) 0 ;
26256 int arg2 ;
26257 int result;
26258 PyObject * obj0 = 0 ;
26259 PyObject * obj1 = 0 ;
26260 char *kwnames[] = {
26261 (char *) "self",(char *) "orientation", NULL
26262 };
26263
26264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
26265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26267 arg2 = (int) SWIG_AsInt(obj1);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 {
26270 PyThreadState* __tstate = wxPyBeginAllowThreads();
26271 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
26272
26273 wxPyEndAllowThreads(__tstate);
26274 if (PyErr_Occurred()) SWIG_fail;
26275 }
26276 resultobj = SWIG_FromInt((int)result);
26277 return resultobj;
26278 fail:
26279 return NULL;
26280 }
26281
26282
26283 static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) {
26284 PyObject *resultobj;
26285 wxWindow *arg1 = (wxWindow *) 0 ;
26286 int arg2 ;
26287 int result;
26288 PyObject * obj0 = 0 ;
26289 PyObject * obj1 = 0 ;
26290 char *kwnames[] = {
26291 (char *) "self",(char *) "orientation", NULL
26292 };
26293
26294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
26295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26297 arg2 = (int) SWIG_AsInt(obj1);
26298 if (PyErr_Occurred()) SWIG_fail;
26299 {
26300 PyThreadState* __tstate = wxPyBeginAllowThreads();
26301 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
26302
26303 wxPyEndAllowThreads(__tstate);
26304 if (PyErr_Occurred()) SWIG_fail;
26305 }
26306 resultobj = SWIG_FromInt((int)result);
26307 return resultobj;
26308 fail:
26309 return NULL;
26310 }
26311
26312
26313 static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26314 PyObject *resultobj;
26315 wxWindow *arg1 = (wxWindow *) 0 ;
26316 int arg2 ;
26317 int arg3 ;
26318 wxRect *arg4 = (wxRect *) NULL ;
26319 PyObject * obj0 = 0 ;
26320 PyObject * obj1 = 0 ;
26321 PyObject * obj2 = 0 ;
26322 PyObject * obj3 = 0 ;
26323 char *kwnames[] = {
26324 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
26325 };
26326
26327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26330 arg2 = (int) SWIG_AsInt(obj1);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 arg3 = (int) SWIG_AsInt(obj2);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 if (obj3) {
26335 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
26336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26337 }
26338 {
26339 PyThreadState* __tstate = wxPyBeginAllowThreads();
26340 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
26341
26342 wxPyEndAllowThreads(__tstate);
26343 if (PyErr_Occurred()) SWIG_fail;
26344 }
26345 Py_INCREF(Py_None); resultobj = Py_None;
26346 return resultobj;
26347 fail:
26348 return NULL;
26349 }
26350
26351
26352 static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
26353 PyObject *resultobj;
26354 wxWindow *arg1 = (wxWindow *) 0 ;
26355 int arg2 ;
26356 bool result;
26357 PyObject * obj0 = 0 ;
26358 PyObject * obj1 = 0 ;
26359 char *kwnames[] = {
26360 (char *) "self",(char *) "lines", NULL
26361 };
26362
26363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
26364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26366 arg2 = (int) SWIG_AsInt(obj1);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 {
26369 PyThreadState* __tstate = wxPyBeginAllowThreads();
26370 result = (bool)(arg1)->ScrollLines(arg2);
26371
26372 wxPyEndAllowThreads(__tstate);
26373 if (PyErr_Occurred()) SWIG_fail;
26374 }
26375 {
26376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26377 }
26378 return resultobj;
26379 fail:
26380 return NULL;
26381 }
26382
26383
26384 static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
26385 PyObject *resultobj;
26386 wxWindow *arg1 = (wxWindow *) 0 ;
26387 int arg2 ;
26388 bool result;
26389 PyObject * obj0 = 0 ;
26390 PyObject * obj1 = 0 ;
26391 char *kwnames[] = {
26392 (char *) "self",(char *) "pages", NULL
26393 };
26394
26395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
26396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26398 arg2 = (int) SWIG_AsInt(obj1);
26399 if (PyErr_Occurred()) SWIG_fail;
26400 {
26401 PyThreadState* __tstate = wxPyBeginAllowThreads();
26402 result = (bool)(arg1)->ScrollPages(arg2);
26403
26404 wxPyEndAllowThreads(__tstate);
26405 if (PyErr_Occurred()) SWIG_fail;
26406 }
26407 {
26408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26409 }
26410 return resultobj;
26411 fail:
26412 return NULL;
26413 }
26414
26415
26416 static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
26417 PyObject *resultobj;
26418 wxWindow *arg1 = (wxWindow *) 0 ;
26419 bool result;
26420 PyObject * obj0 = 0 ;
26421 char *kwnames[] = {
26422 (char *) "self", NULL
26423 };
26424
26425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
26426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26428 {
26429 PyThreadState* __tstate = wxPyBeginAllowThreads();
26430 result = (bool)(arg1)->LineUp();
26431
26432 wxPyEndAllowThreads(__tstate);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 }
26435 {
26436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26437 }
26438 return resultobj;
26439 fail:
26440 return NULL;
26441 }
26442
26443
26444 static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
26445 PyObject *resultobj;
26446 wxWindow *arg1 = (wxWindow *) 0 ;
26447 bool result;
26448 PyObject * obj0 = 0 ;
26449 char *kwnames[] = {
26450 (char *) "self", NULL
26451 };
26452
26453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
26454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26456 {
26457 PyThreadState* __tstate = wxPyBeginAllowThreads();
26458 result = (bool)(arg1)->LineDown();
26459
26460 wxPyEndAllowThreads(__tstate);
26461 if (PyErr_Occurred()) SWIG_fail;
26462 }
26463 {
26464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26465 }
26466 return resultobj;
26467 fail:
26468 return NULL;
26469 }
26470
26471
26472 static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
26473 PyObject *resultobj;
26474 wxWindow *arg1 = (wxWindow *) 0 ;
26475 bool result;
26476 PyObject * obj0 = 0 ;
26477 char *kwnames[] = {
26478 (char *) "self", NULL
26479 };
26480
26481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
26482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26484 {
26485 PyThreadState* __tstate = wxPyBeginAllowThreads();
26486 result = (bool)(arg1)->PageUp();
26487
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
26491 {
26492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26493 }
26494 return resultobj;
26495 fail:
26496 return NULL;
26497 }
26498
26499
26500 static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
26501 PyObject *resultobj;
26502 wxWindow *arg1 = (wxWindow *) 0 ;
26503 bool result;
26504 PyObject * obj0 = 0 ;
26505 char *kwnames[] = {
26506 (char *) "self", NULL
26507 };
26508
26509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
26510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26512 {
26513 PyThreadState* __tstate = wxPyBeginAllowThreads();
26514 result = (bool)(arg1)->PageDown();
26515
26516 wxPyEndAllowThreads(__tstate);
26517 if (PyErr_Occurred()) SWIG_fail;
26518 }
26519 {
26520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26521 }
26522 return resultobj;
26523 fail:
26524 return NULL;
26525 }
26526
26527
26528 static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
26529 PyObject *resultobj;
26530 wxWindow *arg1 = (wxWindow *) 0 ;
26531 wxString *arg2 = 0 ;
26532 bool temp2 = False ;
26533 PyObject * obj0 = 0 ;
26534 PyObject * obj1 = 0 ;
26535 char *kwnames[] = {
26536 (char *) "self",(char *) "text", NULL
26537 };
26538
26539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
26540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26542 {
26543 arg2 = wxString_in_helper(obj1);
26544 if (arg2 == NULL) SWIG_fail;
26545 temp2 = True;
26546 }
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 (arg1)->SetHelpText((wxString const &)*arg2);
26550
26551 wxPyEndAllowThreads(__tstate);
26552 if (PyErr_Occurred()) SWIG_fail;
26553 }
26554 Py_INCREF(Py_None); resultobj = Py_None;
26555 {
26556 if (temp2)
26557 delete arg2;
26558 }
26559 return resultobj;
26560 fail:
26561 {
26562 if (temp2)
26563 delete arg2;
26564 }
26565 return NULL;
26566 }
26567
26568
26569 static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) {
26570 PyObject *resultobj;
26571 wxWindow *arg1 = (wxWindow *) 0 ;
26572 wxString *arg2 = 0 ;
26573 bool temp2 = False ;
26574 PyObject * obj0 = 0 ;
26575 PyObject * obj1 = 0 ;
26576 char *kwnames[] = {
26577 (char *) "self",(char *) "text", NULL
26578 };
26579
26580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
26581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26583 {
26584 arg2 = wxString_in_helper(obj1);
26585 if (arg2 == NULL) SWIG_fail;
26586 temp2 = True;
26587 }
26588 {
26589 PyThreadState* __tstate = wxPyBeginAllowThreads();
26590 (arg1)->SetHelpTextForId((wxString const &)*arg2);
26591
26592 wxPyEndAllowThreads(__tstate);
26593 if (PyErr_Occurred()) SWIG_fail;
26594 }
26595 Py_INCREF(Py_None); resultobj = Py_None;
26596 {
26597 if (temp2)
26598 delete arg2;
26599 }
26600 return resultobj;
26601 fail:
26602 {
26603 if (temp2)
26604 delete arg2;
26605 }
26606 return NULL;
26607 }
26608
26609
26610 static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
26611 PyObject *resultobj;
26612 wxWindow *arg1 = (wxWindow *) 0 ;
26613 wxString result;
26614 PyObject * obj0 = 0 ;
26615 char *kwnames[] = {
26616 (char *) "self", NULL
26617 };
26618
26619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
26620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26622 {
26623 PyThreadState* __tstate = wxPyBeginAllowThreads();
26624 result = ((wxWindow const *)arg1)->GetHelpText();
26625
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 {
26630 #if wxUSE_UNICODE
26631 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26632 #else
26633 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26634 #endif
26635 }
26636 return resultobj;
26637 fail:
26638 return NULL;
26639 }
26640
26641
26642 static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) {
26643 PyObject *resultobj;
26644 wxWindow *arg1 = (wxWindow *) 0 ;
26645 wxString *arg2 = 0 ;
26646 bool temp2 = False ;
26647 PyObject * obj0 = 0 ;
26648 PyObject * obj1 = 0 ;
26649 char *kwnames[] = {
26650 (char *) "self",(char *) "tip", NULL
26651 };
26652
26653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
26654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26656 {
26657 arg2 = wxString_in_helper(obj1);
26658 if (arg2 == NULL) SWIG_fail;
26659 temp2 = True;
26660 }
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 (arg1)->SetToolTip((wxString const &)*arg2);
26664
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
26668 Py_INCREF(Py_None); resultobj = Py_None;
26669 {
26670 if (temp2)
26671 delete arg2;
26672 }
26673 return resultobj;
26674 fail:
26675 {
26676 if (temp2)
26677 delete arg2;
26678 }
26679 return NULL;
26680 }
26681
26682
26683 static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
26684 PyObject *resultobj;
26685 wxWindow *arg1 = (wxWindow *) 0 ;
26686 wxToolTip *arg2 = (wxToolTip *) 0 ;
26687 PyObject * obj0 = 0 ;
26688 PyObject * obj1 = 0 ;
26689 char *kwnames[] = {
26690 (char *) "self",(char *) "tip", NULL
26691 };
26692
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
26694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
26697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26698 {
26699 PyThreadState* __tstate = wxPyBeginAllowThreads();
26700 (arg1)->SetToolTip(arg2);
26701
26702 wxPyEndAllowThreads(__tstate);
26703 if (PyErr_Occurred()) SWIG_fail;
26704 }
26705 Py_INCREF(Py_None); resultobj = Py_None;
26706 return resultobj;
26707 fail:
26708 return NULL;
26709 }
26710
26711
26712 static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
26713 PyObject *resultobj;
26714 wxWindow *arg1 = (wxWindow *) 0 ;
26715 wxToolTip *result;
26716 PyObject * obj0 = 0 ;
26717 char *kwnames[] = {
26718 (char *) "self", NULL
26719 };
26720
26721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
26722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26724 {
26725 PyThreadState* __tstate = wxPyBeginAllowThreads();
26726 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
26727
26728 wxPyEndAllowThreads(__tstate);
26729 if (PyErr_Occurred()) SWIG_fail;
26730 }
26731 {
26732 resultobj = wxPyMake_wxObject(result);
26733 }
26734 return resultobj;
26735 fail:
26736 return NULL;
26737 }
26738
26739
26740 static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26741 PyObject *resultobj;
26742 wxWindow *arg1 = (wxWindow *) 0 ;
26743 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 char *kwnames[] = {
26747 (char *) "self",(char *) "dropTarget", NULL
26748 };
26749
26750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
26751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
26754 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26755 {
26756 PyThreadState* __tstate = wxPyBeginAllowThreads();
26757 (arg1)->SetDropTarget(arg2);
26758
26759 wxPyEndAllowThreads(__tstate);
26760 if (PyErr_Occurred()) SWIG_fail;
26761 }
26762 Py_INCREF(Py_None); resultobj = Py_None;
26763 return resultobj;
26764 fail:
26765 return NULL;
26766 }
26767
26768
26769 static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26770 PyObject *resultobj;
26771 wxWindow *arg1 = (wxWindow *) 0 ;
26772 wxPyDropTarget *result;
26773 PyObject * obj0 = 0 ;
26774 char *kwnames[] = {
26775 (char *) "self", NULL
26776 };
26777
26778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
26779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26781 {
26782 PyThreadState* __tstate = wxPyBeginAllowThreads();
26783 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
26784
26785 wxPyEndAllowThreads(__tstate);
26786 if (PyErr_Occurred()) SWIG_fail;
26787 }
26788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
26789 return resultobj;
26790 fail:
26791 return NULL;
26792 }
26793
26794
26795 static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
26796 PyObject *resultobj;
26797 wxWindow *arg1 = (wxWindow *) 0 ;
26798 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
26799 PyObject * obj0 = 0 ;
26800 PyObject * obj1 = 0 ;
26801 char *kwnames[] = {
26802 (char *) "self",(char *) "constraints", NULL
26803 };
26804
26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
26806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
26809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26810 {
26811 PyThreadState* __tstate = wxPyBeginAllowThreads();
26812 (arg1)->SetConstraints(arg2);
26813
26814 wxPyEndAllowThreads(__tstate);
26815 if (PyErr_Occurred()) SWIG_fail;
26816 }
26817 Py_INCREF(Py_None); resultobj = Py_None;
26818 return resultobj;
26819 fail:
26820 return NULL;
26821 }
26822
26823
26824 static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
26825 PyObject *resultobj;
26826 wxWindow *arg1 = (wxWindow *) 0 ;
26827 wxLayoutConstraints *result;
26828 PyObject * obj0 = 0 ;
26829 char *kwnames[] = {
26830 (char *) "self", NULL
26831 };
26832
26833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
26834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26836 {
26837 PyThreadState* __tstate = wxPyBeginAllowThreads();
26838 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
26839
26840 wxPyEndAllowThreads(__tstate);
26841 if (PyErr_Occurred()) SWIG_fail;
26842 }
26843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
26844 return resultobj;
26845 fail:
26846 return NULL;
26847 }
26848
26849
26850 static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
26851 PyObject *resultobj;
26852 wxWindow *arg1 = (wxWindow *) 0 ;
26853 bool arg2 ;
26854 PyObject * obj0 = 0 ;
26855 PyObject * obj1 = 0 ;
26856 char *kwnames[] = {
26857 (char *) "self",(char *) "autoLayout", NULL
26858 };
26859
26860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
26861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26863 arg2 = (bool) SWIG_AsBool(obj1);
26864 if (PyErr_Occurred()) SWIG_fail;
26865 {
26866 PyThreadState* __tstate = wxPyBeginAllowThreads();
26867 (arg1)->SetAutoLayout(arg2);
26868
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 Py_INCREF(Py_None); resultobj = Py_None;
26873 return resultobj;
26874 fail:
26875 return NULL;
26876 }
26877
26878
26879 static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
26880 PyObject *resultobj;
26881 wxWindow *arg1 = (wxWindow *) 0 ;
26882 bool result;
26883 PyObject * obj0 = 0 ;
26884 char *kwnames[] = {
26885 (char *) "self", NULL
26886 };
26887
26888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
26889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26891 {
26892 PyThreadState* __tstate = wxPyBeginAllowThreads();
26893 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
26894
26895 wxPyEndAllowThreads(__tstate);
26896 if (PyErr_Occurred()) SWIG_fail;
26897 }
26898 {
26899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26900 }
26901 return resultobj;
26902 fail:
26903 return NULL;
26904 }
26905
26906
26907 static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
26908 PyObject *resultobj;
26909 wxWindow *arg1 = (wxWindow *) 0 ;
26910 bool result;
26911 PyObject * obj0 = 0 ;
26912 char *kwnames[] = {
26913 (char *) "self", NULL
26914 };
26915
26916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
26917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 result = (bool)(arg1)->Layout();
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 {
26927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26928 }
26929 return resultobj;
26930 fail:
26931 return NULL;
26932 }
26933
26934
26935 static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
26936 PyObject *resultobj;
26937 wxWindow *arg1 = (wxWindow *) 0 ;
26938 wxSizer *arg2 = (wxSizer *) 0 ;
26939 bool arg3 = (bool) True ;
26940 PyObject * obj0 = 0 ;
26941 PyObject * obj1 = 0 ;
26942 PyObject * obj2 = 0 ;
26943 char *kwnames[] = {
26944 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26945 };
26946
26947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
26948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
26951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26952 if (obj2) {
26953 arg3 = (bool) SWIG_AsBool(obj2);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 {
26957 PyThreadState* __tstate = wxPyBeginAllowThreads();
26958 (arg1)->SetSizer(arg2,arg3);
26959
26960 wxPyEndAllowThreads(__tstate);
26961 if (PyErr_Occurred()) SWIG_fail;
26962 }
26963 Py_INCREF(Py_None); resultobj = Py_None;
26964 return resultobj;
26965 fail:
26966 return NULL;
26967 }
26968
26969
26970 static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) {
26971 PyObject *resultobj;
26972 wxWindow *arg1 = (wxWindow *) 0 ;
26973 wxSizer *arg2 = (wxSizer *) 0 ;
26974 bool arg3 = (bool) True ;
26975 PyObject * obj0 = 0 ;
26976 PyObject * obj1 = 0 ;
26977 PyObject * obj2 = 0 ;
26978 char *kwnames[] = {
26979 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26980 };
26981
26982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
26983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
26986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26987 if (obj2) {
26988 arg3 = (bool) SWIG_AsBool(obj2);
26989 if (PyErr_Occurred()) SWIG_fail;
26990 }
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 (arg1)->SetSizerAndFit(arg2,arg3);
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 Py_INCREF(Py_None); resultobj = Py_None;
26999 return resultobj;
27000 fail:
27001 return NULL;
27002 }
27003
27004
27005 static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
27006 PyObject *resultobj;
27007 wxWindow *arg1 = (wxWindow *) 0 ;
27008 wxSizer *result;
27009 PyObject * obj0 = 0 ;
27010 char *kwnames[] = {
27011 (char *) "self", NULL
27012 };
27013
27014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
27015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27017 {
27018 PyThreadState* __tstate = wxPyBeginAllowThreads();
27019 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
27020
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
27024 {
27025 resultobj = wxPyMake_wxSizer(result);
27026 }
27027 return resultobj;
27028 fail:
27029 return NULL;
27030 }
27031
27032
27033 static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
27034 PyObject *resultobj;
27035 wxWindow *arg1 = (wxWindow *) 0 ;
27036 wxSizer *arg2 = (wxSizer *) 0 ;
27037 PyObject * obj0 = 0 ;
27038 PyObject * obj1 = 0 ;
27039 char *kwnames[] = {
27040 (char *) "self",(char *) "sizer", NULL
27041 };
27042
27043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
27044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27046 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27048 {
27049 PyThreadState* __tstate = wxPyBeginAllowThreads();
27050 (arg1)->SetContainingSizer(arg2);
27051
27052 wxPyEndAllowThreads(__tstate);
27053 if (PyErr_Occurred()) SWIG_fail;
27054 }
27055 Py_INCREF(Py_None); resultobj = Py_None;
27056 return resultobj;
27057 fail:
27058 return NULL;
27059 }
27060
27061
27062 static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
27063 PyObject *resultobj;
27064 wxWindow *arg1 = (wxWindow *) 0 ;
27065 wxSizer *result;
27066 PyObject * obj0 = 0 ;
27067 char *kwnames[] = {
27068 (char *) "self", NULL
27069 };
27070
27071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
27072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27074 {
27075 PyThreadState* __tstate = wxPyBeginAllowThreads();
27076 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
27077
27078 wxPyEndAllowThreads(__tstate);
27079 if (PyErr_Occurred()) SWIG_fail;
27080 }
27081 {
27082 resultobj = wxPyMake_wxSizer(result);
27083 }
27084 return resultobj;
27085 fail:
27086 return NULL;
27087 }
27088
27089
27090 static PyObject * Window_swigregister(PyObject *, PyObject *args) {
27091 PyObject *obj;
27092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27093 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
27094 Py_INCREF(obj);
27095 return Py_BuildValue((char *)"");
27096 }
27097 static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
27098 PyObject *resultobj;
27099 long arg1 ;
27100 wxWindow *arg2 = (wxWindow *) NULL ;
27101 wxWindow *result;
27102 PyObject * obj0 = 0 ;
27103 PyObject * obj1 = 0 ;
27104 char *kwnames[] = {
27105 (char *) "id",(char *) "parent", NULL
27106 };
27107
27108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
27109 arg1 = (long) SWIG_AsLong(obj0);
27110 if (PyErr_Occurred()) SWIG_fail;
27111 if (obj1) {
27112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27114 }
27115 {
27116 PyThreadState* __tstate = wxPyBeginAllowThreads();
27117 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
27118
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 {
27123 resultobj = wxPyMake_wxObject(result);
27124 }
27125 return resultobj;
27126 fail:
27127 return NULL;
27128 }
27129
27130
27131 static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
27132 PyObject *resultobj;
27133 wxString *arg1 = 0 ;
27134 wxWindow *arg2 = (wxWindow *) NULL ;
27135 wxWindow *result;
27136 bool temp1 = False ;
27137 PyObject * obj0 = 0 ;
27138 PyObject * obj1 = 0 ;
27139 char *kwnames[] = {
27140 (char *) "name",(char *) "parent", NULL
27141 };
27142
27143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
27144 {
27145 arg1 = wxString_in_helper(obj0);
27146 if (arg1 == NULL) SWIG_fail;
27147 temp1 = True;
27148 }
27149 if (obj1) {
27150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27152 }
27153 {
27154 PyThreadState* __tstate = wxPyBeginAllowThreads();
27155 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
27156
27157 wxPyEndAllowThreads(__tstate);
27158 if (PyErr_Occurred()) SWIG_fail;
27159 }
27160 {
27161 resultobj = wxPyMake_wxObject(result);
27162 }
27163 {
27164 if (temp1)
27165 delete arg1;
27166 }
27167 return resultobj;
27168 fail:
27169 {
27170 if (temp1)
27171 delete arg1;
27172 }
27173 return NULL;
27174 }
27175
27176
27177 static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27178 PyObject *resultobj;
27179 wxString *arg1 = 0 ;
27180 wxWindow *arg2 = (wxWindow *) NULL ;
27181 wxWindow *result;
27182 bool temp1 = False ;
27183 PyObject * obj0 = 0 ;
27184 PyObject * obj1 = 0 ;
27185 char *kwnames[] = {
27186 (char *) "label",(char *) "parent", NULL
27187 };
27188
27189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
27190 {
27191 arg1 = wxString_in_helper(obj0);
27192 if (arg1 == NULL) SWIG_fail;
27193 temp1 = True;
27194 }
27195 if (obj1) {
27196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27198 }
27199 {
27200 PyThreadState* __tstate = wxPyBeginAllowThreads();
27201 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
27202
27203 wxPyEndAllowThreads(__tstate);
27204 if (PyErr_Occurred()) SWIG_fail;
27205 }
27206 {
27207 resultobj = wxPyMake_wxObject(result);
27208 }
27209 {
27210 if (temp1)
27211 delete arg1;
27212 }
27213 return resultobj;
27214 fail:
27215 {
27216 if (temp1)
27217 delete arg1;
27218 }
27219 return NULL;
27220 }
27221
27222
27223 static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) {
27224 PyObject *resultobj;
27225 wxWindow *arg1 = (wxWindow *) 0 ;
27226 unsigned long arg2 ;
27227 wxWindow *result;
27228 PyObject * obj0 = 0 ;
27229 PyObject * obj1 = 0 ;
27230 char *kwnames[] = {
27231 (char *) "parent",(char *) "_hWnd", NULL
27232 };
27233
27234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
27235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27237 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
27238 if (PyErr_Occurred()) SWIG_fail;
27239 {
27240 PyThreadState* __tstate = wxPyBeginAllowThreads();
27241 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
27242
27243 wxPyEndAllowThreads(__tstate);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
27246 {
27247 resultobj = wxPyMake_wxObject(result);
27248 }
27249 return resultobj;
27250 fail:
27251 return NULL;
27252 }
27253
27254
27255 static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) {
27256 PyObject *resultobj;
27257 wxValidator *result;
27258 char *kwnames[] = {
27259 NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
27263 {
27264 PyThreadState* __tstate = wxPyBeginAllowThreads();
27265 result = (wxValidator *)new wxValidator();
27266
27267 wxPyEndAllowThreads(__tstate);
27268 if (PyErr_Occurred()) SWIG_fail;
27269 }
27270 {
27271 resultobj = wxPyMake_wxObject(result);
27272 }
27273 return resultobj;
27274 fail:
27275 return NULL;
27276 }
27277
27278
27279 static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
27280 PyObject *resultobj;
27281 wxValidator *arg1 = (wxValidator *) 0 ;
27282 wxValidator *result;
27283 PyObject * obj0 = 0 ;
27284 char *kwnames[] = {
27285 (char *) "self", NULL
27286 };
27287
27288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
27289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27291 {
27292 PyThreadState* __tstate = wxPyBeginAllowThreads();
27293 result = (wxValidator *)(arg1)->Clone();
27294
27295 wxPyEndAllowThreads(__tstate);
27296 if (PyErr_Occurred()) SWIG_fail;
27297 }
27298 {
27299 resultobj = wxPyMake_wxObject(result);
27300 }
27301 return resultobj;
27302 fail:
27303 return NULL;
27304 }
27305
27306
27307 static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
27308 PyObject *resultobj;
27309 wxValidator *arg1 = (wxValidator *) 0 ;
27310 wxWindow *arg2 = (wxWindow *) 0 ;
27311 bool result;
27312 PyObject * obj0 = 0 ;
27313 PyObject * obj1 = 0 ;
27314 char *kwnames[] = {
27315 (char *) "self",(char *) "parent", NULL
27316 };
27317
27318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
27319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27323 {
27324 PyThreadState* __tstate = wxPyBeginAllowThreads();
27325 result = (bool)(arg1)->Validate(arg2);
27326
27327 wxPyEndAllowThreads(__tstate);
27328 if (PyErr_Occurred()) SWIG_fail;
27329 }
27330 {
27331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27332 }
27333 return resultobj;
27334 fail:
27335 return NULL;
27336 }
27337
27338
27339 static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27340 PyObject *resultobj;
27341 wxValidator *arg1 = (wxValidator *) 0 ;
27342 bool result;
27343 PyObject * obj0 = 0 ;
27344 char *kwnames[] = {
27345 (char *) "self", NULL
27346 };
27347
27348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
27349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27351 {
27352 PyThreadState* __tstate = wxPyBeginAllowThreads();
27353 result = (bool)(arg1)->TransferToWindow();
27354
27355 wxPyEndAllowThreads(__tstate);
27356 if (PyErr_Occurred()) SWIG_fail;
27357 }
27358 {
27359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27360 }
27361 return resultobj;
27362 fail:
27363 return NULL;
27364 }
27365
27366
27367 static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27368 PyObject *resultobj;
27369 wxValidator *arg1 = (wxValidator *) 0 ;
27370 bool result;
27371 PyObject * obj0 = 0 ;
27372 char *kwnames[] = {
27373 (char *) "self", NULL
27374 };
27375
27376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
27377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27379 {
27380 PyThreadState* __tstate = wxPyBeginAllowThreads();
27381 result = (bool)(arg1)->TransferFromWindow();
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_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27396 PyObject *resultobj;
27397 wxValidator *arg1 = (wxValidator *) 0 ;
27398 wxWindow *result;
27399 PyObject * obj0 = 0 ;
27400 char *kwnames[] = {
27401 (char *) "self", NULL
27402 };
27403
27404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
27405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27407 {
27408 PyThreadState* __tstate = wxPyBeginAllowThreads();
27409 result = (wxWindow *)(arg1)->GetWindow();
27410
27411 wxPyEndAllowThreads(__tstate);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 {
27415 resultobj = wxPyMake_wxObject(result);
27416 }
27417 return resultobj;
27418 fail:
27419 return NULL;
27420 }
27421
27422
27423 static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27424 PyObject *resultobj;
27425 wxValidator *arg1 = (wxValidator *) 0 ;
27426 wxWindow *arg2 = (wxWindow *) 0 ;
27427 PyObject * obj0 = 0 ;
27428 PyObject * obj1 = 0 ;
27429 char *kwnames[] = {
27430 (char *) "self",(char *) "window", NULL
27431 };
27432
27433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
27434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27438 {
27439 PyThreadState* __tstate = wxPyBeginAllowThreads();
27440 (arg1)->SetWindow(arg2);
27441
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 Py_INCREF(Py_None); resultobj = Py_None;
27446 return resultobj;
27447 fail:
27448 return NULL;
27449 }
27450
27451
27452 static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) {
27453 PyObject *resultobj;
27454 bool result;
27455 char *kwnames[] = {
27456 NULL
27457 };
27458
27459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
27460 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 result = (bool)wxValidator::IsSilent();
27463
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 {
27468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27469 }
27470 return resultobj;
27471 fail:
27472 return NULL;
27473 }
27474
27475
27476 static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
27477 PyObject *resultobj;
27478 int arg1 = (int) True ;
27479 PyObject * obj0 = 0 ;
27480 char *kwnames[] = {
27481 (char *) "doIt", NULL
27482 };
27483
27484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
27485 if (obj0) {
27486 arg1 = (int) SWIG_AsInt(obj0);
27487 if (PyErr_Occurred()) SWIG_fail;
27488 }
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 wxValidator::SetBellOnError(arg1);
27492
27493 wxPyEndAllowThreads(__tstate);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 }
27496 Py_INCREF(Py_None); resultobj = Py_None;
27497 return resultobj;
27498 fail:
27499 return NULL;
27500 }
27501
27502
27503 static PyObject * Validator_swigregister(PyObject *, PyObject *args) {
27504 PyObject *obj;
27505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27506 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
27507 Py_INCREF(obj);
27508 return Py_BuildValue((char *)"");
27509 }
27510 static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) {
27511 PyObject *resultobj;
27512 wxPyValidator *result;
27513 char *kwnames[] = {
27514 NULL
27515 };
27516
27517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
27518 {
27519 PyThreadState* __tstate = wxPyBeginAllowThreads();
27520 result = (wxPyValidator *)new wxPyValidator();
27521
27522 wxPyEndAllowThreads(__tstate);
27523 if (PyErr_Occurred()) SWIG_fail;
27524 }
27525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
27526 return resultobj;
27527 fail:
27528 return NULL;
27529 }
27530
27531
27532 static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27533 PyObject *resultobj;
27534 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
27535 PyObject *arg2 = (PyObject *) 0 ;
27536 PyObject *arg3 = (PyObject *) 0 ;
27537 int arg4 = (int) True ;
27538 PyObject * obj0 = 0 ;
27539 PyObject * obj1 = 0 ;
27540 PyObject * obj2 = 0 ;
27541 PyObject * obj3 = 0 ;
27542 char *kwnames[] = {
27543 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27544 };
27545
27546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
27548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27549 arg2 = obj1;
27550 arg3 = obj2;
27551 if (obj3) {
27552 arg4 = (int) SWIG_AsInt(obj3);
27553 if (PyErr_Occurred()) SWIG_fail;
27554 }
27555 {
27556 PyThreadState* __tstate = wxPyBeginAllowThreads();
27557 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
27558
27559 wxPyEndAllowThreads(__tstate);
27560 if (PyErr_Occurred()) SWIG_fail;
27561 }
27562 Py_INCREF(Py_None); resultobj = Py_None;
27563 return resultobj;
27564 fail:
27565 return NULL;
27566 }
27567
27568
27569 static PyObject * PyValidator_swigregister(PyObject *, PyObject *args) {
27570 PyObject *obj;
27571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27572 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
27573 Py_INCREF(obj);
27574 return Py_BuildValue((char *)"");
27575 }
27576 static int _wrap_DefaultValidator_set(PyObject *) {
27577 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
27578 return 1;
27579 }
27580
27581
27582 static PyObject *_wrap_DefaultValidator_get() {
27583 PyObject *pyobj;
27584
27585 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
27586 return pyobj;
27587 }
27588
27589
27590 static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) {
27591 PyObject *resultobj;
27592 wxString const &arg1_defvalue = wxPyEmptyString ;
27593 wxString *arg1 = (wxString *) &arg1_defvalue ;
27594 long arg2 = (long) 0 ;
27595 wxMenu *result;
27596 bool temp1 = False ;
27597 PyObject * obj0 = 0 ;
27598 PyObject * obj1 = 0 ;
27599 char *kwnames[] = {
27600 (char *) "title",(char *) "style", NULL
27601 };
27602
27603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
27604 if (obj0) {
27605 {
27606 arg1 = wxString_in_helper(obj0);
27607 if (arg1 == NULL) SWIG_fail;
27608 temp1 = True;
27609 }
27610 }
27611 if (obj1) {
27612 arg2 = (long) SWIG_AsLong(obj1);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 }
27615 {
27616 PyThreadState* __tstate = wxPyBeginAllowThreads();
27617 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
27618
27619 wxPyEndAllowThreads(__tstate);
27620 if (PyErr_Occurred()) SWIG_fail;
27621 }
27622 {
27623 resultobj = wxPyMake_wxObject(result);
27624 }
27625 {
27626 if (temp1)
27627 delete arg1;
27628 }
27629 return resultobj;
27630 fail:
27631 {
27632 if (temp1)
27633 delete arg1;
27634 }
27635 return NULL;
27636 }
27637
27638
27639 static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) {
27640 PyObject *resultobj;
27641 wxMenu *arg1 = (wxMenu *) 0 ;
27642 int arg2 ;
27643 wxString *arg3 = 0 ;
27644 wxString const &arg4_defvalue = wxPyEmptyString ;
27645 wxString *arg4 = (wxString *) &arg4_defvalue ;
27646 int arg5 = (int) wxITEM_NORMAL ;
27647 wxMenuItem *result;
27648 bool temp3 = False ;
27649 bool temp4 = False ;
27650 PyObject * obj0 = 0 ;
27651 PyObject * obj1 = 0 ;
27652 PyObject * obj2 = 0 ;
27653 PyObject * obj3 = 0 ;
27654 PyObject * obj4 = 0 ;
27655 char *kwnames[] = {
27656 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27657 };
27658
27659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27662 arg2 = (int) SWIG_AsInt(obj1);
27663 if (PyErr_Occurred()) SWIG_fail;
27664 {
27665 arg3 = wxString_in_helper(obj2);
27666 if (arg3 == NULL) SWIG_fail;
27667 temp3 = True;
27668 }
27669 if (obj3) {
27670 {
27671 arg4 = wxString_in_helper(obj3);
27672 if (arg4 == NULL) SWIG_fail;
27673 temp4 = True;
27674 }
27675 }
27676 if (obj4) {
27677 arg5 = (wxItemKind) SWIG_AsInt(obj4);
27678 if (PyErr_Occurred()) SWIG_fail;
27679 }
27680 {
27681 PyThreadState* __tstate = wxPyBeginAllowThreads();
27682 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
27683
27684 wxPyEndAllowThreads(__tstate);
27685 if (PyErr_Occurred()) SWIG_fail;
27686 }
27687 {
27688 resultobj = wxPyMake_wxObject(result);
27689 }
27690 {
27691 if (temp3)
27692 delete arg3;
27693 }
27694 {
27695 if (temp4)
27696 delete arg4;
27697 }
27698 return resultobj;
27699 fail:
27700 {
27701 if (temp3)
27702 delete arg3;
27703 }
27704 {
27705 if (temp4)
27706 delete arg4;
27707 }
27708 return NULL;
27709 }
27710
27711
27712 static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
27713 PyObject *resultobj;
27714 wxMenu *arg1 = (wxMenu *) 0 ;
27715 wxMenuItem *result;
27716 PyObject * obj0 = 0 ;
27717 char *kwnames[] = {
27718 (char *) "self", NULL
27719 };
27720
27721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
27722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27724 {
27725 PyThreadState* __tstate = wxPyBeginAllowThreads();
27726 result = (wxMenuItem *)(arg1)->AppendSeparator();
27727
27728 wxPyEndAllowThreads(__tstate);
27729 if (PyErr_Occurred()) SWIG_fail;
27730 }
27731 {
27732 resultobj = wxPyMake_wxObject(result);
27733 }
27734 return resultobj;
27735 fail:
27736 return NULL;
27737 }
27738
27739
27740 static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
27741 PyObject *resultobj;
27742 wxMenu *arg1 = (wxMenu *) 0 ;
27743 int arg2 ;
27744 wxString *arg3 = 0 ;
27745 wxString const &arg4_defvalue = wxPyEmptyString ;
27746 wxString *arg4 = (wxString *) &arg4_defvalue ;
27747 wxMenuItem *result;
27748 bool temp3 = False ;
27749 bool temp4 = False ;
27750 PyObject * obj0 = 0 ;
27751 PyObject * obj1 = 0 ;
27752 PyObject * obj2 = 0 ;
27753 PyObject * obj3 = 0 ;
27754 char *kwnames[] = {
27755 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27756 };
27757
27758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27761 arg2 = (int) SWIG_AsInt(obj1);
27762 if (PyErr_Occurred()) SWIG_fail;
27763 {
27764 arg3 = wxString_in_helper(obj2);
27765 if (arg3 == NULL) SWIG_fail;
27766 temp3 = True;
27767 }
27768 if (obj3) {
27769 {
27770 arg4 = wxString_in_helper(obj3);
27771 if (arg4 == NULL) SWIG_fail;
27772 temp4 = True;
27773 }
27774 }
27775 {
27776 PyThreadState* __tstate = wxPyBeginAllowThreads();
27777 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
27778
27779 wxPyEndAllowThreads(__tstate);
27780 if (PyErr_Occurred()) SWIG_fail;
27781 }
27782 {
27783 resultobj = wxPyMake_wxObject(result);
27784 }
27785 {
27786 if (temp3)
27787 delete arg3;
27788 }
27789 {
27790 if (temp4)
27791 delete arg4;
27792 }
27793 return resultobj;
27794 fail:
27795 {
27796 if (temp3)
27797 delete arg3;
27798 }
27799 {
27800 if (temp4)
27801 delete arg4;
27802 }
27803 return NULL;
27804 }
27805
27806
27807 static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
27808 PyObject *resultobj;
27809 wxMenu *arg1 = (wxMenu *) 0 ;
27810 int arg2 ;
27811 wxString *arg3 = 0 ;
27812 wxString const &arg4_defvalue = wxPyEmptyString ;
27813 wxString *arg4 = (wxString *) &arg4_defvalue ;
27814 wxMenuItem *result;
27815 bool temp3 = False ;
27816 bool temp4 = False ;
27817 PyObject * obj0 = 0 ;
27818 PyObject * obj1 = 0 ;
27819 PyObject * obj2 = 0 ;
27820 PyObject * obj3 = 0 ;
27821 char *kwnames[] = {
27822 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27823 };
27824
27825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27828 arg2 = (int) SWIG_AsInt(obj1);
27829 if (PyErr_Occurred()) SWIG_fail;
27830 {
27831 arg3 = wxString_in_helper(obj2);
27832 if (arg3 == NULL) SWIG_fail;
27833 temp3 = True;
27834 }
27835 if (obj3) {
27836 {
27837 arg4 = wxString_in_helper(obj3);
27838 if (arg4 == NULL) SWIG_fail;
27839 temp4 = True;
27840 }
27841 }
27842 {
27843 PyThreadState* __tstate = wxPyBeginAllowThreads();
27844 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
27845
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 {
27850 resultobj = wxPyMake_wxObject(result);
27851 }
27852 {
27853 if (temp3)
27854 delete arg3;
27855 }
27856 {
27857 if (temp4)
27858 delete arg4;
27859 }
27860 return resultobj;
27861 fail:
27862 {
27863 if (temp3)
27864 delete arg3;
27865 }
27866 {
27867 if (temp4)
27868 delete arg4;
27869 }
27870 return NULL;
27871 }
27872
27873
27874 static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) {
27875 PyObject *resultobj;
27876 wxMenu *arg1 = (wxMenu *) 0 ;
27877 int arg2 ;
27878 wxString *arg3 = 0 ;
27879 wxMenu *arg4 = (wxMenu *) 0 ;
27880 wxString const &arg5_defvalue = wxPyEmptyString ;
27881 wxString *arg5 = (wxString *) &arg5_defvalue ;
27882 wxMenuItem *result;
27883 bool temp3 = False ;
27884 bool temp5 = False ;
27885 PyObject * obj0 = 0 ;
27886 PyObject * obj1 = 0 ;
27887 PyObject * obj2 = 0 ;
27888 PyObject * obj3 = 0 ;
27889 PyObject * obj4 = 0 ;
27890 char *kwnames[] = {
27891 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27892 };
27893
27894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27897 arg2 = (int) SWIG_AsInt(obj1);
27898 if (PyErr_Occurred()) SWIG_fail;
27899 {
27900 arg3 = wxString_in_helper(obj2);
27901 if (arg3 == NULL) SWIG_fail;
27902 temp3 = True;
27903 }
27904 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
27905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27906 if (obj4) {
27907 {
27908 arg5 = wxString_in_helper(obj4);
27909 if (arg5 == NULL) SWIG_fail;
27910 temp5 = True;
27911 }
27912 }
27913 {
27914 PyThreadState* __tstate = wxPyBeginAllowThreads();
27915 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
27916
27917 wxPyEndAllowThreads(__tstate);
27918 if (PyErr_Occurred()) SWIG_fail;
27919 }
27920 {
27921 resultobj = wxPyMake_wxObject(result);
27922 }
27923 {
27924 if (temp3)
27925 delete arg3;
27926 }
27927 {
27928 if (temp5)
27929 delete arg5;
27930 }
27931 return resultobj;
27932 fail:
27933 {
27934 if (temp3)
27935 delete arg3;
27936 }
27937 {
27938 if (temp5)
27939 delete arg5;
27940 }
27941 return NULL;
27942 }
27943
27944
27945 static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
27946 PyObject *resultobj;
27947 wxMenu *arg1 = (wxMenu *) 0 ;
27948 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
27949 wxMenuItem *result;
27950 PyObject * obj0 = 0 ;
27951 PyObject * obj1 = 0 ;
27952 char *kwnames[] = {
27953 (char *) "self",(char *) "item", NULL
27954 };
27955
27956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
27957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
27960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27961 {
27962 PyThreadState* __tstate = wxPyBeginAllowThreads();
27963 result = (wxMenuItem *)(arg1)->Append(arg2);
27964
27965 wxPyEndAllowThreads(__tstate);
27966 if (PyErr_Occurred()) SWIG_fail;
27967 }
27968 {
27969 resultobj = wxPyMake_wxObject(result);
27970 }
27971 return resultobj;
27972 fail:
27973 return NULL;
27974 }
27975
27976
27977 static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) {
27978 PyObject *resultobj;
27979 wxMenu *arg1 = (wxMenu *) 0 ;
27980 PyObject * obj0 = 0 ;
27981 char *kwnames[] = {
27982 (char *) "self", NULL
27983 };
27984
27985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
27986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27988 {
27989 PyThreadState* __tstate = wxPyBeginAllowThreads();
27990 (arg1)->Break();
27991
27992 wxPyEndAllowThreads(__tstate);
27993 if (PyErr_Occurred()) SWIG_fail;
27994 }
27995 Py_INCREF(Py_None); resultobj = Py_None;
27996 return resultobj;
27997 fail:
27998 return NULL;
27999 }
28000
28001
28002 static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
28003 PyObject *resultobj;
28004 wxMenu *arg1 = (wxMenu *) 0 ;
28005 size_t arg2 ;
28006 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
28007 wxMenuItem *result;
28008 PyObject * obj0 = 0 ;
28009 PyObject * obj1 = 0 ;
28010 PyObject * obj2 = 0 ;
28011 char *kwnames[] = {
28012 (char *) "self",(char *) "pos",(char *) "item", NULL
28013 };
28014
28015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
28016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28018 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28019 if (PyErr_Occurred()) SWIG_fail;
28020 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
28021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28022 {
28023 PyThreadState* __tstate = wxPyBeginAllowThreads();
28024 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
28025
28026 wxPyEndAllowThreads(__tstate);
28027 if (PyErr_Occurred()) SWIG_fail;
28028 }
28029 {
28030 resultobj = wxPyMake_wxObject(result);
28031 }
28032 return resultobj;
28033 fail:
28034 return NULL;
28035 }
28036
28037
28038 static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
28039 PyObject *resultobj;
28040 wxMenu *arg1 = (wxMenu *) 0 ;
28041 size_t arg2 ;
28042 int arg3 ;
28043 wxString *arg4 = 0 ;
28044 wxString const &arg5_defvalue = wxPyEmptyString ;
28045 wxString *arg5 = (wxString *) &arg5_defvalue ;
28046 int arg6 = (int) wxITEM_NORMAL ;
28047 wxMenuItem *result;
28048 bool temp4 = False ;
28049 bool temp5 = False ;
28050 PyObject * obj0 = 0 ;
28051 PyObject * obj1 = 0 ;
28052 PyObject * obj2 = 0 ;
28053 PyObject * obj3 = 0 ;
28054 PyObject * obj4 = 0 ;
28055 PyObject * obj5 = 0 ;
28056 char *kwnames[] = {
28057 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28058 };
28059
28060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28063 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28064 if (PyErr_Occurred()) SWIG_fail;
28065 arg3 = (int) SWIG_AsInt(obj2);
28066 if (PyErr_Occurred()) SWIG_fail;
28067 {
28068 arg4 = wxString_in_helper(obj3);
28069 if (arg4 == NULL) SWIG_fail;
28070 temp4 = True;
28071 }
28072 if (obj4) {
28073 {
28074 arg5 = wxString_in_helper(obj4);
28075 if (arg5 == NULL) SWIG_fail;
28076 temp5 = True;
28077 }
28078 }
28079 if (obj5) {
28080 arg6 = (wxItemKind) SWIG_AsInt(obj5);
28081 if (PyErr_Occurred()) SWIG_fail;
28082 }
28083 {
28084 PyThreadState* __tstate = wxPyBeginAllowThreads();
28085 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
28086
28087 wxPyEndAllowThreads(__tstate);
28088 if (PyErr_Occurred()) SWIG_fail;
28089 }
28090 {
28091 resultobj = wxPyMake_wxObject(result);
28092 }
28093 {
28094 if (temp4)
28095 delete arg4;
28096 }
28097 {
28098 if (temp5)
28099 delete arg5;
28100 }
28101 return resultobj;
28102 fail:
28103 {
28104 if (temp4)
28105 delete arg4;
28106 }
28107 {
28108 if (temp5)
28109 delete arg5;
28110 }
28111 return NULL;
28112 }
28113
28114
28115 static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
28116 PyObject *resultobj;
28117 wxMenu *arg1 = (wxMenu *) 0 ;
28118 size_t arg2 ;
28119 wxMenuItem *result;
28120 PyObject * obj0 = 0 ;
28121 PyObject * obj1 = 0 ;
28122 char *kwnames[] = {
28123 (char *) "self",(char *) "pos", NULL
28124 };
28125
28126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
28127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28129 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28130 if (PyErr_Occurred()) SWIG_fail;
28131 {
28132 PyThreadState* __tstate = wxPyBeginAllowThreads();
28133 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
28134
28135 wxPyEndAllowThreads(__tstate);
28136 if (PyErr_Occurred()) SWIG_fail;
28137 }
28138 {
28139 resultobj = wxPyMake_wxObject(result);
28140 }
28141 return resultobj;
28142 fail:
28143 return NULL;
28144 }
28145
28146
28147 static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
28148 PyObject *resultobj;
28149 wxMenu *arg1 = (wxMenu *) 0 ;
28150 size_t arg2 ;
28151 int arg3 ;
28152 wxString *arg4 = 0 ;
28153 wxString const &arg5_defvalue = wxPyEmptyString ;
28154 wxString *arg5 = (wxString *) &arg5_defvalue ;
28155 wxMenuItem *result;
28156 bool temp4 = False ;
28157 bool temp5 = False ;
28158 PyObject * obj0 = 0 ;
28159 PyObject * obj1 = 0 ;
28160 PyObject * obj2 = 0 ;
28161 PyObject * obj3 = 0 ;
28162 PyObject * obj4 = 0 ;
28163 char *kwnames[] = {
28164 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28165 };
28166
28167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28170 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28171 if (PyErr_Occurred()) SWIG_fail;
28172 arg3 = (int) SWIG_AsInt(obj2);
28173 if (PyErr_Occurred()) SWIG_fail;
28174 {
28175 arg4 = wxString_in_helper(obj3);
28176 if (arg4 == NULL) SWIG_fail;
28177 temp4 = True;
28178 }
28179 if (obj4) {
28180 {
28181 arg5 = wxString_in_helper(obj4);
28182 if (arg5 == NULL) SWIG_fail;
28183 temp5 = True;
28184 }
28185 }
28186 {
28187 PyThreadState* __tstate = wxPyBeginAllowThreads();
28188 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
28189
28190 wxPyEndAllowThreads(__tstate);
28191 if (PyErr_Occurred()) SWIG_fail;
28192 }
28193 {
28194 resultobj = wxPyMake_wxObject(result);
28195 }
28196 {
28197 if (temp4)
28198 delete arg4;
28199 }
28200 {
28201 if (temp5)
28202 delete arg5;
28203 }
28204 return resultobj;
28205 fail:
28206 {
28207 if (temp4)
28208 delete arg4;
28209 }
28210 {
28211 if (temp5)
28212 delete arg5;
28213 }
28214 return NULL;
28215 }
28216
28217
28218 static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
28219 PyObject *resultobj;
28220 wxMenu *arg1 = (wxMenu *) 0 ;
28221 size_t arg2 ;
28222 int arg3 ;
28223 wxString *arg4 = 0 ;
28224 wxString const &arg5_defvalue = wxPyEmptyString ;
28225 wxString *arg5 = (wxString *) &arg5_defvalue ;
28226 wxMenuItem *result;
28227 bool temp4 = False ;
28228 bool temp5 = False ;
28229 PyObject * obj0 = 0 ;
28230 PyObject * obj1 = 0 ;
28231 PyObject * obj2 = 0 ;
28232 PyObject * obj3 = 0 ;
28233 PyObject * obj4 = 0 ;
28234 char *kwnames[] = {
28235 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28236 };
28237
28238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28241 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28242 if (PyErr_Occurred()) SWIG_fail;
28243 arg3 = (int) SWIG_AsInt(obj2);
28244 if (PyErr_Occurred()) SWIG_fail;
28245 {
28246 arg4 = wxString_in_helper(obj3);
28247 if (arg4 == NULL) SWIG_fail;
28248 temp4 = True;
28249 }
28250 if (obj4) {
28251 {
28252 arg5 = wxString_in_helper(obj4);
28253 if (arg5 == NULL) SWIG_fail;
28254 temp5 = True;
28255 }
28256 }
28257 {
28258 PyThreadState* __tstate = wxPyBeginAllowThreads();
28259 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
28260
28261 wxPyEndAllowThreads(__tstate);
28262 if (PyErr_Occurred()) SWIG_fail;
28263 }
28264 {
28265 resultobj = wxPyMake_wxObject(result);
28266 }
28267 {
28268 if (temp4)
28269 delete arg4;
28270 }
28271 {
28272 if (temp5)
28273 delete arg5;
28274 }
28275 return resultobj;
28276 fail:
28277 {
28278 if (temp4)
28279 delete arg4;
28280 }
28281 {
28282 if (temp5)
28283 delete arg5;
28284 }
28285 return NULL;
28286 }
28287
28288
28289 static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) {
28290 PyObject *resultobj;
28291 wxMenu *arg1 = (wxMenu *) 0 ;
28292 size_t arg2 ;
28293 int arg3 ;
28294 wxString *arg4 = 0 ;
28295 wxMenu *arg5 = (wxMenu *) 0 ;
28296 wxString const &arg6_defvalue = wxPyEmptyString ;
28297 wxString *arg6 = (wxString *) &arg6_defvalue ;
28298 wxMenuItem *result;
28299 bool temp4 = False ;
28300 bool temp6 = False ;
28301 PyObject * obj0 = 0 ;
28302 PyObject * obj1 = 0 ;
28303 PyObject * obj2 = 0 ;
28304 PyObject * obj3 = 0 ;
28305 PyObject * obj4 = 0 ;
28306 PyObject * obj5 = 0 ;
28307 char *kwnames[] = {
28308 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28309 };
28310
28311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28314 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 arg3 = (int) SWIG_AsInt(obj2);
28317 if (PyErr_Occurred()) SWIG_fail;
28318 {
28319 arg4 = wxString_in_helper(obj3);
28320 if (arg4 == NULL) SWIG_fail;
28321 temp4 = True;
28322 }
28323 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
28324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28325 if (obj5) {
28326 {
28327 arg6 = wxString_in_helper(obj5);
28328 if (arg6 == NULL) SWIG_fail;
28329 temp6 = True;
28330 }
28331 }
28332 {
28333 PyThreadState* __tstate = wxPyBeginAllowThreads();
28334 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
28335
28336 wxPyEndAllowThreads(__tstate);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
28339 {
28340 resultobj = wxPyMake_wxObject(result);
28341 }
28342 {
28343 if (temp4)
28344 delete arg4;
28345 }
28346 {
28347 if (temp6)
28348 delete arg6;
28349 }
28350 return resultobj;
28351 fail:
28352 {
28353 if (temp4)
28354 delete arg4;
28355 }
28356 {
28357 if (temp6)
28358 delete arg6;
28359 }
28360 return NULL;
28361 }
28362
28363
28364 static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
28365 PyObject *resultobj;
28366 wxMenu *arg1 = (wxMenu *) 0 ;
28367 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28368 wxMenuItem *result;
28369 PyObject * obj0 = 0 ;
28370 PyObject * obj1 = 0 ;
28371 char *kwnames[] = {
28372 (char *) "self",(char *) "item", NULL
28373 };
28374
28375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
28376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28380 {
28381 PyThreadState* __tstate = wxPyBeginAllowThreads();
28382 result = (wxMenuItem *)(arg1)->Prepend(arg2);
28383
28384 wxPyEndAllowThreads(__tstate);
28385 if (PyErr_Occurred()) SWIG_fail;
28386 }
28387 {
28388 resultobj = wxPyMake_wxObject(result);
28389 }
28390 return resultobj;
28391 fail:
28392 return NULL;
28393 }
28394
28395
28396 static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
28397 PyObject *resultobj;
28398 wxMenu *arg1 = (wxMenu *) 0 ;
28399 int arg2 ;
28400 wxString *arg3 = 0 ;
28401 wxString const &arg4_defvalue = wxPyEmptyString ;
28402 wxString *arg4 = (wxString *) &arg4_defvalue ;
28403 int arg5 = (int) wxITEM_NORMAL ;
28404 wxMenuItem *result;
28405 bool temp3 = False ;
28406 bool temp4 = False ;
28407 PyObject * obj0 = 0 ;
28408 PyObject * obj1 = 0 ;
28409 PyObject * obj2 = 0 ;
28410 PyObject * obj3 = 0 ;
28411 PyObject * obj4 = 0 ;
28412 char *kwnames[] = {
28413 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28414 };
28415
28416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28419 arg2 = (int) SWIG_AsInt(obj1);
28420 if (PyErr_Occurred()) SWIG_fail;
28421 {
28422 arg3 = wxString_in_helper(obj2);
28423 if (arg3 == NULL) SWIG_fail;
28424 temp3 = True;
28425 }
28426 if (obj3) {
28427 {
28428 arg4 = wxString_in_helper(obj3);
28429 if (arg4 == NULL) SWIG_fail;
28430 temp4 = True;
28431 }
28432 }
28433 if (obj4) {
28434 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28435 if (PyErr_Occurred()) SWIG_fail;
28436 }
28437 {
28438 PyThreadState* __tstate = wxPyBeginAllowThreads();
28439 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
28440
28441 wxPyEndAllowThreads(__tstate);
28442 if (PyErr_Occurred()) SWIG_fail;
28443 }
28444 {
28445 resultobj = wxPyMake_wxObject(result);
28446 }
28447 {
28448 if (temp3)
28449 delete arg3;
28450 }
28451 {
28452 if (temp4)
28453 delete arg4;
28454 }
28455 return resultobj;
28456 fail:
28457 {
28458 if (temp3)
28459 delete arg3;
28460 }
28461 {
28462 if (temp4)
28463 delete arg4;
28464 }
28465 return NULL;
28466 }
28467
28468
28469 static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
28470 PyObject *resultobj;
28471 wxMenu *arg1 = (wxMenu *) 0 ;
28472 wxMenuItem *result;
28473 PyObject * obj0 = 0 ;
28474 char *kwnames[] = {
28475 (char *) "self", NULL
28476 };
28477
28478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
28479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28481 {
28482 PyThreadState* __tstate = wxPyBeginAllowThreads();
28483 result = (wxMenuItem *)(arg1)->PrependSeparator();
28484
28485 wxPyEndAllowThreads(__tstate);
28486 if (PyErr_Occurred()) SWIG_fail;
28487 }
28488 {
28489 resultobj = wxPyMake_wxObject(result);
28490 }
28491 return resultobj;
28492 fail:
28493 return NULL;
28494 }
28495
28496
28497 static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
28498 PyObject *resultobj;
28499 wxMenu *arg1 = (wxMenu *) 0 ;
28500 int arg2 ;
28501 wxString *arg3 = 0 ;
28502 wxString const &arg4_defvalue = wxPyEmptyString ;
28503 wxString *arg4 = (wxString *) &arg4_defvalue ;
28504 wxMenuItem *result;
28505 bool temp3 = False ;
28506 bool temp4 = False ;
28507 PyObject * obj0 = 0 ;
28508 PyObject * obj1 = 0 ;
28509 PyObject * obj2 = 0 ;
28510 PyObject * obj3 = 0 ;
28511 char *kwnames[] = {
28512 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28513 };
28514
28515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28518 arg2 = (int) SWIG_AsInt(obj1);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 {
28521 arg3 = wxString_in_helper(obj2);
28522 if (arg3 == NULL) SWIG_fail;
28523 temp3 = True;
28524 }
28525 if (obj3) {
28526 {
28527 arg4 = wxString_in_helper(obj3);
28528 if (arg4 == NULL) SWIG_fail;
28529 temp4 = True;
28530 }
28531 }
28532 {
28533 PyThreadState* __tstate = wxPyBeginAllowThreads();
28534 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
28535
28536 wxPyEndAllowThreads(__tstate);
28537 if (PyErr_Occurred()) SWIG_fail;
28538 }
28539 {
28540 resultobj = wxPyMake_wxObject(result);
28541 }
28542 {
28543 if (temp3)
28544 delete arg3;
28545 }
28546 {
28547 if (temp4)
28548 delete arg4;
28549 }
28550 return resultobj;
28551 fail:
28552 {
28553 if (temp3)
28554 delete arg3;
28555 }
28556 {
28557 if (temp4)
28558 delete arg4;
28559 }
28560 return NULL;
28561 }
28562
28563
28564 static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
28565 PyObject *resultobj;
28566 wxMenu *arg1 = (wxMenu *) 0 ;
28567 int arg2 ;
28568 wxString *arg3 = 0 ;
28569 wxString const &arg4_defvalue = wxPyEmptyString ;
28570 wxString *arg4 = (wxString *) &arg4_defvalue ;
28571 wxMenuItem *result;
28572 bool temp3 = False ;
28573 bool temp4 = False ;
28574 PyObject * obj0 = 0 ;
28575 PyObject * obj1 = 0 ;
28576 PyObject * obj2 = 0 ;
28577 PyObject * obj3 = 0 ;
28578 char *kwnames[] = {
28579 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28580 };
28581
28582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28585 arg2 = (int) SWIG_AsInt(obj1);
28586 if (PyErr_Occurred()) SWIG_fail;
28587 {
28588 arg3 = wxString_in_helper(obj2);
28589 if (arg3 == NULL) SWIG_fail;
28590 temp3 = True;
28591 }
28592 if (obj3) {
28593 {
28594 arg4 = wxString_in_helper(obj3);
28595 if (arg4 == NULL) SWIG_fail;
28596 temp4 = True;
28597 }
28598 }
28599 {
28600 PyThreadState* __tstate = wxPyBeginAllowThreads();
28601 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
28602
28603 wxPyEndAllowThreads(__tstate);
28604 if (PyErr_Occurred()) SWIG_fail;
28605 }
28606 {
28607 resultobj = wxPyMake_wxObject(result);
28608 }
28609 {
28610 if (temp3)
28611 delete arg3;
28612 }
28613 {
28614 if (temp4)
28615 delete arg4;
28616 }
28617 return resultobj;
28618 fail:
28619 {
28620 if (temp3)
28621 delete arg3;
28622 }
28623 {
28624 if (temp4)
28625 delete arg4;
28626 }
28627 return NULL;
28628 }
28629
28630
28631 static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) {
28632 PyObject *resultobj;
28633 wxMenu *arg1 = (wxMenu *) 0 ;
28634 int arg2 ;
28635 wxString *arg3 = 0 ;
28636 wxMenu *arg4 = (wxMenu *) 0 ;
28637 wxString const &arg5_defvalue = wxPyEmptyString ;
28638 wxString *arg5 = (wxString *) &arg5_defvalue ;
28639 wxMenuItem *result;
28640 bool temp3 = False ;
28641 bool temp5 = False ;
28642 PyObject * obj0 = 0 ;
28643 PyObject * obj1 = 0 ;
28644 PyObject * obj2 = 0 ;
28645 PyObject * obj3 = 0 ;
28646 PyObject * obj4 = 0 ;
28647 char *kwnames[] = {
28648 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28649 };
28650
28651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28654 arg2 = (int) SWIG_AsInt(obj1);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 {
28657 arg3 = wxString_in_helper(obj2);
28658 if (arg3 == NULL) SWIG_fail;
28659 temp3 = True;
28660 }
28661 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28663 if (obj4) {
28664 {
28665 arg5 = wxString_in_helper(obj4);
28666 if (arg5 == NULL) SWIG_fail;
28667 temp5 = True;
28668 }
28669 }
28670 {
28671 PyThreadState* __tstate = wxPyBeginAllowThreads();
28672 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
28673
28674 wxPyEndAllowThreads(__tstate);
28675 if (PyErr_Occurred()) SWIG_fail;
28676 }
28677 {
28678 resultobj = wxPyMake_wxObject(result);
28679 }
28680 {
28681 if (temp3)
28682 delete arg3;
28683 }
28684 {
28685 if (temp5)
28686 delete arg5;
28687 }
28688 return resultobj;
28689 fail:
28690 {
28691 if (temp3)
28692 delete arg3;
28693 }
28694 {
28695 if (temp5)
28696 delete arg5;
28697 }
28698 return NULL;
28699 }
28700
28701
28702 static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
28703 PyObject *resultobj;
28704 wxMenu *arg1 = (wxMenu *) 0 ;
28705 int arg2 ;
28706 wxMenuItem *result;
28707 PyObject * obj0 = 0 ;
28708 PyObject * obj1 = 0 ;
28709 char *kwnames[] = {
28710 (char *) "self",(char *) "id", NULL
28711 };
28712
28713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
28714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28716 arg2 = (int) SWIG_AsInt(obj1);
28717 if (PyErr_Occurred()) SWIG_fail;
28718 {
28719 PyThreadState* __tstate = wxPyBeginAllowThreads();
28720 result = (wxMenuItem *)(arg1)->Remove(arg2);
28721
28722 wxPyEndAllowThreads(__tstate);
28723 if (PyErr_Occurred()) SWIG_fail;
28724 }
28725 {
28726 resultobj = wxPyMake_wxObject(result);
28727 }
28728 return resultobj;
28729 fail:
28730 return NULL;
28731 }
28732
28733
28734 static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) {
28735 PyObject *resultobj;
28736 wxMenu *arg1 = (wxMenu *) 0 ;
28737 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28738 wxMenuItem *result;
28739 PyObject * obj0 = 0 ;
28740 PyObject * obj1 = 0 ;
28741 char *kwnames[] = {
28742 (char *) "self",(char *) "item", NULL
28743 };
28744
28745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
28746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28750 {
28751 PyThreadState* __tstate = wxPyBeginAllowThreads();
28752 result = (wxMenuItem *)(arg1)->Remove(arg2);
28753
28754 wxPyEndAllowThreads(__tstate);
28755 if (PyErr_Occurred()) SWIG_fail;
28756 }
28757 {
28758 resultobj = wxPyMake_wxObject(result);
28759 }
28760 return resultobj;
28761 fail:
28762 return NULL;
28763 }
28764
28765
28766 static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
28767 PyObject *resultobj;
28768 wxMenu *arg1 = (wxMenu *) 0 ;
28769 int arg2 ;
28770 bool result;
28771 PyObject * obj0 = 0 ;
28772 PyObject * obj1 = 0 ;
28773 char *kwnames[] = {
28774 (char *) "self",(char *) "id", NULL
28775 };
28776
28777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
28778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28780 arg2 = (int) SWIG_AsInt(obj1);
28781 if (PyErr_Occurred()) SWIG_fail;
28782 {
28783 PyThreadState* __tstate = wxPyBeginAllowThreads();
28784 result = (bool)(arg1)->Delete(arg2);
28785
28786 wxPyEndAllowThreads(__tstate);
28787 if (PyErr_Occurred()) SWIG_fail;
28788 }
28789 {
28790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28791 }
28792 return resultobj;
28793 fail:
28794 return NULL;
28795 }
28796
28797
28798 static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
28799 PyObject *resultobj;
28800 wxMenu *arg1 = (wxMenu *) 0 ;
28801 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28802 bool result;
28803 PyObject * obj0 = 0 ;
28804 PyObject * obj1 = 0 ;
28805 char *kwnames[] = {
28806 (char *) "self",(char *) "item", NULL
28807 };
28808
28809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
28810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28814 {
28815 PyThreadState* __tstate = wxPyBeginAllowThreads();
28816 result = (bool)(arg1)->Delete(arg2);
28817
28818 wxPyEndAllowThreads(__tstate);
28819 if (PyErr_Occurred()) SWIG_fail;
28820 }
28821 {
28822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28823 }
28824 return resultobj;
28825 fail:
28826 return NULL;
28827 }
28828
28829
28830 static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
28831 PyObject *resultobj;
28832 wxMenu *arg1 = (wxMenu *) 0 ;
28833 PyObject * obj0 = 0 ;
28834 char *kwnames[] = {
28835 (char *) "self", NULL
28836 };
28837
28838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
28839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28841 {
28842 PyThreadState* __tstate = wxPyBeginAllowThreads();
28843 wxMenu_Destroy(arg1);
28844
28845 wxPyEndAllowThreads(__tstate);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 }
28848 Py_INCREF(Py_None); resultobj = Py_None;
28849 return resultobj;
28850 fail:
28851 return NULL;
28852 }
28853
28854
28855 static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) {
28856 PyObject *resultobj;
28857 wxMenu *arg1 = (wxMenu *) 0 ;
28858 int arg2 ;
28859 bool result;
28860 PyObject * obj0 = 0 ;
28861 PyObject * obj1 = 0 ;
28862 char *kwnames[] = {
28863 (char *) "self",(char *) "id", NULL
28864 };
28865
28866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
28867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28869 arg2 = (int) SWIG_AsInt(obj1);
28870 if (PyErr_Occurred()) SWIG_fail;
28871 {
28872 PyThreadState* __tstate = wxPyBeginAllowThreads();
28873 result = (bool)(arg1)->Destroy(arg2);
28874
28875 wxPyEndAllowThreads(__tstate);
28876 if (PyErr_Occurred()) SWIG_fail;
28877 }
28878 {
28879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28880 }
28881 return resultobj;
28882 fail:
28883 return NULL;
28884 }
28885
28886
28887 static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) {
28888 PyObject *resultobj;
28889 wxMenu *arg1 = (wxMenu *) 0 ;
28890 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28891 bool result;
28892 PyObject * obj0 = 0 ;
28893 PyObject * obj1 = 0 ;
28894 char *kwnames[] = {
28895 (char *) "self",(char *) "item", NULL
28896 };
28897
28898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
28899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28901 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28903 {
28904 PyThreadState* __tstate = wxPyBeginAllowThreads();
28905 result = (bool)(arg1)->Destroy(arg2);
28906
28907 wxPyEndAllowThreads(__tstate);
28908 if (PyErr_Occurred()) SWIG_fail;
28909 }
28910 {
28911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28912 }
28913 return resultobj;
28914 fail:
28915 return NULL;
28916 }
28917
28918
28919 static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
28920 PyObject *resultobj;
28921 wxMenu *arg1 = (wxMenu *) 0 ;
28922 size_t result;
28923 PyObject * obj0 = 0 ;
28924 char *kwnames[] = {
28925 (char *) "self", NULL
28926 };
28927
28928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
28929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28931 {
28932 PyThreadState* __tstate = wxPyBeginAllowThreads();
28933 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
28934
28935 wxPyEndAllowThreads(__tstate);
28936 if (PyErr_Occurred()) SWIG_fail;
28937 }
28938 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
28939 return resultobj;
28940 fail:
28941 return NULL;
28942 }
28943
28944
28945 static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) {
28946 PyObject *resultobj;
28947 wxMenu *arg1 = (wxMenu *) 0 ;
28948 PyObject *result;
28949 PyObject * obj0 = 0 ;
28950 char *kwnames[] = {
28951 (char *) "self", NULL
28952 };
28953
28954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
28955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28957 {
28958 PyThreadState* __tstate = wxPyBeginAllowThreads();
28959 result = (PyObject *)wxMenu_GetMenuItems(arg1);
28960
28961 wxPyEndAllowThreads(__tstate);
28962 if (PyErr_Occurred()) SWIG_fail;
28963 }
28964 resultobj = result;
28965 return resultobj;
28966 fail:
28967 return NULL;
28968 }
28969
28970
28971 static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
28972 PyObject *resultobj;
28973 wxMenu *arg1 = (wxMenu *) 0 ;
28974 wxString *arg2 = 0 ;
28975 int result;
28976 bool temp2 = False ;
28977 PyObject * obj0 = 0 ;
28978 PyObject * obj1 = 0 ;
28979 char *kwnames[] = {
28980 (char *) "self",(char *) "item", NULL
28981 };
28982
28983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
28984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28986 {
28987 arg2 = wxString_in_helper(obj1);
28988 if (arg2 == NULL) SWIG_fail;
28989 temp2 = True;
28990 }
28991 {
28992 PyThreadState* __tstate = wxPyBeginAllowThreads();
28993 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
28994
28995 wxPyEndAllowThreads(__tstate);
28996 if (PyErr_Occurred()) SWIG_fail;
28997 }
28998 resultobj = SWIG_FromInt((int)result);
28999 {
29000 if (temp2)
29001 delete arg2;
29002 }
29003 return resultobj;
29004 fail:
29005 {
29006 if (temp2)
29007 delete arg2;
29008 }
29009 return NULL;
29010 }
29011
29012
29013 static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
29014 PyObject *resultobj;
29015 wxMenu *arg1 = (wxMenu *) 0 ;
29016 int arg2 ;
29017 wxMenuItem *result;
29018 PyObject * obj0 = 0 ;
29019 PyObject * obj1 = 0 ;
29020 char *kwnames[] = {
29021 (char *) "self",(char *) "id", NULL
29022 };
29023
29024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
29025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29027 arg2 = (int) SWIG_AsInt(obj1);
29028 if (PyErr_Occurred()) SWIG_fail;
29029 {
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(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_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) {
29046 PyObject *resultobj;
29047 wxMenu *arg1 = (wxMenu *) 0 ;
29048 size_t arg2 ;
29049 wxMenuItem *result;
29050 PyObject * obj0 = 0 ;
29051 PyObject * obj1 = 0 ;
29052 char *kwnames[] = {
29053 (char *) "self",(char *) "position", NULL
29054 };
29055
29056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
29057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29059 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29060 if (PyErr_Occurred()) SWIG_fail;
29061 {
29062 PyThreadState* __tstate = wxPyBeginAllowThreads();
29063 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
29064
29065 wxPyEndAllowThreads(__tstate);
29066 if (PyErr_Occurred()) SWIG_fail;
29067 }
29068 {
29069 resultobj = wxPyMake_wxObject(result);
29070 }
29071 return resultobj;
29072 fail:
29073 return NULL;
29074 }
29075
29076
29077 static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
29078 PyObject *resultobj;
29079 wxMenu *arg1 = (wxMenu *) 0 ;
29080 int arg2 ;
29081 bool arg3 ;
29082 PyObject * obj0 = 0 ;
29083 PyObject * obj1 = 0 ;
29084 PyObject * obj2 = 0 ;
29085 char *kwnames[] = {
29086 (char *) "self",(char *) "id",(char *) "enable", NULL
29087 };
29088
29089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
29090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29092 arg2 = (int) SWIG_AsInt(obj1);
29093 if (PyErr_Occurred()) SWIG_fail;
29094 arg3 = (bool) SWIG_AsBool(obj2);
29095 if (PyErr_Occurred()) SWIG_fail;
29096 {
29097 PyThreadState* __tstate = wxPyBeginAllowThreads();
29098 (arg1)->Enable(arg2,arg3);
29099
29100 wxPyEndAllowThreads(__tstate);
29101 if (PyErr_Occurred()) SWIG_fail;
29102 }
29103 Py_INCREF(Py_None); resultobj = Py_None;
29104 return resultobj;
29105 fail:
29106 return NULL;
29107 }
29108
29109
29110 static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
29111 PyObject *resultobj;
29112 wxMenu *arg1 = (wxMenu *) 0 ;
29113 int arg2 ;
29114 bool result;
29115 PyObject * obj0 = 0 ;
29116 PyObject * obj1 = 0 ;
29117 char *kwnames[] = {
29118 (char *) "self",(char *) "id", NULL
29119 };
29120
29121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
29122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29124 arg2 = (int) SWIG_AsInt(obj1);
29125 if (PyErr_Occurred()) SWIG_fail;
29126 {
29127 PyThreadState* __tstate = wxPyBeginAllowThreads();
29128 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
29129
29130 wxPyEndAllowThreads(__tstate);
29131 if (PyErr_Occurred()) SWIG_fail;
29132 }
29133 {
29134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29135 }
29136 return resultobj;
29137 fail:
29138 return NULL;
29139 }
29140
29141
29142 static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) {
29143 PyObject *resultobj;
29144 wxMenu *arg1 = (wxMenu *) 0 ;
29145 int arg2 ;
29146 bool arg3 ;
29147 PyObject * obj0 = 0 ;
29148 PyObject * obj1 = 0 ;
29149 PyObject * obj2 = 0 ;
29150 char *kwnames[] = {
29151 (char *) "self",(char *) "id",(char *) "check", NULL
29152 };
29153
29154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
29155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29157 arg2 = (int) SWIG_AsInt(obj1);
29158 if (PyErr_Occurred()) SWIG_fail;
29159 arg3 = (bool) SWIG_AsBool(obj2);
29160 if (PyErr_Occurred()) SWIG_fail;
29161 {
29162 PyThreadState* __tstate = wxPyBeginAllowThreads();
29163 (arg1)->Check(arg2,arg3);
29164
29165 wxPyEndAllowThreads(__tstate);
29166 if (PyErr_Occurred()) SWIG_fail;
29167 }
29168 Py_INCREF(Py_None); resultobj = Py_None;
29169 return resultobj;
29170 fail:
29171 return NULL;
29172 }
29173
29174
29175 static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
29176 PyObject *resultobj;
29177 wxMenu *arg1 = (wxMenu *) 0 ;
29178 int arg2 ;
29179 bool result;
29180 PyObject * obj0 = 0 ;
29181 PyObject * obj1 = 0 ;
29182 char *kwnames[] = {
29183 (char *) "self",(char *) "id", NULL
29184 };
29185
29186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
29187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29189 arg2 = (int) SWIG_AsInt(obj1);
29190 if (PyErr_Occurred()) SWIG_fail;
29191 {
29192 PyThreadState* __tstate = wxPyBeginAllowThreads();
29193 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
29194
29195 wxPyEndAllowThreads(__tstate);
29196 if (PyErr_Occurred()) SWIG_fail;
29197 }
29198 {
29199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29200 }
29201 return resultobj;
29202 fail:
29203 return NULL;
29204 }
29205
29206
29207 static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
29208 PyObject *resultobj;
29209 wxMenu *arg1 = (wxMenu *) 0 ;
29210 int arg2 ;
29211 wxString *arg3 = 0 ;
29212 bool temp3 = False ;
29213 PyObject * obj0 = 0 ;
29214 PyObject * obj1 = 0 ;
29215 PyObject * obj2 = 0 ;
29216 char *kwnames[] = {
29217 (char *) "self",(char *) "id",(char *) "label", NULL
29218 };
29219
29220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
29221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29223 arg2 = (int) SWIG_AsInt(obj1);
29224 if (PyErr_Occurred()) SWIG_fail;
29225 {
29226 arg3 = wxString_in_helper(obj2);
29227 if (arg3 == NULL) SWIG_fail;
29228 temp3 = True;
29229 }
29230 {
29231 PyThreadState* __tstate = wxPyBeginAllowThreads();
29232 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
29233
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 Py_INCREF(Py_None); resultobj = Py_None;
29238 {
29239 if (temp3)
29240 delete arg3;
29241 }
29242 return resultobj;
29243 fail:
29244 {
29245 if (temp3)
29246 delete arg3;
29247 }
29248 return NULL;
29249 }
29250
29251
29252 static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
29253 PyObject *resultobj;
29254 wxMenu *arg1 = (wxMenu *) 0 ;
29255 int arg2 ;
29256 wxString result;
29257 PyObject * obj0 = 0 ;
29258 PyObject * obj1 = 0 ;
29259 char *kwnames[] = {
29260 (char *) "self",(char *) "id", NULL
29261 };
29262
29263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
29264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29266 arg2 = (int) SWIG_AsInt(obj1);
29267 if (PyErr_Occurred()) SWIG_fail;
29268 {
29269 PyThreadState* __tstate = wxPyBeginAllowThreads();
29270 result = ((wxMenu const *)arg1)->GetLabel(arg2);
29271
29272 wxPyEndAllowThreads(__tstate);
29273 if (PyErr_Occurred()) SWIG_fail;
29274 }
29275 {
29276 #if wxUSE_UNICODE
29277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29278 #else
29279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29280 #endif
29281 }
29282 return resultobj;
29283 fail:
29284 return NULL;
29285 }
29286
29287
29288 static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
29289 PyObject *resultobj;
29290 wxMenu *arg1 = (wxMenu *) 0 ;
29291 int arg2 ;
29292 wxString *arg3 = 0 ;
29293 bool temp3 = False ;
29294 PyObject * obj0 = 0 ;
29295 PyObject * obj1 = 0 ;
29296 PyObject * obj2 = 0 ;
29297 char *kwnames[] = {
29298 (char *) "self",(char *) "id",(char *) "helpString", NULL
29299 };
29300
29301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
29302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29304 arg2 = (int) SWIG_AsInt(obj1);
29305 if (PyErr_Occurred()) SWIG_fail;
29306 {
29307 arg3 = wxString_in_helper(obj2);
29308 if (arg3 == NULL) SWIG_fail;
29309 temp3 = True;
29310 }
29311 {
29312 PyThreadState* __tstate = wxPyBeginAllowThreads();
29313 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
29314
29315 wxPyEndAllowThreads(__tstate);
29316 if (PyErr_Occurred()) SWIG_fail;
29317 }
29318 Py_INCREF(Py_None); resultobj = Py_None;
29319 {
29320 if (temp3)
29321 delete arg3;
29322 }
29323 return resultobj;
29324 fail:
29325 {
29326 if (temp3)
29327 delete arg3;
29328 }
29329 return NULL;
29330 }
29331
29332
29333 static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
29334 PyObject *resultobj;
29335 wxMenu *arg1 = (wxMenu *) 0 ;
29336 int arg2 ;
29337 wxString result;
29338 PyObject * obj0 = 0 ;
29339 PyObject * obj1 = 0 ;
29340 char *kwnames[] = {
29341 (char *) "self",(char *) "id", NULL
29342 };
29343
29344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
29345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29347 arg2 = (int) SWIG_AsInt(obj1);
29348 if (PyErr_Occurred()) SWIG_fail;
29349 {
29350 PyThreadState* __tstate = wxPyBeginAllowThreads();
29351 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
29352
29353 wxPyEndAllowThreads(__tstate);
29354 if (PyErr_Occurred()) SWIG_fail;
29355 }
29356 {
29357 #if wxUSE_UNICODE
29358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29359 #else
29360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29361 #endif
29362 }
29363 return resultobj;
29364 fail:
29365 return NULL;
29366 }
29367
29368
29369 static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
29370 PyObject *resultobj;
29371 wxMenu *arg1 = (wxMenu *) 0 ;
29372 wxString *arg2 = 0 ;
29373 bool temp2 = False ;
29374 PyObject * obj0 = 0 ;
29375 PyObject * obj1 = 0 ;
29376 char *kwnames[] = {
29377 (char *) "self",(char *) "title", NULL
29378 };
29379
29380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
29381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29383 {
29384 arg2 = wxString_in_helper(obj1);
29385 if (arg2 == NULL) SWIG_fail;
29386 temp2 = True;
29387 }
29388 {
29389 PyThreadState* __tstate = wxPyBeginAllowThreads();
29390 (arg1)->SetTitle((wxString const &)*arg2);
29391
29392 wxPyEndAllowThreads(__tstate);
29393 if (PyErr_Occurred()) SWIG_fail;
29394 }
29395 Py_INCREF(Py_None); resultobj = Py_None;
29396 {
29397 if (temp2)
29398 delete arg2;
29399 }
29400 return resultobj;
29401 fail:
29402 {
29403 if (temp2)
29404 delete arg2;
29405 }
29406 return NULL;
29407 }
29408
29409
29410 static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
29411 PyObject *resultobj;
29412 wxMenu *arg1 = (wxMenu *) 0 ;
29413 wxString result;
29414 PyObject * obj0 = 0 ;
29415 char *kwnames[] = {
29416 (char *) "self", NULL
29417 };
29418
29419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
29420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29422 {
29423 PyThreadState* __tstate = wxPyBeginAllowThreads();
29424 result = ((wxMenu const *)arg1)->GetTitle();
29425
29426 wxPyEndAllowThreads(__tstate);
29427 if (PyErr_Occurred()) SWIG_fail;
29428 }
29429 {
29430 #if wxUSE_UNICODE
29431 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29432 #else
29433 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29434 #endif
29435 }
29436 return resultobj;
29437 fail:
29438 return NULL;
29439 }
29440
29441
29442 static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
29443 PyObject *resultobj;
29444 wxMenu *arg1 = (wxMenu *) 0 ;
29445 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
29446 PyObject * obj0 = 0 ;
29447 PyObject * obj1 = 0 ;
29448 char *kwnames[] = {
29449 (char *) "self",(char *) "handler", NULL
29450 };
29451
29452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
29453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
29456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29457 {
29458 PyThreadState* __tstate = wxPyBeginAllowThreads();
29459 (arg1)->SetEventHandler(arg2);
29460
29461 wxPyEndAllowThreads(__tstate);
29462 if (PyErr_Occurred()) SWIG_fail;
29463 }
29464 Py_INCREF(Py_None); resultobj = Py_None;
29465 return resultobj;
29466 fail:
29467 return NULL;
29468 }
29469
29470
29471 static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
29472 PyObject *resultobj;
29473 wxMenu *arg1 = (wxMenu *) 0 ;
29474 wxEvtHandler *result;
29475 PyObject * obj0 = 0 ;
29476 char *kwnames[] = {
29477 (char *) "self", NULL
29478 };
29479
29480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
29481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29483 {
29484 PyThreadState* __tstate = wxPyBeginAllowThreads();
29485 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
29486
29487 wxPyEndAllowThreads(__tstate);
29488 if (PyErr_Occurred()) SWIG_fail;
29489 }
29490 {
29491 resultobj = wxPyMake_wxObject(result);
29492 }
29493 return resultobj;
29494 fail:
29495 return NULL;
29496 }
29497
29498
29499 static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29500 PyObject *resultobj;
29501 wxMenu *arg1 = (wxMenu *) 0 ;
29502 wxWindow *arg2 = (wxWindow *) 0 ;
29503 PyObject * obj0 = 0 ;
29504 PyObject * obj1 = 0 ;
29505 char *kwnames[] = {
29506 (char *) "self",(char *) "win", NULL
29507 };
29508
29509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
29510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29514 {
29515 PyThreadState* __tstate = wxPyBeginAllowThreads();
29516 (arg1)->SetInvokingWindow(arg2);
29517
29518 wxPyEndAllowThreads(__tstate);
29519 if (PyErr_Occurred()) SWIG_fail;
29520 }
29521 Py_INCREF(Py_None); resultobj = Py_None;
29522 return resultobj;
29523 fail:
29524 return NULL;
29525 }
29526
29527
29528 static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29529 PyObject *resultobj;
29530 wxMenu *arg1 = (wxMenu *) 0 ;
29531 wxWindow *result;
29532 PyObject * obj0 = 0 ;
29533 char *kwnames[] = {
29534 (char *) "self", NULL
29535 };
29536
29537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
29538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29540 {
29541 PyThreadState* __tstate = wxPyBeginAllowThreads();
29542 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
29543
29544 wxPyEndAllowThreads(__tstate);
29545 if (PyErr_Occurred()) SWIG_fail;
29546 }
29547 {
29548 resultobj = wxPyMake_wxObject(result);
29549 }
29550 return resultobj;
29551 fail:
29552 return NULL;
29553 }
29554
29555
29556 static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
29557 PyObject *resultobj;
29558 wxMenu *arg1 = (wxMenu *) 0 ;
29559 long result;
29560 PyObject * obj0 = 0 ;
29561 char *kwnames[] = {
29562 (char *) "self", NULL
29563 };
29564
29565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
29566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29568 {
29569 PyThreadState* __tstate = wxPyBeginAllowThreads();
29570 result = (long)((wxMenu const *)arg1)->GetStyle();
29571
29572 wxPyEndAllowThreads(__tstate);
29573 if (PyErr_Occurred()) SWIG_fail;
29574 }
29575 resultobj = SWIG_FromLong((long)result);
29576 return resultobj;
29577 fail:
29578 return NULL;
29579 }
29580
29581
29582 static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) {
29583 PyObject *resultobj;
29584 wxMenu *arg1 = (wxMenu *) 0 ;
29585 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
29586 PyObject * obj0 = 0 ;
29587 PyObject * obj1 = 0 ;
29588 char *kwnames[] = {
29589 (char *) "self",(char *) "source", NULL
29590 };
29591
29592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
29593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29595 if (obj1) {
29596 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
29597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29598 }
29599 {
29600 PyThreadState* __tstate = wxPyBeginAllowThreads();
29601 (arg1)->UpdateUI(arg2);
29602
29603 wxPyEndAllowThreads(__tstate);
29604 if (PyErr_Occurred()) SWIG_fail;
29605 }
29606 Py_INCREF(Py_None); resultobj = Py_None;
29607 return resultobj;
29608 fail:
29609 return NULL;
29610 }
29611
29612
29613 static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
29614 PyObject *resultobj;
29615 wxMenu *arg1 = (wxMenu *) 0 ;
29616 wxMenuBar *result;
29617 PyObject * obj0 = 0 ;
29618 char *kwnames[] = {
29619 (char *) "self", NULL
29620 };
29621
29622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
29623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29625 {
29626 PyThreadState* __tstate = wxPyBeginAllowThreads();
29627 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
29628
29629 wxPyEndAllowThreads(__tstate);
29630 if (PyErr_Occurred()) SWIG_fail;
29631 }
29632 {
29633 resultobj = wxPyMake_wxObject(result);
29634 }
29635 return resultobj;
29636 fail:
29637 return NULL;
29638 }
29639
29640
29641 static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
29642 PyObject *resultobj;
29643 wxMenu *arg1 = (wxMenu *) 0 ;
29644 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
29645 PyObject * obj0 = 0 ;
29646 PyObject * obj1 = 0 ;
29647 char *kwnames[] = {
29648 (char *) "self",(char *) "menubar", NULL
29649 };
29650
29651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
29652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
29655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29656 {
29657 PyThreadState* __tstate = wxPyBeginAllowThreads();
29658 (arg1)->Attach(arg2);
29659
29660 wxPyEndAllowThreads(__tstate);
29661 if (PyErr_Occurred()) SWIG_fail;
29662 }
29663 Py_INCREF(Py_None); resultobj = Py_None;
29664 return resultobj;
29665 fail:
29666 return NULL;
29667 }
29668
29669
29670 static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
29671 PyObject *resultobj;
29672 wxMenu *arg1 = (wxMenu *) 0 ;
29673 PyObject * obj0 = 0 ;
29674 char *kwnames[] = {
29675 (char *) "self", NULL
29676 };
29677
29678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
29679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29681 {
29682 PyThreadState* __tstate = wxPyBeginAllowThreads();
29683 (arg1)->Detach();
29684
29685 wxPyEndAllowThreads(__tstate);
29686 if (PyErr_Occurred()) SWIG_fail;
29687 }
29688 Py_INCREF(Py_None); resultobj = Py_None;
29689 return resultobj;
29690 fail:
29691 return NULL;
29692 }
29693
29694
29695 static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
29696 PyObject *resultobj;
29697 wxMenu *arg1 = (wxMenu *) 0 ;
29698 bool result;
29699 PyObject * obj0 = 0 ;
29700 char *kwnames[] = {
29701 (char *) "self", NULL
29702 };
29703
29704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
29705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29707 {
29708 PyThreadState* __tstate = wxPyBeginAllowThreads();
29709 result = (bool)((wxMenu const *)arg1)->IsAttached();
29710
29711 wxPyEndAllowThreads(__tstate);
29712 if (PyErr_Occurred()) SWIG_fail;
29713 }
29714 {
29715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29716 }
29717 return resultobj;
29718 fail:
29719 return NULL;
29720 }
29721
29722
29723 static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
29724 PyObject *resultobj;
29725 wxMenu *arg1 = (wxMenu *) 0 ;
29726 wxMenu *arg2 = (wxMenu *) 0 ;
29727 PyObject * obj0 = 0 ;
29728 PyObject * obj1 = 0 ;
29729 char *kwnames[] = {
29730 (char *) "self",(char *) "parent", NULL
29731 };
29732
29733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
29734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
29737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29738 {
29739 PyThreadState* __tstate = wxPyBeginAllowThreads();
29740 (arg1)->SetParent(arg2);
29741
29742 wxPyEndAllowThreads(__tstate);
29743 if (PyErr_Occurred()) SWIG_fail;
29744 }
29745 Py_INCREF(Py_None); resultobj = Py_None;
29746 return resultobj;
29747 fail:
29748 return NULL;
29749 }
29750
29751
29752 static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
29753 PyObject *resultobj;
29754 wxMenu *arg1 = (wxMenu *) 0 ;
29755 wxMenu *result;
29756 PyObject * obj0 = 0 ;
29757 char *kwnames[] = {
29758 (char *) "self", NULL
29759 };
29760
29761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
29762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29764 {
29765 PyThreadState* __tstate = wxPyBeginAllowThreads();
29766 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
29767
29768 wxPyEndAllowThreads(__tstate);
29769 if (PyErr_Occurred()) SWIG_fail;
29770 }
29771 {
29772 resultobj = wxPyMake_wxObject(result);
29773 }
29774 return resultobj;
29775 fail:
29776 return NULL;
29777 }
29778
29779
29780 static PyObject * Menu_swigregister(PyObject *, PyObject *args) {
29781 PyObject *obj;
29782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29783 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
29784 Py_INCREF(obj);
29785 return Py_BuildValue((char *)"");
29786 }
29787 static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
29788 PyObject *resultobj;
29789 long arg1 = (long) 0 ;
29790 wxMenuBar *result;
29791 PyObject * obj0 = 0 ;
29792 char *kwnames[] = {
29793 (char *) "style", NULL
29794 };
29795
29796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
29797 if (obj0) {
29798 arg1 = (long) SWIG_AsLong(obj0);
29799 if (PyErr_Occurred()) SWIG_fail;
29800 }
29801 {
29802 PyThreadState* __tstate = wxPyBeginAllowThreads();
29803 result = (wxMenuBar *)new wxMenuBar(arg1);
29804
29805 wxPyEndAllowThreads(__tstate);
29806 if (PyErr_Occurred()) SWIG_fail;
29807 }
29808 {
29809 resultobj = wxPyMake_wxObject(result);
29810 }
29811 return resultobj;
29812 fail:
29813 return NULL;
29814 }
29815
29816
29817 static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) {
29818 PyObject *resultobj;
29819 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29820 wxMenu *arg2 = (wxMenu *) 0 ;
29821 wxString *arg3 = 0 ;
29822 bool result;
29823 bool temp3 = False ;
29824 PyObject * obj0 = 0 ;
29825 PyObject * obj1 = 0 ;
29826 PyObject * obj2 = 0 ;
29827 char *kwnames[] = {
29828 (char *) "self",(char *) "menu",(char *) "title", NULL
29829 };
29830
29831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
29832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
29835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29836 {
29837 arg3 = wxString_in_helper(obj2);
29838 if (arg3 == NULL) SWIG_fail;
29839 temp3 = True;
29840 }
29841 {
29842 PyThreadState* __tstate = wxPyBeginAllowThreads();
29843 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
29844
29845 wxPyEndAllowThreads(__tstate);
29846 if (PyErr_Occurred()) SWIG_fail;
29847 }
29848 {
29849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29850 }
29851 {
29852 if (temp3)
29853 delete arg3;
29854 }
29855 return resultobj;
29856 fail:
29857 {
29858 if (temp3)
29859 delete arg3;
29860 }
29861 return NULL;
29862 }
29863
29864
29865 static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
29866 PyObject *resultobj;
29867 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29868 size_t arg2 ;
29869 wxMenu *arg3 = (wxMenu *) 0 ;
29870 wxString *arg4 = 0 ;
29871 bool result;
29872 bool temp4 = False ;
29873 PyObject * obj0 = 0 ;
29874 PyObject * obj1 = 0 ;
29875 PyObject * obj2 = 0 ;
29876 PyObject * obj3 = 0 ;
29877 char *kwnames[] = {
29878 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29879 };
29880
29881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29884 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29885 if (PyErr_Occurred()) SWIG_fail;
29886 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
29887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29888 {
29889 arg4 = wxString_in_helper(obj3);
29890 if (arg4 == NULL) SWIG_fail;
29891 temp4 = True;
29892 }
29893 {
29894 PyThreadState* __tstate = wxPyBeginAllowThreads();
29895 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
29896
29897 wxPyEndAllowThreads(__tstate);
29898 if (PyErr_Occurred()) SWIG_fail;
29899 }
29900 {
29901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29902 }
29903 {
29904 if (temp4)
29905 delete arg4;
29906 }
29907 return resultobj;
29908 fail:
29909 {
29910 if (temp4)
29911 delete arg4;
29912 }
29913 return NULL;
29914 }
29915
29916
29917 static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) {
29918 PyObject *resultobj;
29919 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29920 size_t result;
29921 PyObject * obj0 = 0 ;
29922 char *kwnames[] = {
29923 (char *) "self", NULL
29924 };
29925
29926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
29927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29929 {
29930 PyThreadState* __tstate = wxPyBeginAllowThreads();
29931 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
29932
29933 wxPyEndAllowThreads(__tstate);
29934 if (PyErr_Occurred()) SWIG_fail;
29935 }
29936 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
29937 return resultobj;
29938 fail:
29939 return NULL;
29940 }
29941
29942
29943 static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
29944 PyObject *resultobj;
29945 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29946 size_t arg2 ;
29947 wxMenu *result;
29948 PyObject * obj0 = 0 ;
29949 PyObject * obj1 = 0 ;
29950 char *kwnames[] = {
29951 (char *) "self",(char *) "pos", NULL
29952 };
29953
29954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
29955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29957 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29958 if (PyErr_Occurred()) SWIG_fail;
29959 {
29960 PyThreadState* __tstate = wxPyBeginAllowThreads();
29961 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
29962
29963 wxPyEndAllowThreads(__tstate);
29964 if (PyErr_Occurred()) SWIG_fail;
29965 }
29966 {
29967 resultobj = wxPyMake_wxObject(result);
29968 }
29969 return resultobj;
29970 fail:
29971 return NULL;
29972 }
29973
29974
29975 static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
29976 PyObject *resultobj;
29977 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29978 size_t arg2 ;
29979 wxMenu *arg3 = (wxMenu *) 0 ;
29980 wxString *arg4 = 0 ;
29981 wxMenu *result;
29982 bool temp4 = False ;
29983 PyObject * obj0 = 0 ;
29984 PyObject * obj1 = 0 ;
29985 PyObject * obj2 = 0 ;
29986 PyObject * obj3 = 0 ;
29987 char *kwnames[] = {
29988 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29989 };
29990
29991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29994 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29995 if (PyErr_Occurred()) SWIG_fail;
29996 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
29997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29998 {
29999 arg4 = wxString_in_helper(obj3);
30000 if (arg4 == NULL) SWIG_fail;
30001 temp4 = True;
30002 }
30003 {
30004 PyThreadState* __tstate = wxPyBeginAllowThreads();
30005 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
30006
30007 wxPyEndAllowThreads(__tstate);
30008 if (PyErr_Occurred()) SWIG_fail;
30009 }
30010 {
30011 resultobj = wxPyMake_wxObject(result);
30012 }
30013 {
30014 if (temp4)
30015 delete arg4;
30016 }
30017 return resultobj;
30018 fail:
30019 {
30020 if (temp4)
30021 delete arg4;
30022 }
30023 return NULL;
30024 }
30025
30026
30027 static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
30028 PyObject *resultobj;
30029 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30030 size_t arg2 ;
30031 wxMenu *result;
30032 PyObject * obj0 = 0 ;
30033 PyObject * obj1 = 0 ;
30034 char *kwnames[] = {
30035 (char *) "self",(char *) "pos", NULL
30036 };
30037
30038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
30039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30041 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30042 if (PyErr_Occurred()) SWIG_fail;
30043 {
30044 PyThreadState* __tstate = wxPyBeginAllowThreads();
30045 result = (wxMenu *)(arg1)->Remove(arg2);
30046
30047 wxPyEndAllowThreads(__tstate);
30048 if (PyErr_Occurred()) SWIG_fail;
30049 }
30050 {
30051 resultobj = wxPyMake_wxObject(result);
30052 }
30053 return resultobj;
30054 fail:
30055 return NULL;
30056 }
30057
30058
30059 static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) {
30060 PyObject *resultobj;
30061 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30062 size_t arg2 ;
30063 bool arg3 ;
30064 PyObject * obj0 = 0 ;
30065 PyObject * obj1 = 0 ;
30066 PyObject * obj2 = 0 ;
30067 char *kwnames[] = {
30068 (char *) "self",(char *) "pos",(char *) "enable", NULL
30069 };
30070
30071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
30072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30074 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30075 if (PyErr_Occurred()) SWIG_fail;
30076 arg3 = (bool) SWIG_AsBool(obj2);
30077 if (PyErr_Occurred()) SWIG_fail;
30078 {
30079 PyThreadState* __tstate = wxPyBeginAllowThreads();
30080 (arg1)->EnableTop(arg2,arg3);
30081
30082 wxPyEndAllowThreads(__tstate);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 }
30085 Py_INCREF(Py_None); resultobj = Py_None;
30086 return resultobj;
30087 fail:
30088 return NULL;
30089 }
30090
30091
30092 static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) {
30093 PyObject *resultobj;
30094 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30095 size_t arg2 ;
30096 bool result;
30097 PyObject * obj0 = 0 ;
30098 PyObject * obj1 = 0 ;
30099 char *kwnames[] = {
30100 (char *) "self",(char *) "pos", NULL
30101 };
30102
30103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
30104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30106 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30107 if (PyErr_Occurred()) SWIG_fail;
30108 {
30109 PyThreadState* __tstate = wxPyBeginAllowThreads();
30110 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
30111
30112 wxPyEndAllowThreads(__tstate);
30113 if (PyErr_Occurred()) SWIG_fail;
30114 }
30115 {
30116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30117 }
30118 return resultobj;
30119 fail:
30120 return NULL;
30121 }
30122
30123
30124 static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
30125 PyObject *resultobj;
30126 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30127 size_t arg2 ;
30128 wxString *arg3 = 0 ;
30129 bool temp3 = False ;
30130 PyObject * obj0 = 0 ;
30131 PyObject * obj1 = 0 ;
30132 PyObject * obj2 = 0 ;
30133 char *kwnames[] = {
30134 (char *) "self",(char *) "pos",(char *) "label", NULL
30135 };
30136
30137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
30138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30140 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30141 if (PyErr_Occurred()) SWIG_fail;
30142 {
30143 arg3 = wxString_in_helper(obj2);
30144 if (arg3 == NULL) SWIG_fail;
30145 temp3 = True;
30146 }
30147 {
30148 PyThreadState* __tstate = wxPyBeginAllowThreads();
30149 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
30150
30151 wxPyEndAllowThreads(__tstate);
30152 if (PyErr_Occurred()) SWIG_fail;
30153 }
30154 Py_INCREF(Py_None); resultobj = Py_None;
30155 {
30156 if (temp3)
30157 delete arg3;
30158 }
30159 return resultobj;
30160 fail:
30161 {
30162 if (temp3)
30163 delete arg3;
30164 }
30165 return NULL;
30166 }
30167
30168
30169 static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
30170 PyObject *resultobj;
30171 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30172 size_t arg2 ;
30173 wxString result;
30174 PyObject * obj0 = 0 ;
30175 PyObject * obj1 = 0 ;
30176 char *kwnames[] = {
30177 (char *) "self",(char *) "pos", NULL
30178 };
30179
30180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
30181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30183 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 {
30186 PyThreadState* __tstate = wxPyBeginAllowThreads();
30187 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
30188
30189 wxPyEndAllowThreads(__tstate);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 }
30192 {
30193 #if wxUSE_UNICODE
30194 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30195 #else
30196 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30197 #endif
30198 }
30199 return resultobj;
30200 fail:
30201 return NULL;
30202 }
30203
30204
30205 static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
30206 PyObject *resultobj;
30207 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30208 wxString *arg2 = 0 ;
30209 wxString *arg3 = 0 ;
30210 int result;
30211 bool temp2 = False ;
30212 bool temp3 = False ;
30213 PyObject * obj0 = 0 ;
30214 PyObject * obj1 = 0 ;
30215 PyObject * obj2 = 0 ;
30216 char *kwnames[] = {
30217 (char *) "self",(char *) "menu",(char *) "item", NULL
30218 };
30219
30220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30223 {
30224 arg2 = wxString_in_helper(obj1);
30225 if (arg2 == NULL) SWIG_fail;
30226 temp2 = True;
30227 }
30228 {
30229 arg3 = wxString_in_helper(obj2);
30230 if (arg3 == NULL) SWIG_fail;
30231 temp3 = True;
30232 }
30233 {
30234 PyThreadState* __tstate = wxPyBeginAllowThreads();
30235 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
30236
30237 wxPyEndAllowThreads(__tstate);
30238 if (PyErr_Occurred()) SWIG_fail;
30239 }
30240 resultobj = SWIG_FromInt((int)result);
30241 {
30242 if (temp2)
30243 delete arg2;
30244 }
30245 {
30246 if (temp3)
30247 delete arg3;
30248 }
30249 return resultobj;
30250 fail:
30251 {
30252 if (temp2)
30253 delete arg2;
30254 }
30255 {
30256 if (temp3)
30257 delete arg3;
30258 }
30259 return NULL;
30260 }
30261
30262
30263 static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
30264 PyObject *resultobj;
30265 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30266 int arg2 ;
30267 wxMenuItem *result;
30268 PyObject * obj0 = 0 ;
30269 PyObject * obj1 = 0 ;
30270 char *kwnames[] = {
30271 (char *) "self",(char *) "id", NULL
30272 };
30273
30274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
30275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30277 arg2 = (int) SWIG_AsInt(obj1);
30278 if (PyErr_Occurred()) SWIG_fail;
30279 {
30280 PyThreadState* __tstate = wxPyBeginAllowThreads();
30281 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
30282
30283 wxPyEndAllowThreads(__tstate);
30284 if (PyErr_Occurred()) SWIG_fail;
30285 }
30286 {
30287 resultobj = wxPyMake_wxObject(result);
30288 }
30289 return resultobj;
30290 fail:
30291 return NULL;
30292 }
30293
30294
30295 static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) {
30296 PyObject *resultobj;
30297 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30298 wxString *arg2 = 0 ;
30299 int result;
30300 bool temp2 = False ;
30301 PyObject * obj0 = 0 ;
30302 PyObject * obj1 = 0 ;
30303 char *kwnames[] = {
30304 (char *) "self",(char *) "title", NULL
30305 };
30306
30307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
30308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30310 {
30311 arg2 = wxString_in_helper(obj1);
30312 if (arg2 == NULL) SWIG_fail;
30313 temp2 = True;
30314 }
30315 {
30316 PyThreadState* __tstate = wxPyBeginAllowThreads();
30317 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
30318
30319 wxPyEndAllowThreads(__tstate);
30320 if (PyErr_Occurred()) SWIG_fail;
30321 }
30322 resultobj = SWIG_FromInt((int)result);
30323 {
30324 if (temp2)
30325 delete arg2;
30326 }
30327 return resultobj;
30328 fail:
30329 {
30330 if (temp2)
30331 delete arg2;
30332 }
30333 return NULL;
30334 }
30335
30336
30337 static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
30338 PyObject *resultobj;
30339 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30340 int arg2 ;
30341 bool arg3 ;
30342 PyObject * obj0 = 0 ;
30343 PyObject * obj1 = 0 ;
30344 PyObject * obj2 = 0 ;
30345 char *kwnames[] = {
30346 (char *) "self",(char *) "id",(char *) "enable", NULL
30347 };
30348
30349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
30350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30352 arg2 = (int) SWIG_AsInt(obj1);
30353 if (PyErr_Occurred()) SWIG_fail;
30354 arg3 = (bool) SWIG_AsBool(obj2);
30355 if (PyErr_Occurred()) SWIG_fail;
30356 {
30357 PyThreadState* __tstate = wxPyBeginAllowThreads();
30358 (arg1)->Enable(arg2,arg3);
30359
30360 wxPyEndAllowThreads(__tstate);
30361 if (PyErr_Occurred()) SWIG_fail;
30362 }
30363 Py_INCREF(Py_None); resultobj = Py_None;
30364 return resultobj;
30365 fail:
30366 return NULL;
30367 }
30368
30369
30370 static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) {
30371 PyObject *resultobj;
30372 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30373 int arg2 ;
30374 bool arg3 ;
30375 PyObject * obj0 = 0 ;
30376 PyObject * obj1 = 0 ;
30377 PyObject * obj2 = 0 ;
30378 char *kwnames[] = {
30379 (char *) "self",(char *) "id",(char *) "check", NULL
30380 };
30381
30382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
30383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30385 arg2 = (int) SWIG_AsInt(obj1);
30386 if (PyErr_Occurred()) SWIG_fail;
30387 arg3 = (bool) SWIG_AsBool(obj2);
30388 if (PyErr_Occurred()) SWIG_fail;
30389 {
30390 PyThreadState* __tstate = wxPyBeginAllowThreads();
30391 (arg1)->Check(arg2,arg3);
30392
30393 wxPyEndAllowThreads(__tstate);
30394 if (PyErr_Occurred()) SWIG_fail;
30395 }
30396 Py_INCREF(Py_None); resultobj = Py_None;
30397 return resultobj;
30398 fail:
30399 return NULL;
30400 }
30401
30402
30403 static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
30404 PyObject *resultobj;
30405 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30406 int arg2 ;
30407 bool result;
30408 PyObject * obj0 = 0 ;
30409 PyObject * obj1 = 0 ;
30410 char *kwnames[] = {
30411 (char *) "self",(char *) "id", NULL
30412 };
30413
30414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
30415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30417 arg2 = (int) SWIG_AsInt(obj1);
30418 if (PyErr_Occurred()) SWIG_fail;
30419 {
30420 PyThreadState* __tstate = wxPyBeginAllowThreads();
30421 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
30422
30423 wxPyEndAllowThreads(__tstate);
30424 if (PyErr_Occurred()) SWIG_fail;
30425 }
30426 {
30427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30428 }
30429 return resultobj;
30430 fail:
30431 return NULL;
30432 }
30433
30434
30435 static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
30436 PyObject *resultobj;
30437 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30438 int arg2 ;
30439 bool result;
30440 PyObject * obj0 = 0 ;
30441 PyObject * obj1 = 0 ;
30442 char *kwnames[] = {
30443 (char *) "self",(char *) "id", NULL
30444 };
30445
30446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
30447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30449 arg2 = (int) SWIG_AsInt(obj1);
30450 if (PyErr_Occurred()) SWIG_fail;
30451 {
30452 PyThreadState* __tstate = wxPyBeginAllowThreads();
30453 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
30454
30455 wxPyEndAllowThreads(__tstate);
30456 if (PyErr_Occurred()) SWIG_fail;
30457 }
30458 {
30459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30460 }
30461 return resultobj;
30462 fail:
30463 return NULL;
30464 }
30465
30466
30467 static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30468 PyObject *resultobj;
30469 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30470 int arg2 ;
30471 wxString *arg3 = 0 ;
30472 bool temp3 = False ;
30473 PyObject * obj0 = 0 ;
30474 PyObject * obj1 = 0 ;
30475 PyObject * obj2 = 0 ;
30476 char *kwnames[] = {
30477 (char *) "self",(char *) "id",(char *) "label", NULL
30478 };
30479
30480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
30481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30483 arg2 = (int) SWIG_AsInt(obj1);
30484 if (PyErr_Occurred()) SWIG_fail;
30485 {
30486 arg3 = wxString_in_helper(obj2);
30487 if (arg3 == NULL) SWIG_fail;
30488 temp3 = True;
30489 }
30490 {
30491 PyThreadState* __tstate = wxPyBeginAllowThreads();
30492 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30493
30494 wxPyEndAllowThreads(__tstate);
30495 if (PyErr_Occurred()) SWIG_fail;
30496 }
30497 Py_INCREF(Py_None); resultobj = Py_None;
30498 {
30499 if (temp3)
30500 delete arg3;
30501 }
30502 return resultobj;
30503 fail:
30504 {
30505 if (temp3)
30506 delete arg3;
30507 }
30508 return NULL;
30509 }
30510
30511
30512 static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30513 PyObject *resultobj;
30514 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30515 int arg2 ;
30516 wxString result;
30517 PyObject * obj0 = 0 ;
30518 PyObject * obj1 = 0 ;
30519 char *kwnames[] = {
30520 (char *) "self",(char *) "id", NULL
30521 };
30522
30523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
30524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30526 arg2 = (int) SWIG_AsInt(obj1);
30527 if (PyErr_Occurred()) SWIG_fail;
30528 {
30529 PyThreadState* __tstate = wxPyBeginAllowThreads();
30530 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
30531
30532 wxPyEndAllowThreads(__tstate);
30533 if (PyErr_Occurred()) SWIG_fail;
30534 }
30535 {
30536 #if wxUSE_UNICODE
30537 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30538 #else
30539 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30540 #endif
30541 }
30542 return resultobj;
30543 fail:
30544 return NULL;
30545 }
30546
30547
30548 static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
30549 PyObject *resultobj;
30550 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30551 int arg2 ;
30552 wxString *arg3 = 0 ;
30553 bool temp3 = False ;
30554 PyObject * obj0 = 0 ;
30555 PyObject * obj1 = 0 ;
30556 PyObject * obj2 = 0 ;
30557 char *kwnames[] = {
30558 (char *) "self",(char *) "id",(char *) "helpString", NULL
30559 };
30560
30561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
30562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30564 arg2 = (int) SWIG_AsInt(obj1);
30565 if (PyErr_Occurred()) SWIG_fail;
30566 {
30567 arg3 = wxString_in_helper(obj2);
30568 if (arg3 == NULL) SWIG_fail;
30569 temp3 = True;
30570 }
30571 {
30572 PyThreadState* __tstate = wxPyBeginAllowThreads();
30573 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30574
30575 wxPyEndAllowThreads(__tstate);
30576 if (PyErr_Occurred()) SWIG_fail;
30577 }
30578 Py_INCREF(Py_None); resultobj = Py_None;
30579 {
30580 if (temp3)
30581 delete arg3;
30582 }
30583 return resultobj;
30584 fail:
30585 {
30586 if (temp3)
30587 delete arg3;
30588 }
30589 return NULL;
30590 }
30591
30592
30593 static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
30594 PyObject *resultobj;
30595 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30596 int arg2 ;
30597 wxString result;
30598 PyObject * obj0 = 0 ;
30599 PyObject * obj1 = 0 ;
30600 char *kwnames[] = {
30601 (char *) "self",(char *) "id", NULL
30602 };
30603
30604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
30605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30607 arg2 = (int) SWIG_AsInt(obj1);
30608 if (PyErr_Occurred()) SWIG_fail;
30609 {
30610 PyThreadState* __tstate = wxPyBeginAllowThreads();
30611 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
30612
30613 wxPyEndAllowThreads(__tstate);
30614 if (PyErr_Occurred()) SWIG_fail;
30615 }
30616 {
30617 #if wxUSE_UNICODE
30618 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30619 #else
30620 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30621 #endif
30622 }
30623 return resultobj;
30624 fail:
30625 return NULL;
30626 }
30627
30628
30629 static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
30630 PyObject *resultobj;
30631 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30632 wxFrame *result;
30633 PyObject * obj0 = 0 ;
30634 char *kwnames[] = {
30635 (char *) "self", NULL
30636 };
30637
30638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
30639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30641 {
30642 PyThreadState* __tstate = wxPyBeginAllowThreads();
30643 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
30644
30645 wxPyEndAllowThreads(__tstate);
30646 if (PyErr_Occurred()) SWIG_fail;
30647 }
30648 {
30649 resultobj = wxPyMake_wxObject(result);
30650 }
30651 return resultobj;
30652 fail:
30653 return NULL;
30654 }
30655
30656
30657 static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
30658 PyObject *resultobj;
30659 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30660 bool result;
30661 PyObject * obj0 = 0 ;
30662 char *kwnames[] = {
30663 (char *) "self", NULL
30664 };
30665
30666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
30667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30669 {
30670 PyThreadState* __tstate = wxPyBeginAllowThreads();
30671 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
30672
30673 wxPyEndAllowThreads(__tstate);
30674 if (PyErr_Occurred()) SWIG_fail;
30675 }
30676 {
30677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30678 }
30679 return resultobj;
30680 fail:
30681 return NULL;
30682 }
30683
30684
30685 static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
30686 PyObject *resultobj;
30687 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30688 wxFrame *arg2 = (wxFrame *) 0 ;
30689 PyObject * obj0 = 0 ;
30690 PyObject * obj1 = 0 ;
30691 char *kwnames[] = {
30692 (char *) "self",(char *) "frame", NULL
30693 };
30694
30695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
30696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
30699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30700 {
30701 PyThreadState* __tstate = wxPyBeginAllowThreads();
30702 (arg1)->Attach(arg2);
30703
30704 wxPyEndAllowThreads(__tstate);
30705 if (PyErr_Occurred()) SWIG_fail;
30706 }
30707 Py_INCREF(Py_None); resultobj = Py_None;
30708 return resultobj;
30709 fail:
30710 return NULL;
30711 }
30712
30713
30714 static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
30715 PyObject *resultobj;
30716 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30717 PyObject * obj0 = 0 ;
30718 char *kwnames[] = {
30719 (char *) "self", NULL
30720 };
30721
30722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
30723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30725 {
30726 PyThreadState* __tstate = wxPyBeginAllowThreads();
30727 (arg1)->Detach();
30728
30729 wxPyEndAllowThreads(__tstate);
30730 if (PyErr_Occurred()) SWIG_fail;
30731 }
30732 Py_INCREF(Py_None); resultobj = Py_None;
30733 return resultobj;
30734 fail:
30735 return NULL;
30736 }
30737
30738
30739 static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) {
30740 PyObject *obj;
30741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30742 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
30743 Py_INCREF(obj);
30744 return Py_BuildValue((char *)"");
30745 }
30746 static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
30747 PyObject *resultobj;
30748 wxMenu *arg1 = (wxMenu *) NULL ;
30749 int arg2 = (int) wxID_SEPARATOR ;
30750 wxString const &arg3_defvalue = wxPyEmptyString ;
30751 wxString *arg3 = (wxString *) &arg3_defvalue ;
30752 wxString const &arg4_defvalue = wxPyEmptyString ;
30753 wxString *arg4 = (wxString *) &arg4_defvalue ;
30754 int arg5 = (int) wxITEM_NORMAL ;
30755 wxMenu *arg6 = (wxMenu *) NULL ;
30756 wxMenuItem *result;
30757 bool temp3 = False ;
30758 bool temp4 = False ;
30759 PyObject * obj0 = 0 ;
30760 PyObject * obj1 = 0 ;
30761 PyObject * obj2 = 0 ;
30762 PyObject * obj3 = 0 ;
30763 PyObject * obj4 = 0 ;
30764 PyObject * obj5 = 0 ;
30765 char *kwnames[] = {
30766 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30767 };
30768
30769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30770 if (obj0) {
30771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30773 }
30774 if (obj1) {
30775 arg2 = (int) SWIG_AsInt(obj1);
30776 if (PyErr_Occurred()) SWIG_fail;
30777 }
30778 if (obj2) {
30779 {
30780 arg3 = wxString_in_helper(obj2);
30781 if (arg3 == NULL) SWIG_fail;
30782 temp3 = True;
30783 }
30784 }
30785 if (obj3) {
30786 {
30787 arg4 = wxString_in_helper(obj3);
30788 if (arg4 == NULL) SWIG_fail;
30789 temp4 = True;
30790 }
30791 }
30792 if (obj4) {
30793 arg5 = (wxItemKind) SWIG_AsInt(obj4);
30794 if (PyErr_Occurred()) SWIG_fail;
30795 }
30796 if (obj5) {
30797 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
30798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30799 }
30800 {
30801 PyThreadState* __tstate = wxPyBeginAllowThreads();
30802 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
30803
30804 wxPyEndAllowThreads(__tstate);
30805 if (PyErr_Occurred()) SWIG_fail;
30806 }
30807 {
30808 resultobj = wxPyMake_wxObject(result);
30809 }
30810 {
30811 if (temp3)
30812 delete arg3;
30813 }
30814 {
30815 if (temp4)
30816 delete arg4;
30817 }
30818 return resultobj;
30819 fail:
30820 {
30821 if (temp3)
30822 delete arg3;
30823 }
30824 {
30825 if (temp4)
30826 delete arg4;
30827 }
30828 return NULL;
30829 }
30830
30831
30832 static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
30833 PyObject *resultobj;
30834 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30835 wxMenu *result;
30836 PyObject * obj0 = 0 ;
30837 char *kwnames[] = {
30838 (char *) "self", NULL
30839 };
30840
30841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
30842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30844 {
30845 PyThreadState* __tstate = wxPyBeginAllowThreads();
30846 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
30847
30848 wxPyEndAllowThreads(__tstate);
30849 if (PyErr_Occurred()) SWIG_fail;
30850 }
30851 {
30852 resultobj = wxPyMake_wxObject(result);
30853 }
30854 return resultobj;
30855 fail:
30856 return NULL;
30857 }
30858
30859
30860 static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
30861 PyObject *resultobj;
30862 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30863 wxMenu *arg2 = (wxMenu *) 0 ;
30864 PyObject * obj0 = 0 ;
30865 PyObject * obj1 = 0 ;
30866 char *kwnames[] = {
30867 (char *) "self",(char *) "menu", NULL
30868 };
30869
30870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
30871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30875 {
30876 PyThreadState* __tstate = wxPyBeginAllowThreads();
30877 (arg1)->SetMenu(arg2);
30878
30879 wxPyEndAllowThreads(__tstate);
30880 if (PyErr_Occurred()) SWIG_fail;
30881 }
30882 Py_INCREF(Py_None); resultobj = Py_None;
30883 return resultobj;
30884 fail:
30885 return NULL;
30886 }
30887
30888
30889 static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
30890 PyObject *resultobj;
30891 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30892 int arg2 ;
30893 PyObject * obj0 = 0 ;
30894 PyObject * obj1 = 0 ;
30895 char *kwnames[] = {
30896 (char *) "self",(char *) "id", NULL
30897 };
30898
30899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
30900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30902 arg2 = (int) SWIG_AsInt(obj1);
30903 if (PyErr_Occurred()) SWIG_fail;
30904 {
30905 PyThreadState* __tstate = wxPyBeginAllowThreads();
30906 (arg1)->SetId(arg2);
30907
30908 wxPyEndAllowThreads(__tstate);
30909 if (PyErr_Occurred()) SWIG_fail;
30910 }
30911 Py_INCREF(Py_None); resultobj = Py_None;
30912 return resultobj;
30913 fail:
30914 return NULL;
30915 }
30916
30917
30918 static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
30919 PyObject *resultobj;
30920 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30921 int result;
30922 PyObject * obj0 = 0 ;
30923 char *kwnames[] = {
30924 (char *) "self", NULL
30925 };
30926
30927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
30928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30930 {
30931 PyThreadState* __tstate = wxPyBeginAllowThreads();
30932 result = (int)((wxMenuItem const *)arg1)->GetId();
30933
30934 wxPyEndAllowThreads(__tstate);
30935 if (PyErr_Occurred()) SWIG_fail;
30936 }
30937 resultobj = SWIG_FromInt((int)result);
30938 return resultobj;
30939 fail:
30940 return NULL;
30941 }
30942
30943
30944 static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
30945 PyObject *resultobj;
30946 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30947 bool result;
30948 PyObject * obj0 = 0 ;
30949 char *kwnames[] = {
30950 (char *) "self", NULL
30951 };
30952
30953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
30954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30956 {
30957 PyThreadState* __tstate = wxPyBeginAllowThreads();
30958 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
30959
30960 wxPyEndAllowThreads(__tstate);
30961 if (PyErr_Occurred()) SWIG_fail;
30962 }
30963 {
30964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30965 }
30966 return resultobj;
30967 fail:
30968 return NULL;
30969 }
30970
30971
30972 static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
30973 PyObject *resultobj;
30974 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30975 wxString *arg2 = 0 ;
30976 bool temp2 = False ;
30977 PyObject * obj0 = 0 ;
30978 PyObject * obj1 = 0 ;
30979 char *kwnames[] = {
30980 (char *) "self",(char *) "str", NULL
30981 };
30982
30983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
30984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30986 {
30987 arg2 = wxString_in_helper(obj1);
30988 if (arg2 == NULL) SWIG_fail;
30989 temp2 = True;
30990 }
30991 {
30992 PyThreadState* __tstate = wxPyBeginAllowThreads();
30993 (arg1)->SetText((wxString const &)*arg2);
30994
30995 wxPyEndAllowThreads(__tstate);
30996 if (PyErr_Occurred()) SWIG_fail;
30997 }
30998 Py_INCREF(Py_None); resultobj = Py_None;
30999 {
31000 if (temp2)
31001 delete arg2;
31002 }
31003 return resultobj;
31004 fail:
31005 {
31006 if (temp2)
31007 delete arg2;
31008 }
31009 return NULL;
31010 }
31011
31012
31013 static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
31014 PyObject *resultobj;
31015 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31016 wxString result;
31017 PyObject * obj0 = 0 ;
31018 char *kwnames[] = {
31019 (char *) "self", NULL
31020 };
31021
31022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
31023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31025 {
31026 PyThreadState* __tstate = wxPyBeginAllowThreads();
31027 result = ((wxMenuItem const *)arg1)->GetLabel();
31028
31029 wxPyEndAllowThreads(__tstate);
31030 if (PyErr_Occurred()) SWIG_fail;
31031 }
31032 {
31033 #if wxUSE_UNICODE
31034 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31035 #else
31036 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31037 #endif
31038 }
31039 return resultobj;
31040 fail:
31041 return NULL;
31042 }
31043
31044
31045 static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
31046 PyObject *resultobj;
31047 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31048 wxString *result;
31049 PyObject * obj0 = 0 ;
31050 char *kwnames[] = {
31051 (char *) "self", NULL
31052 };
31053
31054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
31055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31057 {
31058 PyThreadState* __tstate = wxPyBeginAllowThreads();
31059 {
31060 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
31061 result = (wxString *) &_result_ref;
31062 }
31063
31064 wxPyEndAllowThreads(__tstate);
31065 if (PyErr_Occurred()) SWIG_fail;
31066 }
31067 {
31068 #if wxUSE_UNICODE
31069 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
31070 #else
31071 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
31072 #endif
31073 }
31074 return resultobj;
31075 fail:
31076 return NULL;
31077 }
31078
31079
31080 static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) {
31081 PyObject *resultobj;
31082 wxString *arg1 = 0 ;
31083 wxString result;
31084 bool temp1 = False ;
31085 PyObject * obj0 = 0 ;
31086 char *kwnames[] = {
31087 (char *) "text", NULL
31088 };
31089
31090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
31091 {
31092 arg1 = wxString_in_helper(obj0);
31093 if (arg1 == NULL) SWIG_fail;
31094 temp1 = True;
31095 }
31096 {
31097 PyThreadState* __tstate = wxPyBeginAllowThreads();
31098 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
31099
31100 wxPyEndAllowThreads(__tstate);
31101 if (PyErr_Occurred()) SWIG_fail;
31102 }
31103 {
31104 #if wxUSE_UNICODE
31105 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31106 #else
31107 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31108 #endif
31109 }
31110 {
31111 if (temp1)
31112 delete arg1;
31113 }
31114 return resultobj;
31115 fail:
31116 {
31117 if (temp1)
31118 delete arg1;
31119 }
31120 return NULL;
31121 }
31122
31123
31124 static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
31125 PyObject *resultobj;
31126 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31127 int result;
31128 PyObject * obj0 = 0 ;
31129 char *kwnames[] = {
31130 (char *) "self", NULL
31131 };
31132
31133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
31134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31136 {
31137 PyThreadState* __tstate = wxPyBeginAllowThreads();
31138 result = (int)((wxMenuItem const *)arg1)->GetKind();
31139
31140 wxPyEndAllowThreads(__tstate);
31141 if (PyErr_Occurred()) SWIG_fail;
31142 }
31143 resultobj = SWIG_FromInt((int)result);
31144 return resultobj;
31145 fail:
31146 return NULL;
31147 }
31148
31149
31150 static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
31151 PyObject *resultobj;
31152 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31153 bool arg2 ;
31154 PyObject * obj0 = 0 ;
31155 PyObject * obj1 = 0 ;
31156 char *kwnames[] = {
31157 (char *) "self",(char *) "checkable", NULL
31158 };
31159
31160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
31161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31163 arg2 = (bool) SWIG_AsBool(obj1);
31164 if (PyErr_Occurred()) SWIG_fail;
31165 {
31166 PyThreadState* __tstate = wxPyBeginAllowThreads();
31167 (arg1)->SetCheckable(arg2);
31168
31169 wxPyEndAllowThreads(__tstate);
31170 if (PyErr_Occurred()) SWIG_fail;
31171 }
31172 Py_INCREF(Py_None); resultobj = Py_None;
31173 return resultobj;
31174 fail:
31175 return NULL;
31176 }
31177
31178
31179 static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
31180 PyObject *resultobj;
31181 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31182 bool result;
31183 PyObject * obj0 = 0 ;
31184 char *kwnames[] = {
31185 (char *) "self", NULL
31186 };
31187
31188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
31189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31191 {
31192 PyThreadState* __tstate = wxPyBeginAllowThreads();
31193 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
31194
31195 wxPyEndAllowThreads(__tstate);
31196 if (PyErr_Occurred()) SWIG_fail;
31197 }
31198 {
31199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31200 }
31201 return resultobj;
31202 fail:
31203 return NULL;
31204 }
31205
31206
31207 static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
31208 PyObject *resultobj;
31209 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31210 bool result;
31211 PyObject * obj0 = 0 ;
31212 char *kwnames[] = {
31213 (char *) "self", NULL
31214 };
31215
31216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
31217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31219 {
31220 PyThreadState* __tstate = wxPyBeginAllowThreads();
31221 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
31222
31223 wxPyEndAllowThreads(__tstate);
31224 if (PyErr_Occurred()) SWIG_fail;
31225 }
31226 {
31227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31228 }
31229 return resultobj;
31230 fail:
31231 return NULL;
31232 }
31233
31234
31235 static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
31236 PyObject *resultobj;
31237 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31238 wxMenu *arg2 = (wxMenu *) 0 ;
31239 PyObject * obj0 = 0 ;
31240 PyObject * obj1 = 0 ;
31241 char *kwnames[] = {
31242 (char *) "self",(char *) "menu", NULL
31243 };
31244
31245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
31246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31250 {
31251 PyThreadState* __tstate = wxPyBeginAllowThreads();
31252 (arg1)->SetSubMenu(arg2);
31253
31254 wxPyEndAllowThreads(__tstate);
31255 if (PyErr_Occurred()) SWIG_fail;
31256 }
31257 Py_INCREF(Py_None); resultobj = Py_None;
31258 return resultobj;
31259 fail:
31260 return NULL;
31261 }
31262
31263
31264 static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
31265 PyObject *resultobj;
31266 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31267 wxMenu *result;
31268 PyObject * obj0 = 0 ;
31269 char *kwnames[] = {
31270 (char *) "self", NULL
31271 };
31272
31273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
31274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31276 {
31277 PyThreadState* __tstate = wxPyBeginAllowThreads();
31278 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
31279
31280 wxPyEndAllowThreads(__tstate);
31281 if (PyErr_Occurred()) SWIG_fail;
31282 }
31283 {
31284 resultobj = wxPyMake_wxObject(result);
31285 }
31286 return resultobj;
31287 fail:
31288 return NULL;
31289 }
31290
31291
31292 static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
31293 PyObject *resultobj;
31294 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31295 bool arg2 = (bool) True ;
31296 PyObject * obj0 = 0 ;
31297 PyObject * obj1 = 0 ;
31298 char *kwnames[] = {
31299 (char *) "self",(char *) "enable", NULL
31300 };
31301
31302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
31303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31305 if (obj1) {
31306 arg2 = (bool) SWIG_AsBool(obj1);
31307 if (PyErr_Occurred()) SWIG_fail;
31308 }
31309 {
31310 PyThreadState* __tstate = wxPyBeginAllowThreads();
31311 (arg1)->Enable(arg2);
31312
31313 wxPyEndAllowThreads(__tstate);
31314 if (PyErr_Occurred()) SWIG_fail;
31315 }
31316 Py_INCREF(Py_None); resultobj = Py_None;
31317 return resultobj;
31318 fail:
31319 return NULL;
31320 }
31321
31322
31323 static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
31324 PyObject *resultobj;
31325 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31326 bool result;
31327 PyObject * obj0 = 0 ;
31328 char *kwnames[] = {
31329 (char *) "self", NULL
31330 };
31331
31332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
31333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31335 {
31336 PyThreadState* __tstate = wxPyBeginAllowThreads();
31337 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
31338
31339 wxPyEndAllowThreads(__tstate);
31340 if (PyErr_Occurred()) SWIG_fail;
31341 }
31342 {
31343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31344 }
31345 return resultobj;
31346 fail:
31347 return NULL;
31348 }
31349
31350
31351 static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
31352 PyObject *resultobj;
31353 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31354 bool arg2 = (bool) True ;
31355 PyObject * obj0 = 0 ;
31356 PyObject * obj1 = 0 ;
31357 char *kwnames[] = {
31358 (char *) "self",(char *) "check", NULL
31359 };
31360
31361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
31362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31364 if (obj1) {
31365 arg2 = (bool) SWIG_AsBool(obj1);
31366 if (PyErr_Occurred()) SWIG_fail;
31367 }
31368 {
31369 PyThreadState* __tstate = wxPyBeginAllowThreads();
31370 (arg1)->Check(arg2);
31371
31372 wxPyEndAllowThreads(__tstate);
31373 if (PyErr_Occurred()) SWIG_fail;
31374 }
31375 Py_INCREF(Py_None); resultobj = Py_None;
31376 return resultobj;
31377 fail:
31378 return NULL;
31379 }
31380
31381
31382 static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
31383 PyObject *resultobj;
31384 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31385 bool result;
31386 PyObject * obj0 = 0 ;
31387 char *kwnames[] = {
31388 (char *) "self", NULL
31389 };
31390
31391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
31392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31394 {
31395 PyThreadState* __tstate = wxPyBeginAllowThreads();
31396 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
31397
31398 wxPyEndAllowThreads(__tstate);
31399 if (PyErr_Occurred()) SWIG_fail;
31400 }
31401 {
31402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31403 }
31404 return resultobj;
31405 fail:
31406 return NULL;
31407 }
31408
31409
31410 static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
31411 PyObject *resultobj;
31412 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31413 PyObject * obj0 = 0 ;
31414 char *kwnames[] = {
31415 (char *) "self", NULL
31416 };
31417
31418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
31419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31421 {
31422 PyThreadState* __tstate = wxPyBeginAllowThreads();
31423 (arg1)->Toggle();
31424
31425 wxPyEndAllowThreads(__tstate);
31426 if (PyErr_Occurred()) SWIG_fail;
31427 }
31428 Py_INCREF(Py_None); resultobj = Py_None;
31429 return resultobj;
31430 fail:
31431 return NULL;
31432 }
31433
31434
31435 static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
31436 PyObject *resultobj;
31437 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31438 wxString *arg2 = 0 ;
31439 bool temp2 = False ;
31440 PyObject * obj0 = 0 ;
31441 PyObject * obj1 = 0 ;
31442 char *kwnames[] = {
31443 (char *) "self",(char *) "str", NULL
31444 };
31445
31446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
31447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31449 {
31450 arg2 = wxString_in_helper(obj1);
31451 if (arg2 == NULL) SWIG_fail;
31452 temp2 = True;
31453 }
31454 {
31455 PyThreadState* __tstate = wxPyBeginAllowThreads();
31456 (arg1)->SetHelp((wxString const &)*arg2);
31457
31458 wxPyEndAllowThreads(__tstate);
31459 if (PyErr_Occurred()) SWIG_fail;
31460 }
31461 Py_INCREF(Py_None); resultobj = Py_None;
31462 {
31463 if (temp2)
31464 delete arg2;
31465 }
31466 return resultobj;
31467 fail:
31468 {
31469 if (temp2)
31470 delete arg2;
31471 }
31472 return NULL;
31473 }
31474
31475
31476 static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
31477 PyObject *resultobj;
31478 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31479 wxString *result;
31480 PyObject * obj0 = 0 ;
31481 char *kwnames[] = {
31482 (char *) "self", NULL
31483 };
31484
31485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
31486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31488 {
31489 PyThreadState* __tstate = wxPyBeginAllowThreads();
31490 {
31491 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
31492 result = (wxString *) &_result_ref;
31493 }
31494
31495 wxPyEndAllowThreads(__tstate);
31496 if (PyErr_Occurred()) SWIG_fail;
31497 }
31498 {
31499 #if wxUSE_UNICODE
31500 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
31501 #else
31502 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
31503 #endif
31504 }
31505 return resultobj;
31506 fail:
31507 return NULL;
31508 }
31509
31510
31511 static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
31512 PyObject *resultobj;
31513 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31514 wxAcceleratorEntry *result;
31515 PyObject * obj0 = 0 ;
31516 char *kwnames[] = {
31517 (char *) "self", NULL
31518 };
31519
31520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
31521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31523 {
31524 PyThreadState* __tstate = wxPyBeginAllowThreads();
31525 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
31526
31527 wxPyEndAllowThreads(__tstate);
31528 if (PyErr_Occurred()) SWIG_fail;
31529 }
31530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
31531 return resultobj;
31532 fail:
31533 return NULL;
31534 }
31535
31536
31537 static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
31538 PyObject *resultobj;
31539 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31540 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
31541 PyObject * obj0 = 0 ;
31542 PyObject * obj1 = 0 ;
31543 char *kwnames[] = {
31544 (char *) "self",(char *) "accel", NULL
31545 };
31546
31547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
31548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
31551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31552 {
31553 PyThreadState* __tstate = wxPyBeginAllowThreads();
31554 (arg1)->SetAccel(arg2);
31555
31556 wxPyEndAllowThreads(__tstate);
31557 if (PyErr_Occurred()) SWIG_fail;
31558 }
31559 Py_INCREF(Py_None); resultobj = Py_None;
31560 return resultobj;
31561 fail:
31562 return NULL;
31563 }
31564
31565
31566 static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
31567 PyObject *resultobj;
31568 int result;
31569 char *kwnames[] = {
31570 NULL
31571 };
31572
31573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
31574 {
31575 PyThreadState* __tstate = wxPyBeginAllowThreads();
31576 result = (int)MenuItem_GetDefaultMarginWidth();
31577
31578 wxPyEndAllowThreads(__tstate);
31579 if (PyErr_Occurred()) SWIG_fail;
31580 }
31581 resultobj = SWIG_FromInt((int)result);
31582 return resultobj;
31583 fail:
31584 return NULL;
31585 }
31586
31587
31588 static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
31589 PyObject *resultobj;
31590 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31591 wxBitmap *arg2 = 0 ;
31592 PyObject * obj0 = 0 ;
31593 PyObject * obj1 = 0 ;
31594 char *kwnames[] = {
31595 (char *) "self",(char *) "bitmap", NULL
31596 };
31597
31598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
31599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31602 SWIG_POINTER_EXCEPTION | 0)) == -1)
31603 SWIG_fail;
31604 if (arg2 == NULL) {
31605 PyErr_SetString(PyExc_TypeError,"null reference");
31606 SWIG_fail;
31607 }
31608 {
31609 PyThreadState* __tstate = wxPyBeginAllowThreads();
31610 (arg1)->SetBitmap((wxBitmap const &)*arg2);
31611
31612 wxPyEndAllowThreads(__tstate);
31613 if (PyErr_Occurred()) SWIG_fail;
31614 }
31615 Py_INCREF(Py_None); resultobj = Py_None;
31616 return resultobj;
31617 fail:
31618 return NULL;
31619 }
31620
31621
31622 static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
31623 PyObject *resultobj;
31624 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31625 wxBitmap *result;
31626 PyObject * obj0 = 0 ;
31627 char *kwnames[] = {
31628 (char *) "self", NULL
31629 };
31630
31631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
31632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31634 {
31635 PyThreadState* __tstate = wxPyBeginAllowThreads();
31636 {
31637 wxBitmap const &_result_ref = (arg1)->GetBitmap();
31638 result = (wxBitmap *) &_result_ref;
31639 }
31640
31641 wxPyEndAllowThreads(__tstate);
31642 if (PyErr_Occurred()) SWIG_fail;
31643 }
31644 {
31645 wxBitmap* resultptr = new wxBitmap(*result);
31646 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
31647 }
31648 return resultobj;
31649 fail:
31650 return NULL;
31651 }
31652
31653
31654 static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
31655 PyObject *obj;
31656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31657 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
31658 Py_INCREF(obj);
31659 return Py_BuildValue((char *)"");
31660 }
31661 static int _wrap_ControlNameStr_set(PyObject *) {
31662 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
31663 return 1;
31664 }
31665
31666
31667 static PyObject *_wrap_ControlNameStr_get() {
31668 PyObject *pyobj;
31669
31670 {
31671 #if wxUSE_UNICODE
31672 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
31673 #else
31674 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
31675 #endif
31676 }
31677 return pyobj;
31678 }
31679
31680
31681 static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) {
31682 PyObject *resultobj;
31683 wxWindow *arg1 = (wxWindow *) 0 ;
31684 int arg2 ;
31685 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31686 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31687 wxSize const &arg4_defvalue = wxDefaultSize ;
31688 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31689 long arg5 = (long) 0 ;
31690 wxValidator const &arg6_defvalue = wxDefaultValidator ;
31691 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
31692 wxString const &arg7_defvalue = wxPyControlNameStr ;
31693 wxString *arg7 = (wxString *) &arg7_defvalue ;
31694 wxControl *result;
31695 wxPoint temp3 ;
31696 wxSize temp4 ;
31697 bool temp7 = False ;
31698 PyObject * obj0 = 0 ;
31699 PyObject * obj1 = 0 ;
31700 PyObject * obj2 = 0 ;
31701 PyObject * obj3 = 0 ;
31702 PyObject * obj4 = 0 ;
31703 PyObject * obj5 = 0 ;
31704 PyObject * obj6 = 0 ;
31705 char *kwnames[] = {
31706 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31707 };
31708
31709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
31710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31712 arg2 = (int) SWIG_AsInt(obj1);
31713 if (PyErr_Occurred()) SWIG_fail;
31714 if (obj2) {
31715 {
31716 arg3 = &temp3;
31717 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31718 }
31719 }
31720 if (obj3) {
31721 {
31722 arg4 = &temp4;
31723 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31724 }
31725 }
31726 if (obj4) {
31727 arg5 = (long) SWIG_AsLong(obj4);
31728 if (PyErr_Occurred()) SWIG_fail;
31729 }
31730 if (obj5) {
31731 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
31732 SWIG_POINTER_EXCEPTION | 0)) == -1)
31733 SWIG_fail;
31734 if (arg6 == NULL) {
31735 PyErr_SetString(PyExc_TypeError,"null reference");
31736 SWIG_fail;
31737 }
31738 }
31739 if (obj6) {
31740 {
31741 arg7 = wxString_in_helper(obj6);
31742 if (arg7 == NULL) SWIG_fail;
31743 temp7 = True;
31744 }
31745 }
31746 {
31747 PyThreadState* __tstate = wxPyBeginAllowThreads();
31748 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
31749
31750 wxPyEndAllowThreads(__tstate);
31751 if (PyErr_Occurred()) SWIG_fail;
31752 }
31753 {
31754 resultobj = wxPyMake_wxObject(result);
31755 }
31756 {
31757 if (temp7)
31758 delete arg7;
31759 }
31760 return resultobj;
31761 fail:
31762 {
31763 if (temp7)
31764 delete arg7;
31765 }
31766 return NULL;
31767 }
31768
31769
31770 static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) {
31771 PyObject *resultobj;
31772 wxControl *result;
31773 char *kwnames[] = {
31774 NULL
31775 };
31776
31777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
31778 {
31779 PyThreadState* __tstate = wxPyBeginAllowThreads();
31780 result = (wxControl *)new wxControl();
31781
31782 wxPyEndAllowThreads(__tstate);
31783 if (PyErr_Occurred()) SWIG_fail;
31784 }
31785 {
31786 resultobj = wxPyMake_wxObject(result);
31787 }
31788 return resultobj;
31789 fail:
31790 return NULL;
31791 }
31792
31793
31794 static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31795 PyObject *resultobj;
31796 wxControl *arg1 = (wxControl *) 0 ;
31797 wxWindow *arg2 = (wxWindow *) 0 ;
31798 int arg3 ;
31799 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31800 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31801 wxSize const &arg5_defvalue = wxDefaultSize ;
31802 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31803 long arg6 = (long) 0 ;
31804 wxValidator const &arg7_defvalue = wxDefaultValidator ;
31805 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
31806 wxString const &arg8_defvalue = wxPyControlNameStr ;
31807 wxString *arg8 = (wxString *) &arg8_defvalue ;
31808 bool result;
31809 wxPoint temp4 ;
31810 wxSize temp5 ;
31811 bool temp8 = False ;
31812 PyObject * obj0 = 0 ;
31813 PyObject * obj1 = 0 ;
31814 PyObject * obj2 = 0 ;
31815 PyObject * obj3 = 0 ;
31816 PyObject * obj4 = 0 ;
31817 PyObject * obj5 = 0 ;
31818 PyObject * obj6 = 0 ;
31819 PyObject * obj7 = 0 ;
31820 char *kwnames[] = {
31821 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31822 };
31823
31824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
31825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31829 arg3 = (int) SWIG_AsInt(obj2);
31830 if (PyErr_Occurred()) SWIG_fail;
31831 if (obj3) {
31832 {
31833 arg4 = &temp4;
31834 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31835 }
31836 }
31837 if (obj4) {
31838 {
31839 arg5 = &temp5;
31840 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31841 }
31842 }
31843 if (obj5) {
31844 arg6 = (long) SWIG_AsLong(obj5);
31845 if (PyErr_Occurred()) SWIG_fail;
31846 }
31847 if (obj6) {
31848 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
31849 SWIG_POINTER_EXCEPTION | 0)) == -1)
31850 SWIG_fail;
31851 if (arg7 == NULL) {
31852 PyErr_SetString(PyExc_TypeError,"null reference");
31853 SWIG_fail;
31854 }
31855 }
31856 if (obj7) {
31857 {
31858 arg8 = wxString_in_helper(obj7);
31859 if (arg8 == NULL) SWIG_fail;
31860 temp8 = True;
31861 }
31862 }
31863 {
31864 PyThreadState* __tstate = wxPyBeginAllowThreads();
31865 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
31866
31867 wxPyEndAllowThreads(__tstate);
31868 if (PyErr_Occurred()) SWIG_fail;
31869 }
31870 {
31871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31872 }
31873 {
31874 if (temp8)
31875 delete arg8;
31876 }
31877 return resultobj;
31878 fail:
31879 {
31880 if (temp8)
31881 delete arg8;
31882 }
31883 return NULL;
31884 }
31885
31886
31887 static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) {
31888 PyObject *resultobj;
31889 wxControl *arg1 = (wxControl *) 0 ;
31890 wxCommandEvent *arg2 = 0 ;
31891 PyObject * obj0 = 0 ;
31892 PyObject * obj1 = 0 ;
31893 char *kwnames[] = {
31894 (char *) "self",(char *) "event", NULL
31895 };
31896
31897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
31898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
31901 SWIG_POINTER_EXCEPTION | 0)) == -1)
31902 SWIG_fail;
31903 if (arg2 == NULL) {
31904 PyErr_SetString(PyExc_TypeError,"null reference");
31905 SWIG_fail;
31906 }
31907 {
31908 PyThreadState* __tstate = wxPyBeginAllowThreads();
31909 (arg1)->Command(*arg2);
31910
31911 wxPyEndAllowThreads(__tstate);
31912 if (PyErr_Occurred()) SWIG_fail;
31913 }
31914 Py_INCREF(Py_None); resultobj = Py_None;
31915 return resultobj;
31916 fail:
31917 return NULL;
31918 }
31919
31920
31921 static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
31922 PyObject *resultobj;
31923 wxControl *arg1 = (wxControl *) 0 ;
31924 wxString result;
31925 PyObject * obj0 = 0 ;
31926 char *kwnames[] = {
31927 (char *) "self", NULL
31928 };
31929
31930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
31931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31933 {
31934 PyThreadState* __tstate = wxPyBeginAllowThreads();
31935 result = (arg1)->GetLabel();
31936
31937 wxPyEndAllowThreads(__tstate);
31938 if (PyErr_Occurred()) SWIG_fail;
31939 }
31940 {
31941 #if wxUSE_UNICODE
31942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31943 #else
31944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31945 #endif
31946 }
31947 return resultobj;
31948 fail:
31949 return NULL;
31950 }
31951
31952
31953 static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
31954 PyObject *resultobj;
31955 wxControl *arg1 = (wxControl *) 0 ;
31956 wxString *arg2 = 0 ;
31957 bool temp2 = False ;
31958 PyObject * obj0 = 0 ;
31959 PyObject * obj1 = 0 ;
31960 char *kwnames[] = {
31961 (char *) "self",(char *) "label", NULL
31962 };
31963
31964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
31965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31967 {
31968 arg2 = wxString_in_helper(obj1);
31969 if (arg2 == NULL) SWIG_fail;
31970 temp2 = True;
31971 }
31972 {
31973 PyThreadState* __tstate = wxPyBeginAllowThreads();
31974 (arg1)->SetLabel((wxString const &)*arg2);
31975
31976 wxPyEndAllowThreads(__tstate);
31977 if (PyErr_Occurred()) SWIG_fail;
31978 }
31979 Py_INCREF(Py_None); resultobj = Py_None;
31980 {
31981 if (temp2)
31982 delete arg2;
31983 }
31984 return resultobj;
31985 fail:
31986 {
31987 if (temp2)
31988 delete arg2;
31989 }
31990 return NULL;
31991 }
31992
31993
31994 static PyObject * Control_swigregister(PyObject *, PyObject *args) {
31995 PyObject *obj;
31996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31997 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
31998 Py_INCREF(obj);
31999 return Py_BuildValue((char *)"");
32000 }
32001 static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) {
32002 PyObject *resultobj;
32003 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32004 wxString *arg2 = 0 ;
32005 PyObject *arg3 = (PyObject *) NULL ;
32006 int result;
32007 bool temp2 = False ;
32008 PyObject * obj0 = 0 ;
32009 PyObject * obj1 = 0 ;
32010 PyObject * obj2 = 0 ;
32011 char *kwnames[] = {
32012 (char *) "self",(char *) "item",(char *) "clientData", NULL
32013 };
32014
32015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
32016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32018 {
32019 arg2 = wxString_in_helper(obj1);
32020 if (arg2 == NULL) SWIG_fail;
32021 temp2 = True;
32022 }
32023 if (obj2) {
32024 arg3 = obj2;
32025 }
32026 {
32027 PyThreadState* __tstate = wxPyBeginAllowThreads();
32028 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
32029
32030 wxPyEndAllowThreads(__tstate);
32031 if (PyErr_Occurred()) SWIG_fail;
32032 }
32033 resultobj = SWIG_FromInt((int)result);
32034 {
32035 if (temp2)
32036 delete arg2;
32037 }
32038 return resultobj;
32039 fail:
32040 {
32041 if (temp2)
32042 delete arg2;
32043 }
32044 return NULL;
32045 }
32046
32047
32048 static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) {
32049 PyObject *resultobj;
32050 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32051 wxArrayString *arg2 = 0 ;
32052 bool temp2 = False ;
32053 PyObject * obj0 = 0 ;
32054 PyObject * obj1 = 0 ;
32055 char *kwnames[] = {
32056 (char *) "self",(char *) "strings", NULL
32057 };
32058
32059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
32060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32062 {
32063 if (! PySequence_Check(obj1)) {
32064 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
32065 SWIG_fail;
32066 }
32067 arg2 = new wxArrayString;
32068 temp2 = True;
32069 int i, len=PySequence_Length(obj1);
32070 for (i=0; i<len; i++) {
32071 PyObject* item = PySequence_GetItem(obj1, i);
32072 #if wxUSE_UNICODE
32073 PyObject* str = PyObject_Unicode(item);
32074 #else
32075 PyObject* str = PyObject_Str(item);
32076 #endif
32077 arg2->Add(Py2wxString(str));
32078 Py_DECREF(item);
32079 Py_DECREF(str);
32080 }
32081 }
32082 {
32083 PyThreadState* __tstate = wxPyBeginAllowThreads();
32084 (arg1)->Append((wxArrayString const &)*arg2);
32085
32086 wxPyEndAllowThreads(__tstate);
32087 if (PyErr_Occurred()) SWIG_fail;
32088 }
32089 Py_INCREF(Py_None); resultobj = Py_None;
32090 {
32091 if (temp2) delete arg2;
32092 }
32093 return resultobj;
32094 fail:
32095 {
32096 if (temp2) delete arg2;
32097 }
32098 return NULL;
32099 }
32100
32101
32102 static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
32103 PyObject *resultobj;
32104 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32105 wxString *arg2 = 0 ;
32106 int arg3 ;
32107 PyObject *arg4 = (PyObject *) NULL ;
32108 int result;
32109 bool temp2 = False ;
32110 PyObject * obj0 = 0 ;
32111 PyObject * obj1 = 0 ;
32112 PyObject * obj2 = 0 ;
32113 PyObject * obj3 = 0 ;
32114 char *kwnames[] = {
32115 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
32116 };
32117
32118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32121 {
32122 arg2 = wxString_in_helper(obj1);
32123 if (arg2 == NULL) SWIG_fail;
32124 temp2 = True;
32125 }
32126 arg3 = (int) SWIG_AsInt(obj2);
32127 if (PyErr_Occurred()) SWIG_fail;
32128 if (obj3) {
32129 arg4 = obj3;
32130 }
32131 {
32132 PyThreadState* __tstate = wxPyBeginAllowThreads();
32133 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
32134
32135 wxPyEndAllowThreads(__tstate);
32136 if (PyErr_Occurred()) SWIG_fail;
32137 }
32138 resultobj = SWIG_FromInt((int)result);
32139 {
32140 if (temp2)
32141 delete arg2;
32142 }
32143 return resultobj;
32144 fail:
32145 {
32146 if (temp2)
32147 delete arg2;
32148 }
32149 return NULL;
32150 }
32151
32152
32153 static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32154 PyObject *resultobj;
32155 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32156 PyObject * obj0 = 0 ;
32157 char *kwnames[] = {
32158 (char *) "self", NULL
32159 };
32160
32161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
32162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32164 {
32165 PyThreadState* __tstate = wxPyBeginAllowThreads();
32166 (arg1)->Clear();
32167
32168 wxPyEndAllowThreads(__tstate);
32169 if (PyErr_Occurred()) SWIG_fail;
32170 }
32171 Py_INCREF(Py_None); resultobj = Py_None;
32172 return resultobj;
32173 fail:
32174 return NULL;
32175 }
32176
32177
32178 static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
32179 PyObject *resultobj;
32180 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32181 int arg2 ;
32182 PyObject * obj0 = 0 ;
32183 PyObject * obj1 = 0 ;
32184 char *kwnames[] = {
32185 (char *) "self",(char *) "n", NULL
32186 };
32187
32188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
32189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32191 arg2 = (int) SWIG_AsInt(obj1);
32192 if (PyErr_Occurred()) SWIG_fail;
32193 {
32194 PyThreadState* __tstate = wxPyBeginAllowThreads();
32195 (arg1)->Delete(arg2);
32196
32197 wxPyEndAllowThreads(__tstate);
32198 if (PyErr_Occurred()) SWIG_fail;
32199 }
32200 Py_INCREF(Py_None); resultobj = Py_None;
32201 return resultobj;
32202 fail:
32203 return NULL;
32204 }
32205
32206
32207 static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32208 PyObject *resultobj;
32209 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32210 int result;
32211 PyObject * obj0 = 0 ;
32212 char *kwnames[] = {
32213 (char *) "self", NULL
32214 };
32215
32216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
32217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32219 {
32220 PyThreadState* __tstate = wxPyBeginAllowThreads();
32221 result = (int)((wxItemContainer const *)arg1)->GetCount();
32222
32223 wxPyEndAllowThreads(__tstate);
32224 if (PyErr_Occurred()) SWIG_fail;
32225 }
32226 resultobj = SWIG_FromInt((int)result);
32227 return resultobj;
32228 fail:
32229 return NULL;
32230 }
32231
32232
32233 static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
32234 PyObject *resultobj;
32235 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32236 bool result;
32237 PyObject * obj0 = 0 ;
32238 char *kwnames[] = {
32239 (char *) "self", NULL
32240 };
32241
32242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
32243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32245 {
32246 PyThreadState* __tstate = wxPyBeginAllowThreads();
32247 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
32248
32249 wxPyEndAllowThreads(__tstate);
32250 if (PyErr_Occurred()) SWIG_fail;
32251 }
32252 {
32253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32254 }
32255 return resultobj;
32256 fail:
32257 return NULL;
32258 }
32259
32260
32261 static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
32262 PyObject *resultobj;
32263 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32264 int arg2 ;
32265 wxString result;
32266 PyObject * obj0 = 0 ;
32267 PyObject * obj1 = 0 ;
32268 char *kwnames[] = {
32269 (char *) "self",(char *) "n", NULL
32270 };
32271
32272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
32273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32275 arg2 = (int) SWIG_AsInt(obj1);
32276 if (PyErr_Occurred()) SWIG_fail;
32277 {
32278 PyThreadState* __tstate = wxPyBeginAllowThreads();
32279 result = ((wxItemContainer const *)arg1)->GetString(arg2);
32280
32281 wxPyEndAllowThreads(__tstate);
32282 if (PyErr_Occurred()) SWIG_fail;
32283 }
32284 {
32285 #if wxUSE_UNICODE
32286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32287 #else
32288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32289 #endif
32290 }
32291 return resultobj;
32292 fail:
32293 return NULL;
32294 }
32295
32296
32297 static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
32298 PyObject *resultobj;
32299 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32300 wxArrayString result;
32301 PyObject * obj0 = 0 ;
32302 char *kwnames[] = {
32303 (char *) "self", NULL
32304 };
32305
32306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
32307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32309 {
32310 PyThreadState* __tstate = wxPyBeginAllowThreads();
32311 result = ((wxItemContainer const *)arg1)->GetStrings();
32312
32313 wxPyEndAllowThreads(__tstate);
32314 if (PyErr_Occurred()) SWIG_fail;
32315 }
32316 {
32317 resultobj = wxArrayString2PyList_helper(result);
32318 }
32319 return resultobj;
32320 fail:
32321 return NULL;
32322 }
32323
32324
32325 static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
32326 PyObject *resultobj;
32327 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32328 int arg2 ;
32329 wxString *arg3 = 0 ;
32330 bool temp3 = False ;
32331 PyObject * obj0 = 0 ;
32332 PyObject * obj1 = 0 ;
32333 PyObject * obj2 = 0 ;
32334 char *kwnames[] = {
32335 (char *) "self",(char *) "n",(char *) "s", NULL
32336 };
32337
32338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
32339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32341 arg2 = (int) SWIG_AsInt(obj1);
32342 if (PyErr_Occurred()) SWIG_fail;
32343 {
32344 arg3 = wxString_in_helper(obj2);
32345 if (arg3 == NULL) SWIG_fail;
32346 temp3 = True;
32347 }
32348 {
32349 PyThreadState* __tstate = wxPyBeginAllowThreads();
32350 (arg1)->SetString(arg2,(wxString const &)*arg3);
32351
32352 wxPyEndAllowThreads(__tstate);
32353 if (PyErr_Occurred()) SWIG_fail;
32354 }
32355 Py_INCREF(Py_None); resultobj = Py_None;
32356 {
32357 if (temp3)
32358 delete arg3;
32359 }
32360 return resultobj;
32361 fail:
32362 {
32363 if (temp3)
32364 delete arg3;
32365 }
32366 return NULL;
32367 }
32368
32369
32370 static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
32371 PyObject *resultobj;
32372 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32373 wxString *arg2 = 0 ;
32374 int result;
32375 bool temp2 = False ;
32376 PyObject * obj0 = 0 ;
32377 PyObject * obj1 = 0 ;
32378 char *kwnames[] = {
32379 (char *) "self",(char *) "s", NULL
32380 };
32381
32382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
32383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32385 {
32386 arg2 = wxString_in_helper(obj1);
32387 if (arg2 == NULL) SWIG_fail;
32388 temp2 = True;
32389 }
32390 {
32391 PyThreadState* __tstate = wxPyBeginAllowThreads();
32392 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
32393
32394 wxPyEndAllowThreads(__tstate);
32395 if (PyErr_Occurred()) SWIG_fail;
32396 }
32397 resultobj = SWIG_FromInt((int)result);
32398 {
32399 if (temp2)
32400 delete arg2;
32401 }
32402 return resultobj;
32403 fail:
32404 {
32405 if (temp2)
32406 delete arg2;
32407 }
32408 return NULL;
32409 }
32410
32411
32412 static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) {
32413 PyObject *resultobj;
32414 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32415 int arg2 ;
32416 PyObject * obj0 = 0 ;
32417 PyObject * obj1 = 0 ;
32418 char *kwnames[] = {
32419 (char *) "self",(char *) "n", NULL
32420 };
32421
32422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
32423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32425 arg2 = (int) SWIG_AsInt(obj1);
32426 if (PyErr_Occurred()) SWIG_fail;
32427 {
32428 PyThreadState* __tstate = wxPyBeginAllowThreads();
32429 (arg1)->Select(arg2);
32430
32431 wxPyEndAllowThreads(__tstate);
32432 if (PyErr_Occurred()) SWIG_fail;
32433 }
32434 Py_INCREF(Py_None); resultobj = Py_None;
32435 return resultobj;
32436 fail:
32437 return NULL;
32438 }
32439
32440
32441 static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32442 PyObject *resultobj;
32443 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32444 int result;
32445 PyObject * obj0 = 0 ;
32446 char *kwnames[] = {
32447 (char *) "self", NULL
32448 };
32449
32450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
32451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32453 {
32454 PyThreadState* __tstate = wxPyBeginAllowThreads();
32455 result = (int)((wxItemContainer const *)arg1)->GetSelection();
32456
32457 wxPyEndAllowThreads(__tstate);
32458 if (PyErr_Occurred()) SWIG_fail;
32459 }
32460 resultobj = SWIG_FromInt((int)result);
32461 return resultobj;
32462 fail:
32463 return NULL;
32464 }
32465
32466
32467 static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32468 PyObject *resultobj;
32469 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32470 wxString result;
32471 PyObject * obj0 = 0 ;
32472 char *kwnames[] = {
32473 (char *) "self", NULL
32474 };
32475
32476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
32477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32479 {
32480 PyThreadState* __tstate = wxPyBeginAllowThreads();
32481 result = ((wxItemContainer const *)arg1)->GetStringSelection();
32482
32483 wxPyEndAllowThreads(__tstate);
32484 if (PyErr_Occurred()) SWIG_fail;
32485 }
32486 {
32487 #if wxUSE_UNICODE
32488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32489 #else
32490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32491 #endif
32492 }
32493 return resultobj;
32494 fail:
32495 return NULL;
32496 }
32497
32498
32499 static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32500 PyObject *resultobj;
32501 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32502 int arg2 ;
32503 PyObject *result;
32504 PyObject * obj0 = 0 ;
32505 PyObject * obj1 = 0 ;
32506 char *kwnames[] = {
32507 (char *) "self",(char *) "n", NULL
32508 };
32509
32510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
32511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32513 arg2 = (int) SWIG_AsInt(obj1);
32514 if (PyErr_Occurred()) SWIG_fail;
32515 {
32516 PyThreadState* __tstate = wxPyBeginAllowThreads();
32517 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
32518
32519 wxPyEndAllowThreads(__tstate);
32520 if (PyErr_Occurred()) SWIG_fail;
32521 }
32522 resultobj = result;
32523 return resultobj;
32524 fail:
32525 return NULL;
32526 }
32527
32528
32529 static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32530 PyObject *resultobj;
32531 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32532 int arg2 ;
32533 PyObject *arg3 = (PyObject *) 0 ;
32534 PyObject * obj0 = 0 ;
32535 PyObject * obj1 = 0 ;
32536 PyObject * obj2 = 0 ;
32537 char *kwnames[] = {
32538 (char *) "self",(char *) "n",(char *) "clientData", NULL
32539 };
32540
32541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
32542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32544 arg2 = (int) SWIG_AsInt(obj1);
32545 if (PyErr_Occurred()) SWIG_fail;
32546 arg3 = obj2;
32547 {
32548 PyThreadState* __tstate = wxPyBeginAllowThreads();
32549 wxItemContainer_SetClientData(arg1,arg2,arg3);
32550
32551 wxPyEndAllowThreads(__tstate);
32552 if (PyErr_Occurred()) SWIG_fail;
32553 }
32554 Py_INCREF(Py_None); resultobj = Py_None;
32555 return resultobj;
32556 fail:
32557 return NULL;
32558 }
32559
32560
32561 static PyObject * ItemContainer_swigregister(PyObject *, PyObject *args) {
32562 PyObject *obj;
32563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32564 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
32565 Py_INCREF(obj);
32566 return Py_BuildValue((char *)"");
32567 }
32568 static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) {
32569 PyObject *obj;
32570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32571 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
32572 Py_INCREF(obj);
32573 return Py_BuildValue((char *)"");
32574 }
32575 static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
32576 PyObject *resultobj;
32577 wxSizerItem *result;
32578 char *kwnames[] = {
32579 NULL
32580 };
32581
32582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
32583 {
32584 PyThreadState* __tstate = wxPyBeginAllowThreads();
32585 result = (wxSizerItem *)new wxSizerItem();
32586
32587 wxPyEndAllowThreads(__tstate);
32588 if (PyErr_Occurred()) SWIG_fail;
32589 }
32590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
32591 return resultobj;
32592 fail:
32593 return NULL;
32594 }
32595
32596
32597 static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
32598 PyObject *resultobj;
32599 int arg1 ;
32600 int arg2 ;
32601 int arg3 ;
32602 int arg4 ;
32603 int arg5 ;
32604 wxObject *arg6 = (wxObject *) 0 ;
32605 wxSizerItem *result;
32606 PyObject * obj0 = 0 ;
32607 PyObject * obj1 = 0 ;
32608 PyObject * obj2 = 0 ;
32609 PyObject * obj3 = 0 ;
32610 PyObject * obj4 = 0 ;
32611 PyObject * obj5 = 0 ;
32612 char *kwnames[] = {
32613 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32614 };
32615
32616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32617 arg1 = (int) SWIG_AsInt(obj0);
32618 if (PyErr_Occurred()) SWIG_fail;
32619 arg2 = (int) SWIG_AsInt(obj1);
32620 if (PyErr_Occurred()) SWIG_fail;
32621 arg3 = (int) SWIG_AsInt(obj2);
32622 if (PyErr_Occurred()) SWIG_fail;
32623 arg4 = (int) SWIG_AsInt(obj3);
32624 if (PyErr_Occurred()) SWIG_fail;
32625 arg5 = (int) SWIG_AsInt(obj4);
32626 if (PyErr_Occurred()) SWIG_fail;
32627 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
32628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32629 {
32630 PyThreadState* __tstate = wxPyBeginAllowThreads();
32631 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
32632
32633 wxPyEndAllowThreads(__tstate);
32634 if (PyErr_Occurred()) SWIG_fail;
32635 }
32636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
32637 return resultobj;
32638 fail:
32639 return NULL;
32640 }
32641
32642
32643 static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32644 PyObject *resultobj;
32645 wxWindow *arg1 = (wxWindow *) 0 ;
32646 int arg2 ;
32647 int arg3 ;
32648 int arg4 ;
32649 wxObject *arg5 = (wxObject *) 0 ;
32650 wxSizerItem *result;
32651 PyObject * obj0 = 0 ;
32652 PyObject * obj1 = 0 ;
32653 PyObject * obj2 = 0 ;
32654 PyObject * obj3 = 0 ;
32655 PyObject * obj4 = 0 ;
32656 char *kwnames[] = {
32657 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32658 };
32659
32660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32663 arg2 = (int) SWIG_AsInt(obj1);
32664 if (PyErr_Occurred()) SWIG_fail;
32665 arg3 = (int) SWIG_AsInt(obj2);
32666 if (PyErr_Occurred()) SWIG_fail;
32667 arg4 = (int) SWIG_AsInt(obj3);
32668 if (PyErr_Occurred()) SWIG_fail;
32669 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
32670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32671 {
32672 PyThreadState* __tstate = wxPyBeginAllowThreads();
32673 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
32674
32675 wxPyEndAllowThreads(__tstate);
32676 if (PyErr_Occurred()) SWIG_fail;
32677 }
32678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
32679 return resultobj;
32680 fail:
32681 return NULL;
32682 }
32683
32684
32685 static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32686 PyObject *resultobj;
32687 wxSizer *arg1 = (wxSizer *) 0 ;
32688 int arg2 ;
32689 int arg3 ;
32690 int arg4 ;
32691 wxObject *arg5 = (wxObject *) 0 ;
32692 wxSizerItem *result;
32693 PyObject * obj0 = 0 ;
32694 PyObject * obj1 = 0 ;
32695 PyObject * obj2 = 0 ;
32696 PyObject * obj3 = 0 ;
32697 PyObject * obj4 = 0 ;
32698 char *kwnames[] = {
32699 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32700 };
32701
32702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
32704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32705 arg2 = (int) SWIG_AsInt(obj1);
32706 if (PyErr_Occurred()) SWIG_fail;
32707 arg3 = (int) SWIG_AsInt(obj2);
32708 if (PyErr_Occurred()) SWIG_fail;
32709 arg4 = (int) SWIG_AsInt(obj3);
32710 if (PyErr_Occurred()) SWIG_fail;
32711 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
32712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32713 {
32714 PyThreadState* __tstate = wxPyBeginAllowThreads();
32715 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
32716
32717 wxPyEndAllowThreads(__tstate);
32718 if (PyErr_Occurred()) SWIG_fail;
32719 }
32720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
32721 return resultobj;
32722 fail:
32723 return NULL;
32724 }
32725
32726
32727 static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32728 PyObject *resultobj;
32729 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32730 PyObject * obj0 = 0 ;
32731 char *kwnames[] = {
32732 (char *) "self", NULL
32733 };
32734
32735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
32736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32738 {
32739 PyThreadState* __tstate = wxPyBeginAllowThreads();
32740 (arg1)->DeleteWindows();
32741
32742 wxPyEndAllowThreads(__tstate);
32743 if (PyErr_Occurred()) SWIG_fail;
32744 }
32745 Py_INCREF(Py_None); resultobj = Py_None;
32746 return resultobj;
32747 fail:
32748 return NULL;
32749 }
32750
32751
32752 static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32753 PyObject *resultobj;
32754 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32755 PyObject * obj0 = 0 ;
32756 char *kwnames[] = {
32757 (char *) "self", NULL
32758 };
32759
32760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
32761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32763 {
32764 PyThreadState* __tstate = wxPyBeginAllowThreads();
32765 (arg1)->DetachSizer();
32766
32767 wxPyEndAllowThreads(__tstate);
32768 if (PyErr_Occurred()) SWIG_fail;
32769 }
32770 Py_INCREF(Py_None); resultobj = Py_None;
32771 return resultobj;
32772 fail:
32773 return NULL;
32774 }
32775
32776
32777 static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32778 PyObject *resultobj;
32779 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32780 wxSize result;
32781 PyObject * obj0 = 0 ;
32782 char *kwnames[] = {
32783 (char *) "self", NULL
32784 };
32785
32786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
32787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32789 {
32790 PyThreadState* __tstate = wxPyBeginAllowThreads();
32791 result = (arg1)->GetSize();
32792
32793 wxPyEndAllowThreads(__tstate);
32794 if (PyErr_Occurred()) SWIG_fail;
32795 }
32796 {
32797 wxSize * resultptr;
32798 resultptr = new wxSize((wxSize &) result);
32799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32800 }
32801 return resultobj;
32802 fail:
32803 return NULL;
32804 }
32805
32806
32807 static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
32808 PyObject *resultobj;
32809 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32810 wxSize result;
32811 PyObject * obj0 = 0 ;
32812 char *kwnames[] = {
32813 (char *) "self", NULL
32814 };
32815
32816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
32817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32819 {
32820 PyThreadState* __tstate = wxPyBeginAllowThreads();
32821 result = (arg1)->CalcMin();
32822
32823 wxPyEndAllowThreads(__tstate);
32824 if (PyErr_Occurred()) SWIG_fail;
32825 }
32826 {
32827 wxSize * resultptr;
32828 resultptr = new wxSize((wxSize &) result);
32829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32830 }
32831 return resultobj;
32832 fail:
32833 return NULL;
32834 }
32835
32836
32837 static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
32838 PyObject *resultobj;
32839 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32840 wxPoint arg2 ;
32841 wxSize arg3 ;
32842 wxPoint *argp2 ;
32843 wxSize *argp3 ;
32844 PyObject * obj0 = 0 ;
32845 PyObject * obj1 = 0 ;
32846 PyObject * obj2 = 0 ;
32847 char *kwnames[] = {
32848 (char *) "self",(char *) "pos",(char *) "size", NULL
32849 };
32850
32851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
32852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32854 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
32855 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32856 arg2 = *argp2;
32857 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
32858 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32859 arg3 = *argp3;
32860 {
32861 PyThreadState* __tstate = wxPyBeginAllowThreads();
32862 (arg1)->SetDimension(arg2,arg3);
32863
32864 wxPyEndAllowThreads(__tstate);
32865 if (PyErr_Occurred()) SWIG_fail;
32866 }
32867 Py_INCREF(Py_None); resultobj = Py_None;
32868 return resultobj;
32869 fail:
32870 return NULL;
32871 }
32872
32873
32874 static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
32875 PyObject *resultobj;
32876 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32877 wxSize result;
32878 PyObject * obj0 = 0 ;
32879 char *kwnames[] = {
32880 (char *) "self", NULL
32881 };
32882
32883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
32884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32886 {
32887 PyThreadState* __tstate = wxPyBeginAllowThreads();
32888 result = (arg1)->GetMinSize();
32889
32890 wxPyEndAllowThreads(__tstate);
32891 if (PyErr_Occurred()) SWIG_fail;
32892 }
32893 {
32894 wxSize * resultptr;
32895 resultptr = new wxSize((wxSize &) result);
32896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32897 }
32898 return resultobj;
32899 fail:
32900 return NULL;
32901 }
32902
32903
32904 static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) {
32905 PyObject *resultobj;
32906 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32907 int arg2 ;
32908 int arg3 ;
32909 PyObject * obj0 = 0 ;
32910 PyObject * obj1 = 0 ;
32911 PyObject * obj2 = 0 ;
32912 char *kwnames[] = {
32913 (char *) "self",(char *) "x",(char *) "y", NULL
32914 };
32915
32916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32919 arg2 = (int) SWIG_AsInt(obj1);
32920 if (PyErr_Occurred()) SWIG_fail;
32921 arg3 = (int) SWIG_AsInt(obj2);
32922 if (PyErr_Occurred()) SWIG_fail;
32923 {
32924 PyThreadState* __tstate = wxPyBeginAllowThreads();
32925 (arg1)->SetInitSize(arg2,arg3);
32926
32927 wxPyEndAllowThreads(__tstate);
32928 if (PyErr_Occurred()) SWIG_fail;
32929 }
32930 Py_INCREF(Py_None); resultobj = Py_None;
32931 return resultobj;
32932 fail:
32933 return NULL;
32934 }
32935
32936
32937 static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) {
32938 PyObject *resultobj;
32939 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32940 int arg2 ;
32941 int arg3 ;
32942 PyObject * obj0 = 0 ;
32943 PyObject * obj1 = 0 ;
32944 PyObject * obj2 = 0 ;
32945 char *kwnames[] = {
32946 (char *) "self",(char *) "width",(char *) "height", NULL
32947 };
32948
32949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
32950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32952 arg2 = (int) SWIG_AsInt(obj1);
32953 if (PyErr_Occurred()) SWIG_fail;
32954 arg3 = (int) SWIG_AsInt(obj2);
32955 if (PyErr_Occurred()) SWIG_fail;
32956 {
32957 PyThreadState* __tstate = wxPyBeginAllowThreads();
32958 (arg1)->SetRatio(arg2,arg3);
32959
32960 wxPyEndAllowThreads(__tstate);
32961 if (PyErr_Occurred()) SWIG_fail;
32962 }
32963 Py_INCREF(Py_None); resultobj = Py_None;
32964 return resultobj;
32965 fail:
32966 return NULL;
32967 }
32968
32969
32970 static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) {
32971 PyObject *resultobj;
32972 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32973 wxSize arg2 ;
32974 wxSize *argp2 ;
32975 PyObject * obj0 = 0 ;
32976 PyObject * obj1 = 0 ;
32977 char *kwnames[] = {
32978 (char *) "self",(char *) "size", NULL
32979 };
32980
32981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
32982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32984 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
32985 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32986 arg2 = *argp2;
32987 {
32988 PyThreadState* __tstate = wxPyBeginAllowThreads();
32989 (arg1)->SetRatio(arg2);
32990
32991 wxPyEndAllowThreads(__tstate);
32992 if (PyErr_Occurred()) SWIG_fail;
32993 }
32994 Py_INCREF(Py_None); resultobj = Py_None;
32995 return resultobj;
32996 fail:
32997 return NULL;
32998 }
32999
33000
33001 static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
33002 PyObject *resultobj;
33003 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33004 float arg2 ;
33005 PyObject * obj0 = 0 ;
33006 PyObject * obj1 = 0 ;
33007 char *kwnames[] = {
33008 (char *) "self",(char *) "ratio", NULL
33009 };
33010
33011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
33012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33014 arg2 = (float) SWIG_AsFloat(obj1);
33015 if (PyErr_Occurred()) SWIG_fail;
33016 {
33017 PyThreadState* __tstate = wxPyBeginAllowThreads();
33018 (arg1)->SetRatio(arg2);
33019
33020 wxPyEndAllowThreads(__tstate);
33021 if (PyErr_Occurred()) SWIG_fail;
33022 }
33023 Py_INCREF(Py_None); resultobj = Py_None;
33024 return resultobj;
33025 fail:
33026 return NULL;
33027 }
33028
33029
33030 static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
33031 PyObject *resultobj;
33032 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33033 float result;
33034 PyObject * obj0 = 0 ;
33035 char *kwnames[] = {
33036 (char *) "self", NULL
33037 };
33038
33039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
33040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33042 {
33043 PyThreadState* __tstate = wxPyBeginAllowThreads();
33044 result = (float)(arg1)->GetRatio();
33045
33046 wxPyEndAllowThreads(__tstate);
33047 if (PyErr_Occurred()) SWIG_fail;
33048 }
33049 resultobj = SWIG_FromFloat((float)result);
33050 return resultobj;
33051 fail:
33052 return NULL;
33053 }
33054
33055
33056 static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
33057 PyObject *resultobj;
33058 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33059 bool result;
33060 PyObject * obj0 = 0 ;
33061 char *kwnames[] = {
33062 (char *) "self", NULL
33063 };
33064
33065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
33066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33068 {
33069 PyThreadState* __tstate = wxPyBeginAllowThreads();
33070 result = (bool)(arg1)->IsWindow();
33071
33072 wxPyEndAllowThreads(__tstate);
33073 if (PyErr_Occurred()) SWIG_fail;
33074 }
33075 {
33076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33077 }
33078 return resultobj;
33079 fail:
33080 return NULL;
33081 }
33082
33083
33084 static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) {
33085 PyObject *resultobj;
33086 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33087 bool result;
33088 PyObject * obj0 = 0 ;
33089 char *kwnames[] = {
33090 (char *) "self", NULL
33091 };
33092
33093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
33094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33096 {
33097 PyThreadState* __tstate = wxPyBeginAllowThreads();
33098 result = (bool)(arg1)->IsSizer();
33099
33100 wxPyEndAllowThreads(__tstate);
33101 if (PyErr_Occurred()) SWIG_fail;
33102 }
33103 {
33104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33105 }
33106 return resultobj;
33107 fail:
33108 return NULL;
33109 }
33110
33111
33112 static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
33113 PyObject *resultobj;
33114 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33115 bool result;
33116 PyObject * obj0 = 0 ;
33117 char *kwnames[] = {
33118 (char *) "self", NULL
33119 };
33120
33121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
33122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33124 {
33125 PyThreadState* __tstate = wxPyBeginAllowThreads();
33126 result = (bool)(arg1)->IsSpacer();
33127
33128 wxPyEndAllowThreads(__tstate);
33129 if (PyErr_Occurred()) SWIG_fail;
33130 }
33131 {
33132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33133 }
33134 return resultobj;
33135 fail:
33136 return NULL;
33137 }
33138
33139
33140 static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
33141 PyObject *resultobj;
33142 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33143 int arg2 ;
33144 PyObject * obj0 = 0 ;
33145 PyObject * obj1 = 0 ;
33146 char *kwnames[] = {
33147 (char *) "self",(char *) "proportion", NULL
33148 };
33149
33150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
33151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33153 arg2 = (int) SWIG_AsInt(obj1);
33154 if (PyErr_Occurred()) SWIG_fail;
33155 {
33156 PyThreadState* __tstate = wxPyBeginAllowThreads();
33157 (arg1)->SetProportion(arg2);
33158
33159 wxPyEndAllowThreads(__tstate);
33160 if (PyErr_Occurred()) SWIG_fail;
33161 }
33162 Py_INCREF(Py_None); resultobj = Py_None;
33163 return resultobj;
33164 fail:
33165 return NULL;
33166 }
33167
33168
33169 static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
33170 PyObject *resultobj;
33171 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33172 int result;
33173 PyObject * obj0 = 0 ;
33174 char *kwnames[] = {
33175 (char *) "self", NULL
33176 };
33177
33178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
33179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33181 {
33182 PyThreadState* __tstate = wxPyBeginAllowThreads();
33183 result = (int)(arg1)->GetProportion();
33184
33185 wxPyEndAllowThreads(__tstate);
33186 if (PyErr_Occurred()) SWIG_fail;
33187 }
33188 resultobj = SWIG_FromInt((int)result);
33189 return resultobj;
33190 fail:
33191 return NULL;
33192 }
33193
33194
33195 static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
33196 PyObject *resultobj;
33197 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33198 int arg2 ;
33199 PyObject * obj0 = 0 ;
33200 PyObject * obj1 = 0 ;
33201 char *kwnames[] = {
33202 (char *) "self",(char *) "flag", NULL
33203 };
33204
33205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
33206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33208 arg2 = (int) SWIG_AsInt(obj1);
33209 if (PyErr_Occurred()) SWIG_fail;
33210 {
33211 PyThreadState* __tstate = wxPyBeginAllowThreads();
33212 (arg1)->SetFlag(arg2);
33213
33214 wxPyEndAllowThreads(__tstate);
33215 if (PyErr_Occurred()) SWIG_fail;
33216 }
33217 Py_INCREF(Py_None); resultobj = Py_None;
33218 return resultobj;
33219 fail:
33220 return NULL;
33221 }
33222
33223
33224 static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
33225 PyObject *resultobj;
33226 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33227 int result;
33228 PyObject * obj0 = 0 ;
33229 char *kwnames[] = {
33230 (char *) "self", NULL
33231 };
33232
33233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
33234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33236 {
33237 PyThreadState* __tstate = wxPyBeginAllowThreads();
33238 result = (int)(arg1)->GetFlag();
33239
33240 wxPyEndAllowThreads(__tstate);
33241 if (PyErr_Occurred()) SWIG_fail;
33242 }
33243 resultobj = SWIG_FromInt((int)result);
33244 return resultobj;
33245 fail:
33246 return NULL;
33247 }
33248
33249
33250 static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
33251 PyObject *resultobj;
33252 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33253 int arg2 ;
33254 PyObject * obj0 = 0 ;
33255 PyObject * obj1 = 0 ;
33256 char *kwnames[] = {
33257 (char *) "self",(char *) "border", NULL
33258 };
33259
33260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
33261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33263 arg2 = (int) SWIG_AsInt(obj1);
33264 if (PyErr_Occurred()) SWIG_fail;
33265 {
33266 PyThreadState* __tstate = wxPyBeginAllowThreads();
33267 (arg1)->SetBorder(arg2);
33268
33269 wxPyEndAllowThreads(__tstate);
33270 if (PyErr_Occurred()) SWIG_fail;
33271 }
33272 Py_INCREF(Py_None); resultobj = Py_None;
33273 return resultobj;
33274 fail:
33275 return NULL;
33276 }
33277
33278
33279 static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
33280 PyObject *resultobj;
33281 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33282 int result;
33283 PyObject * obj0 = 0 ;
33284 char *kwnames[] = {
33285 (char *) "self", NULL
33286 };
33287
33288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
33289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33291 {
33292 PyThreadState* __tstate = wxPyBeginAllowThreads();
33293 result = (int)(arg1)->GetBorder();
33294
33295 wxPyEndAllowThreads(__tstate);
33296 if (PyErr_Occurred()) SWIG_fail;
33297 }
33298 resultobj = SWIG_FromInt((int)result);
33299 return resultobj;
33300 fail:
33301 return NULL;
33302 }
33303
33304
33305 static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
33306 PyObject *resultobj;
33307 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33308 wxWindow *result;
33309 PyObject * obj0 = 0 ;
33310 char *kwnames[] = {
33311 (char *) "self", NULL
33312 };
33313
33314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
33315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33317 {
33318 PyThreadState* __tstate = wxPyBeginAllowThreads();
33319 result = (wxWindow *)(arg1)->GetWindow();
33320
33321 wxPyEndAllowThreads(__tstate);
33322 if (PyErr_Occurred()) SWIG_fail;
33323 }
33324 {
33325 resultobj = wxPyMake_wxObject(result);
33326 }
33327 return resultobj;
33328 fail:
33329 return NULL;
33330 }
33331
33332
33333 static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
33334 PyObject *resultobj;
33335 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33336 wxWindow *arg2 = (wxWindow *) 0 ;
33337 PyObject * obj0 = 0 ;
33338 PyObject * obj1 = 0 ;
33339 char *kwnames[] = {
33340 (char *) "self",(char *) "window", NULL
33341 };
33342
33343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
33344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33348 {
33349 PyThreadState* __tstate = wxPyBeginAllowThreads();
33350 (arg1)->SetWindow(arg2);
33351
33352 wxPyEndAllowThreads(__tstate);
33353 if (PyErr_Occurred()) SWIG_fail;
33354 }
33355 Py_INCREF(Py_None); resultobj = Py_None;
33356 return resultobj;
33357 fail:
33358 return NULL;
33359 }
33360
33361
33362 static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
33363 PyObject *resultobj;
33364 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33365 wxSizer *result;
33366 PyObject * obj0 = 0 ;
33367 char *kwnames[] = {
33368 (char *) "self", NULL
33369 };
33370
33371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
33372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33374 {
33375 PyThreadState* __tstate = wxPyBeginAllowThreads();
33376 result = (wxSizer *)(arg1)->GetSizer();
33377
33378 wxPyEndAllowThreads(__tstate);
33379 if (PyErr_Occurred()) SWIG_fail;
33380 }
33381 {
33382 resultobj = wxPyMake_wxSizer(result);
33383 }
33384 return resultobj;
33385 fail:
33386 return NULL;
33387 }
33388
33389
33390 static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
33391 PyObject *resultobj;
33392 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33393 wxSizer *arg2 = (wxSizer *) 0 ;
33394 PyObject * obj0 = 0 ;
33395 PyObject * obj1 = 0 ;
33396 char *kwnames[] = {
33397 (char *) "self",(char *) "sizer", NULL
33398 };
33399
33400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
33401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
33404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33405 {
33406 PyThreadState* __tstate = wxPyBeginAllowThreads();
33407 (arg1)->SetSizer(arg2);
33408
33409 wxPyEndAllowThreads(__tstate);
33410 if (PyErr_Occurred()) SWIG_fail;
33411 }
33412 Py_INCREF(Py_None); resultobj = Py_None;
33413 return resultobj;
33414 fail:
33415 return NULL;
33416 }
33417
33418
33419 static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
33420 PyObject *resultobj;
33421 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33422 wxSize *result;
33423 PyObject * obj0 = 0 ;
33424 char *kwnames[] = {
33425 (char *) "self", NULL
33426 };
33427
33428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
33429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33431 {
33432 PyThreadState* __tstate = wxPyBeginAllowThreads();
33433 {
33434 wxSize const &_result_ref = (arg1)->GetSpacer();
33435 result = (wxSize *) &_result_ref;
33436 }
33437
33438 wxPyEndAllowThreads(__tstate);
33439 if (PyErr_Occurred()) SWIG_fail;
33440 }
33441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
33442 return resultobj;
33443 fail:
33444 return NULL;
33445 }
33446
33447
33448 static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
33449 PyObject *resultobj;
33450 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33451 wxSize *arg2 = 0 ;
33452 wxSize temp2 ;
33453 PyObject * obj0 = 0 ;
33454 PyObject * obj1 = 0 ;
33455 char *kwnames[] = {
33456 (char *) "self",(char *) "size", NULL
33457 };
33458
33459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
33460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33462 {
33463 arg2 = &temp2;
33464 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33465 }
33466 {
33467 PyThreadState* __tstate = wxPyBeginAllowThreads();
33468 (arg1)->SetSpacer((wxSize const &)*arg2);
33469
33470 wxPyEndAllowThreads(__tstate);
33471 if (PyErr_Occurred()) SWIG_fail;
33472 }
33473 Py_INCREF(Py_None); resultobj = Py_None;
33474 return resultobj;
33475 fail:
33476 return NULL;
33477 }
33478
33479
33480 static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) {
33481 PyObject *resultobj;
33482 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33483 bool arg2 ;
33484 PyObject * obj0 = 0 ;
33485 PyObject * obj1 = 0 ;
33486 char *kwnames[] = {
33487 (char *) "self",(char *) "show", NULL
33488 };
33489
33490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
33491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33493 arg2 = (bool) SWIG_AsBool(obj1);
33494 if (PyErr_Occurred()) SWIG_fail;
33495 {
33496 PyThreadState* __tstate = wxPyBeginAllowThreads();
33497 (arg1)->Show(arg2);
33498
33499 wxPyEndAllowThreads(__tstate);
33500 if (PyErr_Occurred()) SWIG_fail;
33501 }
33502 Py_INCREF(Py_None); resultobj = Py_None;
33503 return resultobj;
33504 fail:
33505 return NULL;
33506 }
33507
33508
33509 static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
33510 PyObject *resultobj;
33511 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33512 bool result;
33513 PyObject * obj0 = 0 ;
33514 char *kwnames[] = {
33515 (char *) "self", NULL
33516 };
33517
33518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
33519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33521 {
33522 PyThreadState* __tstate = wxPyBeginAllowThreads();
33523 result = (bool)(arg1)->IsShown();
33524
33525 wxPyEndAllowThreads(__tstate);
33526 if (PyErr_Occurred()) SWIG_fail;
33527 }
33528 {
33529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33530 }
33531 return resultobj;
33532 fail:
33533 return NULL;
33534 }
33535
33536
33537 static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33538 PyObject *resultobj;
33539 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33540 wxPoint result;
33541 PyObject * obj0 = 0 ;
33542 char *kwnames[] = {
33543 (char *) "self", NULL
33544 };
33545
33546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
33547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33549 {
33550 PyThreadState* __tstate = wxPyBeginAllowThreads();
33551 result = (arg1)->GetPosition();
33552
33553 wxPyEndAllowThreads(__tstate);
33554 if (PyErr_Occurred()) SWIG_fail;
33555 }
33556 {
33557 wxPoint * resultptr;
33558 resultptr = new wxPoint((wxPoint &) result);
33559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33560 }
33561 return resultobj;
33562 fail:
33563 return NULL;
33564 }
33565
33566
33567 static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
33568 PyObject *resultobj;
33569 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33570 PyObject *result;
33571 PyObject * obj0 = 0 ;
33572 char *kwnames[] = {
33573 (char *) "self", NULL
33574 };
33575
33576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
33577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33579 {
33580 PyThreadState* __tstate = wxPyBeginAllowThreads();
33581 result = (PyObject *)wxSizerItem_GetUserData(arg1);
33582
33583 wxPyEndAllowThreads(__tstate);
33584 if (PyErr_Occurred()) SWIG_fail;
33585 }
33586 resultobj = result;
33587 return resultobj;
33588 fail:
33589 return NULL;
33590 }
33591
33592
33593 static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
33594 PyObject *obj;
33595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33596 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
33597 Py_INCREF(obj);
33598 return Py_BuildValue((char *)"");
33599 }
33600 static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
33601 PyObject *resultobj;
33602 wxSizer *arg1 = (wxSizer *) 0 ;
33603 PyObject *arg2 = (PyObject *) 0 ;
33604 PyObject * obj0 = 0 ;
33605 PyObject * obj1 = 0 ;
33606 char *kwnames[] = {
33607 (char *) "self",(char *) "_self", NULL
33608 };
33609
33610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
33611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33613 arg2 = obj1;
33614 {
33615 PyThreadState* __tstate = wxPyBeginAllowThreads();
33616 wxSizer__setOORInfo(arg1,arg2);
33617
33618 wxPyEndAllowThreads(__tstate);
33619 if (PyErr_Occurred()) SWIG_fail;
33620 }
33621 Py_INCREF(Py_None); resultobj = Py_None;
33622 return resultobj;
33623 fail:
33624 return NULL;
33625 }
33626
33627
33628 static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
33629 PyObject *resultobj;
33630 wxSizer *arg1 = (wxSizer *) 0 ;
33631 PyObject *arg2 = (PyObject *) 0 ;
33632 int arg3 = (int) 0 ;
33633 int arg4 = (int) 0 ;
33634 int arg5 = (int) 0 ;
33635 PyObject *arg6 = (PyObject *) NULL ;
33636 PyObject * obj0 = 0 ;
33637 PyObject * obj1 = 0 ;
33638 PyObject * obj2 = 0 ;
33639 PyObject * obj3 = 0 ;
33640 PyObject * obj4 = 0 ;
33641 PyObject * obj5 = 0 ;
33642 char *kwnames[] = {
33643 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33644 };
33645
33646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33649 arg2 = obj1;
33650 if (obj2) {
33651 arg3 = (int) SWIG_AsInt(obj2);
33652 if (PyErr_Occurred()) SWIG_fail;
33653 }
33654 if (obj3) {
33655 arg4 = (int) SWIG_AsInt(obj3);
33656 if (PyErr_Occurred()) SWIG_fail;
33657 }
33658 if (obj4) {
33659 arg5 = (int) SWIG_AsInt(obj4);
33660 if (PyErr_Occurred()) SWIG_fail;
33661 }
33662 if (obj5) {
33663 arg6 = obj5;
33664 }
33665 {
33666 PyThreadState* __tstate = wxPyBeginAllowThreads();
33667 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
33668
33669 wxPyEndAllowThreads(__tstate);
33670 if (PyErr_Occurred()) SWIG_fail;
33671 }
33672 Py_INCREF(Py_None); resultobj = Py_None;
33673 return resultobj;
33674 fail:
33675 return NULL;
33676 }
33677
33678
33679 static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
33680 PyObject *resultobj;
33681 wxSizer *arg1 = (wxSizer *) 0 ;
33682 int arg2 ;
33683 PyObject *arg3 = (PyObject *) 0 ;
33684 int arg4 = (int) 0 ;
33685 int arg5 = (int) 0 ;
33686 int arg6 = (int) 0 ;
33687 PyObject *arg7 = (PyObject *) NULL ;
33688 PyObject * obj0 = 0 ;
33689 PyObject * obj1 = 0 ;
33690 PyObject * obj2 = 0 ;
33691 PyObject * obj3 = 0 ;
33692 PyObject * obj4 = 0 ;
33693 PyObject * obj5 = 0 ;
33694 PyObject * obj6 = 0 ;
33695 char *kwnames[] = {
33696 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33697 };
33698
33699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
33700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33702 arg2 = (int) SWIG_AsInt(obj1);
33703 if (PyErr_Occurred()) SWIG_fail;
33704 arg3 = obj2;
33705 if (obj3) {
33706 arg4 = (int) SWIG_AsInt(obj3);
33707 if (PyErr_Occurred()) SWIG_fail;
33708 }
33709 if (obj4) {
33710 arg5 = (int) SWIG_AsInt(obj4);
33711 if (PyErr_Occurred()) SWIG_fail;
33712 }
33713 if (obj5) {
33714 arg6 = (int) SWIG_AsInt(obj5);
33715 if (PyErr_Occurred()) SWIG_fail;
33716 }
33717 if (obj6) {
33718 arg7 = obj6;
33719 }
33720 {
33721 PyThreadState* __tstate = wxPyBeginAllowThreads();
33722 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
33723
33724 wxPyEndAllowThreads(__tstate);
33725 if (PyErr_Occurred()) SWIG_fail;
33726 }
33727 Py_INCREF(Py_None); resultobj = Py_None;
33728 return resultobj;
33729 fail:
33730 return NULL;
33731 }
33732
33733
33734 static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
33735 PyObject *resultobj;
33736 wxSizer *arg1 = (wxSizer *) 0 ;
33737 PyObject *arg2 = (PyObject *) 0 ;
33738 int arg3 = (int) 0 ;
33739 int arg4 = (int) 0 ;
33740 int arg5 = (int) 0 ;
33741 PyObject *arg6 = (PyObject *) NULL ;
33742 PyObject * obj0 = 0 ;
33743 PyObject * obj1 = 0 ;
33744 PyObject * obj2 = 0 ;
33745 PyObject * obj3 = 0 ;
33746 PyObject * obj4 = 0 ;
33747 PyObject * obj5 = 0 ;
33748 char *kwnames[] = {
33749 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33750 };
33751
33752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33755 arg2 = obj1;
33756 if (obj2) {
33757 arg3 = (int) SWIG_AsInt(obj2);
33758 if (PyErr_Occurred()) SWIG_fail;
33759 }
33760 if (obj3) {
33761 arg4 = (int) SWIG_AsInt(obj3);
33762 if (PyErr_Occurred()) SWIG_fail;
33763 }
33764 if (obj4) {
33765 arg5 = (int) SWIG_AsInt(obj4);
33766 if (PyErr_Occurred()) SWIG_fail;
33767 }
33768 if (obj5) {
33769 arg6 = obj5;
33770 }
33771 {
33772 PyThreadState* __tstate = wxPyBeginAllowThreads();
33773 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
33774
33775 wxPyEndAllowThreads(__tstate);
33776 if (PyErr_Occurred()) SWIG_fail;
33777 }
33778 Py_INCREF(Py_None); resultobj = Py_None;
33779 return resultobj;
33780 fail:
33781 return NULL;
33782 }
33783
33784
33785 static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
33786 PyObject *resultobj;
33787 wxSizer *arg1 = (wxSizer *) 0 ;
33788 PyObject *arg2 = (PyObject *) 0 ;
33789 bool result;
33790 PyObject * obj0 = 0 ;
33791 PyObject * obj1 = 0 ;
33792 char *kwnames[] = {
33793 (char *) "self",(char *) "item", NULL
33794 };
33795
33796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
33797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33799 arg2 = obj1;
33800 {
33801 PyThreadState* __tstate = wxPyBeginAllowThreads();
33802 result = (bool)wxSizer_Remove(arg1,arg2);
33803
33804 wxPyEndAllowThreads(__tstate);
33805 if (PyErr_Occurred()) SWIG_fail;
33806 }
33807 {
33808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33809 }
33810 return resultobj;
33811 fail:
33812 return NULL;
33813 }
33814
33815
33816 static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
33817 PyObject *resultobj;
33818 wxSizer *arg1 = (wxSizer *) 0 ;
33819 PyObject *arg2 = (PyObject *) 0 ;
33820 wxSize *arg3 = 0 ;
33821 wxSize temp3 ;
33822 PyObject * obj0 = 0 ;
33823 PyObject * obj1 = 0 ;
33824 PyObject * obj2 = 0 ;
33825 char *kwnames[] = {
33826 (char *) "self",(char *) "item",(char *) "size", NULL
33827 };
33828
33829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
33830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33832 arg2 = obj1;
33833 {
33834 arg3 = &temp3;
33835 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
33836 }
33837 {
33838 PyThreadState* __tstate = wxPyBeginAllowThreads();
33839 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
33840
33841 wxPyEndAllowThreads(__tstate);
33842 if (PyErr_Occurred()) SWIG_fail;
33843 }
33844 Py_INCREF(Py_None); resultobj = Py_None;
33845 return resultobj;
33846 fail:
33847 return NULL;
33848 }
33849
33850
33851 static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
33852 PyObject *resultobj;
33853 wxSizer *arg1 = (wxSizer *) 0 ;
33854 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
33855 PyObject * obj0 = 0 ;
33856 PyObject * obj1 = 0 ;
33857 char *kwnames[] = {
33858 (char *) "self",(char *) "item", NULL
33859 };
33860
33861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
33862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
33865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33866 {
33867 PyThreadState* __tstate = wxPyBeginAllowThreads();
33868 (arg1)->Add(arg2);
33869
33870 wxPyEndAllowThreads(__tstate);
33871 if (PyErr_Occurred()) SWIG_fail;
33872 }
33873 Py_INCREF(Py_None); resultobj = Py_None;
33874 return resultobj;
33875 fail:
33876 return NULL;
33877 }
33878
33879
33880 static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
33881 PyObject *resultobj;
33882 wxSizer *arg1 = (wxSizer *) 0 ;
33883 size_t arg2 ;
33884 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
33885 PyObject * obj0 = 0 ;
33886 PyObject * obj1 = 0 ;
33887 PyObject * obj2 = 0 ;
33888 char *kwnames[] = {
33889 (char *) "self",(char *) "index",(char *) "item", NULL
33890 };
33891
33892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
33893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33895 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
33896 if (PyErr_Occurred()) SWIG_fail;
33897 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
33898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33899 {
33900 PyThreadState* __tstate = wxPyBeginAllowThreads();
33901 (arg1)->Insert(arg2,arg3);
33902
33903 wxPyEndAllowThreads(__tstate);
33904 if (PyErr_Occurred()) SWIG_fail;
33905 }
33906 Py_INCREF(Py_None); resultobj = Py_None;
33907 return resultobj;
33908 fail:
33909 return NULL;
33910 }
33911
33912
33913 static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
33914 PyObject *resultobj;
33915 wxSizer *arg1 = (wxSizer *) 0 ;
33916 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
33917 PyObject * obj0 = 0 ;
33918 PyObject * obj1 = 0 ;
33919 char *kwnames[] = {
33920 (char *) "self",(char *) "item", NULL
33921 };
33922
33923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
33924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
33927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33928 {
33929 PyThreadState* __tstate = wxPyBeginAllowThreads();
33930 (arg1)->Prepend(arg2);
33931
33932 wxPyEndAllowThreads(__tstate);
33933 if (PyErr_Occurred()) SWIG_fail;
33934 }
33935 Py_INCREF(Py_None); resultobj = Py_None;
33936 return resultobj;
33937 fail:
33938 return NULL;
33939 }
33940
33941
33942 static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
33943 PyObject *resultobj;
33944 wxSizer *arg1 = (wxSizer *) 0 ;
33945 int arg2 ;
33946 int arg3 ;
33947 int arg4 ;
33948 int arg5 ;
33949 PyObject * obj0 = 0 ;
33950 PyObject * obj1 = 0 ;
33951 PyObject * obj2 = 0 ;
33952 PyObject * obj3 = 0 ;
33953 PyObject * obj4 = 0 ;
33954 char *kwnames[] = {
33955 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33956 };
33957
33958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33961 arg2 = (int) SWIG_AsInt(obj1);
33962 if (PyErr_Occurred()) SWIG_fail;
33963 arg3 = (int) SWIG_AsInt(obj2);
33964 if (PyErr_Occurred()) SWIG_fail;
33965 arg4 = (int) SWIG_AsInt(obj3);
33966 if (PyErr_Occurred()) SWIG_fail;
33967 arg5 = (int) SWIG_AsInt(obj4);
33968 if (PyErr_Occurred()) SWIG_fail;
33969 {
33970 PyThreadState* __tstate = wxPyBeginAllowThreads();
33971 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
33972
33973 wxPyEndAllowThreads(__tstate);
33974 if (PyErr_Occurred()) SWIG_fail;
33975 }
33976 Py_INCREF(Py_None); resultobj = Py_None;
33977 return resultobj;
33978 fail:
33979 return NULL;
33980 }
33981
33982
33983 static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
33984 PyObject *resultobj;
33985 wxSizer *arg1 = (wxSizer *) 0 ;
33986 wxSize *arg2 = 0 ;
33987 wxSize temp2 ;
33988 PyObject * obj0 = 0 ;
33989 PyObject * obj1 = 0 ;
33990 char *kwnames[] = {
33991 (char *) "self",(char *) "size", NULL
33992 };
33993
33994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
33995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33997 {
33998 arg2 = &temp2;
33999 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34000 }
34001 {
34002 PyThreadState* __tstate = wxPyBeginAllowThreads();
34003 (arg1)->SetMinSize((wxSize const &)*arg2);
34004
34005 wxPyEndAllowThreads(__tstate);
34006 if (PyErr_Occurred()) SWIG_fail;
34007 }
34008 Py_INCREF(Py_None); resultobj = Py_None;
34009 return resultobj;
34010 fail:
34011 return NULL;
34012 }
34013
34014
34015 static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
34016 PyObject *resultobj;
34017 wxSizer *arg1 = (wxSizer *) 0 ;
34018 wxSize result;
34019 PyObject * obj0 = 0 ;
34020 char *kwnames[] = {
34021 (char *) "self", NULL
34022 };
34023
34024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
34025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34027 {
34028 PyThreadState* __tstate = wxPyBeginAllowThreads();
34029 result = (arg1)->GetSize();
34030
34031 wxPyEndAllowThreads(__tstate);
34032 if (PyErr_Occurred()) SWIG_fail;
34033 }
34034 {
34035 wxSize * resultptr;
34036 resultptr = new wxSize((wxSize &) result);
34037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34038 }
34039 return resultobj;
34040 fail:
34041 return NULL;
34042 }
34043
34044
34045 static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
34046 PyObject *resultobj;
34047 wxSizer *arg1 = (wxSizer *) 0 ;
34048 wxPoint result;
34049 PyObject * obj0 = 0 ;
34050 char *kwnames[] = {
34051 (char *) "self", NULL
34052 };
34053
34054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
34055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34057 {
34058 PyThreadState* __tstate = wxPyBeginAllowThreads();
34059 result = (arg1)->GetPosition();
34060
34061 wxPyEndAllowThreads(__tstate);
34062 if (PyErr_Occurred()) SWIG_fail;
34063 }
34064 {
34065 wxPoint * resultptr;
34066 resultptr = new wxPoint((wxPoint &) result);
34067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
34068 }
34069 return resultobj;
34070 fail:
34071 return NULL;
34072 }
34073
34074
34075 static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
34076 PyObject *resultobj;
34077 wxSizer *arg1 = (wxSizer *) 0 ;
34078 wxSize result;
34079 PyObject * obj0 = 0 ;
34080 char *kwnames[] = {
34081 (char *) "self", NULL
34082 };
34083
34084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
34085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34087 {
34088 PyThreadState* __tstate = wxPyBeginAllowThreads();
34089 result = (arg1)->GetMinSize();
34090
34091 wxPyEndAllowThreads(__tstate);
34092 if (PyErr_Occurred()) SWIG_fail;
34093 }
34094 {
34095 wxSize * resultptr;
34096 resultptr = new wxSize((wxSize &) result);
34097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34098 }
34099 return resultobj;
34100 fail:
34101 return NULL;
34102 }
34103
34104
34105 static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
34106 PyObject *resultobj;
34107 wxSizer *arg1 = (wxSizer *) 0 ;
34108 PyObject * obj0 = 0 ;
34109 char *kwnames[] = {
34110 (char *) "self", NULL
34111 };
34112
34113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
34114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34116 {
34117 PyThreadState* __tstate = wxPyBeginAllowThreads();
34118 (arg1)->RecalcSizes();
34119
34120 wxPyEndAllowThreads(__tstate);
34121 if (PyErr_Occurred()) SWIG_fail;
34122 }
34123 Py_INCREF(Py_None); resultobj = Py_None;
34124 return resultobj;
34125 fail:
34126 return NULL;
34127 }
34128
34129
34130 static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
34131 PyObject *resultobj;
34132 wxSizer *arg1 = (wxSizer *) 0 ;
34133 wxSize result;
34134 PyObject * obj0 = 0 ;
34135 char *kwnames[] = {
34136 (char *) "self", NULL
34137 };
34138
34139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
34140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34142 {
34143 PyThreadState* __tstate = wxPyBeginAllowThreads();
34144 result = (arg1)->CalcMin();
34145
34146 wxPyEndAllowThreads(__tstate);
34147 if (PyErr_Occurred()) SWIG_fail;
34148 }
34149 {
34150 wxSize * resultptr;
34151 resultptr = new wxSize((wxSize &) result);
34152 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34153 }
34154 return resultobj;
34155 fail:
34156 return NULL;
34157 }
34158
34159
34160 static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
34161 PyObject *resultobj;
34162 wxSizer *arg1 = (wxSizer *) 0 ;
34163 PyObject * obj0 = 0 ;
34164 char *kwnames[] = {
34165 (char *) "self", NULL
34166 };
34167
34168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
34169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34171 {
34172 PyThreadState* __tstate = wxPyBeginAllowThreads();
34173 (arg1)->Layout();
34174
34175 wxPyEndAllowThreads(__tstate);
34176 if (PyErr_Occurred()) SWIG_fail;
34177 }
34178 Py_INCREF(Py_None); resultobj = Py_None;
34179 return resultobj;
34180 fail:
34181 return NULL;
34182 }
34183
34184
34185 static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
34186 PyObject *resultobj;
34187 wxSizer *arg1 = (wxSizer *) 0 ;
34188 wxWindow *arg2 = (wxWindow *) 0 ;
34189 wxSize result;
34190 PyObject * obj0 = 0 ;
34191 PyObject * obj1 = 0 ;
34192 char *kwnames[] = {
34193 (char *) "self",(char *) "window", NULL
34194 };
34195
34196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
34197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34201 {
34202 PyThreadState* __tstate = wxPyBeginAllowThreads();
34203 result = (arg1)->Fit(arg2);
34204
34205 wxPyEndAllowThreads(__tstate);
34206 if (PyErr_Occurred()) SWIG_fail;
34207 }
34208 {
34209 wxSize * resultptr;
34210 resultptr = new wxSize((wxSize &) result);
34211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34212 }
34213 return resultobj;
34214 fail:
34215 return NULL;
34216 }
34217
34218
34219 static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
34220 PyObject *resultobj;
34221 wxSizer *arg1 = (wxSizer *) 0 ;
34222 wxWindow *arg2 = (wxWindow *) 0 ;
34223 PyObject * obj0 = 0 ;
34224 PyObject * obj1 = 0 ;
34225 char *kwnames[] = {
34226 (char *) "self",(char *) "window", NULL
34227 };
34228
34229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
34230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34234 {
34235 PyThreadState* __tstate = wxPyBeginAllowThreads();
34236 (arg1)->FitInside(arg2);
34237
34238 wxPyEndAllowThreads(__tstate);
34239 if (PyErr_Occurred()) SWIG_fail;
34240 }
34241 Py_INCREF(Py_None); resultobj = Py_None;
34242 return resultobj;
34243 fail:
34244 return NULL;
34245 }
34246
34247
34248 static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
34249 PyObject *resultobj;
34250 wxSizer *arg1 = (wxSizer *) 0 ;
34251 wxWindow *arg2 = (wxWindow *) 0 ;
34252 PyObject * obj0 = 0 ;
34253 PyObject * obj1 = 0 ;
34254 char *kwnames[] = {
34255 (char *) "self",(char *) "window", NULL
34256 };
34257
34258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
34259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34263 {
34264 PyThreadState* __tstate = wxPyBeginAllowThreads();
34265 (arg1)->SetSizeHints(arg2);
34266
34267 wxPyEndAllowThreads(__tstate);
34268 if (PyErr_Occurred()) SWIG_fail;
34269 }
34270 Py_INCREF(Py_None); resultobj = Py_None;
34271 return resultobj;
34272 fail:
34273 return NULL;
34274 }
34275
34276
34277 static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
34278 PyObject *resultobj;
34279 wxSizer *arg1 = (wxSizer *) 0 ;
34280 wxWindow *arg2 = (wxWindow *) 0 ;
34281 PyObject * obj0 = 0 ;
34282 PyObject * obj1 = 0 ;
34283 char *kwnames[] = {
34284 (char *) "self",(char *) "window", NULL
34285 };
34286
34287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
34288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34290 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34292 {
34293 PyThreadState* __tstate = wxPyBeginAllowThreads();
34294 (arg1)->SetVirtualSizeHints(arg2);
34295
34296 wxPyEndAllowThreads(__tstate);
34297 if (PyErr_Occurred()) SWIG_fail;
34298 }
34299 Py_INCREF(Py_None); resultobj = Py_None;
34300 return resultobj;
34301 fail:
34302 return NULL;
34303 }
34304
34305
34306 static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
34307 PyObject *resultobj;
34308 wxSizer *arg1 = (wxSizer *) 0 ;
34309 bool arg2 = (bool) False ;
34310 PyObject * obj0 = 0 ;
34311 PyObject * obj1 = 0 ;
34312 char *kwnames[] = {
34313 (char *) "self",(char *) "delete_windows", NULL
34314 };
34315
34316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
34317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34319 if (obj1) {
34320 arg2 = (bool) SWIG_AsBool(obj1);
34321 if (PyErr_Occurred()) SWIG_fail;
34322 }
34323 {
34324 PyThreadState* __tstate = wxPyBeginAllowThreads();
34325 (arg1)->Clear(arg2);
34326
34327 wxPyEndAllowThreads(__tstate);
34328 if (PyErr_Occurred()) SWIG_fail;
34329 }
34330 Py_INCREF(Py_None); resultobj = Py_None;
34331 return resultobj;
34332 fail:
34333 return NULL;
34334 }
34335
34336
34337 static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
34338 PyObject *resultobj;
34339 wxSizer *arg1 = (wxSizer *) 0 ;
34340 PyObject * obj0 = 0 ;
34341 char *kwnames[] = {
34342 (char *) "self", NULL
34343 };
34344
34345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
34346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34348 {
34349 PyThreadState* __tstate = wxPyBeginAllowThreads();
34350 (arg1)->DeleteWindows();
34351
34352 wxPyEndAllowThreads(__tstate);
34353 if (PyErr_Occurred()) SWIG_fail;
34354 }
34355 Py_INCREF(Py_None); resultobj = Py_None;
34356 return resultobj;
34357 fail:
34358 return NULL;
34359 }
34360
34361
34362 static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
34363 PyObject *resultobj;
34364 wxSizer *arg1 = (wxSizer *) 0 ;
34365 PyObject *result;
34366 PyObject * obj0 = 0 ;
34367 char *kwnames[] = {
34368 (char *) "self", NULL
34369 };
34370
34371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
34372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34374 {
34375 PyThreadState* __tstate = wxPyBeginAllowThreads();
34376 result = (PyObject *)wxSizer_GetChildren(arg1);
34377
34378 wxPyEndAllowThreads(__tstate);
34379 if (PyErr_Occurred()) SWIG_fail;
34380 }
34381 resultobj = result;
34382 return resultobj;
34383 fail:
34384 return NULL;
34385 }
34386
34387
34388 static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34389 PyObject *resultobj;
34390 wxSizer *arg1 = (wxSizer *) 0 ;
34391 PyObject *arg2 = (PyObject *) 0 ;
34392 bool arg3 = (bool) True ;
34393 PyObject * obj0 = 0 ;
34394 PyObject * obj1 = 0 ;
34395 PyObject * obj2 = 0 ;
34396 char *kwnames[] = {
34397 (char *) "self",(char *) "item",(char *) "show", NULL
34398 };
34399
34400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
34401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34403 arg2 = obj1;
34404 if (obj2) {
34405 arg3 = (bool) SWIG_AsBool(obj2);
34406 if (PyErr_Occurred()) SWIG_fail;
34407 }
34408 {
34409 PyThreadState* __tstate = wxPyBeginAllowThreads();
34410 wxSizer_Show(arg1,arg2,arg3);
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_Sizer_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34423 PyObject *resultobj;
34424 wxSizer *arg1 = (wxSizer *) 0 ;
34425 PyObject *arg2 = (PyObject *) 0 ;
34426 PyObject * obj0 = 0 ;
34427 PyObject * obj1 = 0 ;
34428 char *kwnames[] = {
34429 (char *) "self",(char *) "item", NULL
34430 };
34431
34432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
34433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34435 arg2 = obj1;
34436 {
34437 PyThreadState* __tstate = wxPyBeginAllowThreads();
34438 wxSizer_Hide(arg1,arg2);
34439
34440 wxPyEndAllowThreads(__tstate);
34441 if (PyErr_Occurred()) SWIG_fail;
34442 }
34443 Py_INCREF(Py_None); resultobj = Py_None;
34444 return resultobj;
34445 fail:
34446 return NULL;
34447 }
34448
34449
34450 static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
34451 PyObject *resultobj;
34452 wxSizer *arg1 = (wxSizer *) 0 ;
34453 PyObject *arg2 = (PyObject *) 0 ;
34454 bool result;
34455 PyObject * obj0 = 0 ;
34456 PyObject * obj1 = 0 ;
34457 char *kwnames[] = {
34458 (char *) "self",(char *) "item", NULL
34459 };
34460
34461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
34462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34464 arg2 = obj1;
34465 {
34466 PyThreadState* __tstate = wxPyBeginAllowThreads();
34467 result = (bool)wxSizer_IsShown(arg1,arg2);
34468
34469 wxPyEndAllowThreads(__tstate);
34470 if (PyErr_Occurred()) SWIG_fail;
34471 }
34472 {
34473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34474 }
34475 return resultobj;
34476 fail:
34477 return NULL;
34478 }
34479
34480
34481 static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) {
34482 PyObject *resultobj;
34483 wxSizer *arg1 = (wxSizer *) 0 ;
34484 bool arg2 ;
34485 PyObject * obj0 = 0 ;
34486 PyObject * obj1 = 0 ;
34487 char *kwnames[] = {
34488 (char *) "self",(char *) "show", NULL
34489 };
34490
34491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
34492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34494 arg2 = (bool) SWIG_AsBool(obj1);
34495 if (PyErr_Occurred()) SWIG_fail;
34496 {
34497 PyThreadState* __tstate = wxPyBeginAllowThreads();
34498 (arg1)->ShowItems(arg2);
34499
34500 wxPyEndAllowThreads(__tstate);
34501 if (PyErr_Occurred()) SWIG_fail;
34502 }
34503 Py_INCREF(Py_None); resultobj = Py_None;
34504 return resultobj;
34505 fail:
34506 return NULL;
34507 }
34508
34509
34510 static PyObject * Sizer_swigregister(PyObject *, PyObject *args) {
34511 PyObject *obj;
34512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34513 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
34514 Py_INCREF(obj);
34515 return Py_BuildValue((char *)"");
34516 }
34517 static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) {
34518 PyObject *resultobj;
34519 wxPySizer *result;
34520 char *kwnames[] = {
34521 NULL
34522 };
34523
34524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
34525 {
34526 PyThreadState* __tstate = wxPyBeginAllowThreads();
34527 result = (wxPySizer *)new wxPySizer();
34528
34529 wxPyEndAllowThreads(__tstate);
34530 if (PyErr_Occurred()) SWIG_fail;
34531 }
34532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
34533 return resultobj;
34534 fail:
34535 return NULL;
34536 }
34537
34538
34539 static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
34540 PyObject *resultobj;
34541 wxPySizer *arg1 = (wxPySizer *) 0 ;
34542 PyObject *arg2 = (PyObject *) 0 ;
34543 PyObject *arg3 = (PyObject *) 0 ;
34544 PyObject * obj0 = 0 ;
34545 PyObject * obj1 = 0 ;
34546 PyObject * obj2 = 0 ;
34547 char *kwnames[] = {
34548 (char *) "self",(char *) "self",(char *) "_class", NULL
34549 };
34550
34551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
34552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
34553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34554 arg2 = obj1;
34555 arg3 = obj2;
34556 {
34557 PyThreadState* __tstate = wxPyBeginAllowThreads();
34558 (arg1)->_setCallbackInfo(arg2,arg3);
34559
34560 wxPyEndAllowThreads(__tstate);
34561 if (PyErr_Occurred()) SWIG_fail;
34562 }
34563 Py_INCREF(Py_None); resultobj = Py_None;
34564 return resultobj;
34565 fail:
34566 return NULL;
34567 }
34568
34569
34570 static PyObject * PySizer_swigregister(PyObject *, PyObject *args) {
34571 PyObject *obj;
34572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34573 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
34574 Py_INCREF(obj);
34575 return Py_BuildValue((char *)"");
34576 }
34577 static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
34578 PyObject *resultobj;
34579 int arg1 = (int) wxHORIZONTAL ;
34580 wxBoxSizer *result;
34581 PyObject * obj0 = 0 ;
34582 char *kwnames[] = {
34583 (char *) "orient", NULL
34584 };
34585
34586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
34587 if (obj0) {
34588 arg1 = (int) SWIG_AsInt(obj0);
34589 if (PyErr_Occurred()) SWIG_fail;
34590 }
34591 {
34592 PyThreadState* __tstate = wxPyBeginAllowThreads();
34593 result = (wxBoxSizer *)new wxBoxSizer(arg1);
34594
34595 wxPyEndAllowThreads(__tstate);
34596 if (PyErr_Occurred()) SWIG_fail;
34597 }
34598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
34599 return resultobj;
34600 fail:
34601 return NULL;
34602 }
34603
34604
34605 static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
34606 PyObject *resultobj;
34607 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34608 int result;
34609 PyObject * obj0 = 0 ;
34610 char *kwnames[] = {
34611 (char *) "self", NULL
34612 };
34613
34614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
34615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34617 {
34618 PyThreadState* __tstate = wxPyBeginAllowThreads();
34619 result = (int)(arg1)->GetOrientation();
34620
34621 wxPyEndAllowThreads(__tstate);
34622 if (PyErr_Occurred()) SWIG_fail;
34623 }
34624 resultobj = SWIG_FromInt((int)result);
34625 return resultobj;
34626 fail:
34627 return NULL;
34628 }
34629
34630
34631 static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
34632 PyObject *resultobj;
34633 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34634 int arg2 ;
34635 PyObject * obj0 = 0 ;
34636 PyObject * obj1 = 0 ;
34637 char *kwnames[] = {
34638 (char *) "self",(char *) "orient", NULL
34639 };
34640
34641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
34642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34644 arg2 = (int) SWIG_AsInt(obj1);
34645 if (PyErr_Occurred()) SWIG_fail;
34646 {
34647 PyThreadState* __tstate = wxPyBeginAllowThreads();
34648 (arg1)->SetOrientation(arg2);
34649
34650 wxPyEndAllowThreads(__tstate);
34651 if (PyErr_Occurred()) SWIG_fail;
34652 }
34653 Py_INCREF(Py_None); resultobj = Py_None;
34654 return resultobj;
34655 fail:
34656 return NULL;
34657 }
34658
34659
34660 static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
34661 PyObject *resultobj;
34662 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34663 PyObject * obj0 = 0 ;
34664 char *kwnames[] = {
34665 (char *) "self", NULL
34666 };
34667
34668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34671 {
34672 PyThreadState* __tstate = wxPyBeginAllowThreads();
34673 (arg1)->RecalcSizes();
34674
34675 wxPyEndAllowThreads(__tstate);
34676 if (PyErr_Occurred()) SWIG_fail;
34677 }
34678 Py_INCREF(Py_None); resultobj = Py_None;
34679 return resultobj;
34680 fail:
34681 return NULL;
34682 }
34683
34684
34685 static PyObject *_wrap_BoxSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
34686 PyObject *resultobj;
34687 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34688 wxSize result;
34689 PyObject * obj0 = 0 ;
34690 char *kwnames[] = {
34691 (char *) "self", NULL
34692 };
34693
34694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
34695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34697 {
34698 PyThreadState* __tstate = wxPyBeginAllowThreads();
34699 result = (arg1)->CalcMin();
34700
34701 wxPyEndAllowThreads(__tstate);
34702 if (PyErr_Occurred()) SWIG_fail;
34703 }
34704 {
34705 wxSize * resultptr;
34706 resultptr = new wxSize((wxSize &) result);
34707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34708 }
34709 return resultobj;
34710 fail:
34711 return NULL;
34712 }
34713
34714
34715 static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) {
34716 PyObject *obj;
34717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34718 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
34719 Py_INCREF(obj);
34720 return Py_BuildValue((char *)"");
34721 }
34722 static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
34723 PyObject *resultobj;
34724 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
34725 int arg2 = (int) wxHORIZONTAL ;
34726 wxStaticBoxSizer *result;
34727 PyObject * obj0 = 0 ;
34728 PyObject * obj1 = 0 ;
34729 char *kwnames[] = {
34730 (char *) "box",(char *) "orient", NULL
34731 };
34732
34733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
34734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
34735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34736 if (obj1) {
34737 arg2 = (int) SWIG_AsInt(obj1);
34738 if (PyErr_Occurred()) SWIG_fail;
34739 }
34740 {
34741 PyThreadState* __tstate = wxPyBeginAllowThreads();
34742 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
34743
34744 wxPyEndAllowThreads(__tstate);
34745 if (PyErr_Occurred()) SWIG_fail;
34746 }
34747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
34748 return resultobj;
34749 fail:
34750 return NULL;
34751 }
34752
34753
34754 static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
34755 PyObject *resultobj;
34756 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34757 wxStaticBox *result;
34758 PyObject * obj0 = 0 ;
34759 char *kwnames[] = {
34760 (char *) "self", NULL
34761 };
34762
34763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
34764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34766 {
34767 PyThreadState* __tstate = wxPyBeginAllowThreads();
34768 result = (wxStaticBox *)(arg1)->GetStaticBox();
34769
34770 wxPyEndAllowThreads(__tstate);
34771 if (PyErr_Occurred()) SWIG_fail;
34772 }
34773 {
34774 resultobj = wxPyMake_wxObject(result);
34775 }
34776 return resultobj;
34777 fail:
34778 return NULL;
34779 }
34780
34781
34782 static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
34783 PyObject *resultobj;
34784 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34785 PyObject * obj0 = 0 ;
34786 char *kwnames[] = {
34787 (char *) "self", NULL
34788 };
34789
34790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34793 {
34794 PyThreadState* __tstate = wxPyBeginAllowThreads();
34795 (arg1)->RecalcSizes();
34796
34797 wxPyEndAllowThreads(__tstate);
34798 if (PyErr_Occurred()) SWIG_fail;
34799 }
34800 Py_INCREF(Py_None); resultobj = Py_None;
34801 return resultobj;
34802 fail:
34803 return NULL;
34804 }
34805
34806
34807 static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
34808 PyObject *resultobj;
34809 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34810 wxSize result;
34811 PyObject * obj0 = 0 ;
34812 char *kwnames[] = {
34813 (char *) "self", NULL
34814 };
34815
34816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
34817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34819 {
34820 PyThreadState* __tstate = wxPyBeginAllowThreads();
34821 result = (arg1)->CalcMin();
34822
34823 wxPyEndAllowThreads(__tstate);
34824 if (PyErr_Occurred()) SWIG_fail;
34825 }
34826 {
34827 wxSize * resultptr;
34828 resultptr = new wxSize((wxSize &) result);
34829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34830 }
34831 return resultobj;
34832 fail:
34833 return NULL;
34834 }
34835
34836
34837 static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) {
34838 PyObject *obj;
34839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34840 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
34841 Py_INCREF(obj);
34842 return Py_BuildValue((char *)"");
34843 }
34844 static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
34845 PyObject *resultobj;
34846 int arg1 = (int) 1 ;
34847 int arg2 = (int) 0 ;
34848 int arg3 = (int) 0 ;
34849 int arg4 = (int) 0 ;
34850 wxGridSizer *result;
34851 PyObject * obj0 = 0 ;
34852 PyObject * obj1 = 0 ;
34853 PyObject * obj2 = 0 ;
34854 PyObject * obj3 = 0 ;
34855 char *kwnames[] = {
34856 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34857 };
34858
34859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34860 if (obj0) {
34861 arg1 = (int) SWIG_AsInt(obj0);
34862 if (PyErr_Occurred()) SWIG_fail;
34863 }
34864 if (obj1) {
34865 arg2 = (int) SWIG_AsInt(obj1);
34866 if (PyErr_Occurred()) SWIG_fail;
34867 }
34868 if (obj2) {
34869 arg3 = (int) SWIG_AsInt(obj2);
34870 if (PyErr_Occurred()) SWIG_fail;
34871 }
34872 if (obj3) {
34873 arg4 = (int) SWIG_AsInt(obj3);
34874 if (PyErr_Occurred()) SWIG_fail;
34875 }
34876 {
34877 PyThreadState* __tstate = wxPyBeginAllowThreads();
34878 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
34879
34880 wxPyEndAllowThreads(__tstate);
34881 if (PyErr_Occurred()) SWIG_fail;
34882 }
34883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
34884 return resultobj;
34885 fail:
34886 return NULL;
34887 }
34888
34889
34890 static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
34891 PyObject *resultobj;
34892 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34893 PyObject * obj0 = 0 ;
34894 char *kwnames[] = {
34895 (char *) "self", NULL
34896 };
34897
34898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34901 {
34902 PyThreadState* __tstate = wxPyBeginAllowThreads();
34903 (arg1)->RecalcSizes();
34904
34905 wxPyEndAllowThreads(__tstate);
34906 if (PyErr_Occurred()) SWIG_fail;
34907 }
34908 Py_INCREF(Py_None); resultobj = Py_None;
34909 return resultobj;
34910 fail:
34911 return NULL;
34912 }
34913
34914
34915 static PyObject *_wrap_GridSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
34916 PyObject *resultobj;
34917 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34918 wxSize result;
34919 PyObject * obj0 = 0 ;
34920 char *kwnames[] = {
34921 (char *) "self", NULL
34922 };
34923
34924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
34925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34927 {
34928 PyThreadState* __tstate = wxPyBeginAllowThreads();
34929 result = (arg1)->CalcMin();
34930
34931 wxPyEndAllowThreads(__tstate);
34932 if (PyErr_Occurred()) SWIG_fail;
34933 }
34934 {
34935 wxSize * resultptr;
34936 resultptr = new wxSize((wxSize &) result);
34937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34938 }
34939 return resultobj;
34940 fail:
34941 return NULL;
34942 }
34943
34944
34945 static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) {
34946 PyObject *resultobj;
34947 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34948 int arg2 ;
34949 PyObject * obj0 = 0 ;
34950 PyObject * obj1 = 0 ;
34951 char *kwnames[] = {
34952 (char *) "self",(char *) "cols", NULL
34953 };
34954
34955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
34956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34958 arg2 = (int) SWIG_AsInt(obj1);
34959 if (PyErr_Occurred()) SWIG_fail;
34960 {
34961 PyThreadState* __tstate = wxPyBeginAllowThreads();
34962 (arg1)->SetCols(arg2);
34963
34964 wxPyEndAllowThreads(__tstate);
34965 if (PyErr_Occurred()) SWIG_fail;
34966 }
34967 Py_INCREF(Py_None); resultobj = Py_None;
34968 return resultobj;
34969 fail:
34970 return NULL;
34971 }
34972
34973
34974 static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
34975 PyObject *resultobj;
34976 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34977 int arg2 ;
34978 PyObject * obj0 = 0 ;
34979 PyObject * obj1 = 0 ;
34980 char *kwnames[] = {
34981 (char *) "self",(char *) "rows", NULL
34982 };
34983
34984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
34985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34987 arg2 = (int) SWIG_AsInt(obj1);
34988 if (PyErr_Occurred()) SWIG_fail;
34989 {
34990 PyThreadState* __tstate = wxPyBeginAllowThreads();
34991 (arg1)->SetRows(arg2);
34992
34993 wxPyEndAllowThreads(__tstate);
34994 if (PyErr_Occurred()) SWIG_fail;
34995 }
34996 Py_INCREF(Py_None); resultobj = Py_None;
34997 return resultobj;
34998 fail:
34999 return NULL;
35000 }
35001
35002
35003 static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
35004 PyObject *resultobj;
35005 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35006 int arg2 ;
35007 PyObject * obj0 = 0 ;
35008 PyObject * obj1 = 0 ;
35009 char *kwnames[] = {
35010 (char *) "self",(char *) "gap", NULL
35011 };
35012
35013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
35014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35016 arg2 = (int) SWIG_AsInt(obj1);
35017 if (PyErr_Occurred()) SWIG_fail;
35018 {
35019 PyThreadState* __tstate = wxPyBeginAllowThreads();
35020 (arg1)->SetVGap(arg2);
35021
35022 wxPyEndAllowThreads(__tstate);
35023 if (PyErr_Occurred()) SWIG_fail;
35024 }
35025 Py_INCREF(Py_None); resultobj = Py_None;
35026 return resultobj;
35027 fail:
35028 return NULL;
35029 }
35030
35031
35032 static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
35033 PyObject *resultobj;
35034 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35035 int arg2 ;
35036 PyObject * obj0 = 0 ;
35037 PyObject * obj1 = 0 ;
35038 char *kwnames[] = {
35039 (char *) "self",(char *) "gap", NULL
35040 };
35041
35042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
35043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35045 arg2 = (int) SWIG_AsInt(obj1);
35046 if (PyErr_Occurred()) SWIG_fail;
35047 {
35048 PyThreadState* __tstate = wxPyBeginAllowThreads();
35049 (arg1)->SetHGap(arg2);
35050
35051 wxPyEndAllowThreads(__tstate);
35052 if (PyErr_Occurred()) SWIG_fail;
35053 }
35054 Py_INCREF(Py_None); resultobj = Py_None;
35055 return resultobj;
35056 fail:
35057 return NULL;
35058 }
35059
35060
35061 static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) {
35062 PyObject *resultobj;
35063 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35064 int result;
35065 PyObject * obj0 = 0 ;
35066 char *kwnames[] = {
35067 (char *) "self", NULL
35068 };
35069
35070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
35071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35073 {
35074 PyThreadState* __tstate = wxPyBeginAllowThreads();
35075 result = (int)(arg1)->GetCols();
35076
35077 wxPyEndAllowThreads(__tstate);
35078 if (PyErr_Occurred()) SWIG_fail;
35079 }
35080 resultobj = SWIG_FromInt((int)result);
35081 return resultobj;
35082 fail:
35083 return NULL;
35084 }
35085
35086
35087 static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) {
35088 PyObject *resultobj;
35089 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35090 int result;
35091 PyObject * obj0 = 0 ;
35092 char *kwnames[] = {
35093 (char *) "self", NULL
35094 };
35095
35096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
35097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35099 {
35100 PyThreadState* __tstate = wxPyBeginAllowThreads();
35101 result = (int)(arg1)->GetRows();
35102
35103 wxPyEndAllowThreads(__tstate);
35104 if (PyErr_Occurred()) SWIG_fail;
35105 }
35106 resultobj = SWIG_FromInt((int)result);
35107 return resultobj;
35108 fail:
35109 return NULL;
35110 }
35111
35112
35113 static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
35114 PyObject *resultobj;
35115 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35116 int result;
35117 PyObject * obj0 = 0 ;
35118 char *kwnames[] = {
35119 (char *) "self", NULL
35120 };
35121
35122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
35123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35125 {
35126 PyThreadState* __tstate = wxPyBeginAllowThreads();
35127 result = (int)(arg1)->GetVGap();
35128
35129 wxPyEndAllowThreads(__tstate);
35130 if (PyErr_Occurred()) SWIG_fail;
35131 }
35132 resultobj = SWIG_FromInt((int)result);
35133 return resultobj;
35134 fail:
35135 return NULL;
35136 }
35137
35138
35139 static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
35140 PyObject *resultobj;
35141 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35142 int result;
35143 PyObject * obj0 = 0 ;
35144 char *kwnames[] = {
35145 (char *) "self", NULL
35146 };
35147
35148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
35149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35151 {
35152 PyThreadState* __tstate = wxPyBeginAllowThreads();
35153 result = (int)(arg1)->GetHGap();
35154
35155 wxPyEndAllowThreads(__tstate);
35156 if (PyErr_Occurred()) SWIG_fail;
35157 }
35158 resultobj = SWIG_FromInt((int)result);
35159 return resultobj;
35160 fail:
35161 return NULL;
35162 }
35163
35164
35165 static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) {
35166 PyObject *obj;
35167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35168 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
35169 Py_INCREF(obj);
35170 return Py_BuildValue((char *)"");
35171 }
35172 static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
35173 PyObject *resultobj;
35174 int arg1 = (int) 1 ;
35175 int arg2 = (int) 0 ;
35176 int arg3 = (int) 0 ;
35177 int arg4 = (int) 0 ;
35178 wxFlexGridSizer *result;
35179 PyObject * obj0 = 0 ;
35180 PyObject * obj1 = 0 ;
35181 PyObject * obj2 = 0 ;
35182 PyObject * obj3 = 0 ;
35183 char *kwnames[] = {
35184 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35185 };
35186
35187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35188 if (obj0) {
35189 arg1 = (int) SWIG_AsInt(obj0);
35190 if (PyErr_Occurred()) SWIG_fail;
35191 }
35192 if (obj1) {
35193 arg2 = (int) SWIG_AsInt(obj1);
35194 if (PyErr_Occurred()) SWIG_fail;
35195 }
35196 if (obj2) {
35197 arg3 = (int) SWIG_AsInt(obj2);
35198 if (PyErr_Occurred()) SWIG_fail;
35199 }
35200 if (obj3) {
35201 arg4 = (int) SWIG_AsInt(obj3);
35202 if (PyErr_Occurred()) SWIG_fail;
35203 }
35204 {
35205 PyThreadState* __tstate = wxPyBeginAllowThreads();
35206 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
35207
35208 wxPyEndAllowThreads(__tstate);
35209 if (PyErr_Occurred()) SWIG_fail;
35210 }
35211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
35212 return resultobj;
35213 fail:
35214 return NULL;
35215 }
35216
35217
35218 static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
35219 PyObject *resultobj;
35220 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35221 PyObject * obj0 = 0 ;
35222 char *kwnames[] = {
35223 (char *) "self", NULL
35224 };
35225
35226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
35227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35229 {
35230 PyThreadState* __tstate = wxPyBeginAllowThreads();
35231 (arg1)->RecalcSizes();
35232
35233 wxPyEndAllowThreads(__tstate);
35234 if (PyErr_Occurred()) SWIG_fail;
35235 }
35236 Py_INCREF(Py_None); resultobj = Py_None;
35237 return resultobj;
35238 fail:
35239 return NULL;
35240 }
35241
35242
35243 static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
35244 PyObject *resultobj;
35245 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35246 wxSize result;
35247 PyObject * obj0 = 0 ;
35248 char *kwnames[] = {
35249 (char *) "self", NULL
35250 };
35251
35252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
35253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35255 {
35256 PyThreadState* __tstate = wxPyBeginAllowThreads();
35257 result = (arg1)->CalcMin();
35258
35259 wxPyEndAllowThreads(__tstate);
35260 if (PyErr_Occurred()) SWIG_fail;
35261 }
35262 {
35263 wxSize * resultptr;
35264 resultptr = new wxSize((wxSize &) result);
35265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35266 }
35267 return resultobj;
35268 fail:
35269 return NULL;
35270 }
35271
35272
35273 static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
35274 PyObject *resultobj;
35275 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35276 size_t arg2 ;
35277 int arg3 = (int) 0 ;
35278 PyObject * obj0 = 0 ;
35279 PyObject * obj1 = 0 ;
35280 PyObject * obj2 = 0 ;
35281 char *kwnames[] = {
35282 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35283 };
35284
35285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
35286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35288 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35289 if (PyErr_Occurred()) SWIG_fail;
35290 if (obj2) {
35291 arg3 = (int) SWIG_AsInt(obj2);
35292 if (PyErr_Occurred()) SWIG_fail;
35293 }
35294 {
35295 PyThreadState* __tstate = wxPyBeginAllowThreads();
35296 (arg1)->AddGrowableRow(arg2,arg3);
35297
35298 wxPyEndAllowThreads(__tstate);
35299 if (PyErr_Occurred()) SWIG_fail;
35300 }
35301 Py_INCREF(Py_None); resultobj = Py_None;
35302 return resultobj;
35303 fail:
35304 return NULL;
35305 }
35306
35307
35308 static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
35309 PyObject *resultobj;
35310 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35311 size_t arg2 ;
35312 PyObject * obj0 = 0 ;
35313 PyObject * obj1 = 0 ;
35314 char *kwnames[] = {
35315 (char *) "self",(char *) "idx", NULL
35316 };
35317
35318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
35319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35321 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35322 if (PyErr_Occurred()) SWIG_fail;
35323 {
35324 PyThreadState* __tstate = wxPyBeginAllowThreads();
35325 (arg1)->RemoveGrowableRow(arg2);
35326
35327 wxPyEndAllowThreads(__tstate);
35328 if (PyErr_Occurred()) SWIG_fail;
35329 }
35330 Py_INCREF(Py_None); resultobj = Py_None;
35331 return resultobj;
35332 fail:
35333 return NULL;
35334 }
35335
35336
35337 static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
35338 PyObject *resultobj;
35339 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35340 size_t arg2 ;
35341 int arg3 = (int) 0 ;
35342 PyObject * obj0 = 0 ;
35343 PyObject * obj1 = 0 ;
35344 PyObject * obj2 = 0 ;
35345 char *kwnames[] = {
35346 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35347 };
35348
35349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
35350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35352 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35353 if (PyErr_Occurred()) SWIG_fail;
35354 if (obj2) {
35355 arg3 = (int) SWIG_AsInt(obj2);
35356 if (PyErr_Occurred()) SWIG_fail;
35357 }
35358 {
35359 PyThreadState* __tstate = wxPyBeginAllowThreads();
35360 (arg1)->AddGrowableCol(arg2,arg3);
35361
35362 wxPyEndAllowThreads(__tstate);
35363 if (PyErr_Occurred()) SWIG_fail;
35364 }
35365 Py_INCREF(Py_None); resultobj = Py_None;
35366 return resultobj;
35367 fail:
35368 return NULL;
35369 }
35370
35371
35372 static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
35373 PyObject *resultobj;
35374 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35375 size_t arg2 ;
35376 PyObject * obj0 = 0 ;
35377 PyObject * obj1 = 0 ;
35378 char *kwnames[] = {
35379 (char *) "self",(char *) "idx", NULL
35380 };
35381
35382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
35383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35385 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35386 if (PyErr_Occurred()) SWIG_fail;
35387 {
35388 PyThreadState* __tstate = wxPyBeginAllowThreads();
35389 (arg1)->RemoveGrowableCol(arg2);
35390
35391 wxPyEndAllowThreads(__tstate);
35392 if (PyErr_Occurred()) SWIG_fail;
35393 }
35394 Py_INCREF(Py_None); resultobj = Py_None;
35395 return resultobj;
35396 fail:
35397 return NULL;
35398 }
35399
35400
35401 static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
35402 PyObject *resultobj;
35403 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35404 int arg2 ;
35405 PyObject * obj0 = 0 ;
35406 PyObject * obj1 = 0 ;
35407 char *kwnames[] = {
35408 (char *) "self",(char *) "direction", NULL
35409 };
35410
35411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
35412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35414 arg2 = (int) SWIG_AsInt(obj1);
35415 if (PyErr_Occurred()) SWIG_fail;
35416 {
35417 PyThreadState* __tstate = wxPyBeginAllowThreads();
35418 (arg1)->SetFlexibleDirection(arg2);
35419
35420 wxPyEndAllowThreads(__tstate);
35421 if (PyErr_Occurred()) SWIG_fail;
35422 }
35423 Py_INCREF(Py_None); resultobj = Py_None;
35424 return resultobj;
35425 fail:
35426 return NULL;
35427 }
35428
35429
35430 static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
35431 PyObject *resultobj;
35432 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35433 int result;
35434 PyObject * obj0 = 0 ;
35435 char *kwnames[] = {
35436 (char *) "self", NULL
35437 };
35438
35439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
35440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35442 {
35443 PyThreadState* __tstate = wxPyBeginAllowThreads();
35444 result = (int)(arg1)->GetFlexibleDirection();
35445
35446 wxPyEndAllowThreads(__tstate);
35447 if (PyErr_Occurred()) SWIG_fail;
35448 }
35449 resultobj = SWIG_FromInt((int)result);
35450 return resultobj;
35451 fail:
35452 return NULL;
35453 }
35454
35455
35456 static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
35457 PyObject *resultobj;
35458 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35459 int arg2 ;
35460 PyObject * obj0 = 0 ;
35461 PyObject * obj1 = 0 ;
35462 char *kwnames[] = {
35463 (char *) "self",(char *) "mode", NULL
35464 };
35465
35466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
35467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35469 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
35470 if (PyErr_Occurred()) SWIG_fail;
35471 {
35472 PyThreadState* __tstate = wxPyBeginAllowThreads();
35473 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
35474
35475 wxPyEndAllowThreads(__tstate);
35476 if (PyErr_Occurred()) SWIG_fail;
35477 }
35478 Py_INCREF(Py_None); resultobj = Py_None;
35479 return resultobj;
35480 fail:
35481 return NULL;
35482 }
35483
35484
35485 static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
35486 PyObject *resultobj;
35487 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35488 int result;
35489 PyObject * obj0 = 0 ;
35490 char *kwnames[] = {
35491 (char *) "self", NULL
35492 };
35493
35494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
35495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35497 {
35498 PyThreadState* __tstate = wxPyBeginAllowThreads();
35499 result = (int)(arg1)->GetNonFlexibleGrowMode();
35500
35501 wxPyEndAllowThreads(__tstate);
35502 if (PyErr_Occurred()) SWIG_fail;
35503 }
35504 resultobj = SWIG_FromInt((int)result);
35505 return resultobj;
35506 fail:
35507 return NULL;
35508 }
35509
35510
35511 static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) {
35512 PyObject *resultobj;
35513 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35514 wxArrayInt *result;
35515 PyObject * obj0 = 0 ;
35516 char *kwnames[] = {
35517 (char *) "self", NULL
35518 };
35519
35520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
35521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35523 {
35524 PyThreadState* __tstate = wxPyBeginAllowThreads();
35525 {
35526 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
35527 result = (wxArrayInt *) &_result_ref;
35528 }
35529
35530 wxPyEndAllowThreads(__tstate);
35531 if (PyErr_Occurred()) SWIG_fail;
35532 }
35533 {
35534 resultobj = PyList_New(0);
35535 size_t idx;
35536 for (idx = 0; idx < result->GetCount(); idx += 1) {
35537 PyObject* val = PyInt_FromLong( result->Item(idx) );
35538 PyList_Append(resultobj, val);
35539 Py_DECREF(val);
35540 }
35541 }
35542 return resultobj;
35543 fail:
35544 return NULL;
35545 }
35546
35547
35548 static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) {
35549 PyObject *resultobj;
35550 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35551 wxArrayInt *result;
35552 PyObject * obj0 = 0 ;
35553 char *kwnames[] = {
35554 (char *) "self", NULL
35555 };
35556
35557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
35558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35560 {
35561 PyThreadState* __tstate = wxPyBeginAllowThreads();
35562 {
35563 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
35564 result = (wxArrayInt *) &_result_ref;
35565 }
35566
35567 wxPyEndAllowThreads(__tstate);
35568 if (PyErr_Occurred()) SWIG_fail;
35569 }
35570 {
35571 resultobj = PyList_New(0);
35572 size_t idx;
35573 for (idx = 0; idx < result->GetCount(); idx += 1) {
35574 PyObject* val = PyInt_FromLong( result->Item(idx) );
35575 PyList_Append(resultobj, val);
35576 Py_DECREF(val);
35577 }
35578 }
35579 return resultobj;
35580 fail:
35581 return NULL;
35582 }
35583
35584
35585 static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) {
35586 PyObject *obj;
35587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35588 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
35589 Py_INCREF(obj);
35590 return Py_BuildValue((char *)"");
35591 }
35592 static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
35593 PyObject *resultobj;
35594 int arg1 = (int) 0 ;
35595 int arg2 = (int) 0 ;
35596 wxGBPosition *result;
35597 PyObject * obj0 = 0 ;
35598 PyObject * obj1 = 0 ;
35599 char *kwnames[] = {
35600 (char *) "row",(char *) "col", NULL
35601 };
35602
35603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
35604 if (obj0) {
35605 arg1 = (int) SWIG_AsInt(obj0);
35606 if (PyErr_Occurred()) SWIG_fail;
35607 }
35608 if (obj1) {
35609 arg2 = (int) SWIG_AsInt(obj1);
35610 if (PyErr_Occurred()) SWIG_fail;
35611 }
35612 {
35613 PyThreadState* __tstate = wxPyBeginAllowThreads();
35614 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
35615
35616 wxPyEndAllowThreads(__tstate);
35617 if (PyErr_Occurred()) SWIG_fail;
35618 }
35619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
35620 return resultobj;
35621 fail:
35622 return NULL;
35623 }
35624
35625
35626 static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
35627 PyObject *resultobj;
35628 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35629 int result;
35630 PyObject * obj0 = 0 ;
35631 char *kwnames[] = {
35632 (char *) "self", NULL
35633 };
35634
35635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
35636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35638 {
35639 PyThreadState* __tstate = wxPyBeginAllowThreads();
35640 result = (int)((wxGBPosition const *)arg1)->GetRow();
35641
35642 wxPyEndAllowThreads(__tstate);
35643 if (PyErr_Occurred()) SWIG_fail;
35644 }
35645 resultobj = SWIG_FromInt((int)result);
35646 return resultobj;
35647 fail:
35648 return NULL;
35649 }
35650
35651
35652 static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
35653 PyObject *resultobj;
35654 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35655 int result;
35656 PyObject * obj0 = 0 ;
35657 char *kwnames[] = {
35658 (char *) "self", NULL
35659 };
35660
35661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
35662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35664 {
35665 PyThreadState* __tstate = wxPyBeginAllowThreads();
35666 result = (int)((wxGBPosition const *)arg1)->GetCol();
35667
35668 wxPyEndAllowThreads(__tstate);
35669 if (PyErr_Occurred()) SWIG_fail;
35670 }
35671 resultobj = SWIG_FromInt((int)result);
35672 return resultobj;
35673 fail:
35674 return NULL;
35675 }
35676
35677
35678 static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
35679 PyObject *resultobj;
35680 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35681 int arg2 ;
35682 PyObject * obj0 = 0 ;
35683 PyObject * obj1 = 0 ;
35684 char *kwnames[] = {
35685 (char *) "self",(char *) "row", NULL
35686 };
35687
35688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
35689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35691 arg2 = (int) SWIG_AsInt(obj1);
35692 if (PyErr_Occurred()) SWIG_fail;
35693 {
35694 PyThreadState* __tstate = wxPyBeginAllowThreads();
35695 (arg1)->SetRow(arg2);
35696
35697 wxPyEndAllowThreads(__tstate);
35698 if (PyErr_Occurred()) SWIG_fail;
35699 }
35700 Py_INCREF(Py_None); resultobj = Py_None;
35701 return resultobj;
35702 fail:
35703 return NULL;
35704 }
35705
35706
35707 static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
35708 PyObject *resultobj;
35709 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35710 int arg2 ;
35711 PyObject * obj0 = 0 ;
35712 PyObject * obj1 = 0 ;
35713 char *kwnames[] = {
35714 (char *) "self",(char *) "col", NULL
35715 };
35716
35717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
35718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35720 arg2 = (int) SWIG_AsInt(obj1);
35721 if (PyErr_Occurred()) SWIG_fail;
35722 {
35723 PyThreadState* __tstate = wxPyBeginAllowThreads();
35724 (arg1)->SetCol(arg2);
35725
35726 wxPyEndAllowThreads(__tstate);
35727 if (PyErr_Occurred()) SWIG_fail;
35728 }
35729 Py_INCREF(Py_None); resultobj = Py_None;
35730 return resultobj;
35731 fail:
35732 return NULL;
35733 }
35734
35735
35736 static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
35737 PyObject *resultobj;
35738 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35739 wxGBPosition *arg2 = 0 ;
35740 bool result;
35741 wxGBPosition temp2 ;
35742 PyObject * obj0 = 0 ;
35743 PyObject * obj1 = 0 ;
35744 char *kwnames[] = {
35745 (char *) "self",(char *) "other", NULL
35746 };
35747
35748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
35749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35751 {
35752 arg2 = &temp2;
35753 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35754 }
35755 {
35756 PyThreadState* __tstate = wxPyBeginAllowThreads();
35757 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
35758
35759 wxPyEndAllowThreads(__tstate);
35760 if (PyErr_Occurred()) SWIG_fail;
35761 }
35762 {
35763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35764 }
35765 return resultobj;
35766 fail:
35767 return NULL;
35768 }
35769
35770
35771 static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
35772 PyObject *resultobj;
35773 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35774 wxGBPosition *arg2 = 0 ;
35775 bool result;
35776 wxGBPosition temp2 ;
35777 PyObject * obj0 = 0 ;
35778 PyObject * obj1 = 0 ;
35779 char *kwnames[] = {
35780 (char *) "self",(char *) "other", NULL
35781 };
35782
35783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
35784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35786 {
35787 arg2 = &temp2;
35788 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35789 }
35790 {
35791 PyThreadState* __tstate = wxPyBeginAllowThreads();
35792 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
35793
35794 wxPyEndAllowThreads(__tstate);
35795 if (PyErr_Occurred()) SWIG_fail;
35796 }
35797 {
35798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35799 }
35800 return resultobj;
35801 fail:
35802 return NULL;
35803 }
35804
35805
35806 static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) {
35807 PyObject *resultobj;
35808 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35809 int arg2 = (int) 0 ;
35810 int arg3 = (int) 0 ;
35811 PyObject * obj0 = 0 ;
35812 PyObject * obj1 = 0 ;
35813 PyObject * obj2 = 0 ;
35814 char *kwnames[] = {
35815 (char *) "self",(char *) "row",(char *) "col", NULL
35816 };
35817
35818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
35819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35821 if (obj1) {
35822 arg2 = (int) SWIG_AsInt(obj1);
35823 if (PyErr_Occurred()) SWIG_fail;
35824 }
35825 if (obj2) {
35826 arg3 = (int) SWIG_AsInt(obj2);
35827 if (PyErr_Occurred()) SWIG_fail;
35828 }
35829 {
35830 PyThreadState* __tstate = wxPyBeginAllowThreads();
35831 wxGBPosition_Set(arg1,arg2,arg3);
35832
35833 wxPyEndAllowThreads(__tstate);
35834 if (PyErr_Occurred()) SWIG_fail;
35835 }
35836 Py_INCREF(Py_None); resultobj = Py_None;
35837 return resultobj;
35838 fail:
35839 return NULL;
35840 }
35841
35842
35843 static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) {
35844 PyObject *resultobj;
35845 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35846 PyObject *result;
35847 PyObject * obj0 = 0 ;
35848 char *kwnames[] = {
35849 (char *) "self", NULL
35850 };
35851
35852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
35853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35855 {
35856 PyThreadState* __tstate = wxPyBeginAllowThreads();
35857 result = (PyObject *)wxGBPosition_Get(arg1);
35858
35859 wxPyEndAllowThreads(__tstate);
35860 if (PyErr_Occurred()) SWIG_fail;
35861 }
35862 resultobj = result;
35863 return resultobj;
35864 fail:
35865 return NULL;
35866 }
35867
35868
35869 static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) {
35870 PyObject *obj;
35871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35872 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
35873 Py_INCREF(obj);
35874 return Py_BuildValue((char *)"");
35875 }
35876 static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
35877 PyObject *resultobj;
35878 int arg1 = (int) 1 ;
35879 int arg2 = (int) 1 ;
35880 wxGBSpan *result;
35881 PyObject * obj0 = 0 ;
35882 PyObject * obj1 = 0 ;
35883 char *kwnames[] = {
35884 (char *) "rowspan",(char *) "colspan", NULL
35885 };
35886
35887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
35888 if (obj0) {
35889 arg1 = (int) SWIG_AsInt(obj0);
35890 if (PyErr_Occurred()) SWIG_fail;
35891 }
35892 if (obj1) {
35893 arg2 = (int) SWIG_AsInt(obj1);
35894 if (PyErr_Occurred()) SWIG_fail;
35895 }
35896 {
35897 PyThreadState* __tstate = wxPyBeginAllowThreads();
35898 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
35899
35900 wxPyEndAllowThreads(__tstate);
35901 if (PyErr_Occurred()) SWIG_fail;
35902 }
35903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
35904 return resultobj;
35905 fail:
35906 return NULL;
35907 }
35908
35909
35910 static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
35911 PyObject *resultobj;
35912 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35913 int result;
35914 PyObject * obj0 = 0 ;
35915 char *kwnames[] = {
35916 (char *) "self", NULL
35917 };
35918
35919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
35920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35922 {
35923 PyThreadState* __tstate = wxPyBeginAllowThreads();
35924 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
35925
35926 wxPyEndAllowThreads(__tstate);
35927 if (PyErr_Occurred()) SWIG_fail;
35928 }
35929 resultobj = SWIG_FromInt((int)result);
35930 return resultobj;
35931 fail:
35932 return NULL;
35933 }
35934
35935
35936 static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
35937 PyObject *resultobj;
35938 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35939 int result;
35940 PyObject * obj0 = 0 ;
35941 char *kwnames[] = {
35942 (char *) "self", NULL
35943 };
35944
35945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
35946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35948 {
35949 PyThreadState* __tstate = wxPyBeginAllowThreads();
35950 result = (int)((wxGBSpan const *)arg1)->GetColspan();
35951
35952 wxPyEndAllowThreads(__tstate);
35953 if (PyErr_Occurred()) SWIG_fail;
35954 }
35955 resultobj = SWIG_FromInt((int)result);
35956 return resultobj;
35957 fail:
35958 return NULL;
35959 }
35960
35961
35962 static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
35963 PyObject *resultobj;
35964 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35965 int arg2 ;
35966 PyObject * obj0 = 0 ;
35967 PyObject * obj1 = 0 ;
35968 char *kwnames[] = {
35969 (char *) "self",(char *) "rowspan", NULL
35970 };
35971
35972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
35973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35975 arg2 = (int) SWIG_AsInt(obj1);
35976 if (PyErr_Occurred()) SWIG_fail;
35977 {
35978 PyThreadState* __tstate = wxPyBeginAllowThreads();
35979 (arg1)->SetRowspan(arg2);
35980
35981 wxPyEndAllowThreads(__tstate);
35982 if (PyErr_Occurred()) SWIG_fail;
35983 }
35984 Py_INCREF(Py_None); resultobj = Py_None;
35985 return resultobj;
35986 fail:
35987 return NULL;
35988 }
35989
35990
35991 static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
35992 PyObject *resultobj;
35993 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35994 int arg2 ;
35995 PyObject * obj0 = 0 ;
35996 PyObject * obj1 = 0 ;
35997 char *kwnames[] = {
35998 (char *) "self",(char *) "colspan", NULL
35999 };
36000
36001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
36002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36004 arg2 = (int) SWIG_AsInt(obj1);
36005 if (PyErr_Occurred()) SWIG_fail;
36006 {
36007 PyThreadState* __tstate = wxPyBeginAllowThreads();
36008 (arg1)->SetColspan(arg2);
36009
36010 wxPyEndAllowThreads(__tstate);
36011 if (PyErr_Occurred()) SWIG_fail;
36012 }
36013 Py_INCREF(Py_None); resultobj = Py_None;
36014 return resultobj;
36015 fail:
36016 return NULL;
36017 }
36018
36019
36020 static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
36021 PyObject *resultobj;
36022 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36023 wxGBSpan *arg2 = 0 ;
36024 bool result;
36025 wxGBSpan temp2 ;
36026 PyObject * obj0 = 0 ;
36027 PyObject * obj1 = 0 ;
36028 char *kwnames[] = {
36029 (char *) "self",(char *) "other", NULL
36030 };
36031
36032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
36033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36035 {
36036 arg2 = &temp2;
36037 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36038 }
36039 {
36040 PyThreadState* __tstate = wxPyBeginAllowThreads();
36041 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
36042
36043 wxPyEndAllowThreads(__tstate);
36044 if (PyErr_Occurred()) SWIG_fail;
36045 }
36046 {
36047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36048 }
36049 return resultobj;
36050 fail:
36051 return NULL;
36052 }
36053
36054
36055 static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
36056 PyObject *resultobj;
36057 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36058 wxGBSpan *arg2 = 0 ;
36059 bool result;
36060 wxGBSpan temp2 ;
36061 PyObject * obj0 = 0 ;
36062 PyObject * obj1 = 0 ;
36063 char *kwnames[] = {
36064 (char *) "self",(char *) "other", NULL
36065 };
36066
36067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
36068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36070 {
36071 arg2 = &temp2;
36072 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36073 }
36074 {
36075 PyThreadState* __tstate = wxPyBeginAllowThreads();
36076 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
36077
36078 wxPyEndAllowThreads(__tstate);
36079 if (PyErr_Occurred()) SWIG_fail;
36080 }
36081 {
36082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36083 }
36084 return resultobj;
36085 fail:
36086 return NULL;
36087 }
36088
36089
36090 static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) {
36091 PyObject *resultobj;
36092 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36093 int arg2 = (int) 1 ;
36094 int arg3 = (int) 1 ;
36095 PyObject * obj0 = 0 ;
36096 PyObject * obj1 = 0 ;
36097 PyObject * obj2 = 0 ;
36098 char *kwnames[] = {
36099 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36100 };
36101
36102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
36103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36105 if (obj1) {
36106 arg2 = (int) SWIG_AsInt(obj1);
36107 if (PyErr_Occurred()) SWIG_fail;
36108 }
36109 if (obj2) {
36110 arg3 = (int) SWIG_AsInt(obj2);
36111 if (PyErr_Occurred()) SWIG_fail;
36112 }
36113 {
36114 PyThreadState* __tstate = wxPyBeginAllowThreads();
36115 wxGBSpan_Set(arg1,arg2,arg3);
36116
36117 wxPyEndAllowThreads(__tstate);
36118 if (PyErr_Occurred()) SWIG_fail;
36119 }
36120 Py_INCREF(Py_None); resultobj = Py_None;
36121 return resultobj;
36122 fail:
36123 return NULL;
36124 }
36125
36126
36127 static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) {
36128 PyObject *resultobj;
36129 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36130 PyObject *result;
36131 PyObject * obj0 = 0 ;
36132 char *kwnames[] = {
36133 (char *) "self", NULL
36134 };
36135
36136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
36137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36139 {
36140 PyThreadState* __tstate = wxPyBeginAllowThreads();
36141 result = (PyObject *)wxGBSpan_Get(arg1);
36142
36143 wxPyEndAllowThreads(__tstate);
36144 if (PyErr_Occurred()) SWIG_fail;
36145 }
36146 resultobj = result;
36147 return resultobj;
36148 fail:
36149 return NULL;
36150 }
36151
36152
36153 static PyObject * GBSpan_swigregister(PyObject *, PyObject *args) {
36154 PyObject *obj;
36155 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36156 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
36157 Py_INCREF(obj);
36158 return Py_BuildValue((char *)"");
36159 }
36160 static int _wrap_DefaultSpan_set(PyObject *) {
36161 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
36162 return 1;
36163 }
36164
36165
36166 static PyObject *_wrap_DefaultSpan_get() {
36167 PyObject *pyobj;
36168
36169 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
36170 return pyobj;
36171 }
36172
36173
36174 static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
36175 PyObject *resultobj;
36176 wxGBSizerItem *result;
36177 char *kwnames[] = {
36178 NULL
36179 };
36180
36181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
36182 {
36183 PyThreadState* __tstate = wxPyBeginAllowThreads();
36184 result = (wxGBSizerItem *)new wxGBSizerItem();
36185
36186 wxPyEndAllowThreads(__tstate);
36187 if (PyErr_Occurred()) SWIG_fail;
36188 }
36189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
36190 return resultobj;
36191 fail:
36192 return NULL;
36193 }
36194
36195
36196 static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
36197 PyObject *resultobj;
36198 wxWindow *arg1 = (wxWindow *) 0 ;
36199 wxGBPosition *arg2 = 0 ;
36200 wxGBSpan *arg3 = 0 ;
36201 int arg4 ;
36202 int arg5 ;
36203 wxObject *arg6 = (wxObject *) 0 ;
36204 wxGBSizerItem *result;
36205 wxGBPosition temp2 ;
36206 wxGBSpan temp3 ;
36207 PyObject * obj0 = 0 ;
36208 PyObject * obj1 = 0 ;
36209 PyObject * obj2 = 0 ;
36210 PyObject * obj3 = 0 ;
36211 PyObject * obj4 = 0 ;
36212 PyObject * obj5 = 0 ;
36213 char *kwnames[] = {
36214 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36215 };
36216
36217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
36219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36220 {
36221 arg2 = &temp2;
36222 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36223 }
36224 {
36225 arg3 = &temp3;
36226 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36227 }
36228 arg4 = (int) SWIG_AsInt(obj3);
36229 if (PyErr_Occurred()) SWIG_fail;
36230 arg5 = (int) SWIG_AsInt(obj4);
36231 if (PyErr_Occurred()) SWIG_fail;
36232 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
36233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36234 {
36235 PyThreadState* __tstate = wxPyBeginAllowThreads();
36236 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
36237
36238 wxPyEndAllowThreads(__tstate);
36239 if (PyErr_Occurred()) SWIG_fail;
36240 }
36241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
36242 return resultobj;
36243 fail:
36244 return NULL;
36245 }
36246
36247
36248 static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
36249 PyObject *resultobj;
36250 wxSizer *arg1 = (wxSizer *) 0 ;
36251 wxGBPosition *arg2 = 0 ;
36252 wxGBSpan *arg3 = 0 ;
36253 int arg4 ;
36254 int arg5 ;
36255 wxObject *arg6 = (wxObject *) 0 ;
36256 wxGBSizerItem *result;
36257 wxGBPosition temp2 ;
36258 wxGBSpan temp3 ;
36259 PyObject * obj0 = 0 ;
36260 PyObject * obj1 = 0 ;
36261 PyObject * obj2 = 0 ;
36262 PyObject * obj3 = 0 ;
36263 PyObject * obj4 = 0 ;
36264 PyObject * obj5 = 0 ;
36265 char *kwnames[] = {
36266 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36267 };
36268
36269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36272 {
36273 arg2 = &temp2;
36274 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36275 }
36276 {
36277 arg3 = &temp3;
36278 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36279 }
36280 arg4 = (int) SWIG_AsInt(obj3);
36281 if (PyErr_Occurred()) SWIG_fail;
36282 arg5 = (int) SWIG_AsInt(obj4);
36283 if (PyErr_Occurred()) SWIG_fail;
36284 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
36285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36286 {
36287 PyThreadState* __tstate = wxPyBeginAllowThreads();
36288 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
36289
36290 wxPyEndAllowThreads(__tstate);
36291 if (PyErr_Occurred()) SWIG_fail;
36292 }
36293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
36294 return resultobj;
36295 fail:
36296 return NULL;
36297 }
36298
36299
36300 static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
36301 PyObject *resultobj;
36302 int arg1 ;
36303 int arg2 ;
36304 wxGBPosition *arg3 = 0 ;
36305 wxGBSpan *arg4 = 0 ;
36306 int arg5 ;
36307 int arg6 ;
36308 wxObject *arg7 = (wxObject *) 0 ;
36309 wxGBSizerItem *result;
36310 wxGBPosition temp3 ;
36311 wxGBSpan temp4 ;
36312 PyObject * obj0 = 0 ;
36313 PyObject * obj1 = 0 ;
36314 PyObject * obj2 = 0 ;
36315 PyObject * obj3 = 0 ;
36316 PyObject * obj4 = 0 ;
36317 PyObject * obj5 = 0 ;
36318 PyObject * obj6 = 0 ;
36319 char *kwnames[] = {
36320 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36321 };
36322
36323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36324 arg1 = (int) SWIG_AsInt(obj0);
36325 if (PyErr_Occurred()) SWIG_fail;
36326 arg2 = (int) SWIG_AsInt(obj1);
36327 if (PyErr_Occurred()) SWIG_fail;
36328 {
36329 arg3 = &temp3;
36330 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36331 }
36332 {
36333 arg4 = &temp4;
36334 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
36335 }
36336 arg5 = (int) SWIG_AsInt(obj4);
36337 if (PyErr_Occurred()) SWIG_fail;
36338 arg6 = (int) SWIG_AsInt(obj5);
36339 if (PyErr_Occurred()) SWIG_fail;
36340 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxObject,
36341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36342 {
36343 PyThreadState* __tstate = wxPyBeginAllowThreads();
36344 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
36345
36346 wxPyEndAllowThreads(__tstate);
36347 if (PyErr_Occurred()) SWIG_fail;
36348 }
36349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
36350 return resultobj;
36351 fail:
36352 return NULL;
36353 }
36354
36355
36356 static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) {
36357 PyObject *resultobj;
36358 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36359 wxGBPosition result;
36360 PyObject * obj0 = 0 ;
36361 char *kwnames[] = {
36362 (char *) "self", NULL
36363 };
36364
36365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
36366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36368 {
36369 PyThreadState* __tstate = wxPyBeginAllowThreads();
36370 result = ((wxGBSizerItem const *)arg1)->GetPos();
36371
36372 wxPyEndAllowThreads(__tstate);
36373 if (PyErr_Occurred()) SWIG_fail;
36374 }
36375 {
36376 wxGBPosition * resultptr;
36377 resultptr = new wxGBPosition((wxGBPosition &) result);
36378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
36379 }
36380 return resultobj;
36381 fail:
36382 return NULL;
36383 }
36384
36385
36386 static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
36387 PyObject *resultobj;
36388 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36389 wxGBSpan result;
36390 PyObject * obj0 = 0 ;
36391 char *kwnames[] = {
36392 (char *) "self", NULL
36393 };
36394
36395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
36396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36398 {
36399 PyThreadState* __tstate = wxPyBeginAllowThreads();
36400 result = ((wxGBSizerItem const *)arg1)->GetSpan();
36401
36402 wxPyEndAllowThreads(__tstate);
36403 if (PyErr_Occurred()) SWIG_fail;
36404 }
36405 {
36406 wxGBSpan * resultptr;
36407 resultptr = new wxGBSpan((wxGBSpan &) result);
36408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
36409 }
36410 return resultobj;
36411 fail:
36412 return NULL;
36413 }
36414
36415
36416 static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
36417 PyObject *resultobj;
36418 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36419 wxGBPosition *arg2 = 0 ;
36420 bool result;
36421 wxGBPosition temp2 ;
36422 PyObject * obj0 = 0 ;
36423 PyObject * obj1 = 0 ;
36424 char *kwnames[] = {
36425 (char *) "self",(char *) "pos", NULL
36426 };
36427
36428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
36429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36431 {
36432 arg2 = &temp2;
36433 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36434 }
36435 {
36436 PyThreadState* __tstate = wxPyBeginAllowThreads();
36437 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
36438
36439 wxPyEndAllowThreads(__tstate);
36440 if (PyErr_Occurred()) SWIG_fail;
36441 }
36442 {
36443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36444 }
36445 return resultobj;
36446 fail:
36447 return NULL;
36448 }
36449
36450
36451 static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
36452 PyObject *resultobj;
36453 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36454 wxGBSpan *arg2 = 0 ;
36455 bool result;
36456 wxGBSpan temp2 ;
36457 PyObject * obj0 = 0 ;
36458 PyObject * obj1 = 0 ;
36459 char *kwnames[] = {
36460 (char *) "self",(char *) "span", NULL
36461 };
36462
36463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
36464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36466 {
36467 arg2 = &temp2;
36468 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36469 }
36470 {
36471 PyThreadState* __tstate = wxPyBeginAllowThreads();
36472 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
36473
36474 wxPyEndAllowThreads(__tstate);
36475 if (PyErr_Occurred()) SWIG_fail;
36476 }
36477 {
36478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36479 }
36480 return resultobj;
36481 fail:
36482 return NULL;
36483 }
36484
36485
36486 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *, PyObject *args) {
36487 PyObject *resultobj;
36488 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36489 wxGBSizerItem *arg2 = 0 ;
36490 bool result;
36491 PyObject * obj0 = 0 ;
36492 PyObject * obj1 = 0 ;
36493
36494 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
36495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
36498 SWIG_POINTER_EXCEPTION | 0)) == -1)
36499 SWIG_fail;
36500 if (arg2 == NULL) {
36501 PyErr_SetString(PyExc_TypeError,"null reference");
36502 SWIG_fail;
36503 }
36504 {
36505 PyThreadState* __tstate = wxPyBeginAllowThreads();
36506 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
36507
36508 wxPyEndAllowThreads(__tstate);
36509 if (PyErr_Occurred()) SWIG_fail;
36510 }
36511 {
36512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36513 }
36514 return resultobj;
36515 fail:
36516 return NULL;
36517 }
36518
36519
36520 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *, PyObject *args) {
36521 PyObject *resultobj;
36522 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36523 wxGBPosition *arg2 = 0 ;
36524 wxGBSpan *arg3 = 0 ;
36525 bool result;
36526 wxGBPosition temp2 ;
36527 wxGBSpan temp3 ;
36528 PyObject * obj0 = 0 ;
36529 PyObject * obj1 = 0 ;
36530 PyObject * obj2 = 0 ;
36531
36532 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
36533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36535 {
36536 arg2 = &temp2;
36537 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36538 }
36539 {
36540 arg3 = &temp3;
36541 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36542 }
36543 {
36544 PyThreadState* __tstate = wxPyBeginAllowThreads();
36545 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
36546
36547 wxPyEndAllowThreads(__tstate);
36548 if (PyErr_Occurred()) SWIG_fail;
36549 }
36550 {
36551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36552 }
36553 return resultobj;
36554 fail:
36555 return NULL;
36556 }
36557
36558
36559 static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
36560 int argc;
36561 PyObject *argv[4];
36562 int ii;
36563
36564 argc = PyObject_Length(args);
36565 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
36566 argv[ii] = PyTuple_GetItem(args,ii);
36567 }
36568 if (argc == 2) {
36569 int _v;
36570 {
36571 void *ptr;
36572 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
36573 _v = 0;
36574 PyErr_Clear();
36575 } else {
36576 _v = 1;
36577 }
36578 }
36579 if (_v) {
36580 {
36581 void *ptr;
36582 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
36583 _v = 0;
36584 PyErr_Clear();
36585 } else {
36586 _v = 1;
36587 }
36588 }
36589 if (_v) {
36590 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
36591 }
36592 }
36593 }
36594 if (argc == 3) {
36595 int _v;
36596 {
36597 void *ptr;
36598 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
36599 _v = 0;
36600 PyErr_Clear();
36601 } else {
36602 _v = 1;
36603 }
36604 }
36605 if (_v) {
36606 {
36607 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
36608 }
36609 if (_v) {
36610 {
36611 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
36612 }
36613 if (_v) {
36614 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
36615 }
36616 }
36617 }
36618 }
36619
36620 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
36621 return NULL;
36622 }
36623
36624
36625 static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) {
36626 PyObject *resultobj;
36627 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36628 int *arg2 = 0 ;
36629 int *arg3 = 0 ;
36630 PyObject * obj0 = 0 ;
36631 PyObject * obj1 = 0 ;
36632 PyObject * obj2 = 0 ;
36633 char *kwnames[] = {
36634 (char *) "self",(char *) "row",(char *) "col", NULL
36635 };
36636
36637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
36638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,
36641 SWIG_POINTER_EXCEPTION | 0)) == -1)
36642 SWIG_fail;
36643 if (arg2 == NULL) {
36644 PyErr_SetString(PyExc_TypeError,"null reference");
36645 SWIG_fail;
36646 }
36647 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,
36648 SWIG_POINTER_EXCEPTION | 0)) == -1)
36649 SWIG_fail;
36650 if (arg3 == NULL) {
36651 PyErr_SetString(PyExc_TypeError,"null reference");
36652 SWIG_fail;
36653 }
36654 {
36655 PyThreadState* __tstate = wxPyBeginAllowThreads();
36656 (arg1)->GetEndPos(*arg2,*arg3);
36657
36658 wxPyEndAllowThreads(__tstate);
36659 if (PyErr_Occurred()) SWIG_fail;
36660 }
36661 Py_INCREF(Py_None); resultobj = Py_None;
36662 return resultobj;
36663 fail:
36664 return NULL;
36665 }
36666
36667
36668 static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
36669 PyObject *resultobj;
36670 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36671 wxGridBagSizer *result;
36672 PyObject * obj0 = 0 ;
36673 char *kwnames[] = {
36674 (char *) "self", NULL
36675 };
36676
36677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
36678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36680 {
36681 PyThreadState* __tstate = wxPyBeginAllowThreads();
36682 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
36683
36684 wxPyEndAllowThreads(__tstate);
36685 if (PyErr_Occurred()) SWIG_fail;
36686 }
36687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
36688 return resultobj;
36689 fail:
36690 return NULL;
36691 }
36692
36693
36694 static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
36695 PyObject *resultobj;
36696 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36697 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
36698 PyObject * obj0 = 0 ;
36699 PyObject * obj1 = 0 ;
36700 char *kwnames[] = {
36701 (char *) "self",(char *) "sizer", NULL
36702 };
36703
36704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
36705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
36708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36709 {
36710 PyThreadState* __tstate = wxPyBeginAllowThreads();
36711 (arg1)->SetGBSizer(arg2);
36712
36713 wxPyEndAllowThreads(__tstate);
36714 if (PyErr_Occurred()) SWIG_fail;
36715 }
36716 Py_INCREF(Py_None); resultobj = Py_None;
36717 return resultobj;
36718 fail:
36719 return NULL;
36720 }
36721
36722
36723 static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) {
36724 PyObject *obj;
36725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36726 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
36727 Py_INCREF(obj);
36728 return Py_BuildValue((char *)"");
36729 }
36730 static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) {
36731 PyObject *resultobj;
36732 int arg1 = (int) 0 ;
36733 int arg2 = (int) 0 ;
36734 wxGridBagSizer *result;
36735 PyObject * obj0 = 0 ;
36736 PyObject * obj1 = 0 ;
36737 char *kwnames[] = {
36738 (char *) "vgap",(char *) "hgap", NULL
36739 };
36740
36741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
36742 if (obj0) {
36743 arg1 = (int) SWIG_AsInt(obj0);
36744 if (PyErr_Occurred()) SWIG_fail;
36745 }
36746 if (obj1) {
36747 arg2 = (int) SWIG_AsInt(obj1);
36748 if (PyErr_Occurred()) SWIG_fail;
36749 }
36750 {
36751 PyThreadState* __tstate = wxPyBeginAllowThreads();
36752 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
36753
36754 wxPyEndAllowThreads(__tstate);
36755 if (PyErr_Occurred()) SWIG_fail;
36756 }
36757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
36758 return resultobj;
36759 fail:
36760 return NULL;
36761 }
36762
36763
36764 static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
36765 PyObject *resultobj;
36766 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36767 PyObject *arg2 = (PyObject *) 0 ;
36768 wxGBPosition *arg3 = 0 ;
36769 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
36770 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
36771 int arg5 = (int) 0 ;
36772 int arg6 = (int) 0 ;
36773 PyObject *arg7 = (PyObject *) NULL ;
36774 bool result;
36775 wxGBPosition temp3 ;
36776 wxGBSpan temp4 ;
36777 PyObject * obj0 = 0 ;
36778 PyObject * obj1 = 0 ;
36779 PyObject * obj2 = 0 ;
36780 PyObject * obj3 = 0 ;
36781 PyObject * obj4 = 0 ;
36782 PyObject * obj5 = 0 ;
36783 PyObject * obj6 = 0 ;
36784 char *kwnames[] = {
36785 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36786 };
36787
36788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36791 arg2 = obj1;
36792 {
36793 arg3 = &temp3;
36794 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36795 }
36796 if (obj3) {
36797 {
36798 arg4 = &temp4;
36799 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
36800 }
36801 }
36802 if (obj4) {
36803 arg5 = (int) SWIG_AsInt(obj4);
36804 if (PyErr_Occurred()) SWIG_fail;
36805 }
36806 if (obj5) {
36807 arg6 = (int) SWIG_AsInt(obj5);
36808 if (PyErr_Occurred()) SWIG_fail;
36809 }
36810 if (obj6) {
36811 arg7 = obj6;
36812 }
36813 {
36814 PyThreadState* __tstate = wxPyBeginAllowThreads();
36815 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
36816
36817 wxPyEndAllowThreads(__tstate);
36818 if (PyErr_Occurred()) SWIG_fail;
36819 }
36820 {
36821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36822 }
36823 return resultobj;
36824 fail:
36825 return NULL;
36826 }
36827
36828
36829 static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
36830 PyObject *resultobj;
36831 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36832 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
36833 bool result;
36834 PyObject * obj0 = 0 ;
36835 PyObject * obj1 = 0 ;
36836 char *kwnames[] = {
36837 (char *) "self",(char *) "item", NULL
36838 };
36839
36840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
36841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
36844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36845 {
36846 PyThreadState* __tstate = wxPyBeginAllowThreads();
36847 result = (bool)(arg1)->Add(arg2);
36848
36849 wxPyEndAllowThreads(__tstate);
36850 if (PyErr_Occurred()) SWIG_fail;
36851 }
36852 {
36853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36854 }
36855 return resultobj;
36856 fail:
36857 return NULL;
36858 }
36859
36860
36861 static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
36862 PyObject *resultobj;
36863 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36864 wxSize result;
36865 PyObject * obj0 = 0 ;
36866 char *kwnames[] = {
36867 (char *) "self", NULL
36868 };
36869
36870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
36871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36873 {
36874 PyThreadState* __tstate = wxPyBeginAllowThreads();
36875 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
36876
36877 wxPyEndAllowThreads(__tstate);
36878 if (PyErr_Occurred()) SWIG_fail;
36879 }
36880 {
36881 wxSize * resultptr;
36882 resultptr = new wxSize((wxSize &) result);
36883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
36884 }
36885 return resultobj;
36886 fail:
36887 return NULL;
36888 }
36889
36890
36891 static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
36892 PyObject *resultobj;
36893 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36894 wxSize *arg2 = 0 ;
36895 wxSize temp2 ;
36896 PyObject * obj0 = 0 ;
36897 PyObject * obj1 = 0 ;
36898 char *kwnames[] = {
36899 (char *) "self",(char *) "sz", NULL
36900 };
36901
36902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
36903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36905 {
36906 arg2 = &temp2;
36907 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
36908 }
36909 {
36910 PyThreadState* __tstate = wxPyBeginAllowThreads();
36911 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
36912
36913 wxPyEndAllowThreads(__tstate);
36914 if (PyErr_Occurred()) SWIG_fail;
36915 }
36916 Py_INCREF(Py_None); resultobj = Py_None;
36917 return resultobj;
36918 fail:
36919 return NULL;
36920 }
36921
36922
36923 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) {
36924 PyObject *resultobj;
36925 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36926 wxWindow *arg2 = (wxWindow *) 0 ;
36927 wxGBPosition result;
36928 PyObject * obj0 = 0 ;
36929 PyObject * obj1 = 0 ;
36930
36931 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
36932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36936 {
36937 PyThreadState* __tstate = wxPyBeginAllowThreads();
36938 result = (arg1)->GetItemPosition(arg2);
36939
36940 wxPyEndAllowThreads(__tstate);
36941 if (PyErr_Occurred()) SWIG_fail;
36942 }
36943 {
36944 wxGBPosition * resultptr;
36945 resultptr = new wxGBPosition((wxGBPosition &) result);
36946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
36947 }
36948 return resultobj;
36949 fail:
36950 return NULL;
36951 }
36952
36953
36954 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) {
36955 PyObject *resultobj;
36956 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36957 wxSizer *arg2 = (wxSizer *) 0 ;
36958 wxGBPosition result;
36959 PyObject * obj0 = 0 ;
36960 PyObject * obj1 = 0 ;
36961
36962 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
36963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36965 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
36966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36967 {
36968 PyThreadState* __tstate = wxPyBeginAllowThreads();
36969 result = (arg1)->GetItemPosition(arg2);
36970
36971 wxPyEndAllowThreads(__tstate);
36972 if (PyErr_Occurred()) SWIG_fail;
36973 }
36974 {
36975 wxGBPosition * resultptr;
36976 resultptr = new wxGBPosition((wxGBPosition &) result);
36977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
36978 }
36979 return resultobj;
36980 fail:
36981 return NULL;
36982 }
36983
36984
36985 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) {
36986 PyObject *resultobj;
36987 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36988 size_t arg2 ;
36989 wxGBPosition result;
36990 PyObject * obj0 = 0 ;
36991 PyObject * obj1 = 0 ;
36992
36993 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
36994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36996 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36997 if (PyErr_Occurred()) SWIG_fail;
36998 {
36999 PyThreadState* __tstate = wxPyBeginAllowThreads();
37000 result = (arg1)->GetItemPosition(arg2);
37001
37002 wxPyEndAllowThreads(__tstate);
37003 if (PyErr_Occurred()) SWIG_fail;
37004 }
37005 {
37006 wxGBPosition * resultptr;
37007 resultptr = new wxGBPosition((wxGBPosition &) result);
37008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37009 }
37010 return resultobj;
37011 fail:
37012 return NULL;
37013 }
37014
37015
37016 static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
37017 int argc;
37018 PyObject *argv[3];
37019 int ii;
37020
37021 argc = PyObject_Length(args);
37022 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37023 argv[ii] = PyTuple_GetItem(args,ii);
37024 }
37025 if (argc == 2) {
37026 int _v;
37027 {
37028 void *ptr;
37029 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37030 _v = 0;
37031 PyErr_Clear();
37032 } else {
37033 _v = 1;
37034 }
37035 }
37036 if (_v) {
37037 {
37038 void *ptr;
37039 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
37040 _v = 0;
37041 PyErr_Clear();
37042 } else {
37043 _v = 1;
37044 }
37045 }
37046 if (_v) {
37047 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
37048 }
37049 }
37050 }
37051 if (argc == 2) {
37052 int _v;
37053 {
37054 void *ptr;
37055 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37056 _v = 0;
37057 PyErr_Clear();
37058 } else {
37059 _v = 1;
37060 }
37061 }
37062 if (_v) {
37063 {
37064 void *ptr;
37065 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
37066 _v = 0;
37067 PyErr_Clear();
37068 } else {
37069 _v = 1;
37070 }
37071 }
37072 if (_v) {
37073 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
37074 }
37075 }
37076 }
37077 if (argc == 2) {
37078 int _v;
37079 {
37080 void *ptr;
37081 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37082 _v = 0;
37083 PyErr_Clear();
37084 } else {
37085 _v = 1;
37086 }
37087 }
37088 if (_v) {
37089 _v = SWIG_CheckUnsignedLong(argv[1]);
37090 if (_v) {
37091 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
37092 }
37093 }
37094 }
37095
37096 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37097 return NULL;
37098 }
37099
37100
37101 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) {
37102 PyObject *resultobj;
37103 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37104 wxWindow *arg2 = (wxWindow *) 0 ;
37105 wxGBPosition *arg3 = 0 ;
37106 bool result;
37107 wxGBPosition temp3 ;
37108 PyObject * obj0 = 0 ;
37109 PyObject * obj1 = 0 ;
37110 PyObject * obj2 = 0 ;
37111
37112 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
37113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37117 {
37118 arg3 = &temp3;
37119 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37120 }
37121 {
37122 PyThreadState* __tstate = wxPyBeginAllowThreads();
37123 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
37124
37125 wxPyEndAllowThreads(__tstate);
37126 if (PyErr_Occurred()) SWIG_fail;
37127 }
37128 {
37129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37130 }
37131 return resultobj;
37132 fail:
37133 return NULL;
37134 }
37135
37136
37137 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) {
37138 PyObject *resultobj;
37139 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37140 wxSizer *arg2 = (wxSizer *) 0 ;
37141 wxGBPosition *arg3 = 0 ;
37142 bool result;
37143 wxGBPosition temp3 ;
37144 PyObject * obj0 = 0 ;
37145 PyObject * obj1 = 0 ;
37146 PyObject * obj2 = 0 ;
37147
37148 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
37149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37151 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37153 {
37154 arg3 = &temp3;
37155 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37156 }
37157 {
37158 PyThreadState* __tstate = wxPyBeginAllowThreads();
37159 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
37160
37161 wxPyEndAllowThreads(__tstate);
37162 if (PyErr_Occurred()) SWIG_fail;
37163 }
37164 {
37165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37166 }
37167 return resultobj;
37168 fail:
37169 return NULL;
37170 }
37171
37172
37173 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) {
37174 PyObject *resultobj;
37175 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37176 size_t arg2 ;
37177 wxGBPosition *arg3 = 0 ;
37178 bool result;
37179 wxGBPosition temp3 ;
37180 PyObject * obj0 = 0 ;
37181 PyObject * obj1 = 0 ;
37182 PyObject * obj2 = 0 ;
37183
37184 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
37185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37187 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37188 if (PyErr_Occurred()) SWIG_fail;
37189 {
37190 arg3 = &temp3;
37191 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37192 }
37193 {
37194 PyThreadState* __tstate = wxPyBeginAllowThreads();
37195 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
37196
37197 wxPyEndAllowThreads(__tstate);
37198 if (PyErr_Occurred()) SWIG_fail;
37199 }
37200 {
37201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37202 }
37203 return resultobj;
37204 fail:
37205 return NULL;
37206 }
37207
37208
37209 static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
37210 int argc;
37211 PyObject *argv[4];
37212 int ii;
37213
37214 argc = PyObject_Length(args);
37215 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37216 argv[ii] = PyTuple_GetItem(args,ii);
37217 }
37218 if (argc == 3) {
37219 int _v;
37220 {
37221 void *ptr;
37222 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37223 _v = 0;
37224 PyErr_Clear();
37225 } else {
37226 _v = 1;
37227 }
37228 }
37229 if (_v) {
37230 {
37231 void *ptr;
37232 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
37233 _v = 0;
37234 PyErr_Clear();
37235 } else {
37236 _v = 1;
37237 }
37238 }
37239 if (_v) {
37240 {
37241 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
37242 }
37243 if (_v) {
37244 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
37245 }
37246 }
37247 }
37248 }
37249 if (argc == 3) {
37250 int _v;
37251 {
37252 void *ptr;
37253 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37254 _v = 0;
37255 PyErr_Clear();
37256 } else {
37257 _v = 1;
37258 }
37259 }
37260 if (_v) {
37261 {
37262 void *ptr;
37263 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
37264 _v = 0;
37265 PyErr_Clear();
37266 } else {
37267 _v = 1;
37268 }
37269 }
37270 if (_v) {
37271 {
37272 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
37273 }
37274 if (_v) {
37275 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
37276 }
37277 }
37278 }
37279 }
37280 if (argc == 3) {
37281 int _v;
37282 {
37283 void *ptr;
37284 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37285 _v = 0;
37286 PyErr_Clear();
37287 } else {
37288 _v = 1;
37289 }
37290 }
37291 if (_v) {
37292 _v = SWIG_CheckUnsignedLong(argv[1]);
37293 if (_v) {
37294 {
37295 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
37296 }
37297 if (_v) {
37298 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
37299 }
37300 }
37301 }
37302 }
37303
37304 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
37305 return NULL;
37306 }
37307
37308
37309 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) {
37310 PyObject *resultobj;
37311 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37312 wxWindow *arg2 = (wxWindow *) 0 ;
37313 wxGBSpan result;
37314 PyObject * obj0 = 0 ;
37315 PyObject * obj1 = 0 ;
37316
37317 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
37318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37322 {
37323 PyThreadState* __tstate = wxPyBeginAllowThreads();
37324 result = (arg1)->GetItemSpan(arg2);
37325
37326 wxPyEndAllowThreads(__tstate);
37327 if (PyErr_Occurred()) SWIG_fail;
37328 }
37329 {
37330 wxGBSpan * resultptr;
37331 resultptr = new wxGBSpan((wxGBSpan &) result);
37332 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
37333 }
37334 return resultobj;
37335 fail:
37336 return NULL;
37337 }
37338
37339
37340 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) {
37341 PyObject *resultobj;
37342 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37343 wxSizer *arg2 = (wxSizer *) 0 ;
37344 wxGBSpan result;
37345 PyObject * obj0 = 0 ;
37346 PyObject * obj1 = 0 ;
37347
37348 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
37349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37353 {
37354 PyThreadState* __tstate = wxPyBeginAllowThreads();
37355 result = (arg1)->GetItemSpan(arg2);
37356
37357 wxPyEndAllowThreads(__tstate);
37358 if (PyErr_Occurred()) SWIG_fail;
37359 }
37360 {
37361 wxGBSpan * resultptr;
37362 resultptr = new wxGBSpan((wxGBSpan &) result);
37363 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
37364 }
37365 return resultobj;
37366 fail:
37367 return NULL;
37368 }
37369
37370
37371 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) {
37372 PyObject *resultobj;
37373 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37374 size_t arg2 ;
37375 wxGBSpan result;
37376 PyObject * obj0 = 0 ;
37377 PyObject * obj1 = 0 ;
37378
37379 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
37380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37382 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37383 if (PyErr_Occurred()) SWIG_fail;
37384 {
37385 PyThreadState* __tstate = wxPyBeginAllowThreads();
37386 result = (arg1)->GetItemSpan(arg2);
37387
37388 wxPyEndAllowThreads(__tstate);
37389 if (PyErr_Occurred()) SWIG_fail;
37390 }
37391 {
37392 wxGBSpan * resultptr;
37393 resultptr = new wxGBSpan((wxGBSpan &) result);
37394 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
37395 }
37396 return resultobj;
37397 fail:
37398 return NULL;
37399 }
37400
37401
37402 static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
37403 int argc;
37404 PyObject *argv[3];
37405 int ii;
37406
37407 argc = PyObject_Length(args);
37408 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37409 argv[ii] = PyTuple_GetItem(args,ii);
37410 }
37411 if (argc == 2) {
37412 int _v;
37413 {
37414 void *ptr;
37415 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37416 _v = 0;
37417 PyErr_Clear();
37418 } else {
37419 _v = 1;
37420 }
37421 }
37422 if (_v) {
37423 {
37424 void *ptr;
37425 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
37426 _v = 0;
37427 PyErr_Clear();
37428 } else {
37429 _v = 1;
37430 }
37431 }
37432 if (_v) {
37433 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
37434 }
37435 }
37436 }
37437 if (argc == 2) {
37438 int _v;
37439 {
37440 void *ptr;
37441 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37442 _v = 0;
37443 PyErr_Clear();
37444 } else {
37445 _v = 1;
37446 }
37447 }
37448 if (_v) {
37449 {
37450 void *ptr;
37451 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
37452 _v = 0;
37453 PyErr_Clear();
37454 } else {
37455 _v = 1;
37456 }
37457 }
37458 if (_v) {
37459 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
37460 }
37461 }
37462 }
37463 if (argc == 2) {
37464 int _v;
37465 {
37466 void *ptr;
37467 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37468 _v = 0;
37469 PyErr_Clear();
37470 } else {
37471 _v = 1;
37472 }
37473 }
37474 if (_v) {
37475 _v = SWIG_CheckUnsignedLong(argv[1]);
37476 if (_v) {
37477 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
37478 }
37479 }
37480 }
37481
37482 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37483 return NULL;
37484 }
37485
37486
37487 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) {
37488 PyObject *resultobj;
37489 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37490 wxWindow *arg2 = (wxWindow *) 0 ;
37491 wxGBSpan *arg3 = 0 ;
37492 bool result;
37493 wxGBSpan temp3 ;
37494 PyObject * obj0 = 0 ;
37495 PyObject * obj1 = 0 ;
37496 PyObject * obj2 = 0 ;
37497
37498 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
37499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37503 {
37504 arg3 = &temp3;
37505 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37506 }
37507 {
37508 PyThreadState* __tstate = wxPyBeginAllowThreads();
37509 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37510
37511 wxPyEndAllowThreads(__tstate);
37512 if (PyErr_Occurred()) SWIG_fail;
37513 }
37514 {
37515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37516 }
37517 return resultobj;
37518 fail:
37519 return NULL;
37520 }
37521
37522
37523 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) {
37524 PyObject *resultobj;
37525 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37526 wxSizer *arg2 = (wxSizer *) 0 ;
37527 wxGBSpan *arg3 = 0 ;
37528 bool result;
37529 wxGBSpan temp3 ;
37530 PyObject * obj0 = 0 ;
37531 PyObject * obj1 = 0 ;
37532 PyObject * obj2 = 0 ;
37533
37534 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
37535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37539 {
37540 arg3 = &temp3;
37541 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37542 }
37543 {
37544 PyThreadState* __tstate = wxPyBeginAllowThreads();
37545 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37546
37547 wxPyEndAllowThreads(__tstate);
37548 if (PyErr_Occurred()) SWIG_fail;
37549 }
37550 {
37551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37552 }
37553 return resultobj;
37554 fail:
37555 return NULL;
37556 }
37557
37558
37559 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) {
37560 PyObject *resultobj;
37561 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37562 size_t arg2 ;
37563 wxGBSpan *arg3 = 0 ;
37564 bool result;
37565 wxGBSpan temp3 ;
37566 PyObject * obj0 = 0 ;
37567 PyObject * obj1 = 0 ;
37568 PyObject * obj2 = 0 ;
37569
37570 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
37571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37573 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37574 if (PyErr_Occurred()) SWIG_fail;
37575 {
37576 arg3 = &temp3;
37577 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37578 }
37579 {
37580 PyThreadState* __tstate = wxPyBeginAllowThreads();
37581 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37582
37583 wxPyEndAllowThreads(__tstate);
37584 if (PyErr_Occurred()) SWIG_fail;
37585 }
37586 {
37587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37588 }
37589 return resultobj;
37590 fail:
37591 return NULL;
37592 }
37593
37594
37595 static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
37596 int argc;
37597 PyObject *argv[4];
37598 int ii;
37599
37600 argc = PyObject_Length(args);
37601 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37602 argv[ii] = PyTuple_GetItem(args,ii);
37603 }
37604 if (argc == 3) {
37605 int _v;
37606 {
37607 void *ptr;
37608 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37609 _v = 0;
37610 PyErr_Clear();
37611 } else {
37612 _v = 1;
37613 }
37614 }
37615 if (_v) {
37616 {
37617 void *ptr;
37618 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
37619 _v = 0;
37620 PyErr_Clear();
37621 } else {
37622 _v = 1;
37623 }
37624 }
37625 if (_v) {
37626 {
37627 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37628 }
37629 if (_v) {
37630 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
37631 }
37632 }
37633 }
37634 }
37635 if (argc == 3) {
37636 int _v;
37637 {
37638 void *ptr;
37639 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37640 _v = 0;
37641 PyErr_Clear();
37642 } else {
37643 _v = 1;
37644 }
37645 }
37646 if (_v) {
37647 {
37648 void *ptr;
37649 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
37650 _v = 0;
37651 PyErr_Clear();
37652 } else {
37653 _v = 1;
37654 }
37655 }
37656 if (_v) {
37657 {
37658 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37659 }
37660 if (_v) {
37661 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
37662 }
37663 }
37664 }
37665 }
37666 if (argc == 3) {
37667 int _v;
37668 {
37669 void *ptr;
37670 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37671 _v = 0;
37672 PyErr_Clear();
37673 } else {
37674 _v = 1;
37675 }
37676 }
37677 if (_v) {
37678 _v = SWIG_CheckUnsignedLong(argv[1]);
37679 if (_v) {
37680 {
37681 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37682 }
37683 if (_v) {
37684 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
37685 }
37686 }
37687 }
37688 }
37689
37690 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37691 return NULL;
37692 }
37693
37694
37695 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) {
37696 PyObject *resultobj;
37697 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37698 wxWindow *arg2 = (wxWindow *) 0 ;
37699 wxGBSizerItem *result;
37700 PyObject * obj0 = 0 ;
37701 PyObject * obj1 = 0 ;
37702
37703 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
37704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37708 {
37709 PyThreadState* __tstate = wxPyBeginAllowThreads();
37710 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
37711
37712 wxPyEndAllowThreads(__tstate);
37713 if (PyErr_Occurred()) SWIG_fail;
37714 }
37715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
37716 return resultobj;
37717 fail:
37718 return NULL;
37719 }
37720
37721
37722 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) {
37723 PyObject *resultobj;
37724 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37725 wxSizer *arg2 = (wxSizer *) 0 ;
37726 wxGBSizerItem *result;
37727 PyObject * obj0 = 0 ;
37728 PyObject * obj1 = 0 ;
37729
37730 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
37731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37735 {
37736 PyThreadState* __tstate = wxPyBeginAllowThreads();
37737 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
37738
37739 wxPyEndAllowThreads(__tstate);
37740 if (PyErr_Occurred()) SWIG_fail;
37741 }
37742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
37743 return resultobj;
37744 fail:
37745 return NULL;
37746 }
37747
37748
37749 static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
37750 int argc;
37751 PyObject *argv[3];
37752 int ii;
37753
37754 argc = PyObject_Length(args);
37755 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37756 argv[ii] = PyTuple_GetItem(args,ii);
37757 }
37758 if (argc == 2) {
37759 int _v;
37760 {
37761 void *ptr;
37762 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37763 _v = 0;
37764 PyErr_Clear();
37765 } else {
37766 _v = 1;
37767 }
37768 }
37769 if (_v) {
37770 {
37771 void *ptr;
37772 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
37773 _v = 0;
37774 PyErr_Clear();
37775 } else {
37776 _v = 1;
37777 }
37778 }
37779 if (_v) {
37780 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
37781 }
37782 }
37783 }
37784 if (argc == 2) {
37785 int _v;
37786 {
37787 void *ptr;
37788 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
37789 _v = 0;
37790 PyErr_Clear();
37791 } else {
37792 _v = 1;
37793 }
37794 }
37795 if (_v) {
37796 {
37797 void *ptr;
37798 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
37799 _v = 0;
37800 PyErr_Clear();
37801 } else {
37802 _v = 1;
37803 }
37804 }
37805 if (_v) {
37806 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
37807 }
37808 }
37809 }
37810
37811 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
37812 return NULL;
37813 }
37814
37815
37816 static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
37817 PyObject *resultobj;
37818 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37819 wxGBPosition *arg2 = 0 ;
37820 wxGBSizerItem *result;
37821 wxGBPosition temp2 ;
37822 PyObject * obj0 = 0 ;
37823 PyObject * obj1 = 0 ;
37824 char *kwnames[] = {
37825 (char *) "self",(char *) "pos", NULL
37826 };
37827
37828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
37829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37831 {
37832 arg2 = &temp2;
37833 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37834 }
37835 {
37836 PyThreadState* __tstate = wxPyBeginAllowThreads();
37837 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
37838
37839 wxPyEndAllowThreads(__tstate);
37840 if (PyErr_Occurred()) SWIG_fail;
37841 }
37842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
37843 return resultobj;
37844 fail:
37845 return NULL;
37846 }
37847
37848
37849 static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
37850 PyObject *resultobj;
37851 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37852 wxPoint *arg2 = 0 ;
37853 wxGBSizerItem *result;
37854 wxPoint temp2 ;
37855 PyObject * obj0 = 0 ;
37856 PyObject * obj1 = 0 ;
37857 char *kwnames[] = {
37858 (char *) "self",(char *) "pt", NULL
37859 };
37860
37861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
37862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37864 {
37865 arg2 = &temp2;
37866 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37867 }
37868 {
37869 PyThreadState* __tstate = wxPyBeginAllowThreads();
37870 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
37871
37872 wxPyEndAllowThreads(__tstate);
37873 if (PyErr_Occurred()) SWIG_fail;
37874 }
37875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
37876 return resultobj;
37877 fail:
37878 return NULL;
37879 }
37880
37881
37882 static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *, PyObject *args, PyObject *kwargs) {
37883 PyObject *resultobj;
37884 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37885 wxObject *arg2 = (wxObject *) 0 ;
37886 wxGBSizerItem *result;
37887 PyObject * obj0 = 0 ;
37888 PyObject * obj1 = 0 ;
37889 char *kwnames[] = {
37890 (char *) "self",(char *) "userData", NULL
37891 };
37892
37893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
37894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
37897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37898 {
37899 PyThreadState* __tstate = wxPyBeginAllowThreads();
37900 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
37901
37902 wxPyEndAllowThreads(__tstate);
37903 if (PyErr_Occurred()) SWIG_fail;
37904 }
37905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
37906 return resultobj;
37907 fail:
37908 return NULL;
37909 }
37910
37911
37912 static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
37913 PyObject *resultobj;
37914 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37915 PyObject * obj0 = 0 ;
37916 char *kwnames[] = {
37917 (char *) "self", NULL
37918 };
37919
37920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
37921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37923 {
37924 PyThreadState* __tstate = wxPyBeginAllowThreads();
37925 (arg1)->RecalcSizes();
37926
37927 wxPyEndAllowThreads(__tstate);
37928 if (PyErr_Occurred()) SWIG_fail;
37929 }
37930 Py_INCREF(Py_None); resultobj = Py_None;
37931 return resultobj;
37932 fail:
37933 return NULL;
37934 }
37935
37936
37937 static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
37938 PyObject *resultobj;
37939 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37940 wxSize result;
37941 PyObject * obj0 = 0 ;
37942 char *kwnames[] = {
37943 (char *) "self", NULL
37944 };
37945
37946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
37947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37949 {
37950 PyThreadState* __tstate = wxPyBeginAllowThreads();
37951 result = (arg1)->CalcMin();
37952
37953 wxPyEndAllowThreads(__tstate);
37954 if (PyErr_Occurred()) SWIG_fail;
37955 }
37956 {
37957 wxSize * resultptr;
37958 resultptr = new wxSize((wxSize &) result);
37959 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
37960 }
37961 return resultobj;
37962 fail:
37963 return NULL;
37964 }
37965
37966
37967 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *, PyObject *args) {
37968 PyObject *resultobj;
37969 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37970 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37971 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
37972 bool result;
37973 PyObject * obj0 = 0 ;
37974 PyObject * obj1 = 0 ;
37975 PyObject * obj2 = 0 ;
37976
37977 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
37978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37982 if (obj2) {
37983 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
37984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37985 }
37986 {
37987 PyThreadState* __tstate = wxPyBeginAllowThreads();
37988 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
37989
37990 wxPyEndAllowThreads(__tstate);
37991 if (PyErr_Occurred()) SWIG_fail;
37992 }
37993 {
37994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37995 }
37996 return resultobj;
37997 fail:
37998 return NULL;
37999 }
38000
38001
38002 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *, PyObject *args) {
38003 PyObject *resultobj;
38004 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38005 wxGBPosition *arg2 = 0 ;
38006 wxGBSpan *arg3 = 0 ;
38007 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38008 bool result;
38009 wxGBPosition temp2 ;
38010 wxGBSpan temp3 ;
38011 PyObject * obj0 = 0 ;
38012 PyObject * obj1 = 0 ;
38013 PyObject * obj2 = 0 ;
38014 PyObject * obj3 = 0 ;
38015
38016 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
38017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38019 {
38020 arg2 = &temp2;
38021 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38022 }
38023 {
38024 arg3 = &temp3;
38025 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38026 }
38027 if (obj3) {
38028 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38030 }
38031 {
38032 PyThreadState* __tstate = wxPyBeginAllowThreads();
38033 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
38034
38035 wxPyEndAllowThreads(__tstate);
38036 if (PyErr_Occurred()) SWIG_fail;
38037 }
38038 {
38039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38040 }
38041 return resultobj;
38042 fail:
38043 return NULL;
38044 }
38045
38046
38047 static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
38048 int argc;
38049 PyObject *argv[5];
38050 int ii;
38051
38052 argc = PyObject_Length(args);
38053 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
38054 argv[ii] = PyTuple_GetItem(args,ii);
38055 }
38056 if ((argc >= 2) && (argc <= 3)) {
38057 int _v;
38058 {
38059 void *ptr;
38060 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38061 _v = 0;
38062 PyErr_Clear();
38063 } else {
38064 _v = 1;
38065 }
38066 }
38067 if (_v) {
38068 {
38069 void *ptr;
38070 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
38071 _v = 0;
38072 PyErr_Clear();
38073 } else {
38074 _v = 1;
38075 }
38076 }
38077 if (_v) {
38078 if (argc <= 2) {
38079 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
38080 }
38081 {
38082 void *ptr;
38083 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
38084 _v = 0;
38085 PyErr_Clear();
38086 } else {
38087 _v = 1;
38088 }
38089 }
38090 if (_v) {
38091 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
38092 }
38093 }
38094 }
38095 }
38096 if ((argc >= 3) && (argc <= 4)) {
38097 int _v;
38098 {
38099 void *ptr;
38100 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38101 _v = 0;
38102 PyErr_Clear();
38103 } else {
38104 _v = 1;
38105 }
38106 }
38107 if (_v) {
38108 {
38109 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
38110 }
38111 if (_v) {
38112 {
38113 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38114 }
38115 if (_v) {
38116 if (argc <= 3) {
38117 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
38118 }
38119 {
38120 void *ptr;
38121 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
38122 _v = 0;
38123 PyErr_Clear();
38124 } else {
38125 _v = 1;
38126 }
38127 }
38128 if (_v) {
38129 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
38130 }
38131 }
38132 }
38133 }
38134 }
38135
38136 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
38137 return NULL;
38138 }
38139
38140
38141 static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) {
38142 PyObject *obj;
38143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38144 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
38145 Py_INCREF(obj);
38146 return Py_BuildValue((char *)"");
38147 }
38148 static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
38149 PyObject *resultobj;
38150 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38151 int arg2 ;
38152 wxWindow *arg3 = (wxWindow *) 0 ;
38153 int arg4 ;
38154 int arg5 = (int) 0 ;
38155 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
38156 PyObject * obj0 = 0 ;
38157 PyObject * obj1 = 0 ;
38158 PyObject * obj2 = 0 ;
38159 PyObject * obj3 = 0 ;
38160 PyObject * obj4 = 0 ;
38161 PyObject * obj5 = 0 ;
38162 char *kwnames[] = {
38163 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38164 };
38165
38166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
38167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38169 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38170 if (PyErr_Occurred()) SWIG_fail;
38171 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38173 arg4 = (wxEdge) SWIG_AsInt(obj3);
38174 if (PyErr_Occurred()) SWIG_fail;
38175 if (obj4) {
38176 arg5 = (int) SWIG_AsInt(obj4);
38177 if (PyErr_Occurred()) SWIG_fail;
38178 }
38179 if (obj5) {
38180 arg6 = (int) SWIG_AsInt(obj5);
38181 if (PyErr_Occurred()) SWIG_fail;
38182 }
38183 {
38184 PyThreadState* __tstate = wxPyBeginAllowThreads();
38185 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
38186
38187 wxPyEndAllowThreads(__tstate);
38188 if (PyErr_Occurred()) SWIG_fail;
38189 }
38190 Py_INCREF(Py_None); resultobj = Py_None;
38191 return resultobj;
38192 fail:
38193 return NULL;
38194 }
38195
38196
38197 static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) {
38198 PyObject *resultobj;
38199 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38200 wxWindow *arg2 = (wxWindow *) 0 ;
38201 int arg3 = (int) 0 ;
38202 PyObject * obj0 = 0 ;
38203 PyObject * obj1 = 0 ;
38204 PyObject * obj2 = 0 ;
38205 char *kwnames[] = {
38206 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38207 };
38208
38209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
38210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38214 if (obj2) {
38215 arg3 = (int) SWIG_AsInt(obj2);
38216 if (PyErr_Occurred()) SWIG_fail;
38217 }
38218 {
38219 PyThreadState* __tstate = wxPyBeginAllowThreads();
38220 (arg1)->LeftOf(arg2,arg3);
38221
38222 wxPyEndAllowThreads(__tstate);
38223 if (PyErr_Occurred()) SWIG_fail;
38224 }
38225 Py_INCREF(Py_None); resultobj = Py_None;
38226 return resultobj;
38227 fail:
38228 return NULL;
38229 }
38230
38231
38232 static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) {
38233 PyObject *resultobj;
38234 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38235 wxWindow *arg2 = (wxWindow *) 0 ;
38236 int arg3 = (int) 0 ;
38237 PyObject * obj0 = 0 ;
38238 PyObject * obj1 = 0 ;
38239 PyObject * obj2 = 0 ;
38240 char *kwnames[] = {
38241 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38242 };
38243
38244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
38245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38249 if (obj2) {
38250 arg3 = (int) SWIG_AsInt(obj2);
38251 if (PyErr_Occurred()) SWIG_fail;
38252 }
38253 {
38254 PyThreadState* __tstate = wxPyBeginAllowThreads();
38255 (arg1)->RightOf(arg2,arg3);
38256
38257 wxPyEndAllowThreads(__tstate);
38258 if (PyErr_Occurred()) SWIG_fail;
38259 }
38260 Py_INCREF(Py_None); resultobj = Py_None;
38261 return resultobj;
38262 fail:
38263 return NULL;
38264 }
38265
38266
38267 static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) {
38268 PyObject *resultobj;
38269 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38270 wxWindow *arg2 = (wxWindow *) 0 ;
38271 int arg3 = (int) 0 ;
38272 PyObject * obj0 = 0 ;
38273 PyObject * obj1 = 0 ;
38274 PyObject * obj2 = 0 ;
38275 char *kwnames[] = {
38276 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38277 };
38278
38279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
38280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38284 if (obj2) {
38285 arg3 = (int) SWIG_AsInt(obj2);
38286 if (PyErr_Occurred()) SWIG_fail;
38287 }
38288 {
38289 PyThreadState* __tstate = wxPyBeginAllowThreads();
38290 (arg1)->Above(arg2,arg3);
38291
38292 wxPyEndAllowThreads(__tstate);
38293 if (PyErr_Occurred()) SWIG_fail;
38294 }
38295 Py_INCREF(Py_None); resultobj = Py_None;
38296 return resultobj;
38297 fail:
38298 return NULL;
38299 }
38300
38301
38302 static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) {
38303 PyObject *resultobj;
38304 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38305 wxWindow *arg2 = (wxWindow *) 0 ;
38306 int arg3 = (int) 0 ;
38307 PyObject * obj0 = 0 ;
38308 PyObject * obj1 = 0 ;
38309 PyObject * obj2 = 0 ;
38310 char *kwnames[] = {
38311 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38312 };
38313
38314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
38315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38319 if (obj2) {
38320 arg3 = (int) SWIG_AsInt(obj2);
38321 if (PyErr_Occurred()) SWIG_fail;
38322 }
38323 {
38324 PyThreadState* __tstate = wxPyBeginAllowThreads();
38325 (arg1)->Below(arg2,arg3);
38326
38327 wxPyEndAllowThreads(__tstate);
38328 if (PyErr_Occurred()) SWIG_fail;
38329 }
38330 Py_INCREF(Py_None); resultobj = Py_None;
38331 return resultobj;
38332 fail:
38333 return NULL;
38334 }
38335
38336
38337 static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) {
38338 PyObject *resultobj;
38339 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38340 wxWindow *arg2 = (wxWindow *) 0 ;
38341 int arg3 ;
38342 int arg4 = (int) 0 ;
38343 PyObject * obj0 = 0 ;
38344 PyObject * obj1 = 0 ;
38345 PyObject * obj2 = 0 ;
38346 PyObject * obj3 = 0 ;
38347 char *kwnames[] = {
38348 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38349 };
38350
38351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
38352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38356 arg3 = (wxEdge) SWIG_AsInt(obj2);
38357 if (PyErr_Occurred()) SWIG_fail;
38358 if (obj3) {
38359 arg4 = (int) SWIG_AsInt(obj3);
38360 if (PyErr_Occurred()) SWIG_fail;
38361 }
38362 {
38363 PyThreadState* __tstate = wxPyBeginAllowThreads();
38364 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
38365
38366 wxPyEndAllowThreads(__tstate);
38367 if (PyErr_Occurred()) SWIG_fail;
38368 }
38369 Py_INCREF(Py_None); resultobj = Py_None;
38370 return resultobj;
38371 fail:
38372 return NULL;
38373 }
38374
38375
38376 static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) {
38377 PyObject *resultobj;
38378 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38379 wxWindow *arg2 = (wxWindow *) 0 ;
38380 int arg3 ;
38381 int arg4 ;
38382 PyObject * obj0 = 0 ;
38383 PyObject * obj1 = 0 ;
38384 PyObject * obj2 = 0 ;
38385 PyObject * obj3 = 0 ;
38386 char *kwnames[] = {
38387 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38388 };
38389
38390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
38391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38395 arg3 = (wxEdge) SWIG_AsInt(obj2);
38396 if (PyErr_Occurred()) SWIG_fail;
38397 arg4 = (int) SWIG_AsInt(obj3);
38398 if (PyErr_Occurred()) SWIG_fail;
38399 {
38400 PyThreadState* __tstate = wxPyBeginAllowThreads();
38401 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
38402
38403 wxPyEndAllowThreads(__tstate);
38404 if (PyErr_Occurred()) SWIG_fail;
38405 }
38406 Py_INCREF(Py_None); resultobj = Py_None;
38407 return resultobj;
38408 fail:
38409 return NULL;
38410 }
38411
38412
38413 static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) {
38414 PyObject *resultobj;
38415 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38416 int arg2 ;
38417 PyObject * obj0 = 0 ;
38418 PyObject * obj1 = 0 ;
38419 char *kwnames[] = {
38420 (char *) "self",(char *) "val", NULL
38421 };
38422
38423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
38424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38426 arg2 = (int) SWIG_AsInt(obj1);
38427 if (PyErr_Occurred()) SWIG_fail;
38428 {
38429 PyThreadState* __tstate = wxPyBeginAllowThreads();
38430 (arg1)->Absolute(arg2);
38431
38432 wxPyEndAllowThreads(__tstate);
38433 if (PyErr_Occurred()) SWIG_fail;
38434 }
38435 Py_INCREF(Py_None); resultobj = Py_None;
38436 return resultobj;
38437 fail:
38438 return NULL;
38439 }
38440
38441
38442 static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) {
38443 PyObject *resultobj;
38444 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38445 PyObject * obj0 = 0 ;
38446 char *kwnames[] = {
38447 (char *) "self", NULL
38448 };
38449
38450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
38451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38453 {
38454 PyThreadState* __tstate = wxPyBeginAllowThreads();
38455 (arg1)->Unconstrained();
38456
38457 wxPyEndAllowThreads(__tstate);
38458 if (PyErr_Occurred()) SWIG_fail;
38459 }
38460 Py_INCREF(Py_None); resultobj = Py_None;
38461 return resultobj;
38462 fail:
38463 return NULL;
38464 }
38465
38466
38467 static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) {
38468 PyObject *resultobj;
38469 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38470 PyObject * obj0 = 0 ;
38471 char *kwnames[] = {
38472 (char *) "self", NULL
38473 };
38474
38475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
38476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38478 {
38479 PyThreadState* __tstate = wxPyBeginAllowThreads();
38480 (arg1)->AsIs();
38481
38482 wxPyEndAllowThreads(__tstate);
38483 if (PyErr_Occurred()) SWIG_fail;
38484 }
38485 Py_INCREF(Py_None); resultobj = Py_None;
38486 return resultobj;
38487 fail:
38488 return NULL;
38489 }
38490
38491
38492 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) {
38493 PyObject *resultobj;
38494 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38495 wxWindow *result;
38496 PyObject * obj0 = 0 ;
38497 char *kwnames[] = {
38498 (char *) "self", NULL
38499 };
38500
38501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
38502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38504 {
38505 PyThreadState* __tstate = wxPyBeginAllowThreads();
38506 result = (wxWindow *)(arg1)->GetOtherWindow();
38507
38508 wxPyEndAllowThreads(__tstate);
38509 if (PyErr_Occurred()) SWIG_fail;
38510 }
38511 {
38512 resultobj = wxPyMake_wxObject(result);
38513 }
38514 return resultobj;
38515 fail:
38516 return NULL;
38517 }
38518
38519
38520 static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) {
38521 PyObject *resultobj;
38522 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38523 int result;
38524 PyObject * obj0 = 0 ;
38525 char *kwnames[] = {
38526 (char *) "self", NULL
38527 };
38528
38529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
38530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38532 {
38533 PyThreadState* __tstate = wxPyBeginAllowThreads();
38534 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
38535
38536 wxPyEndAllowThreads(__tstate);
38537 if (PyErr_Occurred()) SWIG_fail;
38538 }
38539 resultobj = SWIG_FromInt((int)result);
38540 return resultobj;
38541 fail:
38542 return NULL;
38543 }
38544
38545
38546 static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
38547 PyObject *resultobj;
38548 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38549 int arg2 ;
38550 PyObject * obj0 = 0 ;
38551 PyObject * obj1 = 0 ;
38552 char *kwnames[] = {
38553 (char *) "self",(char *) "which", NULL
38554 };
38555
38556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
38557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38559 arg2 = (wxEdge) SWIG_AsInt(obj1);
38560 if (PyErr_Occurred()) SWIG_fail;
38561 {
38562 PyThreadState* __tstate = wxPyBeginAllowThreads();
38563 (arg1)->SetEdge((wxEdge )arg2);
38564
38565 wxPyEndAllowThreads(__tstate);
38566 if (PyErr_Occurred()) SWIG_fail;
38567 }
38568 Py_INCREF(Py_None); resultobj = Py_None;
38569 return resultobj;
38570 fail:
38571 return NULL;
38572 }
38573
38574
38575 static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
38576 PyObject *resultobj;
38577 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38578 int arg2 ;
38579 PyObject * obj0 = 0 ;
38580 PyObject * obj1 = 0 ;
38581 char *kwnames[] = {
38582 (char *) "self",(char *) "v", NULL
38583 };
38584
38585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
38586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38588 arg2 = (int) SWIG_AsInt(obj1);
38589 if (PyErr_Occurred()) SWIG_fail;
38590 {
38591 PyThreadState* __tstate = wxPyBeginAllowThreads();
38592 (arg1)->SetValue(arg2);
38593
38594 wxPyEndAllowThreads(__tstate);
38595 if (PyErr_Occurred()) SWIG_fail;
38596 }
38597 Py_INCREF(Py_None); resultobj = Py_None;
38598 return resultobj;
38599 fail:
38600 return NULL;
38601 }
38602
38603
38604 static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
38605 PyObject *resultobj;
38606 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38607 int result;
38608 PyObject * obj0 = 0 ;
38609 char *kwnames[] = {
38610 (char *) "self", NULL
38611 };
38612
38613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
38614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38616 {
38617 PyThreadState* __tstate = wxPyBeginAllowThreads();
38618 result = (int)(arg1)->GetMargin();
38619
38620 wxPyEndAllowThreads(__tstate);
38621 if (PyErr_Occurred()) SWIG_fail;
38622 }
38623 resultobj = SWIG_FromInt((int)result);
38624 return resultobj;
38625 fail:
38626 return NULL;
38627 }
38628
38629
38630 static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
38631 PyObject *resultobj;
38632 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38633 int arg2 ;
38634 PyObject * obj0 = 0 ;
38635 PyObject * obj1 = 0 ;
38636 char *kwnames[] = {
38637 (char *) "self",(char *) "m", NULL
38638 };
38639
38640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
38641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38643 arg2 = (int) SWIG_AsInt(obj1);
38644 if (PyErr_Occurred()) SWIG_fail;
38645 {
38646 PyThreadState* __tstate = wxPyBeginAllowThreads();
38647 (arg1)->SetMargin(arg2);
38648
38649 wxPyEndAllowThreads(__tstate);
38650 if (PyErr_Occurred()) SWIG_fail;
38651 }
38652 Py_INCREF(Py_None); resultobj = Py_None;
38653 return resultobj;
38654 fail:
38655 return NULL;
38656 }
38657
38658
38659 static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
38660 PyObject *resultobj;
38661 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38662 int result;
38663 PyObject * obj0 = 0 ;
38664 char *kwnames[] = {
38665 (char *) "self", NULL
38666 };
38667
38668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
38669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38671 {
38672 PyThreadState* __tstate = wxPyBeginAllowThreads();
38673 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
38674
38675 wxPyEndAllowThreads(__tstate);
38676 if (PyErr_Occurred()) SWIG_fail;
38677 }
38678 resultobj = SWIG_FromInt((int)result);
38679 return resultobj;
38680 fail:
38681 return NULL;
38682 }
38683
38684
38685 static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) {
38686 PyObject *resultobj;
38687 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38688 int result;
38689 PyObject * obj0 = 0 ;
38690 char *kwnames[] = {
38691 (char *) "self", NULL
38692 };
38693
38694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
38695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38697 {
38698 PyThreadState* __tstate = wxPyBeginAllowThreads();
38699 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
38700
38701 wxPyEndAllowThreads(__tstate);
38702 if (PyErr_Occurred()) SWIG_fail;
38703 }
38704 resultobj = SWIG_FromInt((int)result);
38705 return resultobj;
38706 fail:
38707 return NULL;
38708 }
38709
38710
38711 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) {
38712 PyObject *resultobj;
38713 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38714 int result;
38715 PyObject * obj0 = 0 ;
38716 char *kwnames[] = {
38717 (char *) "self", NULL
38718 };
38719
38720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
38721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38723 {
38724 PyThreadState* __tstate = wxPyBeginAllowThreads();
38725 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
38726
38727 wxPyEndAllowThreads(__tstate);
38728 if (PyErr_Occurred()) SWIG_fail;
38729 }
38730 resultobj = SWIG_FromInt((int)result);
38731 return resultobj;
38732 fail:
38733 return NULL;
38734 }
38735
38736
38737 static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) {
38738 PyObject *resultobj;
38739 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38740 bool result;
38741 PyObject * obj0 = 0 ;
38742 char *kwnames[] = {
38743 (char *) "self", NULL
38744 };
38745
38746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
38747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38749 {
38750 PyThreadState* __tstate = wxPyBeginAllowThreads();
38751 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
38752
38753 wxPyEndAllowThreads(__tstate);
38754 if (PyErr_Occurred()) SWIG_fail;
38755 }
38756 {
38757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38758 }
38759 return resultobj;
38760 fail:
38761 return NULL;
38762 }
38763
38764
38765 static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) {
38766 PyObject *resultobj;
38767 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38768 bool arg2 ;
38769 PyObject * obj0 = 0 ;
38770 PyObject * obj1 = 0 ;
38771 char *kwnames[] = {
38772 (char *) "self",(char *) "d", NULL
38773 };
38774
38775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
38776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38778 arg2 = (bool) SWIG_AsBool(obj1);
38779 if (PyErr_Occurred()) SWIG_fail;
38780 {
38781 PyThreadState* __tstate = wxPyBeginAllowThreads();
38782 (arg1)->SetDone(arg2);
38783
38784 wxPyEndAllowThreads(__tstate);
38785 if (PyErr_Occurred()) SWIG_fail;
38786 }
38787 Py_INCREF(Py_None); resultobj = Py_None;
38788 return resultobj;
38789 fail:
38790 return NULL;
38791 }
38792
38793
38794 static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
38795 PyObject *resultobj;
38796 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38797 int result;
38798 PyObject * obj0 = 0 ;
38799 char *kwnames[] = {
38800 (char *) "self", NULL
38801 };
38802
38803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
38804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38806 {
38807 PyThreadState* __tstate = wxPyBeginAllowThreads();
38808 result = (int)(arg1)->GetRelationship();
38809
38810 wxPyEndAllowThreads(__tstate);
38811 if (PyErr_Occurred()) SWIG_fail;
38812 }
38813 resultobj = SWIG_FromInt((int)result);
38814 return resultobj;
38815 fail:
38816 return NULL;
38817 }
38818
38819
38820 static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
38821 PyObject *resultobj;
38822 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38823 int arg2 ;
38824 PyObject * obj0 = 0 ;
38825 PyObject * obj1 = 0 ;
38826 char *kwnames[] = {
38827 (char *) "self",(char *) "r", NULL
38828 };
38829
38830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
38831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38833 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38834 if (PyErr_Occurred()) SWIG_fail;
38835 {
38836 PyThreadState* __tstate = wxPyBeginAllowThreads();
38837 (arg1)->SetRelationship((wxRelationship )arg2);
38838
38839 wxPyEndAllowThreads(__tstate);
38840 if (PyErr_Occurred()) SWIG_fail;
38841 }
38842 Py_INCREF(Py_None); resultobj = Py_None;
38843 return resultobj;
38844 fail:
38845 return NULL;
38846 }
38847
38848
38849 static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) {
38850 PyObject *resultobj;
38851 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38852 wxWindow *arg2 = (wxWindow *) 0 ;
38853 bool result;
38854 PyObject * obj0 = 0 ;
38855 PyObject * obj1 = 0 ;
38856 char *kwnames[] = {
38857 (char *) "self",(char *) "otherW", NULL
38858 };
38859
38860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
38861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38865 {
38866 PyThreadState* __tstate = wxPyBeginAllowThreads();
38867 result = (bool)(arg1)->ResetIfWin(arg2);
38868
38869 wxPyEndAllowThreads(__tstate);
38870 if (PyErr_Occurred()) SWIG_fail;
38871 }
38872 {
38873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38874 }
38875 return resultobj;
38876 fail:
38877 return NULL;
38878 }
38879
38880
38881 static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
38882 PyObject *resultobj;
38883 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38884 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
38885 wxWindow *arg3 = (wxWindow *) 0 ;
38886 bool result;
38887 PyObject * obj0 = 0 ;
38888 PyObject * obj1 = 0 ;
38889 PyObject * obj2 = 0 ;
38890 char *kwnames[] = {
38891 (char *) "self",(char *) "constraints",(char *) "win", NULL
38892 };
38893
38894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
38895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38897 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
38898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38899 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38901 {
38902 PyThreadState* __tstate = wxPyBeginAllowThreads();
38903 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
38904
38905 wxPyEndAllowThreads(__tstate);
38906 if (PyErr_Occurred()) SWIG_fail;
38907 }
38908 {
38909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38910 }
38911 return resultobj;
38912 fail:
38913 return NULL;
38914 }
38915
38916
38917 static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
38918 PyObject *resultobj;
38919 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38920 int arg2 ;
38921 wxWindow *arg3 = (wxWindow *) 0 ;
38922 wxWindow *arg4 = (wxWindow *) 0 ;
38923 int result;
38924 PyObject * obj0 = 0 ;
38925 PyObject * obj1 = 0 ;
38926 PyObject * obj2 = 0 ;
38927 PyObject * obj3 = 0 ;
38928 char *kwnames[] = {
38929 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38930 };
38931
38932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
38933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38935 arg2 = (wxEdge) SWIG_AsInt(obj1);
38936 if (PyErr_Occurred()) SWIG_fail;
38937 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38939 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
38940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38941 {
38942 PyThreadState* __tstate = wxPyBeginAllowThreads();
38943 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
38944
38945 wxPyEndAllowThreads(__tstate);
38946 if (PyErr_Occurred()) SWIG_fail;
38947 }
38948 resultobj = SWIG_FromInt((int)result);
38949 return resultobj;
38950 fail:
38951 return NULL;
38952 }
38953
38954
38955 static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) {
38956 PyObject *obj;
38957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38958 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
38959 Py_INCREF(obj);
38960 return Py_BuildValue((char *)"");
38961 }
38962 static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) {
38963 PyObject *resultobj;
38964 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38965 wxIndividualLayoutConstraint *result;
38966 PyObject * obj0 = 0 ;
38967 char *kwnames[] = {
38968 (char *) "self", NULL
38969 };
38970
38971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
38972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38974 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
38975
38976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
38977 return resultobj;
38978 fail:
38979 return NULL;
38980 }
38981
38982
38983 static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) {
38984 PyObject *resultobj;
38985 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38986 wxIndividualLayoutConstraint *result;
38987 PyObject * obj0 = 0 ;
38988 char *kwnames[] = {
38989 (char *) "self", NULL
38990 };
38991
38992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
38993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38995 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
38996
38997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
38998 return resultobj;
38999 fail:
39000 return NULL;
39001 }
39002
39003
39004 static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) {
39005 PyObject *resultobj;
39006 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39007 wxIndividualLayoutConstraint *result;
39008 PyObject * obj0 = 0 ;
39009 char *kwnames[] = {
39010 (char *) "self", NULL
39011 };
39012
39013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
39014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39016 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39017
39018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39019 return resultobj;
39020 fail:
39021 return NULL;
39022 }
39023
39024
39025 static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) {
39026 PyObject *resultobj;
39027 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39028 wxIndividualLayoutConstraint *result;
39029 PyObject * obj0 = 0 ;
39030 char *kwnames[] = {
39031 (char *) "self", NULL
39032 };
39033
39034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
39035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39037 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
39038
39039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39040 return resultobj;
39041 fail:
39042 return NULL;
39043 }
39044
39045
39046 static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
39047 PyObject *resultobj;
39048 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39049 wxIndividualLayoutConstraint *result;
39050 PyObject * obj0 = 0 ;
39051 char *kwnames[] = {
39052 (char *) "self", NULL
39053 };
39054
39055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
39056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39058 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
39059
39060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39061 return resultobj;
39062 fail:
39063 return NULL;
39064 }
39065
39066
39067 static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
39068 PyObject *resultobj;
39069 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39070 wxIndividualLayoutConstraint *result;
39071 PyObject * obj0 = 0 ;
39072 char *kwnames[] = {
39073 (char *) "self", NULL
39074 };
39075
39076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
39077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39079 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
39080
39081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39082 return resultobj;
39083 fail:
39084 return NULL;
39085 }
39086
39087
39088 static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) {
39089 PyObject *resultobj;
39090 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39091 wxIndividualLayoutConstraint *result;
39092 PyObject * obj0 = 0 ;
39093 char *kwnames[] = {
39094 (char *) "self", NULL
39095 };
39096
39097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
39098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39100 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
39101
39102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39103 return resultobj;
39104 fail:
39105 return NULL;
39106 }
39107
39108
39109 static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) {
39110 PyObject *resultobj;
39111 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39112 wxIndividualLayoutConstraint *result;
39113 PyObject * obj0 = 0 ;
39114 char *kwnames[] = {
39115 (char *) "self", NULL
39116 };
39117
39118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
39119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39121 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
39122
39123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
39124 return resultobj;
39125 fail:
39126 return NULL;
39127 }
39128
39129
39130 static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
39131 PyObject *resultobj;
39132 wxLayoutConstraints *result;
39133 char *kwnames[] = {
39134 NULL
39135 };
39136
39137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
39138 {
39139 PyThreadState* __tstate = wxPyBeginAllowThreads();
39140 result = (wxLayoutConstraints *)new wxLayoutConstraints();
39141
39142 wxPyEndAllowThreads(__tstate);
39143 if (PyErr_Occurred()) SWIG_fail;
39144 }
39145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
39146 return resultobj;
39147 fail:
39148 return NULL;
39149 }
39150
39151
39152 static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
39153 PyObject *resultobj;
39154 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39155 wxWindow *arg2 = (wxWindow *) 0 ;
39156 int *arg3 = (int *) 0 ;
39157 bool result;
39158 int temp3 ;
39159 PyObject * obj0 = 0 ;
39160 PyObject * obj1 = 0 ;
39161 char *kwnames[] = {
39162 (char *) "self",(char *) "win", NULL
39163 };
39164
39165 arg3 = &temp3;
39166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
39167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39171 {
39172 PyThreadState* __tstate = wxPyBeginAllowThreads();
39173 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
39174
39175 wxPyEndAllowThreads(__tstate);
39176 if (PyErr_Occurred()) SWIG_fail;
39177 }
39178 {
39179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39180 }
39181 {
39182 PyObject *o = PyInt_FromLong((long) (*arg3));
39183 resultobj = t_output_helper(resultobj,o);
39184 }
39185 return resultobj;
39186 fail:
39187 return NULL;
39188 }
39189
39190
39191 static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) {
39192 PyObject *resultobj;
39193 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39194 bool result;
39195 PyObject * obj0 = 0 ;
39196 char *kwnames[] = {
39197 (char *) "self", NULL
39198 };
39199
39200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
39201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39203 {
39204 PyThreadState* __tstate = wxPyBeginAllowThreads();
39205 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
39206
39207 wxPyEndAllowThreads(__tstate);
39208 if (PyErr_Occurred()) SWIG_fail;
39209 }
39210 {
39211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39212 }
39213 return resultobj;
39214 fail:
39215 return NULL;
39216 }
39217
39218
39219 static PyObject * LayoutConstraints_swigregister(PyObject *, PyObject *args) {
39220 PyObject *obj;
39221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39222 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
39223 Py_INCREF(obj);
39224 return Py_BuildValue((char *)"");
39225 }
39226 static PyMethodDef SwigMethods[] = {
39227 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS, NULL },
39228 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS, NULL },
39229 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
39230 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
39231 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL },
39232 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
39233 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
39234 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
39235 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
39236 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS, NULL },
39237 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS, NULL },
39238 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
39239 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
39240 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS, NULL },
39241 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
39242 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL },
39243 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL },
39244 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL },
39245 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39246 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39247 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39248 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39249 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS, NULL },
39250 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS, NULL },
39251 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
39252 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
39253 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
39254 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
39255 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
39256 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
39257 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
39258 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
39259 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL },
39260 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
39261 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
39262 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL },
39263 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS, NULL },
39264 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
39265 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
39266 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
39267 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
39268 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS, NULL },
39269 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS, NULL },
39270 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
39271 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
39272 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS, NULL },
39273 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
39274 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
39275 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
39276 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS, NULL },
39277 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS, NULL },
39278 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS, NULL },
39279 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
39280 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL },
39281 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL },
39282 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
39283 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
39284 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL },
39285 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
39286 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS, NULL },
39287 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39288 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39289 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39290 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39291 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39292 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39293 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39294 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39295 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
39296 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
39297 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
39298 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
39299 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
39300 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL },
39301 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
39302 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL },
39303 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
39304 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL },
39305 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL },
39306 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
39307 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL },
39308 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL },
39309 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL },
39310 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS, NULL },
39311 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL },
39312 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS, NULL },
39313 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
39314 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
39315 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
39316 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL },
39317 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL },
39318 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL },
39319 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
39320 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
39321 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
39322 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
39323 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
39324 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
39325 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
39326 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
39327 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS, NULL },
39328 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS, NULL },
39329 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS, NULL },
39330 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL },
39331 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS, NULL },
39332 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS, NULL },
39333 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
39334 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL },
39335 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL },
39336 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
39337 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
39338 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
39339 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
39340 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL },
39341 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL },
39342 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL },
39343 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL },
39344 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
39345 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
39346 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
39347 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
39348 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL },
39349 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
39350 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
39351 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
39352 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
39353 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
39354 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
39355 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS, NULL },
39356 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS, NULL },
39357 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS, NULL },
39358 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL },
39359 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS, NULL },
39360 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS, NULL },
39361 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS, NULL },
39362 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS, NULL },
39363 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS, NULL },
39364 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS, NULL },
39365 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS, NULL },
39366 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS, NULL },
39367 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS, NULL },
39368 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS, NULL },
39369 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS, NULL },
39370 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
39371 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS, NULL },
39372 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS, NULL },
39373 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS, NULL },
39374 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS, NULL },
39375 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS, NULL },
39376 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL },
39377 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS, NULL },
39378 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
39379 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
39380 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL },
39381 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
39382 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL },
39383 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
39384 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL },
39385 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS, NULL },
39386 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS, NULL },
39387 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39388 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
39389 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
39390 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
39391 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
39392 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
39393 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS, NULL },
39394 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS, NULL },
39395 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
39396 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS, NULL },
39397 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS, NULL },
39398 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS, NULL },
39399 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
39400 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
39401 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL },
39402 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
39403 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
39404 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
39405 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
39406 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39407 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
39408 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL },
39409 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL },
39410 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL },
39411 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39412 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
39413 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
39414 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS, NULL },
39415 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39416 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
39417 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
39418 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
39419 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
39420 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS, NULL },
39421 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS, NULL },
39422 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
39423 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS, NULL },
39424 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39425 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL },
39426 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
39427 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
39428 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
39429 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
39430 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS, NULL },
39431 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
39432 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
39433 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
39434 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
39435 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
39436 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
39437 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
39438 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
39439 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
39440 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL },
39441 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
39442 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL },
39443 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
39444 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL },
39445 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL },
39446 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL },
39447 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL },
39448 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS, NULL },
39449 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS, NULL },
39450 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS, NULL },
39451 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
39452 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS, NULL },
39453 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS, NULL },
39454 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
39455 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS, NULL },
39456 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL },
39457 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS, NULL },
39458 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
39459 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS, NULL },
39460 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL },
39461 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL },
39462 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
39463 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
39464 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
39465 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
39466 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
39467 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
39468 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL },
39469 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
39470 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
39471 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
39472 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
39473 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL },
39474 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL },
39475 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL },
39476 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
39477 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39478 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39479 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL },
39480 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
39481 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
39482 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
39483 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
39484 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
39485 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
39486 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
39487 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
39488 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
39489 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
39490 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL },
39491 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL },
39492 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL },
39493 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL },
39494 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
39495 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS, NULL },
39496 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS, NULL },
39497 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL },
39498 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL },
39499 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
39500 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL },
39501 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
39502 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
39503 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
39504 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
39505 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
39506 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS, NULL },
39507 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
39508 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39509 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39510 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39511 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
39512 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
39513 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
39514 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL },
39515 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
39516 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39517 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL },
39518 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39519 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS, NULL },
39520 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39521 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS, NULL },
39522 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39523 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS, NULL },
39524 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39525 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS, NULL },
39526 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39527 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS, NULL },
39528 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39529 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS, NULL },
39530 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39531 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS, NULL },
39532 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39533 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS, NULL },
39534 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39535 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS, NULL },
39536 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39537 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS, NULL },
39538 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39539 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39540 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39541 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39542 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39543 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39544 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39545 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39546 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39547 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
39548 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL },
39549 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL },
39550 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
39551 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS, NULL },
39552 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS, NULL },
39553 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS, NULL },
39554 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
39555 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
39556 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
39557 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
39558 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
39559 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
39560 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
39561 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
39562 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39563 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS, NULL },
39564 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL },
39565 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL },
39566 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL },
39567 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL },
39568 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
39569 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL },
39570 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
39571 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
39572 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS, NULL },
39573 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
39574 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
39575 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS, NULL },
39576 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39577 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
39578 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
39579 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
39580 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
39581 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL },
39582 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
39583 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
39584 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL },
39585 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL },
39586 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
39587 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS, NULL },
39588 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39589 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
39590 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL },
39591 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL },
39592 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS, NULL },
39593 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39594 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
39595 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39596 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
39597 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39598 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS, NULL },
39599 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39600 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
39601 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39602 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
39603 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39604 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS, NULL },
39605 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39606 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
39607 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
39608 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL },
39609 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
39610 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL },
39611 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
39612 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL },
39613 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
39614 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
39615 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
39616 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
39617 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL },
39618 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL },
39619 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL },
39620 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL },
39621 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL },
39622 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL },
39623 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL },
39624 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL },
39625 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL },
39626 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
39627 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
39628 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
39629 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL },
39630 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL },
39631 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL },
39632 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL },
39633 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39634 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39635 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39636 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
39637 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
39638 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL },
39639 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL },
39640 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL },
39641 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL },
39642 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
39643 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
39644 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
39645 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
39646 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39647 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39648 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39649 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39650 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39651 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39652 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39653 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39654 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39655 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39656 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39657 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39658 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39659 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39660 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL },
39661 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL },
39662 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL },
39663 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL },
39664 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL },
39665 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL },
39666 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS, NULL },
39667 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39668 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
39669 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
39670 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
39671 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
39672 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL },
39673 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS, NULL },
39674 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39675 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
39676 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
39677 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
39678 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
39679 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL },
39680 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
39681 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS, NULL },
39682 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
39683 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL },
39684 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39685 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39686 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
39687 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
39688 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
39689 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
39690 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
39691 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
39692 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
39693 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
39694 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39695 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39696 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39697 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39698 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39699 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39700 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39701 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39702 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
39703 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
39704 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
39705 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
39706 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL },
39707 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL },
39708 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS, NULL },
39709 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39710 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39711 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39712 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39713 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39714 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL },
39715 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL },
39716 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
39717 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
39718 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS, NULL },
39719 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39720 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39721 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39722 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39723 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39724 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
39725 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
39726 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
39727 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
39728 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS, NULL },
39729 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39730 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS, NULL },
39731 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39732 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS, NULL },
39733 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39734 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
39735 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS, NULL },
39736 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39737 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39738 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39739 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS, NULL },
39740 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39741 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39742 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS, NULL },
39743 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39744 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL },
39745 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS, NULL },
39746 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39747 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS, NULL },
39748 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39749 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL },
39750 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL },
39751 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39752 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS, NULL },
39753 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39754 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
39755 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
39756 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
39757 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
39758 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
39759 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL },
39760 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL },
39761 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39762 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL },
39763 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL },
39764 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS, NULL },
39765 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39766 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL },
39767 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS, NULL },
39768 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39769 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS, NULL },
39770 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39771 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL },
39772 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL },
39773 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS, NULL },
39774 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39775 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
39776 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39777 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
39778 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL },
39779 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
39780 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39781 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL },
39782 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
39783 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
39784 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
39785 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
39786 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL },
39787 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL },
39788 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
39789 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
39790 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS, NULL },
39791 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39792 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS, NULL },
39793 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39794 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39795 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL },
39796 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39797 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS, NULL },
39798 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39799 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39800 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39801 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS, NULL },
39802 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39803 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
39804 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
39805 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS, NULL },
39806 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39807 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
39808 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
39809 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
39810 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
39811 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
39812 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
39813 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS, NULL },
39814 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39815 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39816 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS, NULL },
39817 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39818 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39819 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS, NULL },
39820 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39821 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39822 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39823 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS, NULL },
39824 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39825 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL },
39826 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL },
39827 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
39828 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
39829 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL },
39830 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL },
39831 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39832 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39833 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
39834 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
39835 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL },
39836 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39837 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39838 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
39839 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
39840 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL },
39841 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
39842 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
39843 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
39844 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
39845 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
39846 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
39847 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
39848 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
39849 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
39850 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL },
39851 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
39852 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
39853 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
39854 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
39855 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
39856 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
39857 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL },
39858 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL },
39859 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL },
39860 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL },
39861 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
39862 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39863 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39864 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
39865 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
39866 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
39867 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
39868 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
39869 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
39870 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
39871 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
39872 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
39873 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39874 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39875 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39876 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
39877 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
39878 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39879 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39880 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39881 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
39882 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL },
39883 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL },
39884 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL },
39885 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
39886 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
39887 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL },
39888 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS, NULL },
39889 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
39890 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39891 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL },
39892 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL },
39893 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
39894 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
39895 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL },
39896 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
39897 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
39898 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
39899 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
39900 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
39901 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS, NULL },
39902 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
39903 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
39904 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
39905 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS, NULL },
39906 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL },
39907 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL },
39908 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39909 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS, NULL },
39910 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS, NULL },
39911 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
39912 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL },
39913 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL },
39914 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
39915 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
39916 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39917 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39918 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
39919 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
39920 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
39921 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
39922 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
39923 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
39924 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL },
39925 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL },
39926 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL },
39927 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39928 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL },
39929 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39930 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
39931 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS, NULL },
39932 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
39933 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS, NULL },
39934 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS, NULL },
39935 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
39936 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
39937 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
39938 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39939 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39940 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39941 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39942 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39943 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
39944 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39945 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
39946 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
39947 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
39948 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39949 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
39950 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL },
39951 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL },
39952 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL },
39953 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
39954 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
39955 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
39956 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
39957 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39958 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39959 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39960 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39961 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
39962 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
39963 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
39964 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
39965 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39966 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
39967 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS, NULL },
39968 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
39969 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
39970 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS, NULL },
39971 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
39972 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39973 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
39974 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
39975 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
39976 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL },
39977 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
39978 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
39979 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL },
39980 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39981 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39982 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL },
39983 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL },
39984 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL },
39985 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
39986 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
39987 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
39988 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
39989 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
39990 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
39991 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
39992 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL },
39993 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL },
39994 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS, NULL },
39995 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
39996 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
39997 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
39998 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
39999 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40000 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40001 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40002 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40003 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40004 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
40005 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
40006 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
40007 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
40008 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
40009 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
40010 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
40011 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
40012 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL },
40013 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL },
40014 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
40015 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
40016 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL },
40017 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL },
40018 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL },
40019 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
40020 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL },
40021 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS, NULL },
40022 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL },
40023 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS, NULL },
40024 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL },
40025 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS, NULL },
40026 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS, NULL },
40027 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
40028 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL },
40029 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
40030 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL },
40031 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40032 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL },
40033 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
40034 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
40035 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
40036 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
40037 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
40038 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
40039 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
40040 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
40041 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
40042 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
40043 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40044 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40045 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
40046 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
40047 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL },
40048 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL },
40049 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL },
40050 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL },
40051 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
40052 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
40053 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS, NULL },
40054 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL },
40055 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL },
40056 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40057 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL },
40058 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
40059 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
40060 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
40061 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
40062 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL },
40063 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL },
40064 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40065 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
40066 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
40067 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS, NULL },
40068 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS, NULL },
40069 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS, NULL },
40070 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS, NULL },
40071 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
40072 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL },
40073 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
40074 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL },
40075 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
40076 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
40077 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
40078 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
40079 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
40080 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
40081 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
40082 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
40083 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
40084 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40085 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL },
40086 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40087 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40088 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40089 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS, NULL },
40090 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
40091 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
40092 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL },
40093 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL },
40094 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS, NULL },
40095 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
40096 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
40097 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40098 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40099 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40100 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40101 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL },
40102 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL },
40103 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS, NULL },
40104 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS, NULL },
40105 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
40106 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS, NULL },
40107 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS, NULL },
40108 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS, NULL },
40109 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
40110 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
40111 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
40112 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40113 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
40114 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS, NULL },
40115 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
40116 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
40117 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
40118 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
40119 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
40120 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40121 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
40122 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
40123 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
40124 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
40125 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
40126 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40127 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
40128 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL },
40129 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
40130 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
40131 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
40132 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL },
40133 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL },
40134 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
40135 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL },
40136 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
40137 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
40138 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40139 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
40140 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
40141 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS, NULL },
40142 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
40143 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
40144 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
40145 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
40146 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
40147 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
40148 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
40149 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40150 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40151 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40152 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40153 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
40154 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL },
40155 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
40156 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
40157 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
40158 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
40159 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
40160 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
40161 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL },
40162 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
40163 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL },
40164 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
40165 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL },
40166 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40167 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
40168 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
40169 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL },
40170 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL },
40171 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
40172 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
40173 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
40174 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
40175 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40176 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
40177 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL },
40178 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
40179 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
40180 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
40181 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
40182 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
40183 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
40184 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
40185 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
40186 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
40187 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
40188 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL },
40189 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
40190 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40191 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40192 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
40193 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
40194 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
40195 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
40196 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
40197 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
40198 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL },
40199 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
40200 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
40201 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
40202 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40203 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40204 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40205 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
40206 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
40207 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL },
40208 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
40209 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
40210 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
40211 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
40212 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
40213 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
40214 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40215 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
40216 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
40217 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL },
40218 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL },
40219 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL },
40220 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL },
40221 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL },
40222 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
40223 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
40224 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS, NULL },
40225 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL },
40226 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL },
40227 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
40228 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
40229 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
40230 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
40231 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
40232 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
40233 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL },
40234 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
40235 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
40236 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL },
40237 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
40238 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
40239 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
40240 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
40241 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS, NULL },
40242 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS, NULL },
40243 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
40244 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
40245 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40246 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40247 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
40248 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40249 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40250 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
40251 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
40252 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
40253 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL },
40254 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL },
40255 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL },
40256 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
40257 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
40258 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40259 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40260 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
40261 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
40262 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
40263 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
40264 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
40265 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
40266 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
40267 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40268 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40269 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40270 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40271 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
40272 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
40273 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL },
40274 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
40275 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40276 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL },
40277 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL },
40278 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
40279 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
40280 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
40281 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
40282 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
40283 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
40284 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
40285 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
40286 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
40287 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
40288 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
40289 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40290 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40291 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
40292 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
40293 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
40294 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
40295 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
40296 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
40297 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
40298 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
40299 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
40300 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
40301 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
40302 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS, NULL },
40303 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
40304 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
40305 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL },
40306 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS, NULL },
40307 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS, NULL },
40308 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
40309 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS, NULL },
40310 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40311 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
40312 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
40313 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
40314 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
40315 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL },
40316 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40317 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
40318 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
40319 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
40320 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS, NULL },
40321 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40322 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
40323 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
40324 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL },
40325 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
40326 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
40327 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
40328 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL },
40329 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL },
40330 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
40331 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
40332 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS, NULL },
40333 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40334 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
40335 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
40336 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
40337 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
40338 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
40339 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
40340 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
40341 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
40342 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
40343 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
40344 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL },
40345 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL },
40346 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS, NULL },
40347 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40348 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
40349 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
40350 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL },
40351 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL },
40352 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40353 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40354 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40355 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40356 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS, NULL },
40357 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL },
40358 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
40359 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
40360 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
40361 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
40362 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40363 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40364 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40365 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40366 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS, NULL },
40367 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
40368 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40369 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40370 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
40371 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL },
40372 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
40373 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL },
40374 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
40375 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS, NULL },
40376 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL },
40377 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40378 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40379 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS, NULL },
40380 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL },
40381 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
40382 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
40383 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
40384 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
40385 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS, NULL },
40386 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS, NULL },
40387 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS, NULL },
40388 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS, NULL },
40389 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS, NULL },
40390 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40391 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40392 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS, NULL },
40393 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
40394 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
40395 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS, NULL },
40396 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS, NULL },
40397 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40398 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL },
40399 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL },
40400 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL },
40401 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL },
40402 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL },
40403 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL },
40404 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL },
40405 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL },
40406 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL },
40407 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40408 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL },
40409 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
40410 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
40411 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
40412 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
40413 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
40414 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL },
40415 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL },
40416 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL },
40417 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL },
40418 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
40419 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
40420 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL },
40421 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL },
40422 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
40423 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS, NULL },
40424 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL },
40425 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL },
40426 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL },
40427 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL },
40428 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
40429 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
40430 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL },
40431 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL },
40432 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
40433 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
40434 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL },
40435 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS, NULL },
40436 { NULL, NULL, 0, NULL }
40437 };
40438
40439
40440 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40441
40442 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
40443 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
40444 }
40445 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
40446 return (void *)((wxSizer *) ((wxBoxSizer *) x));
40447 }
40448 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
40449 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
40450 }
40451 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
40452 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
40453 }
40454 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
40455 return (void *)((wxSizer *) ((wxGridSizer *) x));
40456 }
40457 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
40458 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
40459 }
40460 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
40461 return (void *)((wxSizer *) ((wxPySizer *) x));
40462 }
40463 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
40464 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
40465 }
40466 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
40467 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
40468 }
40469 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
40470 return (void *)((wxEvent *) ((wxMenuEvent *) x));
40471 }
40472 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
40473 return (void *)((wxEvent *) ((wxCloseEvent *) x));
40474 }
40475 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
40476 return (void *)((wxEvent *) ((wxMouseEvent *) x));
40477 }
40478 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
40479 return (void *)((wxEvent *) ((wxEraseEvent *) x));
40480 }
40481 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
40482 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
40483 }
40484 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
40485 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
40486 }
40487 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
40488 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
40489 }
40490 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
40491 return (void *)((wxEvent *) ((wxPyEvent *) x));
40492 }
40493 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
40494 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
40495 }
40496 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
40497 return (void *)((wxEvent *) ((wxIdleEvent *) x));
40498 }
40499 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
40500 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
40501 }
40502 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
40503 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
40504 }
40505 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
40506 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
40507 }
40508 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
40509 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
40510 }
40511 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
40512 return (void *)((wxEvent *) ((wxActivateEvent *) x));
40513 }
40514 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
40515 return (void *)((wxEvent *) ((wxSizeEvent *) x));
40516 }
40517 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
40518 return (void *)((wxEvent *) ((wxMoveEvent *) x));
40519 }
40520 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
40521 return (void *)((wxEvent *) ((wxPaintEvent *) x));
40522 }
40523 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
40524 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
40525 }
40526 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
40527 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
40528 }
40529 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
40530 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
40531 }
40532 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
40533 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
40534 }
40535 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
40536 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
40537 }
40538 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
40539 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
40540 }
40541 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
40542 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
40543 }
40544 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
40545 return (void *)((wxEvent *) ((wxFocusEvent *) x));
40546 }
40547 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
40548 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
40549 }
40550 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
40551 return (void *)((wxEvent *) ((wxShowEvent *) x));
40552 }
40553 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
40554 return (void *)((wxEvent *) ((wxCommandEvent *) x));
40555 }
40556 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
40557 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
40558 }
40559 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
40560 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40561 }
40562 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
40563 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
40564 }
40565 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
40566 return (void *)((wxEvent *) ((wxKeyEvent *) x));
40567 }
40568 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
40569 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
40570 }
40571 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
40572 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
40573 }
40574 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
40575 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
40576 }
40577 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
40578 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
40579 }
40580 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
40581 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
40582 }
40583 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
40584 return (void *)((wxControl *) ((wxControlWithItems *) x));
40585 }
40586 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
40587 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
40588 }
40589 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
40590 return (void *)((wxEvtHandler *) ((wxWindow *) x));
40591 }
40592 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
40593 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
40594 }
40595 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
40596 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
40597 }
40598 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
40599 return (void *)((wxEvtHandler *) ((wxValidator *) x));
40600 }
40601 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
40602 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
40603 }
40604 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
40605 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
40606 }
40607 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
40608 return (void *)((wxEvtHandler *) ((wxMenu *) x));
40609 }
40610 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
40611 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
40612 }
40613 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
40614 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
40615 }
40616 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
40617 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
40618 }
40619 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
40620 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
40621 }
40622 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
40623 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
40624 }
40625 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
40626 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40627 }
40628 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
40629 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
40630 }
40631 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
40632 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
40633 }
40634 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
40635 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
40636 }
40637 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
40638 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40639 }
40640 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
40641 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
40642 }
40643 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
40644 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
40645 }
40646 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
40647 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
40648 }
40649 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
40650 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
40651 }
40652 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
40653 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
40654 }
40655 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
40656 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
40657 }
40658 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
40659 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
40660 }
40661 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
40662 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
40663 }
40664 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
40665 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
40666 }
40667 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
40668 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
40669 }
40670 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
40671 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
40672 }
40673 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
40674 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
40675 }
40676 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
40677 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
40678 }
40679 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
40680 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
40681 }
40682 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
40683 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
40684 }
40685 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
40686 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
40687 }
40688 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
40689 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
40690 }
40691 static void *_p_wxValidatorTo_p_wxObject(void *x) {
40692 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
40693 }
40694 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
40695 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
40696 }
40697 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
40698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
40699 }
40700 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
40701 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
40702 }
40703 static void *_p_wxSizerTo_p_wxObject(void *x) {
40704 return (void *)((wxObject *) ((wxSizer *) x));
40705 }
40706 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
40707 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
40708 }
40709 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
40710 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
40711 }
40712 static void *_p_wxMenuTo_p_wxObject(void *x) {
40713 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
40714 }
40715 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
40716 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
40717 }
40718 static void *_p_wxImageTo_p_wxObject(void *x) {
40719 return (void *)((wxObject *) ((wxImage *) x));
40720 }
40721 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
40722 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
40723 }
40724 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
40725 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
40726 }
40727 static void *_p_wxPyEventTo_p_wxObject(void *x) {
40728 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
40729 }
40730 static void *_p_wxWindowTo_p_wxObject(void *x) {
40731 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
40732 }
40733 static void *_p_wxControlTo_p_wxObject(void *x) {
40734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
40735 }
40736 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
40737 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
40738 }
40739 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
40740 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
40741 }
40742 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
40743 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
40744 }
40745 static void *_p_wxPyAppTo_p_wxObject(void *x) {
40746 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
40747 }
40748 static void *_p_wxEventTo_p_wxObject(void *x) {
40749 return (void *)((wxObject *) ((wxEvent *) x));
40750 }
40751 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
40752 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
40753 }
40754 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
40755 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
40756 }
40757 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
40758 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
40759 }
40760 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
40761 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
40762 }
40763 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
40764 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
40765 }
40766 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
40767 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
40768 }
40769 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
40770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
40771 }
40772 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
40773 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
40774 }
40775 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
40776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
40777 }
40778 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
40779 return (void *)((wxObject *) ((wxEvtHandler *) x));
40780 }
40781 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
40782 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
40783 }
40784 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
40785 return (void *)((wxObject *) ((wxImageHandler *) x));
40786 }
40787 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
40788 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
40789 }
40790 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
40791 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
40792 }
40793 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
40794 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
40795 }
40796 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
40797 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40798 }
40799 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
40800 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
40801 }
40802 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
40803 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
40804 }
40805 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
40806 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
40807 }
40808 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
40809 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
40810 }
40811 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
40812 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
40813 }
40814 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
40815 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
40816 }
40817 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
40818 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
40819 }
40820 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
40821 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
40822 }
40823 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
40824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
40825 }
40826 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
40827 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
40828 }
40829 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
40830 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
40831 }
40832 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
40833 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
40834 }
40835 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
40836 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
40837 }
40838 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
40839 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
40840 }
40841 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
40842 return (void *)((wxObject *) ((wxFileSystem *) x));
40843 }
40844 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
40845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
40846 }
40847 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
40848 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
40849 }
40850 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
40851 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
40852 }
40853 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
40854 return (void *)((wxObject *) ((wxSizerItem *) x));
40855 }
40856 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
40857 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
40858 }
40859 static void *_p_wxShowEventTo_p_wxObject(void *x) {
40860 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
40861 }
40862 static void *_p_wxFSFileTo_p_wxObject(void *x) {
40863 return (void *)((wxObject *) ((wxFSFile *) x));
40864 }
40865 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
40866 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
40867 }
40868 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
40869 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
40870 }
40871 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
40872 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
40873 }
40874 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
40875 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
40876 }
40877 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
40878 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40879 }
40880 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
40881 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
40882 }
40883 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
40884 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
40885 }
40886 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
40887 return (void *)((wxObject *) ((wxMenuItem *) x));
40888 }
40889 static void *_p_wxPySizerTo_p_wxObject(void *x) {
40890 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
40891 }
40892 static void *_p_wxControlTo_p_wxWindow(void *x) {
40893 return (void *)((wxWindow *) ((wxControl *) x));
40894 }
40895 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
40896 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
40897 }
40898 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
40899 return (void *)((wxWindow *) ((wxMenuBar *) x));
40900 }
40901 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
40902 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
40903 }
40904 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
40905 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
40906 }
40907 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
40908 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
40909 }
40910 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
40911 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
40912 }
40913 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
40914 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40915 }
40916 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
40917 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
40918 }
40919 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
40920 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
40921 }
40922 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
40923 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
40924 }
40925 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
40926 return (void *)((wxValidator *) ((wxPyValidator *) x));
40927 }
40928 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}};
40929 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}};
40930 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}};
40931 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}};
40932 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}};
40933 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}};
40934 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}};
40935 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}};
40936 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}};
40937 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}};
40938 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}};
40939 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}};
40940 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}};
40941 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}};
40942 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}};
40943 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}};
40944 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}};
40945 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}};
40946 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}};
40947 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}};
40948 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}};
40949 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}};
40950 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}};
40951 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}};
40952 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}};
40953 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}};
40954 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}};
40955 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}};
40956 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}};
40957 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}};
40958 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}};
40959 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}};
40960 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}};
40961 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}};
40962 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}};
40963 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}};
40964 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}};
40965 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}};
40966 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}};
40967 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}};
40968 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}};
40969 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}};
40970 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}};
40971 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}};
40972 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}};
40973 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}};
40974 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}};
40975 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}};
40976 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}};
40977 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}};
40978 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}};
40979 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}};
40980 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}};
40981 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}};
40982 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}};
40983 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}};
40984 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}};
40985 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}};
40986 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}};
40987 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}};
40988 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}};
40989 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}};
40990 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}};
40991 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}};
40992 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}};
40993 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}};
40994 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}};
40995 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}};
40996 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}};
40997 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}};
40998 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}};
40999 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}};
41000 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}};
41001 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}};
41002 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}};
41003 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}};
41004 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}};
41005 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}};
41006 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}};
41007 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}};
41008 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}};
41009 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}};
41010 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}};
41011 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}};
41012 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}};
41013 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}};
41014 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}};
41015 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}};
41016 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}};
41017 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}};
41018 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}};
41019 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}};
41020 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}};
41021 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}};
41022 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}};
41023 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}};
41024 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}};
41025 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}};
41026 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}};
41027 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}};
41028 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}};
41029 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}};
41030 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}};
41031 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}};
41032 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}};
41033 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}};
41034 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}};
41035 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}};
41036 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}};
41037 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}};
41038 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}};
41039 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}};
41040 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}};
41041 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}};
41042
41043 static swig_type_info *swig_types_initial[] = {
41044 _swigt__p_wxLayoutConstraints,
41045 _swigt__p_wxRealPoint,
41046 _swigt__p_wxSizerItem,
41047 _swigt__p_wxGBSizerItem,
41048 _swigt__p_wxScrollEvent,
41049 _swigt__p_wxIndividualLayoutConstraint,
41050 _swigt__p_wxSizer,
41051 _swigt__p_wxBoxSizer,
41052 _swigt__p_wxStaticBoxSizer,
41053 _swigt__p_wxGridBagSizer,
41054 _swigt__p_wxAcceleratorEntry,
41055 _swigt__p_wxUpdateUIEvent,
41056 _swigt__p_wxMenu,
41057 _swigt__p_wxEvent,
41058 _swigt__p_wxGridSizer,
41059 _swigt__p_wxFlexGridSizer,
41060 _swigt__p_wxInitDialogEvent,
41061 _swigt__p_wxItemContainer,
41062 _swigt__p_wxNcPaintEvent,
41063 _swigt__p_wxPaintEvent,
41064 _swigt__p_wxSysColourChangedEvent,
41065 _swigt__p_wxMouseCaptureChangedEvent,
41066 _swigt__p_wxDisplayChangedEvent,
41067 _swigt__p_wxPaletteChangedEvent,
41068 _swigt__p_wxControl,
41069 _swigt__p_wxFont,
41070 _swigt__p_wxMenuBarBase,
41071 _swigt__p_wxSetCursorEvent,
41072 _swigt__p_wxFSFile,
41073 _swigt__p_wxCaret,
41074 _swigt__p_wxRegion,
41075 _swigt__p_wxPoint2D,
41076 _swigt__p_int,
41077 _swigt__p_wxSize,
41078 _swigt__p_wxDC,
41079 _swigt__p_wxPySizer,
41080 _swigt__p_wxNotifyEvent,
41081 _swigt__p_wxPyEvent,
41082 _swigt__p_wxPropagationDisabler,
41083 _swigt__p_wxAppTraits,
41084 _swigt__p_wxArrayString,
41085 _swigt__p_wxShowEvent,
41086 _swigt__p_wxToolTip,
41087 _swigt__p_wxMaximizeEvent,
41088 _swigt__p_wxIconizeEvent,
41089 _swigt__p_wxActivateEvent,
41090 _swigt__p_wxMoveEvent,
41091 _swigt__p_wxSizeEvent,
41092 _swigt__p_wxQueryNewPaletteEvent,
41093 _swigt__p_wxWindowCreateEvent,
41094 _swigt__p_wxIdleEvent,
41095 _swigt__p_wxMenuItem,
41096 _swigt__p_wxStaticBox,
41097 _swigt__p_long,
41098 _swigt__p_wxTIFFHandler,
41099 _swigt__p_wxXPMHandler,
41100 _swigt__p_wxPNMHandler,
41101 _swigt__p_wxJPEGHandler,
41102 _swigt__p_wxPCXHandler,
41103 _swigt__p_wxGIFHandler,
41104 _swigt__p_wxPNGHandler,
41105 _swigt__p_wxANIHandler,
41106 _swigt__p_wxMemoryFSHandler,
41107 _swigt__p_wxEvtHandler,
41108 _swigt__p_wxCURHandler,
41109 _swigt__p_wxICOHandler,
41110 _swigt__p_wxBMPHandler,
41111 _swigt__p_wxImageHandler,
41112 _swigt__p_wxFileSystemHandler,
41113 _swigt__p_wxPyFileSystemHandler,
41114 _swigt__p_wxInternetFSHandler,
41115 _swigt__p_wxZipFSHandler,
41116 _swigt__p_wxRect,
41117 _swigt__p_wxGBSpan,
41118 _swigt__p_wxPropagateOnce,
41119 _swigt__p_wxAcceleratorTable,
41120 _swigt__p_char,
41121 _swigt__p_wxGBPosition,
41122 _swigt__p_wxImage,
41123 _swigt__p_wxFrame,
41124 _swigt__p_wxScrollWinEvent,
41125 _swigt__p_wxImageHistogram,
41126 _swigt__p_byte,
41127 _swigt__p_wxPoint,
41128 _swigt__p_wxCursor,
41129 _swigt__p_wxObject,
41130 _swigt__p_wxPyInputStream,
41131 _swigt__p_wxOutputStream,
41132 _swigt__p_wxInputStream,
41133 _swigt__p_wxDateTime,
41134 _swigt__p_wxKeyEvent,
41135 _swigt__p_wxNavigationKeyEvent,
41136 _swigt__p_wxWindowDestroyEvent,
41137 _swigt__p_wxWindow,
41138 _swigt__p_wxMenuBar,
41139 _swigt__p_wxFileSystem,
41140 _swigt__p_wxBitmap,
41141 _swigt__p_wxMenuEvent,
41142 _swigt__p_wxContextMenuEvent,
41143 _swigt__p_unsigned_char,
41144 _swigt__p_wxCloseEvent,
41145 _swigt__p_wxEraseEvent,
41146 _swigt__p_wxMouseEvent,
41147 _swigt__p_wxPyApp,
41148 _swigt__p_wxCommandEvent,
41149 _swigt__p_wxPyCommandEvent,
41150 _swigt__p_wxPyDropTarget,
41151 _swigt__p_wxChildFocusEvent,
41152 _swigt__p_wxFocusEvent,
41153 _swigt__p_wxDropFilesEvent,
41154 _swigt__p_wxControlWithItems,
41155 _swigt__p_wxColour,
41156 _swigt__p_wxValidator,
41157 _swigt__p_wxPyValidator,
41158 0
41159 };
41160
41161
41162 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41163
41164 static swig_const_info swig_const_table[] = {
41165 {0, 0, 0, 0.0, 0, 0}};
41166
41167 #ifdef __cplusplus
41168 }
41169 #endif
41170
41171 #ifdef __cplusplus
41172 extern "C"
41173 #endif
41174 SWIGEXPORT(void) SWIG_init(void) {
41175 static PyObject *SWIG_globals = 0;
41176 static int typeinit = 0;
41177 PyObject *m, *d;
41178 int i;
41179 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
41180 m = Py_InitModule((char *) SWIG_name, SwigMethods);
41181 d = PyModule_GetDict(m);
41182
41183 if (!typeinit) {
41184 for (i = 0; swig_types_initial[i]; i++) {
41185 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
41186 }
41187 typeinit = 1;
41188 }
41189 SWIG_InstallConstants(d,swig_const_table);
41190
41191
41192 #ifndef wxPyUSE_EXPORT
41193 // Make our API structure a CObject so other modules can import it
41194 // from this module.
41195 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
41196 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
41197 Py_XDECREF(cobj);
41198 #endif
41199
41200 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
41201 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
41202 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
41203 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
41204 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
41205 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
41206 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
41207 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
41208 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
41209 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
41210 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
41211 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
41212 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
41213 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
41214 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
41215 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
41216 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
41217 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
41218 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
41219 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
41220 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
41221 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
41222 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
41223 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
41224 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
41225 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
41226 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
41227 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
41228 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
41229 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
41230 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
41231 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
41232 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
41233 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
41234 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
41235 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
41236 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
41237 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
41238 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
41239 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
41240 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
41241 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
41242 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
41243 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
41244 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
41245 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
41246 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
41247 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
41248 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
41249 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
41250 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
41251 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
41252 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
41253 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
41254 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
41255 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
41256 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
41257 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
41258 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
41259 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
41260 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
41261 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
41262 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
41263 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
41264 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
41265 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
41266 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
41267 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
41268 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
41269 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
41270 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
41271 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
41272 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
41273 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
41274 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
41275 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
41276 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
41277 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
41278 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
41279 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
41280 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
41281 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
41282 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
41283 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
41284 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
41285 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
41286 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
41287 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
41288 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
41289 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
41290 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
41291 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
41292 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
41293 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
41294 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
41295 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
41296 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
41297 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
41298 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
41299 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
41300 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
41301 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
41302 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
41303 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
41304 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
41305 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
41306 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
41307 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
41308 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
41309 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
41310 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
41311 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
41312 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
41313 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
41314 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
41315 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
41316 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
41317 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
41318 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
41319 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
41320 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
41321 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
41322 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
41323 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
41324 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
41325 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
41326 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
41327 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
41328 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
41329 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
41330 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
41331 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
41332 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
41333 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
41334 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
41335 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
41336 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
41337 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
41338 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
41339 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
41340 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
41341 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
41342 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
41343 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
41344 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
41345 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
41346 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
41347 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
41348 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
41349 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
41350 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
41351 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
41352 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
41353 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
41354 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
41355 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
41356 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
41357 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
41358 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
41359 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
41360 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
41361 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
41362 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
41363 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
41364 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
41365 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
41366 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
41367 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
41368 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
41369 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
41370 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
41371 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
41372 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
41373 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
41374 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
41375 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
41376 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
41377 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
41378 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
41379 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
41380 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
41381 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
41382 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
41383 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
41384 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
41385 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
41386 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
41387 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
41388 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
41389 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
41390 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
41391 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
41392 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
41393 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
41394 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
41395 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
41396 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
41397 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
41398 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
41399 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
41400 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
41401 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
41402 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
41403 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
41404 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
41405 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
41406 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
41407 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
41408 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
41409 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
41410 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
41411 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
41412 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
41413 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
41414 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
41415 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
41416 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
41417 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
41418 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
41419 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
41420 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
41421 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
41422 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
41423 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
41424 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
41425 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
41426 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
41427 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
41428 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
41429 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
41430 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
41431 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
41432 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
41433 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
41434 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
41435 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
41436 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
41437 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
41438 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
41439 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
41440 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
41441 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
41442 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
41443 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
41444 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
41445 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
41446 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
41447 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
41448 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
41449 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
41450 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
41451 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
41452 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
41453 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
41454 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
41455 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
41456 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
41457 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
41458 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
41459 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
41460 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
41461 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
41462 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
41463 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
41464 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
41465 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
41466 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
41467 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
41468 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
41469 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
41470 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
41471 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
41472 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
41473 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
41474 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
41475 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
41476 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
41477 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
41478 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
41479 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
41480 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
41481 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
41482 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
41483 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
41484 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
41485 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
41486 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
41487 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
41488 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
41489 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
41490 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
41491 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
41492 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
41493 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
41494 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
41495 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
41496 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
41497 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
41498 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
41499 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
41500 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
41501 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
41502 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
41503 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
41504 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
41505 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
41506 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
41507 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
41508 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
41509 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
41510 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
41511 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
41512 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
41513 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
41514 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
41515 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
41516 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
41517 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
41518 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
41519 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
41520 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
41521 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
41522 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
41523 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
41524 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
41525 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
41526 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
41527 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
41528 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
41529 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
41530 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
41531 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
41532 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
41533 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
41534 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
41535 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
41536 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
41537 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
41538 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
41539 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
41540 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
41541 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
41542 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
41543 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
41544 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
41545 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
41546 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
41547 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
41548 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
41549 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
41550 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
41551 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
41552 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
41553 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
41554 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
41555 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
41556 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
41557 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
41558 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
41559 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
41560 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
41561 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
41562 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
41563 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
41564 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
41565 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
41566 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
41567 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
41568 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
41569 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
41570 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
41571 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
41572 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
41573 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
41574 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
41575 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
41576 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
41577 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
41578 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
41579 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
41580 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
41581 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
41582 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
41583 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
41584 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
41585 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
41586 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
41587 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
41588 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
41589 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
41590 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
41591 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
41592 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
41593 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
41594 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
41595 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
41596 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
41597 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
41598 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
41599 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
41600 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
41601 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
41602 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
41603 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
41604 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
41605 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
41606 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
41607 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
41608 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
41609 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
41610 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
41611 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
41612 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
41613 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
41614 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
41615 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
41616 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
41617 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
41618 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
41619 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
41620 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
41621 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
41622 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
41623 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
41624 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
41625 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
41626 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
41627 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
41628 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
41629 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
41630 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
41631 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
41632 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
41633 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
41634 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
41635 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
41636 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
41637 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
41638 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
41639 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
41640 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
41641 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
41642 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
41643 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
41644 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
41645 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
41646 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
41647 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
41648 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
41649 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
41650 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
41651 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
41652 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
41653 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
41654 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
41655 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
41656 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
41657 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
41658 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
41659 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
41660 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
41661 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
41662 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
41663 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
41664 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
41665 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
41666 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
41667 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
41668 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
41669 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
41670 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
41671 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
41672 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
41673 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
41674 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
41675 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
41676 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
41677 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
41678 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
41679 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
41680 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
41681 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
41682 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
41683 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
41684 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
41685 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
41686 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
41687 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
41688 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
41689 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
41690 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
41691 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
41692 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
41693 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
41694 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
41695 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
41696 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
41697 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
41698 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
41699 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
41700 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
41701 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
41702 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
41703 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
41704 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
41705 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
41706 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
41707 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
41708 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
41709 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
41710 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
41711 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
41712 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
41713 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
41714 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
41715 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
41716 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
41717 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
41718 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
41719 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
41720 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
41721 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
41722 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
41723 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
41724 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
41725 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
41726 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
41727 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
41728 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
41729 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
41730 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
41731 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
41732 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
41733 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
41734 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
41735 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
41736 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
41737 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
41738 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
41739 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
41740 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
41741 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
41742 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
41743 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
41744 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
41745 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
41746 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
41747 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
41748 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
41749 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
41750 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
41751 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
41752 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
41753 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
41754 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
41755 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
41756 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
41757 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
41758 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
41759 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
41760 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
41761 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
41762 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
41763 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
41764 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
41765 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
41766 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
41767 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
41768 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
41769 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
41770 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
41771 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
41772 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
41773 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
41774 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
41775 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
41776 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
41777 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
41778 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
41779 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
41780 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
41781 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
41782 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
41783 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
41784 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
41785 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
41786 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
41787 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
41788 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
41789 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
41790 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
41791 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
41792 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
41793 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
41794 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
41795 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
41796
41797 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41798
41799
41800 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41801
41802 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
41803 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
41804 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
41805 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
41806 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
41807 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
41808 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
41809 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
41810 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
41811 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
41812 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
41813 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
41814 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
41815 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
41816 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
41817 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
41818 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
41819 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
41820 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
41821 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
41822 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
41823 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
41824 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
41825 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
41826 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
41827 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
41828 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
41829 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
41830 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
41831 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
41832 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
41833 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
41834 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
41835 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
41836 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
41837 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
41838 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
41839 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
41840 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
41841 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
41842 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
41843 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
41844 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
41845 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
41846 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
41847 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
41848 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
41849 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
41850 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
41851 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
41852 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
41853 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
41854 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
41855 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
41856 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
41857 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
41858 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
41859 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
41860 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
41861 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
41862 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
41863 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
41864 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
41865 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
41866 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
41867 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
41868 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
41869 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
41870 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
41871 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
41872 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
41873 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
41874 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
41875 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
41876 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
41877 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
41878 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
41879 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
41880 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
41881 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
41882 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
41883 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
41884 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
41885 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
41886 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
41887 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
41888 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
41889 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
41890 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
41891 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
41892 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
41893 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
41894 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
41895 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
41896 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
41897 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
41898 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
41899 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
41900 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
41901 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
41902 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
41903 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
41904 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
41905 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
41906 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
41907 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
41908 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
41909 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
41910 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
41911 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
41912 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
41913 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
41914 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
41915 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
41916 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
41917 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
41918 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
41919 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
41920 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
41921 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
41922 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
41923 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
41924 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
41925 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
41926 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
41927 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
41928 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
41929 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
41930 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
41931 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
41932 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
41933 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
41934 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
41935 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
41936 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
41937 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
41938 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
41939 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
41940 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
41941 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
41942 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
41943 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
41944 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
41945 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
41946 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
41947 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
41948 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
41949 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
41950 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
41951 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
41952 PyDict_SetItemString(d,"WINDOW_VARIANT_DEFAULT", SWIG_FromInt((int)wxWINDOW_VARIANT_DEFAULT));
41953 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
41954 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
41955 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
41956 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
41957 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
41958 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
41959 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
41960 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
41961 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
41962 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
41963 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
41964 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
41965 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
41966 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
41967 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
41968 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
41969 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
41970 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
41971 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
41972 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
41973 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
41974 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
41975 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
41976 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
41977 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
41978 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
41979 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
41980 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
41981 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
41982
41983 // Initialize threading, some globals and such
41984 __wxPyPreStart(d);
41985
41986
41987 // Although these are defined in __version__ they need to be here too so
41988 // that an assert can be done to ensure that the wxPython and the wxWindows
41989 // versions match.
41990 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
41991 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
41992 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
41993
41994 }
41995