]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/core_wrap.cpp
More docstrings.
[wxWidgets.git] / wxPython / src / gtk / core_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121
122 #endif
123
124 /***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135 #include "Python.h"
136
137 #ifdef __cplusplus
138 extern "C" {
139 #endif
140
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
146
147 /* Flags for pointer conversion */
148
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
151
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
154
155 /* Constant information structure */
156 typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163 } swig_const_info;
164
165
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
209
210 #ifdef __cplusplus
211 }
212 #endif
213
214
215
216 /* -------- TYPES TABLE (BEGIN) -------- */
217
218 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
219 #define SWIGTYPE_p_wxRealPoint swig_types[1]
220 #define SWIGTYPE_p_wxSizerItem swig_types[2]
221 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
222 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
223 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
224 #define SWIGTYPE_p_wxSizer swig_types[6]
225 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
226 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
227 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
228 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
229 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
230 #define SWIGTYPE_p_wxMenu swig_types[12]
231 #define SWIGTYPE_p_wxEvent swig_types[13]
232 #define SWIGTYPE_p_wxGridSizer swig_types[14]
233 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
234 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
235 #define SWIGTYPE_p_wxItemContainer swig_types[17]
236 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
237 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
238 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
239 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
240 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
241 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
242 #define SWIGTYPE_p_wxControl swig_types[24]
243 #define SWIGTYPE_p_wxFont swig_types[25]
244 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
245 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
246 #define SWIGTYPE_p_wxFSFile swig_types[28]
247 #define SWIGTYPE_p_wxCaret swig_types[29]
248 #define SWIGTYPE_p_wxRegion swig_types[30]
249 #define SWIGTYPE_p_wxPoint2D swig_types[31]
250 #define SWIGTYPE_p_int swig_types[32]
251 #define SWIGTYPE_p_wxSize swig_types[33]
252 #define SWIGTYPE_p_wxDC swig_types[34]
253 #define SWIGTYPE_p_wxPySizer swig_types[35]
254 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
255 #define SWIGTYPE_p_wxPyEvent swig_types[37]
256 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
257 #define SWIGTYPE_p_wxAppTraits swig_types[39]
258 #define SWIGTYPE_p_wxArrayString swig_types[40]
259 #define SWIGTYPE_p_wxShowEvent swig_types[41]
260 #define SWIGTYPE_p_wxToolTip swig_types[42]
261 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
262 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
263 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
264 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
265 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
266 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
267 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
268 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
269 #define SWIGTYPE_p_wxMenuItem swig_types[51]
270 #define SWIGTYPE_p_wxStaticBox swig_types[52]
271 #define SWIGTYPE_p_long swig_types[53]
272 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
273 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
274 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
275 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
276 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
277 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
278 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
279 #define SWIGTYPE_p_wxANIHandler swig_types[61]
280 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
281 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
282 #define SWIGTYPE_p_wxCURHandler swig_types[64]
283 #define SWIGTYPE_p_wxICOHandler swig_types[65]
284 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
285 #define SWIGTYPE_p_wxImageHandler swig_types[67]
286 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
287 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
288 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
289 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
290 #define SWIGTYPE_p_wxRect swig_types[72]
291 #define SWIGTYPE_p_wxGBSpan swig_types[73]
292 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
293 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
294 #define SWIGTYPE_p_wxGBPosition swig_types[76]
295 #define SWIGTYPE_p_wxImage swig_types[77]
296 #define SWIGTYPE_p_wxFrame swig_types[78]
297 #define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
298 #define SWIGTYPE_p_wxImageHistogram swig_types[80]
299 #define SWIGTYPE_p_byte swig_types[81]
300 #define SWIGTYPE_p_wxPoint swig_types[82]
301 #define SWIGTYPE_p_wxCursor swig_types[83]
302 #define SWIGTYPE_p_wxObject swig_types[84]
303 #define SWIGTYPE_p_wxPyInputStream swig_types[85]
304 #define SWIGTYPE_p_wxOutputStream swig_types[86]
305 #define SWIGTYPE_p_wxInputStream swig_types[87]
306 #define SWIGTYPE_p_wxDateTime swig_types[88]
307 #define SWIGTYPE_p_wxKeyEvent swig_types[89]
308 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
309 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
310 #define SWIGTYPE_p_wxWindow swig_types[92]
311 #define SWIGTYPE_p_wxMenuBar swig_types[93]
312 #define SWIGTYPE_p_wxString swig_types[94]
313 #define SWIGTYPE_p_wxFileSystem swig_types[95]
314 #define SWIGTYPE_p_wxBitmap swig_types[96]
315 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
316 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
317 #define SWIGTYPE_p_unsigned_char swig_types[99]
318 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
319 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
320 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
321 #define SWIGTYPE_p_wxPyApp swig_types[103]
322 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
323 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
324 #define SWIGTYPE_p_wxDropTarget swig_types[106]
325 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
326 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
327 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
328 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
329 #define SWIGTYPE_p_wxColour swig_types[111]
330 #define SWIGTYPE_p_wxValidator swig_types[112]
331 #define SWIGTYPE_p_wxPyValidator swig_types[113]
332 static swig_type_info *swig_types[115];
333
334 /* -------- TYPES TABLE (END) -------- */
335
336
337 /*-----------------------------------------------
338 @(target):= _core.so
339 ------------------------------------------------*/
340 #define SWIG_init init_core
341
342 #define SWIG_name "_core"
343
344 #include "wx/wxPython/wxPython_int.h"
345 #include "wx/wxPython/pyclasses.h"
346
347
348 #ifndef wxPyUSE_EXPORT
349 // Helper functions for dealing with SWIG objects and such. These are
350 // located here so they know about the SWIG types and functions declared
351 // in the wrapper code.
352
353 #include <wx/hashmap.h>
354 WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
355
356
357 // Maintains a hashmap of className to swig_type_info pointers. Given the
358 // name of a class either looks up the type info in the cache, or scans the
359 // SWIG tables for it.
360 extern PyObject* wxPyPtrTypeMap;
361 static
362 swig_type_info* wxPyFindSwigType(const wxChar* className) {
363
364 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
365
366 if (typeInfoCache == NULL)
367 typeInfoCache = new wxPyTypeInfoHashMap;
368
369 wxString name(className);
370 swig_type_info* swigType = (*typeInfoCache)[name];
371
372 if (! swigType) {
373 // it wasn't in the cache, so look it up from SWIG
374 name.Append(wxT(" *"));
375 swigType = SWIG_Python_TypeQuery(name.mb_str());
376
377 // if it still wasn't found, try looking for a mapped name
378 if (!swigType) {
379 PyObject* item;
380 name = className;
381
382 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
383 (char*)(const char*)name.mbc_str())) != NULL) {
384 name = wxString(PyString_AsString(item), *wxConvCurrent);
385 name.Append(wxT(" *"));
386 swigType = SWIG_Python_TypeQuery(name.mb_str());
387 }
388 }
389 if (swigType) {
390 // and add it to the map if found
391 (*typeInfoCache)[className] = swigType;
392 }
393 }
394 return swigType;
395 }
396
397
398 // Check if a class name is a type known to SWIG
399 bool wxPyCheckSwigType(const wxChar* className) {
400
401 swig_type_info* swigType = wxPyFindSwigType(className);
402 return swigType != NULL;
403 }
404
405
406 // Given a pointer to a C++ object and a class name, construct a Python proxy
407 // object for it.
408 PyObject* wxPyConstructObject(void* ptr,
409 const wxChar* className,
410 int setThisOwn) {
411
412 swig_type_info* swigType = wxPyFindSwigType(className);
413 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
414
415 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
416 }
417
418
419 // Extract a pointer to the wrapped C++ object from a Python proxy object.
420 // Ensures that the proxy object is of the specified (or derived) type. If
421 // not able to perform the conversion then a Python exception is set and the
422 // error should be handled properly in the caller. Returns True on success.
423 bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
424 const wxChar* className) {
425
426 swig_type_info* swigType = wxPyFindSwigType(className);
427 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
428
429 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
430 }
431
432
433 // Make a SWIGified pointer object suitable for a .this attribute
434 PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
435
436 PyObject* robj = NULL;
437
438 swig_type_info* swigType = wxPyFindSwigType(className);
439 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
440
441 #ifdef SWIG_COBJECT_TYPES
442 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
443 #else
444 {
445 char result[1024];
446 char *r = result;
447 *(r++) = '_';
448 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
449 strcpy(r, swigType->name);
450 robj = PyString_FromString(result);
451 }
452 #endif
453
454 return robj;
455 }
456
457
458
459
460 // Export a C API in a struct. Other modules will be able to load this from
461 // the wx.core module and will then have safe access to these functions, even if
462 // they are located in another shared library.
463 static wxPyCoreAPI API = {
464
465 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
466 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
467 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
468 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
469 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
470 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
471 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
472 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
473 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
474 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
475 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
476 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
477 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
478 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
479 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
480 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
481 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
482
483 wxPyCheckSwigType,
484 wxPyConstructObject,
485 wxPyConvertSwigPtr,
486 wxPyMakeSwigPtr,
487
488 wxPyBeginAllowThreads,
489 wxPyEndAllowThreads,
490 wxPyBeginBlockThreads,
491 wxPyEndBlockThreads,
492
493 wxPy_ConvertList,
494
495 wxString_in_helper,
496 Py2wxString,
497 wx2PyString,
498
499 byte_LIST_helper,
500 int_LIST_helper,
501 long_LIST_helper,
502 string_LIST_helper,
503 wxPoint_LIST_helper,
504 wxBitmap_LIST_helper,
505 wxString_LIST_helper,
506 wxAcceleratorEntry_LIST_helper,
507
508 wxSize_helper,
509 wxPoint_helper,
510 wxRealPoint_helper,
511 wxRect_helper,
512 wxColour_helper,
513 wxPoint2D_helper,
514
515 wxPySimple_typecheck,
516 wxColour_typecheck,
517
518 wxPyCBH_setCallbackInfo,
519 wxPyCBH_findCallback,
520 wxPyCBH_callCallback,
521 wxPyCBH_callCallbackObj,
522 wxPyCBH_delete,
523
524 wxPyMake_wxObject,
525 wxPyMake_wxSizer,
526 wxPyPtrTypeMap_Add,
527 wxPy2int_seq_helper,
528 wxPy4int_seq_helper,
529 wxArrayString2PyList_helper,
530 wxArrayInt2PyList_helper,
531
532 wxPyClientData_dtor,
533 wxPyUserData_dtor,
534 wxPyOORClientData_dtor,
535
536 wxPyCBInputStream_create,
537
538 wxPyInstance_Check,
539 wxPySwigInstance_Check
540
541 };
542
543 #endif
544
545
546 DECLARE_DEF_STRING(EmptyString);
547 // DECLARE_DEF_STRING(PanelNameStr);
548
549
550 #if ! wxUSE_HOTKEY
551 enum wxHotkeyModifier
552 {
553 wxMOD_NONE = 0,
554 wxMOD_ALT = 1,
555 wxMOD_CONTROL = 2,
556 wxMOD_SHIFT = 4,
557 wxMOD_WIN = 8
558 };
559 #define wxEVT_HOTKEY 9999
560 #endif
561
562 wxString wxObject_GetClassName(wxObject *self){
563 return self->GetClassInfo()->GetClassName();
564 }
565 void wxObject_Destroy(wxObject *self){
566 delete self;
567 }
568
569 #ifndef __WXMAC__
570 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
571 #endif
572
573 PyObject *wxSize_Get(wxSize *self){
574 wxPyBeginBlockThreads();
575 PyObject* tup = PyTuple_New(2);
576 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
577 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
578 wxPyEndBlockThreads();
579 return tup;
580 }
581 void wxRealPoint_Set(wxRealPoint *self,double x,double y){
582 self->x = x;
583 self->y = y;
584 }
585 PyObject *wxRealPoint_Get(wxRealPoint *self){
586 wxPyBeginBlockThreads();
587 PyObject* tup = PyTuple_New(2);
588 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
589 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
590 wxPyEndBlockThreads();
591 return tup;
592 }
593 void wxPoint_Set(wxPoint *self,long x,long y){
594 self->x = x;
595 self->y = y;
596 }
597 PyObject *wxPoint_Get(wxPoint *self){
598 wxPyBeginBlockThreads();
599 PyObject* tup = PyTuple_New(2);
600 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
601 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
602 wxPyEndBlockThreads();
603 return tup;
604 }
605 void wxRect_Set(wxRect *self,int x,int y,int width,int height){
606 self->x = x;
607 self->y = y;
608 self->width = width;
609 self->height = height;
610 }
611 PyObject *wxRect_Get(wxRect *self){
612 wxPyBeginBlockThreads();
613 PyObject* tup = PyTuple_New(4);
614 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
615 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
616 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
617 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
618 wxPyEndBlockThreads();
619 return tup;
620 }
621
622 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
623 wxRegion reg1(*r1);
624 wxRegion reg2(*r2);
625 wxRect dest(0,0,0,0);
626 PyObject* obj;
627
628 reg1.Intersect(reg2);
629 dest = reg1.GetBox();
630
631 if (dest != wxRect(0,0,0,0)) {
632 wxPyBeginBlockThreads();
633 wxRect* newRect = new wxRect(dest);
634 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
635 wxPyEndBlockThreads();
636 return obj;
637 }
638 Py_INCREF(Py_None);
639 return Py_None;
640 }
641
642
643 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
644 PyObject* o2;
645 PyObject* o3;
646
647 if (!target) {
648 target = o;
649 } else if (target == Py_None) {
650 Py_DECREF(Py_None);
651 target = o;
652 } else {
653 if (!PyTuple_Check(target)) {
654 o2 = target;
655 target = PyTuple_New(1);
656 PyTuple_SetItem(target, 0, o2);
657 }
658 o3 = PyTuple_New(1);
659 PyTuple_SetItem(o3, 0, o);
660
661 o2 = target;
662 target = PySequence_Concat(o2, o3);
663 Py_DECREF(o2);
664 Py_DECREF(o3);
665 }
666 return target;
667 }
668
669 void wxPoint2D_Set(wxPoint2D *self,double x,double y){
670 self->m_x = x;
671 self->m_y = y;
672 }
673 PyObject *wxPoint2D_Get(wxPoint2D *self){
674 wxPyBeginBlockThreads();
675 PyObject* tup = PyTuple_New(2);
676 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
677 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
678 wxPyEndBlockThreads();
679 return tup;
680 }
681
682 #include "wx/wxPython/pyistream.h"
683
684 wxPyInputStream *new_wxPyInputStream(PyObject *p){
685 wxInputStream* wxis = wxPyCBInputStream::create(p);
686 if (wxis)
687 return new wxPyInputStream(wxis);
688 else
689 return NULL;
690 }
691 void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
692 // We use only strings for the streams, not unicode
693 PyObject* str = PyObject_Str(obj);
694 if (! str) {
695 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
696 return;
697 }
698 self->Write(PyString_AS_STRING(str),
699 PyString_GET_SIZE(str));
700 Py_DECREF(str);
701 }
702
703 #include "wx/wxPython/pyistream.h"
704
705
706 class wxPyFileSystemHandler : public wxFileSystemHandler
707 {
708 public:
709 wxPyFileSystemHandler() : wxFileSystemHandler() {}
710
711 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
712 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
713 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
714 DEC_PYCALLBACK_STRING__pure(FindNext);
715
716 wxString GetProtocol(const wxString& location) {
717 return wxFileSystemHandler::GetProtocol(location);
718 }
719
720 wxString GetLeftLocation(const wxString& location) {
721 return wxFileSystemHandler::GetLeftLocation(location);
722 }
723
724 wxString GetAnchor(const wxString& location) {
725 return wxFileSystemHandler::GetAnchor(location);
726 }
727
728 wxString GetRightLocation(const wxString& location) {
729 return wxFileSystemHandler::GetRightLocation(location);
730 }
731
732 wxString GetMimeTypeFromExt(const wxString& location) {
733 return wxFileSystemHandler::GetMimeTypeFromExt(location);
734 }
735
736 PYPRIVATE;
737 };
738
739
740 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
741 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
742 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
743 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
744
745
746 wxString wxFileSystem_URLToFileName(const wxString& url) {
747 wxFileName fname = wxFileSystem::URLToFileName(url);
748 return fname.GetFullPath();
749 }
750
751
752 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
753 wxImage& image,
754 long type) {
755 wxMemoryFSHandler::AddFile(filename, image, type);
756 }
757
758 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
759 const wxBitmap& bitmap,
760 long type) {
761 wxMemoryFSHandler::AddFile(filename, bitmap, type);
762 }
763
764 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
765 PyObject* data) {
766 wxMemoryFSHandler::AddFile(filename,
767 // TODO: Verify data type
768 (void*)PyString_AsString(data),
769 (size_t)PyString_Size(data));
770 }
771
772
773 #include "wx/wxPython/pyistream.h"
774
775 wxImage *new_wxImage(int width,int height,bool clear){
776 if (width > 0 && height > 0)
777 return new wxImage(width, height, clear);
778 else
779 return new wxImage;
780 }
781 wxImage *new_wxImage(wxBitmap const &bitmap){
782 return new wxImage(bitmap.ConvertToImage());
783 }
784 wxImage *new_wxImage(int width,int height,unsigned char *data){
785 // Copy the source data so the wxImage can clean it up later
786 unsigned char* copy = (unsigned char*)malloc(width*height*3);
787 if (copy == NULL) {
788 PyErr_NoMemory();
789 return NULL;
790 }
791 memcpy(copy, data, width*height*3);
792 return new wxImage(width, height, copy, False);
793 }
794 PyObject *wxImage_GetData(wxImage *self){
795 unsigned char* data = self->GetData();
796 int len = self->GetWidth() * self->GetHeight() * 3;
797 PyObject* rv;
798 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
799 return rv;
800 }
801 void wxImage_SetData(wxImage *self,PyObject *data){
802 unsigned char* dataPtr;
803
804 if (! PyString_Check(data)) {
805 PyErr_SetString(PyExc_TypeError, "Expected string object");
806 return /* NULL */ ;
807 }
808
809 size_t len = self->GetWidth() * self->GetHeight() * 3;
810 dataPtr = (unsigned char*) malloc(len);
811 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
812 self->SetData(dataPtr);
813 // wxImage takes ownership of dataPtr...
814 }
815 PyObject *wxImage_GetDataBuffer(wxImage *self){
816 unsigned char* data = self->GetData();
817 int len = self->GetWidth() * self->GetHeight() * 3;
818 PyObject* rv;
819 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
820 return rv;
821 }
822 void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
823 unsigned char* buffer;
824 int size;
825
826 wxPyBeginBlockThreads();
827 if (!PyArg_Parse(data, "t#", &buffer, &size))
828 goto done;
829
830 if (size != self->GetWidth() * self->GetHeight() * 3) {
831 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
832 goto done;
833 }
834 self->SetData(buffer);
835 done:
836 wxPyEndBlockThreads();
837 }
838 PyObject *wxImage_GetAlphaData(wxImage *self){
839 unsigned char* data = self->GetAlpha();
840 if (! data) {
841 RETURN_NONE();
842 } else {
843 int len = self->GetWidth() * self->GetHeight();
844 PyObject* rv;
845 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
846 return rv;
847 }
848 }
849 void wxImage_SetAlphaData(wxImage *self,PyObject *data){
850 unsigned char* dataPtr;
851
852 if (! PyString_Check(data)) {
853 PyErr_SetString(PyExc_TypeError, "Expected string object");
854 return /* NULL */ ;
855 }
856
857 size_t len = self->GetWidth() * self->GetHeight();
858 dataPtr = (unsigned char*) malloc(len);
859 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
860 self->SetAlpha(dataPtr);
861 // wxImage takes ownership of dataPtr...
862 }
863 PyObject *wxImage_GetAlphaBuffer(wxImage *self){
864 unsigned char* data = self->GetAlpha();
865 int len = self->GetWidth() * self->GetHeight();
866 PyObject* rv;
867 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
868 return rv;
869 }
870 void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
871 unsigned char* buffer;
872 int size;
873
874 wxPyBeginBlockThreads();
875 if (!PyArg_Parse(data, "t#", &buffer, &size))
876 goto done;
877
878 if (size != self->GetWidth() * self->GetHeight()) {
879 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
880 goto done;
881 }
882 self->SetAlpha(buffer);
883 done:
884 wxPyEndBlockThreads();
885 }
886 wxBitmap wxImage_ConvertToBitmap(wxImage *self){
887 wxBitmap bitmap(*self);
888 return bitmap;
889 }
890 wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
891 wxImage mono = self->ConvertToMono( red, green, blue );
892 wxBitmap bitmap( mono, 1 );
893 return bitmap;
894 }
895 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
896 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
897 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
898 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
899 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
900 void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
901 if (PyCallable_Check(func)) {
902 self->Connect(id, lastId, eventType,
903 (wxObjectEventFunction) &wxPyCallback::EventThunker,
904 new wxPyCallback(func));
905 }
906 else if (func == Py_None) {
907 self->Disconnect(id, lastId, eventType,
908 (wxObjectEventFunction)
909 &wxPyCallback::EventThunker);
910 }
911 else {
912 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
913 }
914 }
915 bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
916 return self->Disconnect(id, lastId, eventType,
917 (wxObjectEventFunction)
918 &wxPyCallback::EventThunker);
919 }
920 void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
921 if (_self && _self != Py_None) {
922 self->SetClientObject(new wxPyOORClientData(_self));
923 }
924 else {
925 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
926 if (data) {
927 self->SetClientObject(NULL); // This will delete it too
928 }
929 }
930 }
931 int wxKeyEvent_GetUniChar(wxKeyEvent *self){
932
933
934
935 return 0;
936
937 }
938 void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
939 self->m_size = size;
940 }
941 void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
942 self->m_pos = pos;
943 }
944 PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
945 int count = self->GetNumberOfFiles();
946 wxString* files = self->GetFiles();
947 PyObject* list = PyList_New(count);
948
949 if (!list) {
950 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
951 return NULL;
952 }
953
954 for (int i=0; i<count; i++) {
955
956
957
958 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
959
960 }
961 return list;
962 }
963
964
965 wxPyApp *new_wxPyApp(){
966 wxPythonApp = new wxPyApp();
967 return wxPythonApp;
968 }
969 int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError); return 0; }
970
971 void wxApp_CleanUp() {
972 __wxPyCleanup();
973 }
974
975
976 wxPyApp* wxGetApp() {
977 return (wxPyApp*)wxTheApp;
978 }
979
980
981
982 static const wxString wxPyPanelNameStr(wxPanelNameStr);
983 PyObject *wxWindow_GetChildren(wxWindow *self){
984 wxWindowList& list = self->GetChildren();
985 return wxPy_ConvertList(&list);
986 }
987 bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
988
989
990
991 return False;
992
993 }
994 bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
995
996
997
998 return False;
999
1000 }
1001 long wxWindow_GetHandle(wxWindow *self){
1002 return wxPyGetWinHandle(self);
1003 }
1004
1005 wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1006 return wxWindow::FindWindowById(id, parent);
1007 }
1008
1009 wxWindow* wxFindWindowByName( const wxString& name,
1010 const wxWindow *parent = NULL ) {
1011 return wxWindow::FindWindowByName(name, parent);
1012 }
1013
1014 wxWindow* wxFindWindowByLabel( const wxString& label,
1015 const wxWindow *parent = NULL ) {
1016 return wxWindow::FindWindowByLabel(label, parent);
1017 }
1018
1019
1020 wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
1021 #ifdef __WXMSW__
1022 wxWindow* win = new wxWindow;
1023 win->SetHWND(hWnd);
1024 win->SubclassWin(hWnd);
1025 return win;
1026 #else
1027 PyErr_SetNone(PyExc_NotImplementedError);
1028 return NULL;
1029 #endif
1030 }
1031
1032
1033 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1034 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1035 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1036
1037 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1038
1039 void wxMenu_Destroy(wxMenu *self){ delete self; }
1040 PyObject *wxMenu_GetMenuItems(wxMenu *self){
1041 wxMenuItemList& list = self->GetMenuItems();
1042 return wxPy_ConvertList(&list);
1043 }
1044 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1045
1046 DECLARE_DEF_STRING(ControlNameStr);
1047
1048 int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1049 if (clientData) {
1050 wxPyClientData* data = new wxPyClientData(clientData);
1051 return self->Append(item, data);
1052 } else
1053 return self->Append(item);
1054 }
1055 int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1056 if (clientData) {
1057 wxPyClientData* data = new wxPyClientData(clientData);
1058 return self->Insert(item, pos, data);
1059 } else
1060 return self->Insert(item, pos);
1061 }
1062 PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1063 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1064 if (data) {
1065 Py_INCREF(data->m_obj);
1066 return data->m_obj;
1067 } else {
1068 Py_INCREF(Py_None);
1069 return Py_None;
1070 }
1071 }
1072 void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1073 wxPyClientData* data = new wxPyClientData(clientData);
1074 self->SetClientObject(n, data);
1075 }
1076
1077
1078 PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1079 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1080 if (data) {
1081 Py_INCREF(data->m_obj);
1082 return data->m_obj;
1083 } else {
1084 Py_INCREF(Py_None);
1085 return Py_None;
1086 }
1087 }
1088
1089 // Figure out the type of the sizer item
1090
1091 struct wxPySizerItemInfo {
1092 wxPySizerItemInfo()
1093 : window(NULL), sizer(NULL), gotSize(False),
1094 size(wxDefaultSize), gotPos(False), pos(-1)
1095 {}
1096
1097 wxWindow* window;
1098 wxSizer* sizer;
1099 bool gotSize;
1100 wxSize size;
1101 bool gotPos;
1102 int pos;
1103 };
1104
1105 static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1106
1107 wxPySizerItemInfo info;
1108 wxSize size;
1109 wxSize* sizePtr = &size;
1110
1111 // Find out what the type of the item is
1112 // try wxWindow
1113 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1114 PyErr_Clear();
1115 info.window = NULL;
1116
1117 // try wxSizer
1118 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1119 PyErr_Clear();
1120 info.sizer = NULL;
1121
1122 // try wxSize or (w,h)
1123 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1124 info.size = *sizePtr;
1125 info.gotSize = True;
1126 }
1127
1128 // or a single int
1129 if (checkIdx && PyInt_Check(item)) {
1130 info.pos = PyInt_AsLong(item);
1131 info.gotPos = True;
1132 }
1133 }
1134 }
1135
1136 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1137 // no expected type, figure out what kind of error message to generate
1138 if ( !checkSize && !checkIdx )
1139 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1140 else if ( checkSize && !checkIdx )
1141 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1142 else if ( !checkSize && checkIdx)
1143 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1144 else
1145 // can this one happen?
1146 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1147 }
1148
1149 return info;
1150 }
1151
1152 void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1153 self->SetClientObject(new wxPyOORClientData(_self));
1154 }
1155 void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1156
1157 wxPyUserData* data = NULL;
1158 wxPyBeginBlockThreads();
1159 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1160 if ( userData && (info.window || info.sizer || info.gotSize) )
1161 data = new wxPyUserData(userData);
1162 wxPyEndBlockThreads();
1163
1164 // Now call the real Add method if a valid item type was found
1165 if ( info.window )
1166 self->Add(info.window, proportion, flag, border, data);
1167 else if ( info.sizer )
1168 self->Add(info.sizer, proportion, flag, border, data);
1169 else if (info.gotSize)
1170 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1171 proportion, flag, border, data);
1172 }
1173 void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1174
1175 wxPyUserData* data = NULL;
1176 wxPyBeginBlockThreads();
1177 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1178 if ( userData && (info.window || info.sizer || info.gotSize) )
1179 data = new wxPyUserData(userData);
1180 wxPyEndBlockThreads();
1181
1182 // Now call the real Insert method if a valid item type was found
1183 if ( info.window )
1184 self->Insert(before, info.window, proportion, flag, border, data);
1185 else if ( info.sizer )
1186 self->Insert(before, info.sizer, proportion, flag, border, data);
1187 else if (info.gotSize)
1188 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1189 proportion, flag, border, data);
1190 }
1191 void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1192
1193 wxPyUserData* data = NULL;
1194 wxPyBeginBlockThreads();
1195 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1196 if ( userData && (info.window || info.sizer || info.gotSize) )
1197 data = new wxPyUserData(userData);
1198 wxPyEndBlockThreads();
1199
1200 // Now call the real Prepend method if a valid item type was found
1201 if ( info.window )
1202 self->Prepend(info.window, proportion, flag, border, data);
1203 else if ( info.sizer )
1204 self->Prepend(info.sizer, proportion, flag, border, data);
1205 else if (info.gotSize)
1206 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1207 proportion, flag, border, data);
1208 }
1209 bool wxSizer_Remove(wxSizer *self,PyObject *item){
1210 wxPyBeginBlockThreads();
1211 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1212 wxPyEndBlockThreads();
1213 if ( info.window )
1214 return self->Remove(info.window);
1215 else if ( info.sizer )
1216 return self->Remove(info.sizer);
1217 else if ( info.gotPos )
1218 return self->Remove(info.pos);
1219 else
1220 return False;
1221 }
1222 void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
1223 wxPyBeginBlockThreads();
1224 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1225 wxPyEndBlockThreads();
1226 if ( info.window )
1227 self->SetItemMinSize(info.window, size);
1228 else if ( info.sizer )
1229 self->SetItemMinSize(info.sizer, size);
1230 else if ( info.gotPos )
1231 self->SetItemMinSize(info.pos, size);
1232 }
1233 PyObject *wxSizer_GetChildren(wxSizer *self){
1234 wxSizerItemList& list = self->GetChildren();
1235 return wxPy_ConvertList(&list);
1236 }
1237 void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
1238 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1239 if ( info.window )
1240 self->Show(info.window, show);
1241 else if ( info.sizer )
1242 self->Show(info.sizer, show);
1243 }
1244 void wxSizer_Hide(wxSizer *self,PyObject *item){
1245 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1246 if ( info.window )
1247 self->Hide(info.window);
1248 else if ( info.sizer )
1249 self->Hide(info.sizer);
1250 }
1251 bool wxSizer_IsShown(wxSizer *self,PyObject *item){
1252 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1253 if ( info.window )
1254 return self->IsShown(info.window);
1255 else if ( info.sizer )
1256 return self->IsShown(info.sizer);
1257 else
1258 return False;
1259 }
1260
1261 // See pyclasses.h
1262 IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1263 IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1264 IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1265
1266
1267
1268
1269 bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1270 {
1271 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1272 }
1273
1274 bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1275 {
1276 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1277 }
1278
1279
1280 void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1281 self->SetRow(row);
1282 self->SetCol(col);
1283 }
1284 PyObject *wxGBPosition_Get(wxGBPosition *self){
1285 wxPyBeginBlockThreads();
1286 PyObject* tup = PyTuple_New(2);
1287 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1288 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1289 wxPyEndBlockThreads();
1290 return tup;
1291 }
1292 void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1293 self->SetRowspan(rowspan);
1294 self->SetColspan(colspan);
1295 }
1296 PyObject *wxGBSpan_Get(wxGBSpan *self){
1297 wxPyBeginBlockThreads();
1298 PyObject* tup = PyTuple_New(2);
1299 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1300 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1301 wxPyEndBlockThreads();
1302 return tup;
1303 }
1304 bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1305
1306 wxPyUserData* data = NULL;
1307 wxPyBeginBlockThreads();
1308 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1309 if ( userData && (info.window || info.sizer || info.gotSize) )
1310 data = new wxPyUserData(userData);
1311 wxPyEndBlockThreads();
1312
1313 // Now call the real Add method if a valid item type was found
1314 if ( info.window )
1315 return self->Add(info.window, pos, span, flag, border, data);
1316 else if ( info.sizer )
1317 return self->Add(info.sizer, pos, span, flag, border, data);
1318 else if (info.gotSize)
1319 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1320 pos, span, flag, border, data);
1321 return False;
1322 }
1323
1324
1325 #ifdef __cplusplus
1326 extern "C" {
1327 #endif
1328 static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1329 PyObject *resultobj;
1330 wxObject *arg1 = (wxObject *) 0 ;
1331 wxString result;
1332 PyObject * obj0 = 0 ;
1333 char *kwnames[] = {
1334 (char *) "self", NULL
1335 };
1336
1337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1339 {
1340 PyThreadState* __tstate = wxPyBeginAllowThreads();
1341 result = wxObject_GetClassName(arg1);
1342
1343 wxPyEndAllowThreads(__tstate);
1344 if (PyErr_Occurred()) SWIG_fail;
1345 }
1346 {
1347 #if wxUSE_UNICODE
1348 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1349 #else
1350 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1351 #endif
1352 }
1353 return resultobj;
1354 fail:
1355 return NULL;
1356 }
1357
1358
1359 static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1360 PyObject *resultobj;
1361 wxObject *arg1 = (wxObject *) 0 ;
1362 PyObject * obj0 = 0 ;
1363 char *kwnames[] = {
1364 (char *) "self", NULL
1365 };
1366
1367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1369 {
1370 PyThreadState* __tstate = wxPyBeginAllowThreads();
1371 wxObject_Destroy(arg1);
1372
1373 wxPyEndAllowThreads(__tstate);
1374 if (PyErr_Occurred()) SWIG_fail;
1375 }
1376 Py_INCREF(Py_None); resultobj = Py_None;
1377 return resultobj;
1378 fail:
1379 return NULL;
1380 }
1381
1382
1383 static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1384 PyObject *obj;
1385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1386 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1387 Py_INCREF(obj);
1388 return Py_BuildValue((char *)"");
1389 }
1390 static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject *resultobj;
1392 wxSize *arg1 = (wxSize *) 0 ;
1393 int arg2 ;
1394 PyObject * obj0 = 0 ;
1395 char *kwnames[] = {
1396 (char *) "self",(char *) "x", NULL
1397 };
1398
1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_width_set",kwnames,&obj0,&arg2)) goto fail;
1400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1401 if (arg1) (arg1)->x = arg2;
1402
1403 Py_INCREF(Py_None); resultobj = Py_None;
1404 return resultobj;
1405 fail:
1406 return NULL;
1407 }
1408
1409
1410 static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1411 PyObject *resultobj;
1412 wxSize *arg1 = (wxSize *) 0 ;
1413 int result;
1414 PyObject * obj0 = 0 ;
1415 char *kwnames[] = {
1416 (char *) "self", NULL
1417 };
1418
1419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1421 result = (int) ((arg1)->x);
1422
1423 resultobj = PyInt_FromLong((long)result);
1424 return resultobj;
1425 fail:
1426 return NULL;
1427 }
1428
1429
1430 static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject *resultobj;
1432 wxSize *arg1 = (wxSize *) 0 ;
1433 int arg2 ;
1434 PyObject * obj0 = 0 ;
1435 char *kwnames[] = {
1436 (char *) "self",(char *) "y", NULL
1437 };
1438
1439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_height_set",kwnames,&obj0,&arg2)) goto fail;
1440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1441 if (arg1) (arg1)->y = arg2;
1442
1443 Py_INCREF(Py_None); resultobj = Py_None;
1444 return resultobj;
1445 fail:
1446 return NULL;
1447 }
1448
1449
1450 static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1451 PyObject *resultobj;
1452 wxSize *arg1 = (wxSize *) 0 ;
1453 int result;
1454 PyObject * obj0 = 0 ;
1455 char *kwnames[] = {
1456 (char *) "self", NULL
1457 };
1458
1459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1461 result = (int) ((arg1)->y);
1462
1463 resultobj = PyInt_FromLong((long)result);
1464 return resultobj;
1465 fail:
1466 return NULL;
1467 }
1468
1469
1470 static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1471 PyObject *resultobj;
1472 int arg1 = (int) 0 ;
1473 int arg2 = (int) 0 ;
1474 wxSize *result;
1475 char *kwnames[] = {
1476 (char *) "w",(char *) "h", NULL
1477 };
1478
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Size",kwnames,&arg1,&arg2)) goto fail;
1480 {
1481 PyThreadState* __tstate = wxPyBeginAllowThreads();
1482 result = (wxSize *)new wxSize(arg1,arg2);
1483
1484 wxPyEndAllowThreads(__tstate);
1485 if (PyErr_Occurred()) SWIG_fail;
1486 }
1487 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 1);
1488 return resultobj;
1489 fail:
1490 return NULL;
1491 }
1492
1493
1494 static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1495 PyObject *resultobj;
1496 wxSize *arg1 = (wxSize *) 0 ;
1497 PyObject * obj0 = 0 ;
1498 char *kwnames[] = {
1499 (char *) "self", NULL
1500 };
1501
1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1504 {
1505 PyThreadState* __tstate = wxPyBeginAllowThreads();
1506 delete arg1;
1507
1508 wxPyEndAllowThreads(__tstate);
1509 if (PyErr_Occurred()) SWIG_fail;
1510 }
1511 Py_INCREF(Py_None); resultobj = Py_None;
1512 return resultobj;
1513 fail:
1514 return NULL;
1515 }
1516
1517
1518 static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1519 PyObject *resultobj;
1520 wxSize *arg1 = (wxSize *) 0 ;
1521 wxSize *arg2 = 0 ;
1522 bool result;
1523 wxSize temp2 ;
1524 PyObject * obj0 = 0 ;
1525 PyObject * obj1 = 0 ;
1526 char *kwnames[] = {
1527 (char *) "self",(char *) "sz", NULL
1528 };
1529
1530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
1531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1532 {
1533 arg2 = &temp2;
1534 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1535 }
1536 {
1537 PyThreadState* __tstate = wxPyBeginAllowThreads();
1538 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
1539
1540 wxPyEndAllowThreads(__tstate);
1541 if (PyErr_Occurred()) SWIG_fail;
1542 }
1543 resultobj = PyInt_FromLong((long)result);
1544 return resultobj;
1545 fail:
1546 return NULL;
1547 }
1548
1549
1550 static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1551 PyObject *resultobj;
1552 wxSize *arg1 = (wxSize *) 0 ;
1553 wxSize *arg2 = 0 ;
1554 bool result;
1555 wxSize temp2 ;
1556 PyObject * obj0 = 0 ;
1557 PyObject * obj1 = 0 ;
1558 char *kwnames[] = {
1559 (char *) "self",(char *) "sz", NULL
1560 };
1561
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
1563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 {
1565 arg2 = &temp2;
1566 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1567 }
1568 {
1569 PyThreadState* __tstate = wxPyBeginAllowThreads();
1570 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
1571
1572 wxPyEndAllowThreads(__tstate);
1573 if (PyErr_Occurred()) SWIG_fail;
1574 }
1575 resultobj = PyInt_FromLong((long)result);
1576 return resultobj;
1577 fail:
1578 return NULL;
1579 }
1580
1581
1582 static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject *resultobj;
1584 wxSize *arg1 = (wxSize *) 0 ;
1585 wxSize *arg2 = 0 ;
1586 wxSize result;
1587 wxSize temp2 ;
1588 PyObject * obj0 = 0 ;
1589 PyObject * obj1 = 0 ;
1590 char *kwnames[] = {
1591 (char *) "self",(char *) "sz", NULL
1592 };
1593
1594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
1595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1596 {
1597 arg2 = &temp2;
1598 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1599 }
1600 {
1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
1602 result = (arg1)->operator +((wxSize const &)*arg2);
1603
1604 wxPyEndAllowThreads(__tstate);
1605 if (PyErr_Occurred()) SWIG_fail;
1606 }
1607 {
1608 wxSize * resultptr;
1609 resultptr = new wxSize((wxSize &) result);
1610 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1611 }
1612 return resultobj;
1613 fail:
1614 return NULL;
1615 }
1616
1617
1618 static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1619 PyObject *resultobj;
1620 wxSize *arg1 = (wxSize *) 0 ;
1621 wxSize *arg2 = 0 ;
1622 wxSize result;
1623 wxSize temp2 ;
1624 PyObject * obj0 = 0 ;
1625 PyObject * obj1 = 0 ;
1626 char *kwnames[] = {
1627 (char *) "self",(char *) "sz", NULL
1628 };
1629
1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
1631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1632 {
1633 arg2 = &temp2;
1634 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1635 }
1636 {
1637 PyThreadState* __tstate = wxPyBeginAllowThreads();
1638 result = (arg1)->operator -((wxSize const &)*arg2);
1639
1640 wxPyEndAllowThreads(__tstate);
1641 if (PyErr_Occurred()) SWIG_fail;
1642 }
1643 {
1644 wxSize * resultptr;
1645 resultptr = new wxSize((wxSize &) result);
1646 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1647 }
1648 return resultobj;
1649 fail:
1650 return NULL;
1651 }
1652
1653
1654 static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1655 PyObject *resultobj;
1656 wxSize *arg1 = (wxSize *) 0 ;
1657 wxSize *arg2 = 0 ;
1658 wxSize temp2 ;
1659 PyObject * obj0 = 0 ;
1660 PyObject * obj1 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "self",(char *) "sz", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
1666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1667 {
1668 arg2 = &temp2;
1669 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1670 }
1671 {
1672 PyThreadState* __tstate = wxPyBeginAllowThreads();
1673 (arg1)->IncTo((wxSize const &)*arg2);
1674
1675 wxPyEndAllowThreads(__tstate);
1676 if (PyErr_Occurred()) SWIG_fail;
1677 }
1678 Py_INCREF(Py_None); resultobj = Py_None;
1679 return resultobj;
1680 fail:
1681 return NULL;
1682 }
1683
1684
1685 static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1686 PyObject *resultobj;
1687 wxSize *arg1 = (wxSize *) 0 ;
1688 wxSize *arg2 = 0 ;
1689 wxSize temp2 ;
1690 PyObject * obj0 = 0 ;
1691 PyObject * obj1 = 0 ;
1692 char *kwnames[] = {
1693 (char *) "self",(char *) "sz", NULL
1694 };
1695
1696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
1697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1698 {
1699 arg2 = &temp2;
1700 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1701 }
1702 {
1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
1704 (arg1)->DecTo((wxSize const &)*arg2);
1705
1706 wxPyEndAllowThreads(__tstate);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 }
1709 Py_INCREF(Py_None); resultobj = Py_None;
1710 return resultobj;
1711 fail:
1712 return NULL;
1713 }
1714
1715
1716 static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1717 PyObject *resultobj;
1718 wxSize *arg1 = (wxSize *) 0 ;
1719 int arg2 ;
1720 int arg3 ;
1721 PyObject * obj0 = 0 ;
1722 char *kwnames[] = {
1723 (char *) "self",(char *) "w",(char *) "h", NULL
1724 };
1725
1726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Size_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
1727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1728 {
1729 PyThreadState* __tstate = wxPyBeginAllowThreads();
1730 (arg1)->Set(arg2,arg3);
1731
1732 wxPyEndAllowThreads(__tstate);
1733 if (PyErr_Occurred()) SWIG_fail;
1734 }
1735 Py_INCREF(Py_None); resultobj = Py_None;
1736 return resultobj;
1737 fail:
1738 return NULL;
1739 }
1740
1741
1742 static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1743 PyObject *resultobj;
1744 wxSize *arg1 = (wxSize *) 0 ;
1745 int arg2 ;
1746 PyObject * obj0 = 0 ;
1747 char *kwnames[] = {
1748 (char *) "self",(char *) "w", NULL
1749 };
1750
1751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetWidth",kwnames,&obj0,&arg2)) goto fail;
1752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1753 {
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 (arg1)->SetWidth(arg2);
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 Py_INCREF(Py_None); resultobj = Py_None;
1761 return resultobj;
1762 fail:
1763 return NULL;
1764 }
1765
1766
1767 static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxSize *arg1 = (wxSize *) 0 ;
1770 int arg2 ;
1771 PyObject * obj0 = 0 ;
1772 char *kwnames[] = {
1773 (char *) "self",(char *) "h", NULL
1774 };
1775
1776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetHeight",kwnames,&obj0,&arg2)) goto fail;
1777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1778 {
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 (arg1)->SetHeight(arg2);
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 }
1785 Py_INCREF(Py_None); resultobj = Py_None;
1786 return resultobj;
1787 fail:
1788 return NULL;
1789 }
1790
1791
1792 static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxSize *arg1 = (wxSize *) 0 ;
1795 int result;
1796 PyObject * obj0 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 result = (int)((wxSize const *)arg1)->GetWidth();
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 resultobj = PyInt_FromLong((long)result);
1811 return resultobj;
1812 fail:
1813 return NULL;
1814 }
1815
1816
1817 static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxSize *arg1 = (wxSize *) 0 ;
1820 int result;
1821 PyObject * obj0 = 0 ;
1822 char *kwnames[] = {
1823 (char *) "self", NULL
1824 };
1825
1826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
1827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 result = (int)((wxSize const *)arg1)->GetHeight();
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 resultobj = PyInt_FromLong((long)result);
1836 return resultobj;
1837 fail:
1838 return NULL;
1839 }
1840
1841
1842 static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxSize *arg1 = (wxSize *) 0 ;
1845 PyObject *result;
1846 PyObject * obj0 = 0 ;
1847 char *kwnames[] = {
1848 (char *) "self", NULL
1849 };
1850
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1853 {
1854 PyThreadState* __tstate = wxPyBeginAllowThreads();
1855 result = (PyObject *)wxSize_Get(arg1);
1856
1857 wxPyEndAllowThreads(__tstate);
1858 if (PyErr_Occurred()) SWIG_fail;
1859 }
1860 resultobj = result;
1861 return resultobj;
1862 fail:
1863 return NULL;
1864 }
1865
1866
1867 static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
1868 PyObject *obj;
1869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1870 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
1871 Py_INCREF(obj);
1872 return Py_BuildValue((char *)"");
1873 }
1874 static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1875 PyObject *resultobj;
1876 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1877 double arg2 ;
1878 PyObject * obj0 = 0 ;
1879 char *kwnames[] = {
1880 (char *) "self",(char *) "x", NULL
1881 };
1882
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_x_set",kwnames,&obj0,&arg2)) goto fail;
1884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1885 if (arg1) (arg1)->x = arg2;
1886
1887 Py_INCREF(Py_None); resultobj = Py_None;
1888 return resultobj;
1889 fail:
1890 return NULL;
1891 }
1892
1893
1894 static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1895 PyObject *resultobj;
1896 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1897 double result;
1898 PyObject * obj0 = 0 ;
1899 char *kwnames[] = {
1900 (char *) "self", NULL
1901 };
1902
1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
1904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1905 result = (double) ((arg1)->x);
1906
1907 resultobj = PyFloat_FromDouble(result);
1908 return resultobj;
1909 fail:
1910 return NULL;
1911 }
1912
1913
1914 static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1915 PyObject *resultobj;
1916 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1917 double arg2 ;
1918 PyObject * obj0 = 0 ;
1919 char *kwnames[] = {
1920 (char *) "self",(char *) "y", NULL
1921 };
1922
1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_y_set",kwnames,&obj0,&arg2)) goto fail;
1924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1925 if (arg1) (arg1)->y = arg2;
1926
1927 Py_INCREF(Py_None); resultobj = Py_None;
1928 return resultobj;
1929 fail:
1930 return NULL;
1931 }
1932
1933
1934 static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject *resultobj;
1936 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1937 double result;
1938 PyObject * obj0 = 0 ;
1939 char *kwnames[] = {
1940 (char *) "self", NULL
1941 };
1942
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
1944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1945 result = (double) ((arg1)->y);
1946
1947 resultobj = PyFloat_FromDouble(result);
1948 return resultobj;
1949 fail:
1950 return NULL;
1951 }
1952
1953
1954 static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1955 PyObject *resultobj;
1956 double arg1 = (double) 0.0 ;
1957 double arg2 = (double) 0.0 ;
1958 wxRealPoint *result;
1959 char *kwnames[] = {
1960 (char *) "x",(char *) "y", NULL
1961 };
1962
1963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_RealPoint",kwnames,&arg1,&arg2)) goto fail;
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 1);
1972 return resultobj;
1973 fail:
1974 return NULL;
1975 }
1976
1977
1978 static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1981 PyObject * obj0 = 0 ;
1982 char *kwnames[] = {
1983 (char *) "self", NULL
1984 };
1985
1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
1987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1988 {
1989 PyThreadState* __tstate = wxPyBeginAllowThreads();
1990 delete arg1;
1991
1992 wxPyEndAllowThreads(__tstate);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 }
1995 Py_INCREF(Py_None); resultobj = Py_None;
1996 return resultobj;
1997 fail:
1998 return NULL;
1999 }
2000
2001
2002 static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2003 PyObject *resultobj;
2004 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2005 wxRealPoint *arg2 = 0 ;
2006 bool result;
2007 wxRealPoint temp2 ;
2008 PyObject * obj0 = 0 ;
2009 PyObject * obj1 = 0 ;
2010 char *kwnames[] = {
2011 (char *) "self",(char *) "pt", NULL
2012 };
2013
2014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2016 {
2017 arg2 = &temp2;
2018 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2019 }
2020 {
2021 PyThreadState* __tstate = wxPyBeginAllowThreads();
2022 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
2023
2024 wxPyEndAllowThreads(__tstate);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 }
2027 resultobj = PyInt_FromLong((long)result);
2028 return resultobj;
2029 fail:
2030 return NULL;
2031 }
2032
2033
2034 static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2035 PyObject *resultobj;
2036 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2037 wxRealPoint *arg2 = 0 ;
2038 bool result;
2039 wxRealPoint temp2 ;
2040 PyObject * obj0 = 0 ;
2041 PyObject * obj1 = 0 ;
2042 char *kwnames[] = {
2043 (char *) "self",(char *) "pt", NULL
2044 };
2045
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2048 {
2049 arg2 = &temp2;
2050 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2051 }
2052 {
2053 PyThreadState* __tstate = wxPyBeginAllowThreads();
2054 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
2055
2056 wxPyEndAllowThreads(__tstate);
2057 if (PyErr_Occurred()) SWIG_fail;
2058 }
2059 resultobj = PyInt_FromLong((long)result);
2060 return resultobj;
2061 fail:
2062 return NULL;
2063 }
2064
2065
2066 static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2067 PyObject *resultobj;
2068 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2069 wxRealPoint *arg2 = 0 ;
2070 wxRealPoint result;
2071 wxRealPoint temp2 ;
2072 PyObject * obj0 = 0 ;
2073 PyObject * obj1 = 0 ;
2074 char *kwnames[] = {
2075 (char *) "self",(char *) "pt", NULL
2076 };
2077
2078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2080 {
2081 arg2 = &temp2;
2082 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2083 }
2084 {
2085 PyThreadState* __tstate = wxPyBeginAllowThreads();
2086 result = (arg1)->operator +((wxRealPoint const &)*arg2);
2087
2088 wxPyEndAllowThreads(__tstate);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 }
2091 {
2092 wxRealPoint * resultptr;
2093 resultptr = new wxRealPoint((wxRealPoint &) result);
2094 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2095 }
2096 return resultobj;
2097 fail:
2098 return NULL;
2099 }
2100
2101
2102 static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2103 PyObject *resultobj;
2104 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2105 wxRealPoint *arg2 = 0 ;
2106 wxRealPoint result;
2107 wxRealPoint temp2 ;
2108 PyObject * obj0 = 0 ;
2109 PyObject * obj1 = 0 ;
2110 char *kwnames[] = {
2111 (char *) "self",(char *) "pt", NULL
2112 };
2113
2114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2116 {
2117 arg2 = &temp2;
2118 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2119 }
2120 {
2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
2122 result = (arg1)->operator -((wxRealPoint const &)*arg2);
2123
2124 wxPyEndAllowThreads(__tstate);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2127 {
2128 wxRealPoint * resultptr;
2129 resultptr = new wxRealPoint((wxRealPoint &) result);
2130 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2131 }
2132 return resultobj;
2133 fail:
2134 return NULL;
2135 }
2136
2137
2138 static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2139 PyObject *resultobj;
2140 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2141 double arg2 ;
2142 double arg3 ;
2143 PyObject * obj0 = 0 ;
2144 char *kwnames[] = {
2145 (char *) "self",(char *) "x",(char *) "y", NULL
2146 };
2147
2148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:RealPoint_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2150 {
2151 PyThreadState* __tstate = wxPyBeginAllowThreads();
2152 wxRealPoint_Set(arg1,arg2,arg3);
2153
2154 wxPyEndAllowThreads(__tstate);
2155 if (PyErr_Occurred()) SWIG_fail;
2156 }
2157 Py_INCREF(Py_None); resultobj = Py_None;
2158 return resultobj;
2159 fail:
2160 return NULL;
2161 }
2162
2163
2164 static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject *resultobj;
2166 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2167 PyObject *result;
2168 PyObject * obj0 = 0 ;
2169 char *kwnames[] = {
2170 (char *) "self", NULL
2171 };
2172
2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2175 {
2176 PyThreadState* __tstate = wxPyBeginAllowThreads();
2177 result = (PyObject *)wxRealPoint_Get(arg1);
2178
2179 wxPyEndAllowThreads(__tstate);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
2182 resultobj = result;
2183 return resultobj;
2184 fail:
2185 return NULL;
2186 }
2187
2188
2189 static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2190 PyObject *obj;
2191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2192 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2193 Py_INCREF(obj);
2194 return Py_BuildValue((char *)"");
2195 }
2196 static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxPoint *arg1 = (wxPoint *) 0 ;
2199 int arg2 ;
2200 PyObject * obj0 = 0 ;
2201 char *kwnames[] = {
2202 (char *) "self",(char *) "x", NULL
2203 };
2204
2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_x_set",kwnames,&obj0,&arg2)) goto fail;
2206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2207 if (arg1) (arg1)->x = arg2;
2208
2209 Py_INCREF(Py_None); resultobj = Py_None;
2210 return resultobj;
2211 fail:
2212 return NULL;
2213 }
2214
2215
2216 static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2217 PyObject *resultobj;
2218 wxPoint *arg1 = (wxPoint *) 0 ;
2219 int result;
2220 PyObject * obj0 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "self", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2227 result = (int) ((arg1)->x);
2228
2229 resultobj = PyInt_FromLong((long)result);
2230 return resultobj;
2231 fail:
2232 return NULL;
2233 }
2234
2235
2236 static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2237 PyObject *resultobj;
2238 wxPoint *arg1 = (wxPoint *) 0 ;
2239 int arg2 ;
2240 PyObject * obj0 = 0 ;
2241 char *kwnames[] = {
2242 (char *) "self",(char *) "y", NULL
2243 };
2244
2245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_y_set",kwnames,&obj0,&arg2)) goto fail;
2246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2247 if (arg1) (arg1)->y = arg2;
2248
2249 Py_INCREF(Py_None); resultobj = Py_None;
2250 return resultobj;
2251 fail:
2252 return NULL;
2253 }
2254
2255
2256 static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2257 PyObject *resultobj;
2258 wxPoint *arg1 = (wxPoint *) 0 ;
2259 int result;
2260 PyObject * obj0 = 0 ;
2261 char *kwnames[] = {
2262 (char *) "self", NULL
2263 };
2264
2265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2267 result = (int) ((arg1)->y);
2268
2269 resultobj = PyInt_FromLong((long)result);
2270 return resultobj;
2271 fail:
2272 return NULL;
2273 }
2274
2275
2276 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject *resultobj;
2278 int arg1 = (int) 0 ;
2279 int arg2 = (int) 0 ;
2280 wxPoint *result;
2281 char *kwnames[] = {
2282 (char *) "x",(char *) "y", NULL
2283 };
2284
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Point",kwnames,&arg1,&arg2)) goto fail;
2286 {
2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
2288 result = (wxPoint *)new wxPoint(arg1,arg2);
2289
2290 wxPyEndAllowThreads(__tstate);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 1);
2294 return resultobj;
2295 fail:
2296 return NULL;
2297 }
2298
2299
2300 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2301 PyObject *resultobj;
2302 wxPoint *arg1 = (wxPoint *) 0 ;
2303 PyObject * obj0 = 0 ;
2304 char *kwnames[] = {
2305 (char *) "self", NULL
2306 };
2307
2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 delete arg1;
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) SWIG_fail;
2316 }
2317 Py_INCREF(Py_None); resultobj = Py_None;
2318 return resultobj;
2319 fail:
2320 return NULL;
2321 }
2322
2323
2324 static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject *resultobj;
2326 wxPoint *arg1 = (wxPoint *) 0 ;
2327 wxPoint *arg2 = 0 ;
2328 bool result;
2329 wxPoint temp2 ;
2330 PyObject * obj0 = 0 ;
2331 PyObject * obj1 = 0 ;
2332 char *kwnames[] = {
2333 (char *) "self",(char *) "pt", NULL
2334 };
2335
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2338 {
2339 arg2 = &temp2;
2340 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2341 }
2342 {
2343 PyThreadState* __tstate = wxPyBeginAllowThreads();
2344 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
2345
2346 wxPyEndAllowThreads(__tstate);
2347 if (PyErr_Occurred()) SWIG_fail;
2348 }
2349 resultobj = PyInt_FromLong((long)result);
2350 return resultobj;
2351 fail:
2352 return NULL;
2353 }
2354
2355
2356 static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2357 PyObject *resultobj;
2358 wxPoint *arg1 = (wxPoint *) 0 ;
2359 wxPoint *arg2 = 0 ;
2360 bool result;
2361 wxPoint temp2 ;
2362 PyObject * obj0 = 0 ;
2363 PyObject * obj1 = 0 ;
2364 char *kwnames[] = {
2365 (char *) "self",(char *) "pt", NULL
2366 };
2367
2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2370 {
2371 arg2 = &temp2;
2372 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2373 }
2374 {
2375 PyThreadState* __tstate = wxPyBeginAllowThreads();
2376 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
2377
2378 wxPyEndAllowThreads(__tstate);
2379 if (PyErr_Occurred()) SWIG_fail;
2380 }
2381 resultobj = PyInt_FromLong((long)result);
2382 return resultobj;
2383 fail:
2384 return NULL;
2385 }
2386
2387
2388 static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2389 PyObject *resultobj;
2390 wxPoint *arg1 = (wxPoint *) 0 ;
2391 wxPoint *arg2 = 0 ;
2392 wxPoint result;
2393 wxPoint temp2 ;
2394 PyObject * obj0 = 0 ;
2395 PyObject * obj1 = 0 ;
2396 char *kwnames[] = {
2397 (char *) "self",(char *) "pt", NULL
2398 };
2399
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2402 {
2403 arg2 = &temp2;
2404 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2405 }
2406 {
2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
2408 result = (arg1)->operator +((wxPoint const &)*arg2);
2409
2410 wxPyEndAllowThreads(__tstate);
2411 if (PyErr_Occurred()) SWIG_fail;
2412 }
2413 {
2414 wxPoint * resultptr;
2415 resultptr = new wxPoint((wxPoint &) result);
2416 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2417 }
2418 return resultobj;
2419 fail:
2420 return NULL;
2421 }
2422
2423
2424 static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2425 PyObject *resultobj;
2426 wxPoint *arg1 = (wxPoint *) 0 ;
2427 wxPoint *arg2 = 0 ;
2428 wxPoint result;
2429 wxPoint temp2 ;
2430 PyObject * obj0 = 0 ;
2431 PyObject * obj1 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "self",(char *) "pt", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2438 {
2439 arg2 = &temp2;
2440 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2441 }
2442 {
2443 PyThreadState* __tstate = wxPyBeginAllowThreads();
2444 result = (arg1)->operator -((wxPoint const &)*arg2);
2445
2446 wxPyEndAllowThreads(__tstate);
2447 if (PyErr_Occurred()) SWIG_fail;
2448 }
2449 {
2450 wxPoint * resultptr;
2451 resultptr = new wxPoint((wxPoint &) result);
2452 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2453 }
2454 return resultobj;
2455 fail:
2456 return NULL;
2457 }
2458
2459
2460 static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
2461 PyObject *resultobj;
2462 wxPoint *arg1 = (wxPoint *) 0 ;
2463 wxPoint *arg2 = 0 ;
2464 wxPoint *result;
2465 wxPoint temp2 ;
2466 PyObject * obj0 = 0 ;
2467 PyObject * obj1 = 0 ;
2468 char *kwnames[] = {
2469 (char *) "self",(char *) "pt", NULL
2470 };
2471
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2474 {
2475 arg2 = &temp2;
2476 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2477 }
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 {
2481 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
2482 result = (wxPoint *) &_result_ref;
2483 }
2484
2485 wxPyEndAllowThreads(__tstate);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 }
2488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2489 return resultobj;
2490 fail:
2491 return NULL;
2492 }
2493
2494
2495 static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2496 PyObject *resultobj;
2497 wxPoint *arg1 = (wxPoint *) 0 ;
2498 wxPoint *arg2 = 0 ;
2499 wxPoint *result;
2500 wxPoint temp2 ;
2501 PyObject * obj0 = 0 ;
2502 PyObject * obj1 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "self",(char *) "pt", NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2509 {
2510 arg2 = &temp2;
2511 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2512 }
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 {
2516 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
2517 result = (wxPoint *) &_result_ref;
2518 }
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2524 return resultobj;
2525 fail:
2526 return NULL;
2527 }
2528
2529
2530 static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2531 PyObject *resultobj;
2532 wxPoint *arg1 = (wxPoint *) 0 ;
2533 long arg2 ;
2534 long arg3 ;
2535 PyObject * obj0 = 0 ;
2536 char *kwnames[] = {
2537 (char *) "self",(char *) "x",(char *) "y", NULL
2538 };
2539
2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:Point_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
2544 wxPoint_Set(arg1,arg2,arg3);
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 }
2549 Py_INCREF(Py_None); resultobj = Py_None;
2550 return resultobj;
2551 fail:
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxPoint *arg1 = (wxPoint *) 0 ;
2559 PyObject *result;
2560 PyObject * obj0 = 0 ;
2561 char *kwnames[] = {
2562 (char *) "self", NULL
2563 };
2564
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
2566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2567 {
2568 PyThreadState* __tstate = wxPyBeginAllowThreads();
2569 result = (PyObject *)wxPoint_Get(arg1);
2570
2571 wxPyEndAllowThreads(__tstate);
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 resultobj = result;
2575 return resultobj;
2576 fail:
2577 return NULL;
2578 }
2579
2580
2581 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
2582 PyObject *obj;
2583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2584 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
2585 Py_INCREF(obj);
2586 return Py_BuildValue((char *)"");
2587 }
2588 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2589 PyObject *resultobj;
2590 int arg1 = (int) 0 ;
2591 int arg2 = (int) 0 ;
2592 int arg3 = (int) 0 ;
2593 int arg4 = (int) 0 ;
2594 wxRect *result;
2595 char *kwnames[] = {
2596 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2597 };
2598
2599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_Rect",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
2600 {
2601 PyThreadState* __tstate = wxPyBeginAllowThreads();
2602 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
2603
2604 wxPyEndAllowThreads(__tstate);
2605 if (PyErr_Occurred()) SWIG_fail;
2606 }
2607 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2608 return resultobj;
2609 fail:
2610 return NULL;
2611 }
2612
2613
2614 static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
2615 PyObject *resultobj;
2616 wxPoint *arg1 = 0 ;
2617 wxPoint *arg2 = 0 ;
2618 wxRect *result;
2619 wxPoint temp1 ;
2620 wxPoint temp2 ;
2621 PyObject * obj0 = 0 ;
2622 PyObject * obj1 = 0 ;
2623 char *kwnames[] = {
2624 (char *) "topLeft",(char *) "bottomRight", NULL
2625 };
2626
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
2628 {
2629 arg1 = &temp1;
2630 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2631 }
2632 {
2633 arg2 = &temp2;
2634 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2635 }
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) SWIG_fail;
2642 }
2643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2644 return resultobj;
2645 fail:
2646 return NULL;
2647 }
2648
2649
2650 static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj;
2652 wxPoint *arg1 = 0 ;
2653 wxSize *arg2 = 0 ;
2654 wxRect *result;
2655 wxPoint temp1 ;
2656 wxSize temp2 ;
2657 PyObject * obj0 = 0 ;
2658 PyObject * obj1 = 0 ;
2659 char *kwnames[] = {
2660 (char *) "pos",(char *) "size", NULL
2661 };
2662
2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
2664 {
2665 arg1 = &temp1;
2666 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2667 }
2668 {
2669 arg2 = &temp2;
2670 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2671 }
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2680 return resultobj;
2681 fail:
2682 return NULL;
2683 }
2684
2685
2686 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject *resultobj;
2688 wxRect *arg1 = (wxRect *) 0 ;
2689 PyObject * obj0 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
2695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2696 {
2697 PyThreadState* __tstate = wxPyBeginAllowThreads();
2698 delete arg1;
2699
2700 wxPyEndAllowThreads(__tstate);
2701 if (PyErr_Occurred()) SWIG_fail;
2702 }
2703 Py_INCREF(Py_None); resultobj = Py_None;
2704 return resultobj;
2705 fail:
2706 return NULL;
2707 }
2708
2709
2710 static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2711 PyObject *resultobj;
2712 wxRect *arg1 = (wxRect *) 0 ;
2713 int result;
2714 PyObject * obj0 = 0 ;
2715 char *kwnames[] = {
2716 (char *) "self", NULL
2717 };
2718
2719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
2720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2721 {
2722 PyThreadState* __tstate = wxPyBeginAllowThreads();
2723 result = (int)((wxRect const *)arg1)->GetX();
2724
2725 wxPyEndAllowThreads(__tstate);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 }
2728 resultobj = PyInt_FromLong((long)result);
2729 return resultobj;
2730 fail:
2731 return NULL;
2732 }
2733
2734
2735 static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxRect *arg1 = (wxRect *) 0 ;
2738 int arg2 ;
2739 PyObject * obj0 = 0 ;
2740 char *kwnames[] = {
2741 (char *) "self",(char *) "x", NULL
2742 };
2743
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetX",kwnames,&obj0,&arg2)) goto fail;
2745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->SetX(arg2);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 return resultobj;
2755 fail:
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxRect *arg1 = (wxRect *) 0 ;
2763 int result;
2764 PyObject * obj0 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
2770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = (int)(arg1)->GetY();
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 resultobj = PyInt_FromLong((long)result);
2779 return resultobj;
2780 fail:
2781 return NULL;
2782 }
2783
2784
2785 static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2786 PyObject *resultobj;
2787 wxRect *arg1 = (wxRect *) 0 ;
2788 int arg2 ;
2789 PyObject * obj0 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self",(char *) "y", NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetY",kwnames,&obj0,&arg2)) goto fail;
2795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
2798 (arg1)->SetY(arg2);
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 Py_INCREF(Py_None); resultobj = Py_None;
2804 return resultobj;
2805 fail:
2806 return NULL;
2807 }
2808
2809
2810 static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject *resultobj;
2812 wxRect *arg1 = (wxRect *) 0 ;
2813 int result;
2814 PyObject * obj0 = 0 ;
2815 char *kwnames[] = {
2816 (char *) "self", NULL
2817 };
2818
2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
2820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2821 {
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
2823 result = (int)((wxRect const *)arg1)->GetWidth();
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) SWIG_fail;
2827 }
2828 resultobj = PyInt_FromLong((long)result);
2829 return resultobj;
2830 fail:
2831 return NULL;
2832 }
2833
2834
2835 static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2836 PyObject *resultobj;
2837 wxRect *arg1 = (wxRect *) 0 ;
2838 int arg2 ;
2839 PyObject * obj0 = 0 ;
2840 char *kwnames[] = {
2841 (char *) "self",(char *) "w", NULL
2842 };
2843
2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetWidth",kwnames,&obj0,&arg2)) goto fail;
2845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2846 {
2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2848 (arg1)->SetWidth(arg2);
2849
2850 wxPyEndAllowThreads(__tstate);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 Py_INCREF(Py_None); resultobj = Py_None;
2854 return resultobj;
2855 fail:
2856 return NULL;
2857 }
2858
2859
2860 static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj;
2862 wxRect *arg1 = (wxRect *) 0 ;
2863 int result;
2864 PyObject * obj0 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
2870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2871 {
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 result = (int)((wxRect const *)arg1)->GetHeight();
2874
2875 wxPyEndAllowThreads(__tstate);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 resultobj = PyInt_FromLong((long)result);
2879 return resultobj;
2880 fail:
2881 return NULL;
2882 }
2883
2884
2885 static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2886 PyObject *resultobj;
2887 wxRect *arg1 = (wxRect *) 0 ;
2888 int arg2 ;
2889 PyObject * obj0 = 0 ;
2890 char *kwnames[] = {
2891 (char *) "self",(char *) "h", NULL
2892 };
2893
2894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetHeight",kwnames,&obj0,&arg2)) goto fail;
2895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2896 {
2897 PyThreadState* __tstate = wxPyBeginAllowThreads();
2898 (arg1)->SetHeight(arg2);
2899
2900 wxPyEndAllowThreads(__tstate);
2901 if (PyErr_Occurred()) SWIG_fail;
2902 }
2903 Py_INCREF(Py_None); resultobj = Py_None;
2904 return resultobj;
2905 fail:
2906 return NULL;
2907 }
2908
2909
2910 static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2911 PyObject *resultobj;
2912 wxRect *arg1 = (wxRect *) 0 ;
2913 wxPoint result;
2914 PyObject * obj0 = 0 ;
2915 char *kwnames[] = {
2916 (char *) "self", NULL
2917 };
2918
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
2920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2921 {
2922 PyThreadState* __tstate = wxPyBeginAllowThreads();
2923 result = ((wxRect const *)arg1)->GetPosition();
2924
2925 wxPyEndAllowThreads(__tstate);
2926 if (PyErr_Occurred()) SWIG_fail;
2927 }
2928 {
2929 wxPoint * resultptr;
2930 resultptr = new wxPoint((wxPoint &) result);
2931 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2932 }
2933 return resultobj;
2934 fail:
2935 return NULL;
2936 }
2937
2938
2939 static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2940 PyObject *resultobj;
2941 wxRect *arg1 = (wxRect *) 0 ;
2942 wxPoint *arg2 = 0 ;
2943 wxPoint temp2 ;
2944 PyObject * obj0 = 0 ;
2945 PyObject * obj1 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "self",(char *) "p", NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2952 {
2953 arg2 = &temp2;
2954 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2955 }
2956 {
2957 PyThreadState* __tstate = wxPyBeginAllowThreads();
2958 (arg1)->SetPosition((wxPoint const &)*arg2);
2959
2960 wxPyEndAllowThreads(__tstate);
2961 if (PyErr_Occurred()) SWIG_fail;
2962 }
2963 Py_INCREF(Py_None); resultobj = Py_None;
2964 return resultobj;
2965 fail:
2966 return NULL;
2967 }
2968
2969
2970 static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2971 PyObject *resultobj;
2972 wxRect *arg1 = (wxRect *) 0 ;
2973 wxSize result;
2974 PyObject * obj0 = 0 ;
2975 char *kwnames[] = {
2976 (char *) "self", NULL
2977 };
2978
2979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
2980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2981 {
2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
2983 result = ((wxRect const *)arg1)->GetSize();
2984
2985 wxPyEndAllowThreads(__tstate);
2986 if (PyErr_Occurred()) SWIG_fail;
2987 }
2988 {
2989 wxSize * resultptr;
2990 resultptr = new wxSize((wxSize &) result);
2991 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
2992 }
2993 return resultobj;
2994 fail:
2995 return NULL;
2996 }
2997
2998
2999 static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3000 PyObject *resultobj;
3001 wxRect *arg1 = (wxRect *) 0 ;
3002 wxSize *arg2 = 0 ;
3003 wxSize temp2 ;
3004 PyObject * obj0 = 0 ;
3005 PyObject * obj1 = 0 ;
3006 char *kwnames[] = {
3007 (char *) "self",(char *) "s", NULL
3008 };
3009
3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3012 {
3013 arg2 = &temp2;
3014 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3015 }
3016 {
3017 PyThreadState* __tstate = wxPyBeginAllowThreads();
3018 (arg1)->SetSize((wxSize const &)*arg2);
3019
3020 wxPyEndAllowThreads(__tstate);
3021 if (PyErr_Occurred()) SWIG_fail;
3022 }
3023 Py_INCREF(Py_None); resultobj = Py_None;
3024 return resultobj;
3025 fail:
3026 return NULL;
3027 }
3028
3029
3030 static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3031 PyObject *resultobj;
3032 wxRect *arg1 = (wxRect *) 0 ;
3033 int result;
3034 PyObject * obj0 = 0 ;
3035 char *kwnames[] = {
3036 (char *) "self", NULL
3037 };
3038
3039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3041 {
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 result = (int)((wxRect const *)arg1)->GetLeft();
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 resultobj = PyInt_FromLong((long)result);
3049 return resultobj;
3050 fail:
3051 return NULL;
3052 }
3053
3054
3055 static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxRect *arg1 = (wxRect *) 0 ;
3058 int result;
3059 PyObject * obj0 = 0 ;
3060 char *kwnames[] = {
3061 (char *) "self", NULL
3062 };
3063
3064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3066 {
3067 PyThreadState* __tstate = wxPyBeginAllowThreads();
3068 result = (int)((wxRect const *)arg1)->GetTop();
3069
3070 wxPyEndAllowThreads(__tstate);
3071 if (PyErr_Occurred()) SWIG_fail;
3072 }
3073 resultobj = PyInt_FromLong((long)result);
3074 return resultobj;
3075 fail:
3076 return NULL;
3077 }
3078
3079
3080 static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3081 PyObject *resultobj;
3082 wxRect *arg1 = (wxRect *) 0 ;
3083 int result;
3084 PyObject * obj0 = 0 ;
3085 char *kwnames[] = {
3086 (char *) "self", NULL
3087 };
3088
3089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091 {
3092 PyThreadState* __tstate = wxPyBeginAllowThreads();
3093 result = (int)((wxRect const *)arg1)->GetBottom();
3094
3095 wxPyEndAllowThreads(__tstate);
3096 if (PyErr_Occurred()) SWIG_fail;
3097 }
3098 resultobj = PyInt_FromLong((long)result);
3099 return resultobj;
3100 fail:
3101 return NULL;
3102 }
3103
3104
3105 static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3106 PyObject *resultobj;
3107 wxRect *arg1 = (wxRect *) 0 ;
3108 int result;
3109 PyObject * obj0 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 result = (int)((wxRect const *)arg1)->GetRight();
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 resultobj = PyInt_FromLong((long)result);
3124 return resultobj;
3125 fail:
3126 return NULL;
3127 }
3128
3129
3130 static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxRect *arg1 = (wxRect *) 0 ;
3133 int arg2 ;
3134 PyObject * obj0 = 0 ;
3135 char *kwnames[] = {
3136 (char *) "self",(char *) "left", NULL
3137 };
3138
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetLeft",kwnames,&obj0,&arg2)) goto fail;
3140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 (arg1)->SetLeft(arg2);
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 Py_INCREF(Py_None); resultobj = Py_None;
3149 return resultobj;
3150 fail:
3151 return NULL;
3152 }
3153
3154
3155 static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject *resultobj;
3157 wxRect *arg1 = (wxRect *) 0 ;
3158 int arg2 ;
3159 PyObject * obj0 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self",(char *) "right", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetRight",kwnames,&obj0,&arg2)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3166 {
3167 PyThreadState* __tstate = wxPyBeginAllowThreads();
3168 (arg1)->SetRight(arg2);
3169
3170 wxPyEndAllowThreads(__tstate);
3171 if (PyErr_Occurred()) SWIG_fail;
3172 }
3173 Py_INCREF(Py_None); resultobj = Py_None;
3174 return resultobj;
3175 fail:
3176 return NULL;
3177 }
3178
3179
3180 static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3181 PyObject *resultobj;
3182 wxRect *arg1 = (wxRect *) 0 ;
3183 int arg2 ;
3184 PyObject * obj0 = 0 ;
3185 char *kwnames[] = {
3186 (char *) "self",(char *) "top", NULL
3187 };
3188
3189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetTop",kwnames,&obj0,&arg2)) goto fail;
3190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3191 {
3192 PyThreadState* __tstate = wxPyBeginAllowThreads();
3193 (arg1)->SetTop(arg2);
3194
3195 wxPyEndAllowThreads(__tstate);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 }
3198 Py_INCREF(Py_None); resultobj = Py_None;
3199 return resultobj;
3200 fail:
3201 return NULL;
3202 }
3203
3204
3205 static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3206 PyObject *resultobj;
3207 wxRect *arg1 = (wxRect *) 0 ;
3208 int arg2 ;
3209 PyObject * obj0 = 0 ;
3210 char *kwnames[] = {
3211 (char *) "self",(char *) "bottom", NULL
3212 };
3213
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetBottom",kwnames,&obj0,&arg2)) goto fail;
3215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 (arg1)->SetBottom(arg2);
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 Py_INCREF(Py_None); resultobj = Py_None;
3224 return resultobj;
3225 fail:
3226 return NULL;
3227 }
3228
3229
3230 static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj;
3232 wxRect *arg1 = (wxRect *) 0 ;
3233 int arg2 ;
3234 int arg3 ;
3235 wxRect *result;
3236 PyObject * obj0 = 0 ;
3237 char *kwnames[] = {
3238 (char *) "self",(char *) "dx",(char *) "dy", NULL
3239 };
3240
3241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Inflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 {
3246 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
3247 result = (wxRect *) &_result_ref;
3248 }
3249
3250 wxPyEndAllowThreads(__tstate);
3251 if (PyErr_Occurred()) SWIG_fail;
3252 }
3253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3254 return resultobj;
3255 fail:
3256 return NULL;
3257 }
3258
3259
3260 static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3261 PyObject *resultobj;
3262 wxRect *arg1 = (wxRect *) 0 ;
3263 int arg2 ;
3264 int arg3 ;
3265 wxRect *result;
3266 PyObject * obj0 = 0 ;
3267 char *kwnames[] = {
3268 (char *) "self",(char *) "dx",(char *) "dy", NULL
3269 };
3270
3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Deflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3273 {
3274 PyThreadState* __tstate = wxPyBeginAllowThreads();
3275 {
3276 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
3277 result = (wxRect *) &_result_ref;
3278 }
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3284 return resultobj;
3285 fail:
3286 return NULL;
3287 }
3288
3289
3290 static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 wxRect *arg1 = (wxRect *) 0 ;
3293 int arg2 ;
3294 int arg3 ;
3295 PyObject * obj0 = 0 ;
3296 char *kwnames[] = {
3297 (char *) "self",(char *) "dx",(char *) "dy", NULL
3298 };
3299
3300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_OffsetXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3302 {
3303 PyThreadState* __tstate = wxPyBeginAllowThreads();
3304 (arg1)->Offset(arg2,arg3);
3305
3306 wxPyEndAllowThreads(__tstate);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 }
3309 Py_INCREF(Py_None); resultobj = Py_None;
3310 return resultobj;
3311 fail:
3312 return NULL;
3313 }
3314
3315
3316 static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject *resultobj;
3318 wxRect *arg1 = (wxRect *) 0 ;
3319 wxPoint *arg2 = 0 ;
3320 wxPoint temp2 ;
3321 PyObject * obj0 = 0 ;
3322 PyObject * obj1 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "self",(char *) "pt", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
3328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3329 {
3330 arg2 = &temp2;
3331 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3332 }
3333 {
3334 PyThreadState* __tstate = wxPyBeginAllowThreads();
3335 (arg1)->Offset((wxPoint const &)*arg2);
3336
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 Py_INCREF(Py_None); resultobj = Py_None;
3341 return resultobj;
3342 fail:
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxRect *arg1 = (wxRect *) 0 ;
3350 wxRect *arg2 = 0 ;
3351 wxRect *result;
3352 wxRect temp2 ;
3353 PyObject * obj0 = 0 ;
3354 PyObject * obj1 = 0 ;
3355 char *kwnames[] = {
3356 (char *) "self",(char *) "rect", NULL
3357 };
3358
3359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
3360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3361 {
3362 arg2 = &temp2;
3363 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3364 }
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 {
3368 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
3369 result = (wxRect *) &_result_ref;
3370 }
3371
3372 wxPyEndAllowThreads(__tstate);
3373 if (PyErr_Occurred()) SWIG_fail;
3374 }
3375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3376 return resultobj;
3377 fail:
3378 return NULL;
3379 }
3380
3381
3382 static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3383 PyObject *resultobj;
3384 wxRect *arg1 = (wxRect *) 0 ;
3385 wxRect *arg2 = 0 ;
3386 wxRect result;
3387 wxRect temp2 ;
3388 PyObject * obj0 = 0 ;
3389 PyObject * obj1 = 0 ;
3390 char *kwnames[] = {
3391 (char *) "self",(char *) "rect", NULL
3392 };
3393
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
3395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3396 {
3397 arg2 = &temp2;
3398 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3399 }
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
3403
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
3407 {
3408 wxRect * resultptr;
3409 resultptr = new wxRect((wxRect &) result);
3410 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3411 }
3412 return resultobj;
3413 fail:
3414 return NULL;
3415 }
3416
3417
3418 static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3419 PyObject *resultobj;
3420 wxRect *arg1 = (wxRect *) 0 ;
3421 wxRect *arg2 = 0 ;
3422 wxRect *result;
3423 wxRect temp2 ;
3424 PyObject * obj0 = 0 ;
3425 PyObject * obj1 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self",(char *) "rect", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
3431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3432 {
3433 arg2 = &temp2;
3434 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3435 }
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 {
3439 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
3440 result = (wxRect *) &_result_ref;
3441 }
3442
3443 wxPyEndAllowThreads(__tstate);
3444 if (PyErr_Occurred()) SWIG_fail;
3445 }
3446 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3447 return resultobj;
3448 fail:
3449 return NULL;
3450 }
3451
3452
3453 static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3454 PyObject *resultobj;
3455 wxRect *arg1 = (wxRect *) 0 ;
3456 wxRect *arg2 = 0 ;
3457 bool result;
3458 wxRect temp2 ;
3459 PyObject * obj0 = 0 ;
3460 PyObject * obj1 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self",(char *) "rect", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3467 {
3468 arg2 = &temp2;
3469 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3470 }
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 resultobj = PyInt_FromLong((long)result);
3479 return resultobj;
3480 fail:
3481 return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxRect *arg1 = (wxRect *) 0 ;
3488 wxRect *arg2 = 0 ;
3489 bool result;
3490 wxRect temp2 ;
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj1 = 0 ;
3493 char *kwnames[] = {
3494 (char *) "self",(char *) "rect", NULL
3495 };
3496
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
3498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3499 {
3500 arg2 = &temp2;
3501 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3502 }
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 resultobj = PyInt_FromLong((long)result);
3511 return resultobj;
3512 fail:
3513 return NULL;
3514 }
3515
3516
3517 static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3518 PyObject *resultobj;
3519 wxRect *arg1 = (wxRect *) 0 ;
3520 int arg2 ;
3521 int arg3 ;
3522 bool result;
3523 PyObject * obj0 = 0 ;
3524 char *kwnames[] = {
3525 (char *) "self",(char *) "x",(char *) "y", NULL
3526 };
3527
3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_InsideXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3530 {
3531 PyThreadState* __tstate = wxPyBeginAllowThreads();
3532 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
3533
3534 wxPyEndAllowThreads(__tstate);
3535 if (PyErr_Occurred()) SWIG_fail;
3536 }
3537 resultobj = PyInt_FromLong((long)result);
3538 return resultobj;
3539 fail:
3540 return NULL;
3541 }
3542
3543
3544 static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
3545 PyObject *resultobj;
3546 wxRect *arg1 = (wxRect *) 0 ;
3547 wxPoint *arg2 = 0 ;
3548 bool result;
3549 wxPoint temp2 ;
3550 PyObject * obj0 = 0 ;
3551 PyObject * obj1 = 0 ;
3552 char *kwnames[] = {
3553 (char *) "self",(char *) "pt", NULL
3554 };
3555
3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
3557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3558 {
3559 arg2 = &temp2;
3560 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3561 }
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 resultobj = PyInt_FromLong((long)result);
3570 return resultobj;
3571 fail:
3572 return NULL;
3573 }
3574
3575
3576 static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
3577 PyObject *resultobj;
3578 wxRect *arg1 = (wxRect *) 0 ;
3579 wxRect *arg2 = 0 ;
3580 bool result;
3581 wxRect temp2 ;
3582 PyObject * obj0 = 0 ;
3583 PyObject * obj1 = 0 ;
3584 char *kwnames[] = {
3585 (char *) "self",(char *) "rect", NULL
3586 };
3587
3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
3589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3590 {
3591 arg2 = &temp2;
3592 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3593 }
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 resultobj = PyInt_FromLong((long)result);
3602 return resultobj;
3603 fail:
3604 return NULL;
3605 }
3606
3607
3608 static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3609 PyObject *resultobj;
3610 wxRect *arg1 = (wxRect *) 0 ;
3611 int arg2 ;
3612 PyObject * obj0 = 0 ;
3613 char *kwnames[] = {
3614 (char *) "self",(char *) "x", NULL
3615 };
3616
3617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_x_set",kwnames,&obj0,&arg2)) goto fail;
3618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3619 if (arg1) (arg1)->x = arg2;
3620
3621 Py_INCREF(Py_None); resultobj = Py_None;
3622 return resultobj;
3623 fail:
3624 return NULL;
3625 }
3626
3627
3628 static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxRect *arg1 = (wxRect *) 0 ;
3631 int result;
3632 PyObject * obj0 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3639 result = (int) ((arg1)->x);
3640
3641 resultobj = PyInt_FromLong((long)result);
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxRect *arg1 = (wxRect *) 0 ;
3651 int arg2 ;
3652 PyObject * obj0 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self",(char *) "y", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_y_set",kwnames,&obj0,&arg2)) goto fail;
3658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3659 if (arg1) (arg1)->y = arg2;
3660
3661 Py_INCREF(Py_None); resultobj = Py_None;
3662 return resultobj;
3663 fail:
3664 return NULL;
3665 }
3666
3667
3668 static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3669 PyObject *resultobj;
3670 wxRect *arg1 = (wxRect *) 0 ;
3671 int result;
3672 PyObject * obj0 = 0 ;
3673 char *kwnames[] = {
3674 (char *) "self", NULL
3675 };
3676
3677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
3678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3679 result = (int) ((arg1)->y);
3680
3681 resultobj = PyInt_FromLong((long)result);
3682 return resultobj;
3683 fail:
3684 return NULL;
3685 }
3686
3687
3688 static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3689 PyObject *resultobj;
3690 wxRect *arg1 = (wxRect *) 0 ;
3691 int arg2 ;
3692 PyObject * obj0 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "self",(char *) "width", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_width_set",kwnames,&obj0,&arg2)) goto fail;
3698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3699 if (arg1) (arg1)->width = arg2;
3700
3701 Py_INCREF(Py_None); resultobj = Py_None;
3702 return resultobj;
3703 fail:
3704 return NULL;
3705 }
3706
3707
3708 static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3709 PyObject *resultobj;
3710 wxRect *arg1 = (wxRect *) 0 ;
3711 int result;
3712 PyObject * obj0 = 0 ;
3713 char *kwnames[] = {
3714 (char *) "self", NULL
3715 };
3716
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
3718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3719 result = (int) ((arg1)->width);
3720
3721 resultobj = PyInt_FromLong((long)result);
3722 return resultobj;
3723 fail:
3724 return NULL;
3725 }
3726
3727
3728 static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3729 PyObject *resultobj;
3730 wxRect *arg1 = (wxRect *) 0 ;
3731 int arg2 ;
3732 PyObject * obj0 = 0 ;
3733 char *kwnames[] = {
3734 (char *) "self",(char *) "height", NULL
3735 };
3736
3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_height_set",kwnames,&obj0,&arg2)) goto fail;
3738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3739 if (arg1) (arg1)->height = arg2;
3740
3741 Py_INCREF(Py_None); resultobj = Py_None;
3742 return resultobj;
3743 fail:
3744 return NULL;
3745 }
3746
3747
3748 static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3749 PyObject *resultobj;
3750 wxRect *arg1 = (wxRect *) 0 ;
3751 int result;
3752 PyObject * obj0 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "self", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
3758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3759 result = (int) ((arg1)->height);
3760
3761 resultobj = PyInt_FromLong((long)result);
3762 return resultobj;
3763 fail:
3764 return NULL;
3765 }
3766
3767
3768 static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj;
3770 wxRect *arg1 = (wxRect *) 0 ;
3771 int arg2 = (int) 0 ;
3772 int arg3 = (int) 0 ;
3773 int arg4 = (int) 0 ;
3774 int arg5 = (int) 0 ;
3775 PyObject * obj0 = 0 ;
3776 char *kwnames[] = {
3777 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3778 };
3779
3780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiii:Rect_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
3781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 Py_INCREF(Py_None); resultobj = Py_None;
3790 return resultobj;
3791 fail:
3792 return NULL;
3793 }
3794
3795
3796 static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxRect *arg1 = (wxRect *) 0 ;
3799 PyObject *result;
3800 PyObject * obj0 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
3806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 result = (PyObject *)wxRect_Get(arg1);
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 resultobj = result;
3815 return resultobj;
3816 fail:
3817 return NULL;
3818 }
3819
3820
3821 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
3822 PyObject *obj;
3823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3824 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
3825 Py_INCREF(obj);
3826 return Py_BuildValue((char *)"");
3827 }
3828 static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3829 PyObject *resultobj;
3830 wxRect *arg1 = (wxRect *) 0 ;
3831 wxRect *arg2 = (wxRect *) 0 ;
3832 PyObject *result;
3833 PyObject * obj0 = 0 ;
3834 PyObject * obj1 = 0 ;
3835 char *kwnames[] = {
3836 (char *) "r1",(char *) "r2", NULL
3837 };
3838
3839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
3840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3842 {
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 result = (PyObject *)wxIntersectRect(arg1,arg2);
3845
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 resultobj = result;
3850 return resultobj;
3851 fail:
3852 return NULL;
3853 }
3854
3855
3856 static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
3857 PyObject *resultobj;
3858 double arg1 = (double) 0.0 ;
3859 double arg2 = (double) 0.0 ;
3860 wxPoint2D *result;
3861 char *kwnames[] = {
3862 (char *) "x",(char *) "y", NULL
3863 };
3864
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_Point2D",kwnames,&arg1,&arg2)) goto fail;
3866 {
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
3873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3874 return resultobj;
3875 fail:
3876 return NULL;
3877 }
3878
3879
3880 static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
3881 PyObject *resultobj;
3882 wxPoint2D *arg1 = 0 ;
3883 wxPoint2D *result;
3884 wxPoint2D temp1 ;
3885 PyObject * obj0 = 0 ;
3886 char *kwnames[] = {
3887 (char *) "pt", NULL
3888 };
3889
3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
3891 {
3892 arg1 = &temp1;
3893 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
3894 }
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3903 return resultobj;
3904 fail:
3905 return NULL;
3906 }
3907
3908
3909 static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3910 PyObject *resultobj;
3911 wxPoint *arg1 = 0 ;
3912 wxPoint2D *result;
3913 wxPoint temp1 ;
3914 PyObject * obj0 = 0 ;
3915 char *kwnames[] = {
3916 (char *) "pt", NULL
3917 };
3918
3919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
3920 {
3921 arg1 = &temp1;
3922 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3923 }
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3932 return resultobj;
3933 fail:
3934 return NULL;
3935 }
3936
3937
3938 static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj;
3940 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3941 int *arg2 = (int *) 0 ;
3942 int *arg3 = (int *) 0 ;
3943 int temp2 ;
3944 int temp3 ;
3945 PyObject * obj0 = 0 ;
3946 char *kwnames[] = {
3947 (char *) "self", NULL
3948 };
3949
3950 arg2 = &temp2;
3951 arg3 = &temp3;
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
3953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3954 {
3955 PyThreadState* __tstate = wxPyBeginAllowThreads();
3956 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
3957
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 Py_INCREF(Py_None); resultobj = Py_None;
3962 {
3963 PyObject *o = PyInt_FromLong((long) (*arg2));
3964 resultobj = t_output_helper(resultobj,o);
3965 }
3966 {
3967 PyObject *o = PyInt_FromLong((long) (*arg3));
3968 resultobj = t_output_helper(resultobj,o);
3969 }
3970 return resultobj;
3971 fail:
3972 return NULL;
3973 }
3974
3975
3976 static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj;
3978 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3979 int *arg2 = (int *) 0 ;
3980 int *arg3 = (int *) 0 ;
3981 int temp2 ;
3982 int temp3 ;
3983 PyObject * obj0 = 0 ;
3984 char *kwnames[] = {
3985 (char *) "self", NULL
3986 };
3987
3988 arg2 = &temp2;
3989 arg3 = &temp3;
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
3991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
3995
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 Py_INCREF(Py_None); resultobj = Py_None;
4000 {
4001 PyObject *o = PyInt_FromLong((long) (*arg2));
4002 resultobj = t_output_helper(resultobj,o);
4003 }
4004 {
4005 PyObject *o = PyInt_FromLong((long) (*arg3));
4006 resultobj = t_output_helper(resultobj,o);
4007 }
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4017 double result;
4018 PyObject * obj0 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "self", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 resultobj = PyFloat_FromDouble(result);
4033 return resultobj;
4034 fail:
4035 return NULL;
4036 }
4037
4038
4039 static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4042 double result;
4043 PyObject * obj0 = 0 ;
4044 char *kwnames[] = {
4045 (char *) "self", NULL
4046 };
4047
4048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
4049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4050 {
4051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4052 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4053
4054 wxPyEndAllowThreads(__tstate);
4055 if (PyErr_Occurred()) SWIG_fail;
4056 }
4057 resultobj = PyFloat_FromDouble(result);
4058 return resultobj;
4059 fail:
4060 return NULL;
4061 }
4062
4063
4064 static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4065 PyObject *resultobj;
4066 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4067 double arg2 ;
4068 PyObject * obj0 = 0 ;
4069 char *kwnames[] = {
4070 (char *) "self",(char *) "length", NULL
4071 };
4072
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorLength",kwnames,&obj0,&arg2)) goto fail;
4074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 (arg1)->SetVectorLength(arg2);
4078
4079 wxPyEndAllowThreads(__tstate);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 }
4082 Py_INCREF(Py_None); resultobj = Py_None;
4083 return resultobj;
4084 fail:
4085 return NULL;
4086 }
4087
4088
4089 static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4090 PyObject *resultobj;
4091 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4092 double arg2 ;
4093 PyObject * obj0 = 0 ;
4094 char *kwnames[] = {
4095 (char *) "self",(char *) "degrees", NULL
4096 };
4097
4098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorAngle",kwnames,&obj0,&arg2)) goto fail;
4099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4100 {
4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
4102 (arg1)->SetVectorAngle(arg2);
4103
4104 wxPyEndAllowThreads(__tstate);
4105 if (PyErr_Occurred()) SWIG_fail;
4106 }
4107 Py_INCREF(Py_None); resultobj = Py_None;
4108 return resultobj;
4109 fail:
4110 return NULL;
4111 }
4112
4113
4114 static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
4115 PyObject *resultobj;
4116 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4117 wxPoint2D *arg2 = 0 ;
4118 double result;
4119 wxPoint2D temp2 ;
4120 PyObject * obj0 = 0 ;
4121 PyObject * obj1 = 0 ;
4122 char *kwnames[] = {
4123 (char *) "self",(char *) "pt", NULL
4124 };
4125
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
4127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 {
4129 arg2 = &temp2;
4130 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4131 }
4132 {
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
4135
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 resultobj = PyFloat_FromDouble(result);
4140 return resultobj;
4141 fail:
4142 return NULL;
4143 }
4144
4145
4146 static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj;
4148 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4149 wxPoint2D *arg2 = 0 ;
4150 double result;
4151 wxPoint2D temp2 ;
4152 PyObject * obj0 = 0 ;
4153 PyObject * obj1 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self",(char *) "pt", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
4159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4160 {
4161 arg2 = &temp2;
4162 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4163 }
4164 {
4165 PyThreadState* __tstate = wxPyBeginAllowThreads();
4166 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
4167
4168 wxPyEndAllowThreads(__tstate);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 }
4171 resultobj = PyFloat_FromDouble(result);
4172 return resultobj;
4173 fail:
4174 return NULL;
4175 }
4176
4177
4178 static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4179 PyObject *resultobj;
4180 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4181 wxPoint2D *arg2 = 0 ;
4182 double result;
4183 wxPoint2D temp2 ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self",(char *) "vec", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
4191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4192 {
4193 arg2 = &temp2;
4194 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4195 }
4196 {
4197 PyThreadState* __tstate = wxPyBeginAllowThreads();
4198 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
4199
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 }
4203 resultobj = PyFloat_FromDouble(result);
4204 return resultobj;
4205 fail:
4206 return NULL;
4207 }
4208
4209
4210 static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4211 PyObject *resultobj;
4212 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4213 wxPoint2D *arg2 = 0 ;
4214 double result;
4215 wxPoint2D temp2 ;
4216 PyObject * obj0 = 0 ;
4217 PyObject * obj1 = 0 ;
4218 char *kwnames[] = {
4219 (char *) "self",(char *) "vec", NULL
4220 };
4221
4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
4223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4224 {
4225 arg2 = &temp2;
4226 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4227 }
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 resultobj = PyFloat_FromDouble(result);
4236 return resultobj;
4237 fail:
4238 return NULL;
4239 }
4240
4241
4242 static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4245 wxPoint2D result;
4246 PyObject * obj0 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
4252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 result = (arg1)->operator -();
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 {
4261 wxPoint2D * resultptr;
4262 resultptr = new wxPoint2D((wxPoint2D &) result);
4263 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint2D, 1);
4264 }
4265 return resultobj;
4266 fail:
4267 return NULL;
4268 }
4269
4270
4271 static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4272 PyObject *resultobj;
4273 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4274 wxPoint2D *arg2 = 0 ;
4275 wxPoint2D *result;
4276 wxPoint2D temp2 ;
4277 PyObject * obj0 = 0 ;
4278 PyObject * obj1 = 0 ;
4279 char *kwnames[] = {
4280 (char *) "self",(char *) "pt", NULL
4281 };
4282
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
4284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4285 {
4286 arg2 = &temp2;
4287 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4288 }
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 {
4292 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
4293 result = (wxPoint2D *) &_result_ref;
4294 }
4295
4296 wxPyEndAllowThreads(__tstate);
4297 if (PyErr_Occurred()) SWIG_fail;
4298 }
4299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4300 return resultobj;
4301 fail:
4302 return NULL;
4303 }
4304
4305
4306 static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
4307 PyObject *resultobj;
4308 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4309 wxPoint2D *arg2 = 0 ;
4310 wxPoint2D *result;
4311 wxPoint2D temp2 ;
4312 PyObject * obj0 = 0 ;
4313 PyObject * obj1 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "self",(char *) "pt", NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
4319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4320 {
4321 arg2 = &temp2;
4322 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4323 }
4324 {
4325 PyThreadState* __tstate = wxPyBeginAllowThreads();
4326 {
4327 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
4328 result = (wxPoint2D *) &_result_ref;
4329 }
4330
4331 wxPyEndAllowThreads(__tstate);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
4334 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4335 return resultobj;
4336 fail:
4337 return NULL;
4338 }
4339
4340
4341 static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
4342 PyObject *resultobj;
4343 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4344 wxPoint2D *arg2 = 0 ;
4345 wxPoint2D *result;
4346 wxPoint2D temp2 ;
4347 PyObject * obj0 = 0 ;
4348 PyObject * obj1 = 0 ;
4349 char *kwnames[] = {
4350 (char *) "self",(char *) "pt", NULL
4351 };
4352
4353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
4354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4355 {
4356 arg2 = &temp2;
4357 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4358 }
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 {
4362 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
4363 result = (wxPoint2D *) &_result_ref;
4364 }
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4370 return resultobj;
4371 fail:
4372 return NULL;
4373 }
4374
4375
4376 static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj;
4378 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4379 wxPoint2D *arg2 = 0 ;
4380 wxPoint2D *result;
4381 wxPoint2D temp2 ;
4382 PyObject * obj0 = 0 ;
4383 PyObject * obj1 = 0 ;
4384 char *kwnames[] = {
4385 (char *) "self",(char *) "pt", NULL
4386 };
4387
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
4389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4390 {
4391 arg2 = &temp2;
4392 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4393 }
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 {
4397 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
4398 result = (wxPoint2D *) &_result_ref;
4399 }
4400
4401 wxPyEndAllowThreads(__tstate);
4402 if (PyErr_Occurred()) SWIG_fail;
4403 }
4404 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4405 return resultobj;
4406 fail:
4407 return NULL;
4408 }
4409
4410
4411 static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4412 PyObject *resultobj;
4413 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4414 wxPoint2D *arg2 = 0 ;
4415 bool result;
4416 wxPoint2D temp2 ;
4417 PyObject * obj0 = 0 ;
4418 PyObject * obj1 = 0 ;
4419 char *kwnames[] = {
4420 (char *) "self",(char *) "pt", NULL
4421 };
4422
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
4424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4425 {
4426 arg2 = &temp2;
4427 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4428 }
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
4432
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 resultobj = PyInt_FromLong((long)result);
4437 return resultobj;
4438 fail:
4439 return NULL;
4440 }
4441
4442
4443 static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4444 PyObject *resultobj;
4445 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4446 wxPoint2D *arg2 = 0 ;
4447 bool result;
4448 wxPoint2D temp2 ;
4449 PyObject * obj0 = 0 ;
4450 PyObject * obj1 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self",(char *) "pt", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
4456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4457 {
4458 arg2 = &temp2;
4459 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4460 }
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
4463 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
4464
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 resultobj = PyInt_FromLong((long)result);
4469 return resultobj;
4470 fail:
4471 return NULL;
4472 }
4473
4474
4475 static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4476 PyObject *resultobj;
4477 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4478 double arg2 ;
4479 PyObject * obj0 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "self",(char *) "m_x", NULL
4482 };
4483
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_x_set",kwnames,&obj0,&arg2)) goto fail;
4485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4486 if (arg1) (arg1)->m_x = arg2;
4487
4488 Py_INCREF(Py_None); resultobj = Py_None;
4489 return resultobj;
4490 fail:
4491 return NULL;
4492 }
4493
4494
4495 static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj;
4497 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4498 double result;
4499 PyObject * obj0 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
4505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4506 result = (double) ((arg1)->m_x);
4507
4508 resultobj = PyFloat_FromDouble(result);
4509 return resultobj;
4510 fail:
4511 return NULL;
4512 }
4513
4514
4515 static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4516 PyObject *resultobj;
4517 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4518 double arg2 ;
4519 PyObject * obj0 = 0 ;
4520 char *kwnames[] = {
4521 (char *) "self",(char *) "m_y", NULL
4522 };
4523
4524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_y_set",kwnames,&obj0,&arg2)) goto fail;
4525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4526 if (arg1) (arg1)->m_y = arg2;
4527
4528 Py_INCREF(Py_None); resultobj = Py_None;
4529 return resultobj;
4530 fail:
4531 return NULL;
4532 }
4533
4534
4535 static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4536 PyObject *resultobj;
4537 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4538 double result;
4539 PyObject * obj0 = 0 ;
4540 char *kwnames[] = {
4541 (char *) "self", NULL
4542 };
4543
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
4545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4546 result = (double) ((arg1)->m_y);
4547
4548 resultobj = PyFloat_FromDouble(result);
4549 return resultobj;
4550 fail:
4551 return NULL;
4552 }
4553
4554
4555 static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4558 double arg2 = (double) 0 ;
4559 double arg3 = (double) 0 ;
4560 PyObject * obj0 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self",(char *) "x",(char *) "y", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|dd:Point2D_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
4566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4567 {
4568 PyThreadState* __tstate = wxPyBeginAllowThreads();
4569 wxPoint2D_Set(arg1,arg2,arg3);
4570
4571 wxPyEndAllowThreads(__tstate);
4572 if (PyErr_Occurred()) SWIG_fail;
4573 }
4574 Py_INCREF(Py_None); resultobj = Py_None;
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj;
4583 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4584 PyObject *result;
4585 PyObject * obj0 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "self", NULL
4588 };
4589
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
4591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 result = (PyObject *)wxPoint2D_Get(arg1);
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
4599 resultobj = result;
4600 return resultobj;
4601 fail:
4602 return NULL;
4603 }
4604
4605
4606 static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
4607 PyObject *obj;
4608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4609 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
4610 Py_INCREF(obj);
4611 return Py_BuildValue((char *)"");
4612 }
4613 static int _wrap_DefaultPosition_set(PyObject *_val) {
4614 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
4615 return 1;
4616 }
4617
4618
4619 static PyObject *_wrap_DefaultPosition_get() {
4620 PyObject *pyobj;
4621
4622 pyobj = SWIG_NewPointerObj((void *) &wxDefaultPosition, SWIGTYPE_p_wxPoint, 0);
4623 return pyobj;
4624 }
4625
4626
4627 static int _wrap_DefaultSize_set(PyObject *_val) {
4628 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
4629 return 1;
4630 }
4631
4632
4633 static PyObject *_wrap_DefaultSize_get() {
4634 PyObject *pyobj;
4635
4636 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSize, SWIGTYPE_p_wxSize, 0);
4637 return pyobj;
4638 }
4639
4640
4641 static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
4642 PyObject *resultobj;
4643 PyObject *arg1 = (PyObject *) 0 ;
4644 wxPyInputStream *result;
4645 PyObject * obj0 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "p", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
4651 arg1 = obj0;
4652 {
4653 PyThreadState* __tstate = wxPyBeginAllowThreads();
4654 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
4655
4656 wxPyEndAllowThreads(__tstate);
4657 if (PyErr_Occurred()) SWIG_fail;
4658 }
4659 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyInputStream, 1);
4660 return resultobj;
4661 fail:
4662 return NULL;
4663 }
4664
4665
4666 static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj;
4668 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4669 PyObject * obj0 = 0 ;
4670 char *kwnames[] = {
4671 (char *) "self", NULL
4672 };
4673
4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
4675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 (arg1)->close();
4679
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 Py_INCREF(Py_None); resultobj = Py_None;
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj;
4692 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4693 PyObject * obj0 = 0 ;
4694 char *kwnames[] = {
4695 (char *) "self", NULL
4696 };
4697
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
4699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->flush();
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 Py_INCREF(Py_None); resultobj = Py_None;
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4717 bool result;
4718 PyObject * obj0 = 0 ;
4719 char *kwnames[] = {
4720 (char *) "self", NULL
4721 };
4722
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
4724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4725 {
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 result = (bool)(arg1)->eof();
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 resultobj = PyInt_FromLong((long)result);
4733 return resultobj;
4734 fail:
4735 return NULL;
4736 }
4737
4738
4739 static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4742 int arg2 = (int) -1 ;
4743 PyObject *result;
4744 PyObject * obj0 = 0 ;
4745 char *kwnames[] = {
4746 (char *) "self",(char *) "size", NULL
4747 };
4748
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_read",kwnames,&obj0,&arg2)) goto fail;
4750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4751 {
4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
4753 result = (PyObject *)(arg1)->read(arg2);
4754
4755 wxPyEndAllowThreads(__tstate);
4756 if (PyErr_Occurred()) SWIG_fail;
4757 }
4758 resultobj = result;
4759 return resultobj;
4760 fail:
4761 return NULL;
4762 }
4763
4764
4765 static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
4766 PyObject *resultobj;
4767 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4768 int arg2 = (int) -1 ;
4769 PyObject *result;
4770 PyObject * obj0 = 0 ;
4771 char *kwnames[] = {
4772 (char *) "self",(char *) "size", NULL
4773 };
4774
4775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readline",kwnames,&obj0,&arg2)) goto fail;
4776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (PyObject *)(arg1)->readline(arg2);
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = result;
4785 return resultobj;
4786 fail:
4787 return NULL;
4788 }
4789
4790
4791 static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
4792 PyObject *resultobj;
4793 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4794 int arg2 = (int) -1 ;
4795 PyObject *result;
4796 PyObject * obj0 = 0 ;
4797 char *kwnames[] = {
4798 (char *) "self",(char *) "sizehint", NULL
4799 };
4800
4801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readlines",kwnames,&obj0,&arg2)) goto fail;
4802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 result = (PyObject *)(arg1)->readlines(arg2);
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 resultobj = result;
4811 return resultobj;
4812 fail:
4813 return NULL;
4814 }
4815
4816
4817 static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
4818 PyObject *resultobj;
4819 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4820 int arg2 ;
4821 int arg3 = (int) 0 ;
4822 PyObject * obj0 = 0 ;
4823 char *kwnames[] = {
4824 (char *) "self",(char *) "offset",(char *) "whence", NULL
4825 };
4826
4827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:InputStream_seek",kwnames,&obj0,&arg2,&arg3)) goto fail;
4828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 (arg1)->seek(arg2,arg3);
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 Py_INCREF(Py_None); resultobj = Py_None;
4837 return resultobj;
4838 fail:
4839 return NULL;
4840 }
4841
4842
4843 static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
4844 PyObject *resultobj;
4845 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4846 int result;
4847 PyObject * obj0 = 0 ;
4848 char *kwnames[] = {
4849 (char *) "self", NULL
4850 };
4851
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
4853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 result = (int)(arg1)->tell();
4857
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 resultobj = PyInt_FromLong((long)result);
4862 return resultobj;
4863 fail:
4864 return NULL;
4865 }
4866
4867
4868 static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4871 char result;
4872 PyObject * obj0 = 0 ;
4873 char *kwnames[] = {
4874 (char *) "self", NULL
4875 };
4876
4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
4878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4879 {
4880 PyThreadState* __tstate = wxPyBeginAllowThreads();
4881 result = (char)(arg1)->Peek();
4882
4883 wxPyEndAllowThreads(__tstate);
4884 if (PyErr_Occurred()) SWIG_fail;
4885 }
4886 resultobj = Py_BuildValue((char*)"c",result);
4887 return resultobj;
4888 fail:
4889 return NULL;
4890 }
4891
4892
4893 static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
4894 PyObject *resultobj;
4895 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4896 char result;
4897 PyObject * obj0 = 0 ;
4898 char *kwnames[] = {
4899 (char *) "self", NULL
4900 };
4901
4902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
4903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 result = (char)(arg1)->GetC();
4907
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
4911 resultobj = Py_BuildValue((char*)"c",result);
4912 return resultobj;
4913 fail:
4914 return NULL;
4915 }
4916
4917
4918 static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
4919 PyObject *resultobj;
4920 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4921 size_t result;
4922 PyObject * obj0 = 0 ;
4923 char *kwnames[] = {
4924 (char *) "self", NULL
4925 };
4926
4927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
4928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 result = (size_t)(arg1)->LastRead();
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 resultobj = PyInt_FromLong((long)result);
4937 return resultobj;
4938 fail:
4939 return NULL;
4940 }
4941
4942
4943 static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
4944 PyObject *resultobj;
4945 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4946 bool result;
4947 PyObject * obj0 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "self", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
4953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 result = (bool)(arg1)->CanRead();
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 resultobj = PyInt_FromLong((long)result);
4962 return resultobj;
4963 fail:
4964 return NULL;
4965 }
4966
4967
4968 static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4971 bool result;
4972 PyObject * obj0 = 0 ;
4973 char *kwnames[] = {
4974 (char *) "self", NULL
4975 };
4976
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
4978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 result = (bool)(arg1)->Eof();
4982
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 resultobj = PyInt_FromLong((long)result);
4987 return resultobj;
4988 fail:
4989 return NULL;
4990 }
4991
4992
4993 static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
4994 PyObject *resultobj;
4995 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4996 char arg2 ;
4997 bool result;
4998 PyObject * obj0 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self",(char *) "c", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oc:InputStream_Ungetch",kwnames,&obj0,&arg2)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 result = (bool)(arg1)->Ungetch(arg2);
5008
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 resultobj = PyInt_FromLong((long)result);
5013 return resultobj;
5014 fail:
5015 return NULL;
5016 }
5017
5018
5019 static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj;
5021 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5022 long arg2 ;
5023 int arg3 = (int) wxFromStart ;
5024 long result;
5025 PyObject * obj0 = 0 ;
5026 char *kwnames[] = {
5027 (char *) "self",(char *) "pos",(char *) "mode", NULL
5028 };
5029
5030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:InputStream_SeekI",kwnames,&obj0,&arg2,&arg3)) goto fail;
5031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5032 {
5033 PyThreadState* __tstate = wxPyBeginAllowThreads();
5034 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5035
5036 wxPyEndAllowThreads(__tstate);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 }
5039 resultobj = PyInt_FromLong((long)result);
5040 return resultobj;
5041 fail:
5042 return NULL;
5043 }
5044
5045
5046 static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
5047 PyObject *resultobj;
5048 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5049 long result;
5050 PyObject * obj0 = 0 ;
5051 char *kwnames[] = {
5052 (char *) "self", NULL
5053 };
5054
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
5056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5057 {
5058 PyThreadState* __tstate = wxPyBeginAllowThreads();
5059 result = (long)(arg1)->TellI();
5060
5061 wxPyEndAllowThreads(__tstate);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 resultobj = PyInt_FromLong((long)result);
5065 return resultobj;
5066 fail:
5067 return NULL;
5068 }
5069
5070
5071 static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
5072 PyObject *obj;
5073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5074 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
5075 Py_INCREF(obj);
5076 return Py_BuildValue((char *)"");
5077 }
5078 static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
5079 PyObject *resultobj;
5080 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
5081 PyObject *arg2 = (PyObject *) 0 ;
5082 PyObject * obj0 = 0 ;
5083 PyObject * obj1 = 0 ;
5084 char *kwnames[] = {
5085 (char *) "self",(char *) "obj", NULL
5086 };
5087
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
5089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5090 arg2 = obj1;
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 wxOutputStream_write(arg1,arg2);
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 Py_INCREF(Py_None); resultobj = Py_None;
5099 return resultobj;
5100 fail:
5101 return NULL;
5102 }
5103
5104
5105 static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
5106 PyObject *obj;
5107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
5109 Py_INCREF(obj);
5110 return Py_BuildValue((char *)"");
5111 }
5112 static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5113 PyObject *resultobj;
5114 wxInputStream *arg1 = (wxInputStream *) 0 ;
5115 wxString *arg2 = 0 ;
5116 wxString *arg3 = 0 ;
5117 wxString *arg4 = 0 ;
5118 wxDateTime arg5 ;
5119 wxFSFile *result;
5120 wxPyInputStream *temp1 ;
5121 bool created1 ;
5122 bool temp2 = False ;
5123 bool temp3 = False ;
5124 bool temp4 = False ;
5125 wxDateTime *argp5 ;
5126 PyObject * obj0 = 0 ;
5127 PyObject * obj1 = 0 ;
5128 PyObject * obj2 = 0 ;
5129 PyObject * obj3 = 0 ;
5130 PyObject * obj4 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5136 {
5137 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
5138 arg1 = temp1->m_wxis;
5139 created1 = False;
5140 } else {
5141 PyErr_Clear(); // clear the failure of the wxPyConvert above
5142 arg1 = wxPyCBInputStream_create(obj0, False);
5143 if (arg1 == NULL) {
5144 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
5145 SWIG_fail;
5146 }
5147 created1 = True;
5148 }
5149 }
5150 {
5151 arg2 = wxString_in_helper(obj1);
5152 if (arg2 == NULL) SWIG_fail;
5153 temp2 = True;
5154 }
5155 {
5156 arg3 = wxString_in_helper(obj2);
5157 if (arg3 == NULL) SWIG_fail;
5158 temp3 = True;
5159 }
5160 {
5161 arg4 = wxString_in_helper(obj3);
5162 if (arg4 == NULL) SWIG_fail;
5163 temp4 = True;
5164 }
5165 if ((SWIG_ConvertPtr(obj4,(void **) &argp5, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5166 arg5 = *argp5;
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 {
5175 resultobj = wxPyMake_wxObject(result);
5176 }
5177 {
5178 if (created1)
5179 delete arg1;
5180 }
5181 {
5182 if (temp2)
5183 delete arg2;
5184 }
5185 {
5186 if (temp3)
5187 delete arg3;
5188 }
5189 {
5190 if (temp4)
5191 delete arg4;
5192 }
5193 return resultobj;
5194 fail:
5195 {
5196 if (created1)
5197 delete arg1;
5198 }
5199 {
5200 if (temp2)
5201 delete arg2;
5202 }
5203 {
5204 if (temp3)
5205 delete arg3;
5206 }
5207 {
5208 if (temp4)
5209 delete arg4;
5210 }
5211 return NULL;
5212 }
5213
5214
5215 static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxFSFile *arg1 = (wxFSFile *) 0 ;
5218 PyObject * obj0 = 0 ;
5219 char *kwnames[] = {
5220 (char *) "self", NULL
5221 };
5222
5223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
5224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 delete arg1;
5228
5229 wxPyEndAllowThreads(__tstate);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 Py_INCREF(Py_None); resultobj = Py_None;
5233 return resultobj;
5234 fail:
5235 return NULL;
5236 }
5237
5238
5239 static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5240 PyObject *resultobj;
5241 wxFSFile *arg1 = (wxFSFile *) 0 ;
5242 wxInputStream *result;
5243 PyObject * obj0 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
5249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 result = (wxInputStream *)(arg1)->GetStream();
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 {
5258 wxPyInputStream * _ptr = NULL;
5259
5260 if (result) {
5261 _ptr = new wxPyInputStream(result);
5262 }
5263 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
5264 }
5265 return resultobj;
5266 fail:
5267 return NULL;
5268 }
5269
5270
5271 static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
5272 PyObject *resultobj;
5273 wxFSFile *arg1 = (wxFSFile *) 0 ;
5274 wxString *result;
5275 PyObject * obj0 = 0 ;
5276 char *kwnames[] = {
5277 (char *) "self", NULL
5278 };
5279
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
5281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5282 {
5283 PyThreadState* __tstate = wxPyBeginAllowThreads();
5284 {
5285 wxString const &_result_ref = (arg1)->GetMimeType();
5286 result = (wxString *) &_result_ref;
5287 }
5288
5289 wxPyEndAllowThreads(__tstate);
5290 if (PyErr_Occurred()) SWIG_fail;
5291 }
5292 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5293 return resultobj;
5294 fail:
5295 return NULL;
5296 }
5297
5298
5299 static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5300 PyObject *resultobj;
5301 wxFSFile *arg1 = (wxFSFile *) 0 ;
5302 wxString *result;
5303 PyObject * obj0 = 0 ;
5304 char *kwnames[] = {
5305 (char *) "self", NULL
5306 };
5307
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
5309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5310 {
5311 PyThreadState* __tstate = wxPyBeginAllowThreads();
5312 {
5313 wxString const &_result_ref = (arg1)->GetLocation();
5314 result = (wxString *) &_result_ref;
5315 }
5316
5317 wxPyEndAllowThreads(__tstate);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5321 return resultobj;
5322 fail:
5323 return NULL;
5324 }
5325
5326
5327 static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj;
5329 wxFSFile *arg1 = (wxFSFile *) 0 ;
5330 wxString *result;
5331 PyObject * obj0 = 0 ;
5332 char *kwnames[] = {
5333 (char *) "self", NULL
5334 };
5335
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
5337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 {
5341 wxString const &_result_ref = (arg1)->GetAnchor();
5342 result = (wxString *) &_result_ref;
5343 }
5344
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5349 return resultobj;
5350 fail:
5351 return NULL;
5352 }
5353
5354
5355 static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5356 PyObject *resultobj;
5357 wxFSFile *arg1 = (wxFSFile *) 0 ;
5358 wxDateTime result;
5359 PyObject * obj0 = 0 ;
5360 char *kwnames[] = {
5361 (char *) "self", NULL
5362 };
5363
5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
5365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 result = (arg1)->GetModificationTime();
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 {
5374 wxDateTime * resultptr;
5375 resultptr = new wxDateTime((wxDateTime &) result);
5376 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
5377 }
5378 return resultobj;
5379 fail:
5380 return NULL;
5381 }
5382
5383
5384 static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
5385 PyObject *obj;
5386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5387 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
5388 Py_INCREF(obj);
5389 return Py_BuildValue((char *)"");
5390 }
5391 static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5392 PyObject *obj;
5393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5394 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
5395 Py_INCREF(obj);
5396 return Py_BuildValue((char *)"");
5397 }
5398 static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
5399 PyObject *resultobj;
5400 wxPyFileSystemHandler *result;
5401 char *kwnames[] = {
5402 NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileSystemHandler, 1);
5414 return resultobj;
5415 fail:
5416 return NULL;
5417 }
5418
5419
5420 static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5423 PyObject *arg2 = (PyObject *) 0 ;
5424 PyObject *arg3 = (PyObject *) 0 ;
5425 PyObject * obj0 = 0 ;
5426 PyObject * obj1 = 0 ;
5427 PyObject * obj2 = 0 ;
5428 char *kwnames[] = {
5429 (char *) "self",(char *) "self",(char *) "_class", NULL
5430 };
5431
5432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5434 arg2 = obj1;
5435 arg3 = obj2;
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 (arg1)->_setCallbackInfo(arg2,arg3);
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 Py_INCREF(Py_None); resultobj = Py_None;
5444 return resultobj;
5445 fail:
5446 return NULL;
5447 }
5448
5449
5450 static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5453 wxString *arg2 = 0 ;
5454 bool result;
5455 bool temp2 = False ;
5456 PyObject * obj0 = 0 ;
5457 PyObject * obj1 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "self",(char *) "location", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
5463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5464 {
5465 arg2 = wxString_in_helper(obj1);
5466 if (arg2 == NULL) SWIG_fail;
5467 temp2 = True;
5468 }
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
5472
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 resultobj = PyInt_FromLong((long)result);
5477 {
5478 if (temp2)
5479 delete arg2;
5480 }
5481 return resultobj;
5482 fail:
5483 {
5484 if (temp2)
5485 delete arg2;
5486 }
5487 return NULL;
5488 }
5489
5490
5491 static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj;
5493 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5494 wxFileSystem *arg2 = 0 ;
5495 wxString *arg3 = 0 ;
5496 wxFSFile *result;
5497 bool temp3 = False ;
5498 PyObject * obj0 = 0 ;
5499 PyObject * obj1 = 0 ;
5500 PyObject * obj2 = 0 ;
5501 char *kwnames[] = {
5502 (char *) "self",(char *) "fs",(char *) "location", NULL
5503 };
5504
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
5506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5508 if (arg2 == NULL) {
5509 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5510 }
5511 {
5512 arg3 = wxString_in_helper(obj2);
5513 if (arg3 == NULL) SWIG_fail;
5514 temp3 = True;
5515 }
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 {
5524 resultobj = wxPyMake_wxObject(result);
5525 }
5526 {
5527 if (temp3)
5528 delete arg3;
5529 }
5530 return resultobj;
5531 fail:
5532 {
5533 if (temp3)
5534 delete arg3;
5535 }
5536 return NULL;
5537 }
5538
5539
5540 static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj;
5542 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5543 wxString *arg2 = 0 ;
5544 int arg3 = (int) 0 ;
5545 wxString result;
5546 bool temp2 = False ;
5547 PyObject * obj0 = 0 ;
5548 PyObject * obj1 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self",(char *) "spec",(char *) "flags", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
5554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5555 {
5556 arg2 = wxString_in_helper(obj1);
5557 if (arg2 == NULL) SWIG_fail;
5558 temp2 = True;
5559 }
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 {
5568 #if wxUSE_UNICODE
5569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5570 #else
5571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5572 #endif
5573 }
5574 {
5575 if (temp2)
5576 delete arg2;
5577 }
5578 return resultobj;
5579 fail:
5580 {
5581 if (temp2)
5582 delete arg2;
5583 }
5584 return NULL;
5585 }
5586
5587
5588 static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
5589 PyObject *resultobj;
5590 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5591 wxString result;
5592 PyObject * obj0 = 0 ;
5593 char *kwnames[] = {
5594 (char *) "self", NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
5598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5599 {
5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
5601 result = (arg1)->FindNext();
5602
5603 wxPyEndAllowThreads(__tstate);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 }
5606 {
5607 #if wxUSE_UNICODE
5608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5609 #else
5610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5611 #endif
5612 }
5613 return resultobj;
5614 fail:
5615 return NULL;
5616 }
5617
5618
5619 static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
5620 PyObject *resultobj;
5621 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5622 wxString *arg2 = 0 ;
5623 wxString result;
5624 bool temp2 = False ;
5625 PyObject * obj0 = 0 ;
5626 PyObject * obj1 = 0 ;
5627 char *kwnames[] = {
5628 (char *) "self",(char *) "location", NULL
5629 };
5630
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
5632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5633 {
5634 arg2 = wxString_in_helper(obj1);
5635 if (arg2 == NULL) SWIG_fail;
5636 temp2 = True;
5637 }
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 result = (arg1)->GetProtocol((wxString const &)*arg2);
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 {
5646 #if wxUSE_UNICODE
5647 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5648 #else
5649 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5650 #endif
5651 }
5652 {
5653 if (temp2)
5654 delete arg2;
5655 }
5656 return resultobj;
5657 fail:
5658 {
5659 if (temp2)
5660 delete arg2;
5661 }
5662 return NULL;
5663 }
5664
5665
5666 static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj;
5668 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5669 wxString *arg2 = 0 ;
5670 wxString result;
5671 bool temp2 = False ;
5672 PyObject * obj0 = 0 ;
5673 PyObject * obj1 = 0 ;
5674 char *kwnames[] = {
5675 (char *) "self",(char *) "location", NULL
5676 };
5677
5678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
5679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5680 {
5681 arg2 = wxString_in_helper(obj1);
5682 if (arg2 == NULL) SWIG_fail;
5683 temp2 = True;
5684 }
5685 {
5686 PyThreadState* __tstate = wxPyBeginAllowThreads();
5687 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
5688
5689 wxPyEndAllowThreads(__tstate);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 }
5692 {
5693 #if wxUSE_UNICODE
5694 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5695 #else
5696 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5697 #endif
5698 }
5699 {
5700 if (temp2)
5701 delete arg2;
5702 }
5703 return resultobj;
5704 fail:
5705 {
5706 if (temp2)
5707 delete arg2;
5708 }
5709 return NULL;
5710 }
5711
5712
5713 static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5714 PyObject *resultobj;
5715 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5716 wxString *arg2 = 0 ;
5717 wxString result;
5718 bool temp2 = False ;
5719 PyObject * obj0 = 0 ;
5720 PyObject * obj1 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "location", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5727 {
5728 arg2 = wxString_in_helper(obj1);
5729 if (arg2 == NULL) SWIG_fail;
5730 temp2 = True;
5731 }
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = (arg1)->GetAnchor((wxString const &)*arg2);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 {
5740 #if wxUSE_UNICODE
5741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5742 #else
5743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5744 #endif
5745 }
5746 {
5747 if (temp2)
5748 delete arg2;
5749 }
5750 return resultobj;
5751 fail:
5752 {
5753 if (temp2)
5754 delete arg2;
5755 }
5756 return NULL;
5757 }
5758
5759
5760 static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5761 PyObject *resultobj;
5762 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5763 wxString *arg2 = 0 ;
5764 wxString result;
5765 bool temp2 = False ;
5766 PyObject * obj0 = 0 ;
5767 PyObject * obj1 = 0 ;
5768 char *kwnames[] = {
5769 (char *) "self",(char *) "location", NULL
5770 };
5771
5772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
5773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5774 {
5775 arg2 = wxString_in_helper(obj1);
5776 if (arg2 == NULL) SWIG_fail;
5777 temp2 = True;
5778 }
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 result = (arg1)->GetRightLocation((wxString const &)*arg2);
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 {
5787 #if wxUSE_UNICODE
5788 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5789 #else
5790 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5791 #endif
5792 }
5793 {
5794 if (temp2)
5795 delete arg2;
5796 }
5797 return resultobj;
5798 fail:
5799 {
5800 if (temp2)
5801 delete arg2;
5802 }
5803 return NULL;
5804 }
5805
5806
5807 static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject *resultobj;
5809 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5810 wxString *arg2 = 0 ;
5811 wxString result;
5812 bool temp2 = False ;
5813 PyObject * obj0 = 0 ;
5814 PyObject * obj1 = 0 ;
5815 char *kwnames[] = {
5816 (char *) "self",(char *) "location", NULL
5817 };
5818
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
5820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5821 {
5822 arg2 = wxString_in_helper(obj1);
5823 if (arg2 == NULL) SWIG_fail;
5824 temp2 = True;
5825 }
5826 {
5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
5828 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
5829
5830 wxPyEndAllowThreads(__tstate);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
5833 {
5834 #if wxUSE_UNICODE
5835 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5836 #else
5837 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5838 #endif
5839 }
5840 {
5841 if (temp2)
5842 delete arg2;
5843 }
5844 return resultobj;
5845 fail:
5846 {
5847 if (temp2)
5848 delete arg2;
5849 }
5850 return NULL;
5851 }
5852
5853
5854 static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5855 PyObject *obj;
5856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5857 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
5858 Py_INCREF(obj);
5859 return Py_BuildValue((char *)"");
5860 }
5861 static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj;
5863 wxFileSystem *result;
5864 char *kwnames[] = {
5865 NULL
5866 };
5867
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 result = (wxFileSystem *)new wxFileSystem();
5872
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 {
5877 resultobj = wxPyMake_wxObject(result);
5878 }
5879 return resultobj;
5880 fail:
5881 return NULL;
5882 }
5883
5884
5885 static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5886 PyObject *resultobj;
5887 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 delete arg1;
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 Py_INCREF(Py_None); resultobj = Py_None;
5903 return resultobj;
5904 fail:
5905 return NULL;
5906 }
5907
5908
5909 static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5912 wxString *arg2 = 0 ;
5913 bool arg3 = (bool) False ;
5914 bool temp2 = False ;
5915 PyObject * obj0 = 0 ;
5916 PyObject * obj1 = 0 ;
5917 PyObject * obj2 = 0 ;
5918 char *kwnames[] = {
5919 (char *) "self",(char *) "location",(char *) "is_dir", NULL
5920 };
5921
5922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5924 {
5925 arg2 = wxString_in_helper(obj1);
5926 if (arg2 == NULL) SWIG_fail;
5927 temp2 = True;
5928 }
5929 if (obj2) {
5930 arg3 = PyInt_AsLong(obj2) ? true : false;
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 Py_INCREF(Py_None); resultobj = Py_None;
5941 {
5942 if (temp2)
5943 delete arg2;
5944 }
5945 return resultobj;
5946 fail:
5947 {
5948 if (temp2)
5949 delete arg2;
5950 }
5951 return NULL;
5952 }
5953
5954
5955 static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj;
5957 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5958 wxString result;
5959 PyObject * obj0 = 0 ;
5960 char *kwnames[] = {
5961 (char *) "self", NULL
5962 };
5963
5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
5965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = (arg1)->GetPath();
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 {
5974 #if wxUSE_UNICODE
5975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5976 #else
5977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5978 #endif
5979 }
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj;
5988 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5989 wxString *arg2 = 0 ;
5990 wxFSFile *result;
5991 bool temp2 = False ;
5992 PyObject * obj0 = 0 ;
5993 PyObject * obj1 = 0 ;
5994 char *kwnames[] = {
5995 (char *) "self",(char *) "location", NULL
5996 };
5997
5998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
5999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6000 {
6001 arg2 = wxString_in_helper(obj1);
6002 if (arg2 == NULL) SWIG_fail;
6003 temp2 = True;
6004 }
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
6008
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 {
6013 resultobj = wxPyMake_wxObject(result);
6014 }
6015 {
6016 if (temp2)
6017 delete arg2;
6018 }
6019 return resultobj;
6020 fail:
6021 {
6022 if (temp2)
6023 delete arg2;
6024 }
6025 return NULL;
6026 }
6027
6028
6029 static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6030 PyObject *resultobj;
6031 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6032 wxString *arg2 = 0 ;
6033 int arg3 = (int) 0 ;
6034 wxString result;
6035 bool temp2 = False ;
6036 PyObject * obj0 = 0 ;
6037 PyObject * obj1 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self",(char *) "spec",(char *) "flags", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystem_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6044 {
6045 arg2 = wxString_in_helper(obj1);
6046 if (arg2 == NULL) SWIG_fail;
6047 temp2 = True;
6048 }
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 {
6057 #if wxUSE_UNICODE
6058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6059 #else
6060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6061 #endif
6062 }
6063 {
6064 if (temp2)
6065 delete arg2;
6066 }
6067 return resultobj;
6068 fail:
6069 {
6070 if (temp2)
6071 delete arg2;
6072 }
6073 return NULL;
6074 }
6075
6076
6077 static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6078 PyObject *resultobj;
6079 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6080 wxString result;
6081 PyObject * obj0 = 0 ;
6082 char *kwnames[] = {
6083 (char *) "self", NULL
6084 };
6085
6086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
6087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 result = (arg1)->FindNext();
6091
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 {
6096 #if wxUSE_UNICODE
6097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6098 #else
6099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6100 #endif
6101 }
6102 return resultobj;
6103 fail:
6104 return NULL;
6105 }
6106
6107
6108 static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6109 PyObject *resultobj;
6110 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
6111 PyObject * obj0 = 0 ;
6112 char *kwnames[] = {
6113 (char *) "handler", NULL
6114 };
6115
6116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
6117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 wxFileSystem::AddHandler(arg1);
6121
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 Py_INCREF(Py_None); resultobj = Py_None;
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj;
6134 char *kwnames[] = {
6135 NULL
6136 };
6137
6138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
6139 {
6140 PyThreadState* __tstate = wxPyBeginAllowThreads();
6141 wxFileSystem::CleanUpHandlers();
6142
6143 wxPyEndAllowThreads(__tstate);
6144 if (PyErr_Occurred()) SWIG_fail;
6145 }
6146 Py_INCREF(Py_None); resultobj = Py_None;
6147 return resultobj;
6148 fail:
6149 return NULL;
6150 }
6151
6152
6153 static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject *resultobj;
6155 wxString *arg1 = 0 ;
6156 wxString result;
6157 bool temp1 = False ;
6158 PyObject * obj0 = 0 ;
6159 char *kwnames[] = {
6160 (char *) "filename", NULL
6161 };
6162
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
6164 {
6165 arg1 = wxString_in_helper(obj0);
6166 if (arg1 == NULL) SWIG_fail;
6167 temp1 = True;
6168 }
6169 {
6170 PyThreadState* __tstate = wxPyBeginAllowThreads();
6171 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
6172
6173 wxPyEndAllowThreads(__tstate);
6174 if (PyErr_Occurred()) SWIG_fail;
6175 }
6176 {
6177 #if wxUSE_UNICODE
6178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6179 #else
6180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6181 #endif
6182 }
6183 {
6184 if (temp1)
6185 delete arg1;
6186 }
6187 return resultobj;
6188 fail:
6189 {
6190 if (temp1)
6191 delete arg1;
6192 }
6193 return NULL;
6194 }
6195
6196
6197 static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
6198 PyObject *obj;
6199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6200 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
6201 Py_INCREF(obj);
6202 return Py_BuildValue((char *)"");
6203 }
6204 static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxString *arg1 = 0 ;
6207 wxString result;
6208 bool temp1 = False ;
6209 PyObject * obj0 = 0 ;
6210 char *kwnames[] = {
6211 (char *) "url", NULL
6212 };
6213
6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
6215 {
6216 arg1 = wxString_in_helper(obj0);
6217 if (arg1 == NULL) SWIG_fail;
6218 temp1 = True;
6219 }
6220 {
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
6222 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
6223
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
6227 {
6228 #if wxUSE_UNICODE
6229 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6230 #else
6231 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6232 #endif
6233 }
6234 {
6235 if (temp1)
6236 delete arg1;
6237 }
6238 return resultobj;
6239 fail:
6240 {
6241 if (temp1)
6242 delete arg1;
6243 }
6244 return NULL;
6245 }
6246
6247
6248 static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj;
6250 wxInternetFSHandler *result;
6251 char *kwnames[] = {
6252 NULL
6253 };
6254
6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 result = (wxInternetFSHandler *)new wxInternetFSHandler();
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInternetFSHandler, 1);
6264 return resultobj;
6265 fail:
6266 return NULL;
6267 }
6268
6269
6270 static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6273 wxString *arg2 = 0 ;
6274 bool result;
6275 bool temp2 = False ;
6276 PyObject * obj0 = 0 ;
6277 PyObject * obj1 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "self",(char *) "location", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6284 {
6285 arg2 = wxString_in_helper(obj1);
6286 if (arg2 == NULL) SWIG_fail;
6287 temp2 = True;
6288 }
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6292
6293 wxPyEndAllowThreads(__tstate);
6294 if (PyErr_Occurred()) SWIG_fail;
6295 }
6296 resultobj = PyInt_FromLong((long)result);
6297 {
6298 if (temp2)
6299 delete arg2;
6300 }
6301 return resultobj;
6302 fail:
6303 {
6304 if (temp2)
6305 delete arg2;
6306 }
6307 return NULL;
6308 }
6309
6310
6311 static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6312 PyObject *resultobj;
6313 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6314 wxFileSystem *arg2 = 0 ;
6315 wxString *arg3 = 0 ;
6316 wxFSFile *result;
6317 bool temp3 = False ;
6318 PyObject * obj0 = 0 ;
6319 PyObject * obj1 = 0 ;
6320 PyObject * obj2 = 0 ;
6321 char *kwnames[] = {
6322 (char *) "self",(char *) "fs",(char *) "location", NULL
6323 };
6324
6325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6328 if (arg2 == NULL) {
6329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6330 }
6331 {
6332 arg3 = wxString_in_helper(obj2);
6333 if (arg3 == NULL) SWIG_fail;
6334 temp3 = True;
6335 }
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 {
6344 resultobj = wxPyMake_wxObject(result);
6345 }
6346 {
6347 if (temp3)
6348 delete arg3;
6349 }
6350 return resultobj;
6351 fail:
6352 {
6353 if (temp3)
6354 delete arg3;
6355 }
6356 return NULL;
6357 }
6358
6359
6360 static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
6361 PyObject *obj;
6362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6363 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
6364 Py_INCREF(obj);
6365 return Py_BuildValue((char *)"");
6366 }
6367 static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxZipFSHandler *result;
6370 char *kwnames[] = {
6371 NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (wxZipFSHandler *)new wxZipFSHandler();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxZipFSHandler, 1);
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6392 wxString *arg2 = 0 ;
6393 bool result;
6394 bool temp2 = False ;
6395 PyObject * obj0 = 0 ;
6396 PyObject * obj1 = 0 ;
6397 char *kwnames[] = {
6398 (char *) "self",(char *) "location", NULL
6399 };
6400
6401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6403 {
6404 arg2 = wxString_in_helper(obj1);
6405 if (arg2 == NULL) SWIG_fail;
6406 temp2 = True;
6407 }
6408 {
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6411
6412 wxPyEndAllowThreads(__tstate);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 }
6415 resultobj = PyInt_FromLong((long)result);
6416 {
6417 if (temp2)
6418 delete arg2;
6419 }
6420 return resultobj;
6421 fail:
6422 {
6423 if (temp2)
6424 delete arg2;
6425 }
6426 return NULL;
6427 }
6428
6429
6430 static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6431 PyObject *resultobj;
6432 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6433 wxFileSystem *arg2 = 0 ;
6434 wxString *arg3 = 0 ;
6435 wxFSFile *result;
6436 bool temp3 = False ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 PyObject * obj2 = 0 ;
6440 char *kwnames[] = {
6441 (char *) "self",(char *) "fs",(char *) "location", NULL
6442 };
6443
6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6447 if (arg2 == NULL) {
6448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6449 }
6450 {
6451 arg3 = wxString_in_helper(obj2);
6452 if (arg3 == NULL) SWIG_fail;
6453 temp3 = True;
6454 }
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 {
6463 resultobj = wxPyMake_wxObject(result);
6464 }
6465 {
6466 if (temp3)
6467 delete arg3;
6468 }
6469 return resultobj;
6470 fail:
6471 {
6472 if (temp3)
6473 delete arg3;
6474 }
6475 return NULL;
6476 }
6477
6478
6479 static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6480 PyObject *resultobj;
6481 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6482 wxString *arg2 = 0 ;
6483 int arg3 = (int) 0 ;
6484 wxString result;
6485 bool temp2 = False ;
6486 PyObject * obj0 = 0 ;
6487 PyObject * obj1 = 0 ;
6488 char *kwnames[] = {
6489 (char *) "self",(char *) "spec",(char *) "flags", NULL
6490 };
6491
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6494 {
6495 arg2 = wxString_in_helper(obj1);
6496 if (arg2 == NULL) SWIG_fail;
6497 temp2 = True;
6498 }
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
6506 {
6507 #if wxUSE_UNICODE
6508 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6509 #else
6510 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6511 #endif
6512 }
6513 {
6514 if (temp2)
6515 delete arg2;
6516 }
6517 return resultobj;
6518 fail:
6519 {
6520 if (temp2)
6521 delete arg2;
6522 }
6523 return NULL;
6524 }
6525
6526
6527 static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6528 PyObject *resultobj;
6529 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6530 wxString result;
6531 PyObject * obj0 = 0 ;
6532 char *kwnames[] = {
6533 (char *) "self", NULL
6534 };
6535
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
6537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 result = (arg1)->FindNext();
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 {
6546 #if wxUSE_UNICODE
6547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6548 #else
6549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6550 #endif
6551 }
6552 return resultobj;
6553 fail:
6554 return NULL;
6555 }
6556
6557
6558 static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
6559 PyObject *obj;
6560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6561 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
6562 Py_INCREF(obj);
6563 return Py_BuildValue((char *)"");
6564 }
6565 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
6566 PyObject *resultobj;
6567 wxString *arg1 = 0 ;
6568 wxImage *arg2 = 0 ;
6569 long arg3 ;
6570 bool temp1 = False ;
6571 PyObject * obj0 = 0 ;
6572 PyObject * obj1 = 0 ;
6573 char *kwnames[] = {
6574 (char *) "filename",(char *) "image",(char *) "type", NULL
6575 };
6576
6577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
6578 {
6579 arg1 = wxString_in_helper(obj0);
6580 if (arg1 == NULL) SWIG_fail;
6581 temp1 = True;
6582 }
6583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6584 if (arg2 == NULL) {
6585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6586 }
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
6590
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 Py_INCREF(Py_None); resultobj = Py_None;
6595 {
6596 if (temp1)
6597 delete arg1;
6598 }
6599 return resultobj;
6600 fail:
6601 {
6602 if (temp1)
6603 delete arg1;
6604 }
6605 return NULL;
6606 }
6607
6608
6609 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
6610 PyObject *resultobj;
6611 wxString *arg1 = 0 ;
6612 wxBitmap *arg2 = 0 ;
6613 long arg3 ;
6614 bool temp1 = False ;
6615 PyObject * obj0 = 0 ;
6616 PyObject * obj1 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&arg3)) goto fail;
6622 {
6623 arg1 = wxString_in_helper(obj0);
6624 if (arg1 == NULL) SWIG_fail;
6625 temp1 = True;
6626 }
6627 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6628 if (arg2 == NULL) {
6629 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6630 }
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 Py_INCREF(Py_None); resultobj = Py_None;
6639 {
6640 if (temp1)
6641 delete arg1;
6642 }
6643 return resultobj;
6644 fail:
6645 {
6646 if (temp1)
6647 delete arg1;
6648 }
6649 return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
6654 PyObject *resultobj;
6655 wxString *arg1 = 0 ;
6656 PyObject *arg2 = (PyObject *) 0 ;
6657 bool temp1 = False ;
6658 PyObject * obj0 = 0 ;
6659 PyObject * obj1 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "filename",(char *) "data", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
6665 {
6666 arg1 = wxString_in_helper(obj0);
6667 if (arg1 == NULL) SWIG_fail;
6668 temp1 = True;
6669 }
6670 arg2 = obj1;
6671 {
6672 PyThreadState* __tstate = wxPyBeginAllowThreads();
6673 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
6674
6675 wxPyEndAllowThreads(__tstate);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 Py_INCREF(Py_None); resultobj = Py_None;
6679 {
6680 if (temp1)
6681 delete arg1;
6682 }
6683 return resultobj;
6684 fail:
6685 {
6686 if (temp1)
6687 delete arg1;
6688 }
6689 return NULL;
6690 }
6691
6692
6693 static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 wxMemoryFSHandler *result;
6696 char *kwnames[] = {
6697 NULL
6698 };
6699
6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
6701 {
6702 PyThreadState* __tstate = wxPyBeginAllowThreads();
6703 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
6704
6705 wxPyEndAllowThreads(__tstate);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMemoryFSHandler, 1);
6709 return resultobj;
6710 fail:
6711 return NULL;
6712 }
6713
6714
6715 static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6716 PyObject *resultobj;
6717 wxString *arg1 = 0 ;
6718 bool temp1 = False ;
6719 PyObject * obj0 = 0 ;
6720 char *kwnames[] = {
6721 (char *) "filename", NULL
6722 };
6723
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
6725 {
6726 arg1 = wxString_in_helper(obj0);
6727 if (arg1 == NULL) SWIG_fail;
6728 temp1 = True;
6729 }
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
6733
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 Py_INCREF(Py_None); resultobj = Py_None;
6738 {
6739 if (temp1)
6740 delete arg1;
6741 }
6742 return resultobj;
6743 fail:
6744 {
6745 if (temp1)
6746 delete arg1;
6747 }
6748 return NULL;
6749 }
6750
6751
6752 static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6753 PyObject *resultobj;
6754 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6755 wxString *arg2 = 0 ;
6756 bool result;
6757 bool temp2 = False ;
6758 PyObject * obj0 = 0 ;
6759 PyObject * obj1 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "self",(char *) "location", NULL
6762 };
6763
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6766 {
6767 arg2 = wxString_in_helper(obj1);
6768 if (arg2 == NULL) SWIG_fail;
6769 temp2 = True;
6770 }
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = PyInt_FromLong((long)result);
6779 {
6780 if (temp2)
6781 delete arg2;
6782 }
6783 return resultobj;
6784 fail:
6785 {
6786 if (temp2)
6787 delete arg2;
6788 }
6789 return NULL;
6790 }
6791
6792
6793 static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6794 PyObject *resultobj;
6795 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6796 wxFileSystem *arg2 = 0 ;
6797 wxString *arg3 = 0 ;
6798 wxFSFile *result;
6799 bool temp3 = False ;
6800 PyObject * obj0 = 0 ;
6801 PyObject * obj1 = 0 ;
6802 PyObject * obj2 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self",(char *) "fs",(char *) "location", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6810 if (arg2 == NULL) {
6811 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6812 }
6813 {
6814 arg3 = wxString_in_helper(obj2);
6815 if (arg3 == NULL) SWIG_fail;
6816 temp3 = True;
6817 }
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 {
6826 resultobj = wxPyMake_wxObject(result);
6827 }
6828 {
6829 if (temp3)
6830 delete arg3;
6831 }
6832 return resultobj;
6833 fail:
6834 {
6835 if (temp3)
6836 delete arg3;
6837 }
6838 return NULL;
6839 }
6840
6841
6842 static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj;
6844 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6845 wxString *arg2 = 0 ;
6846 int arg3 = (int) 0 ;
6847 wxString result;
6848 bool temp2 = False ;
6849 PyObject * obj0 = 0 ;
6850 PyObject * obj1 = 0 ;
6851 char *kwnames[] = {
6852 (char *) "self",(char *) "spec",(char *) "flags", NULL
6853 };
6854
6855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6857 {
6858 arg2 = wxString_in_helper(obj1);
6859 if (arg2 == NULL) SWIG_fail;
6860 temp2 = True;
6861 }
6862 {
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6865
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 {
6870 #if wxUSE_UNICODE
6871 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6872 #else
6873 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6874 #endif
6875 }
6876 {
6877 if (temp2)
6878 delete arg2;
6879 }
6880 return resultobj;
6881 fail:
6882 {
6883 if (temp2)
6884 delete arg2;
6885 }
6886 return NULL;
6887 }
6888
6889
6890 static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6891 PyObject *resultobj;
6892 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6893 wxString result;
6894 PyObject * obj0 = 0 ;
6895 char *kwnames[] = {
6896 (char *) "self", NULL
6897 };
6898
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
6900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 result = (arg1)->FindNext();
6904
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 {
6909 #if wxUSE_UNICODE
6910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6911 #else
6912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6913 #endif
6914 }
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
6922 PyObject *obj;
6923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6924 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
6925 Py_INCREF(obj);
6926 return Py_BuildValue((char *)"");
6927 }
6928 static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
6929 PyObject *resultobj;
6930 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6931 wxString result;
6932 PyObject * obj0 = 0 ;
6933 char *kwnames[] = {
6934 (char *) "self", NULL
6935 };
6936
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
6938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 result = (arg1)->GetName();
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 {
6947 #if wxUSE_UNICODE
6948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6949 #else
6950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6951 #endif
6952 }
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6962 wxString result;
6963 PyObject * obj0 = 0 ;
6964 char *kwnames[] = {
6965 (char *) "self", NULL
6966 };
6967
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
6969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = (arg1)->GetExtension();
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 {
6978 #if wxUSE_UNICODE
6979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6980 #else
6981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6982 #endif
6983 }
6984 return resultobj;
6985 fail:
6986 return NULL;
6987 }
6988
6989
6990 static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
6991 PyObject *resultobj;
6992 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6993 long result;
6994 PyObject * obj0 = 0 ;
6995 char *kwnames[] = {
6996 (char *) "self", NULL
6997 };
6998
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
7000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7001 {
7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
7003 result = (long)(arg1)->GetType();
7004
7005 wxPyEndAllowThreads(__tstate);
7006 if (PyErr_Occurred()) SWIG_fail;
7007 }
7008 resultobj = PyInt_FromLong((long)result);
7009 return resultobj;
7010 fail:
7011 return NULL;
7012 }
7013
7014
7015 static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject *resultobj;
7017 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7018 wxString result;
7019 PyObject * obj0 = 0 ;
7020 char *kwnames[] = {
7021 (char *) "self", NULL
7022 };
7023
7024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
7025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7026 {
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 result = (arg1)->GetMimeType();
7029
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
7033 {
7034 #if wxUSE_UNICODE
7035 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7036 #else
7037 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7038 #endif
7039 }
7040 return resultobj;
7041 fail:
7042 return NULL;
7043 }
7044
7045
7046 static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj;
7048 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7049 wxString *arg2 = 0 ;
7050 bool result;
7051 bool temp2 = False ;
7052 PyObject * obj0 = 0 ;
7053 PyObject * obj1 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self",(char *) "name", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7060 {
7061 arg2 = wxString_in_helper(obj1);
7062 if (arg2 == NULL) SWIG_fail;
7063 temp2 = True;
7064 }
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 resultobj = PyInt_FromLong((long)result);
7073 {
7074 if (temp2)
7075 delete arg2;
7076 }
7077 return resultobj;
7078 fail:
7079 {
7080 if (temp2)
7081 delete arg2;
7082 }
7083 return NULL;
7084 }
7085
7086
7087 static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7088 PyObject *resultobj;
7089 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7090 wxString *arg2 = 0 ;
7091 bool temp2 = False ;
7092 PyObject * obj0 = 0 ;
7093 PyObject * obj1 = 0 ;
7094 char *kwnames[] = {
7095 (char *) "self",(char *) "name", NULL
7096 };
7097
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
7099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7100 {
7101 arg2 = wxString_in_helper(obj1);
7102 if (arg2 == NULL) SWIG_fail;
7103 temp2 = True;
7104 }
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 (arg1)->SetName((wxString const &)*arg2);
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
7112 Py_INCREF(Py_None); resultobj = Py_None;
7113 {
7114 if (temp2)
7115 delete arg2;
7116 }
7117 return resultobj;
7118 fail:
7119 {
7120 if (temp2)
7121 delete arg2;
7122 }
7123 return NULL;
7124 }
7125
7126
7127 static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7130 wxString *arg2 = 0 ;
7131 bool temp2 = False ;
7132 PyObject * obj0 = 0 ;
7133 PyObject * obj1 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self",(char *) "extension", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
7139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7140 {
7141 arg2 = wxString_in_helper(obj1);
7142 if (arg2 == NULL) SWIG_fail;
7143 temp2 = True;
7144 }
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 (arg1)->SetExtension((wxString const &)*arg2);
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 Py_INCREF(Py_None); resultobj = Py_None;
7153 {
7154 if (temp2)
7155 delete arg2;
7156 }
7157 return resultobj;
7158 fail:
7159 {
7160 if (temp2)
7161 delete arg2;
7162 }
7163 return NULL;
7164 }
7165
7166
7167 static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7170 long arg2 ;
7171 PyObject * obj0 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "type", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ImageHandler_SetType",kwnames,&obj0,&arg2)) goto fail;
7177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 (arg1)->SetType(arg2);
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 Py_INCREF(Py_None); resultobj = Py_None;
7186 return resultobj;
7187 fail:
7188 return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7195 wxString *arg2 = 0 ;
7196 bool temp2 = False ;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj1 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "mimetype", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 {
7206 arg2 = wxString_in_helper(obj1);
7207 if (arg2 == NULL) SWIG_fail;
7208 temp2 = True;
7209 }
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 (arg1)->SetMimeType((wxString const &)*arg2);
7213
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 Py_INCREF(Py_None); resultobj = Py_None;
7218 {
7219 if (temp2)
7220 delete arg2;
7221 }
7222 return resultobj;
7223 fail:
7224 {
7225 if (temp2)
7226 delete arg2;
7227 }
7228 return NULL;
7229 }
7230
7231
7232 static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
7233 PyObject *obj;
7234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7235 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
7236 Py_INCREF(obj);
7237 return Py_BuildValue((char *)"");
7238 }
7239 static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj;
7241 wxImageHistogram *result;
7242 char *kwnames[] = {
7243 NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
7247 {
7248 PyThreadState* __tstate = wxPyBeginAllowThreads();
7249 result = (wxImageHistogram *)new wxImageHistogram();
7250
7251 wxPyEndAllowThreads(__tstate);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
7254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImageHistogram, 1);
7255 return resultobj;
7256 fail:
7257 return NULL;
7258 }
7259
7260
7261 static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
7262 PyObject *resultobj;
7263 unsigned char arg1 ;
7264 unsigned char arg2 ;
7265 unsigned char arg3 ;
7266 unsigned long result;
7267 PyObject * obj0 = 0 ;
7268 PyObject * obj1 = 0 ;
7269 PyObject * obj2 = 0 ;
7270 char *kwnames[] = {
7271 (char *) "r",(char *) "g",(char *) "b", NULL
7272 };
7273
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
7275 arg1 = (unsigned char) PyInt_AsLong(obj0);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 arg2 = (unsigned char) PyInt_AsLong(obj1);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 arg3 = (unsigned char) PyInt_AsLong(obj2);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 resultobj = PyInt_FromLong((long)result);
7289 return resultobj;
7290 fail:
7291 return NULL;
7292 }
7293
7294
7295 static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7296 PyObject *resultobj;
7297 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7298 unsigned char *arg2 = (unsigned char *) 0 ;
7299 unsigned char *arg3 = (unsigned char *) 0 ;
7300 unsigned char *arg4 = (unsigned char *) 0 ;
7301 unsigned char arg5 = (unsigned char) 1 ;
7302 unsigned char arg6 = (unsigned char) 0 ;
7303 unsigned char arg7 = (unsigned char) 0 ;
7304 bool result;
7305 unsigned char temp2 ;
7306 unsigned char temp3 ;
7307 unsigned char temp4 ;
7308 PyObject * obj0 = 0 ;
7309 PyObject * obj1 = 0 ;
7310 PyObject * obj2 = 0 ;
7311 PyObject * obj3 = 0 ;
7312 char *kwnames[] = {
7313 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7314 };
7315
7316 arg2 = &temp2;
7317 arg3 = &temp3;
7318 arg4 = &temp4;
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7321 if (obj1) {
7322 arg5 = (unsigned char) PyInt_AsLong(obj1);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 if (obj2) {
7326 arg6 = (unsigned char) PyInt_AsLong(obj2);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 if (obj3) {
7330 arg7 = (unsigned char) PyInt_AsLong(obj3);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 {
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
7336
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 resultobj = PyInt_FromLong((long)result);
7341 {
7342 PyObject *o = PyInt_FromLong((long) (*arg2));
7343 resultobj = t_output_helper(resultobj,o);
7344 }
7345 {
7346 PyObject *o = PyInt_FromLong((long) (*arg3));
7347 resultobj = t_output_helper(resultobj,o);
7348 }
7349 {
7350 PyObject *o = PyInt_FromLong((long) (*arg4));
7351 resultobj = t_output_helper(resultobj,o);
7352 }
7353 return resultobj;
7354 fail:
7355 return NULL;
7356 }
7357
7358
7359 static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
7360 PyObject *obj;
7361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7362 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
7363 Py_INCREF(obj);
7364 return Py_BuildValue((char *)"");
7365 }
7366 static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7367 PyObject *resultobj;
7368 wxString *arg1 = 0 ;
7369 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7370 int arg3 = (int) -1 ;
7371 wxImage *result;
7372 bool temp1 = False ;
7373 PyObject * obj0 = 0 ;
7374 char *kwnames[] = {
7375 (char *) "name",(char *) "type",(char *) "index", NULL
7376 };
7377
7378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_Image",kwnames,&obj0,&arg2,&arg3)) goto fail;
7379 {
7380 arg1 = wxString_in_helper(obj0);
7381 if (arg1 == NULL) SWIG_fail;
7382 temp1 = True;
7383 }
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
7387
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7392 {
7393 if (temp1)
7394 delete arg1;
7395 }
7396 return resultobj;
7397 fail:
7398 {
7399 if (temp1)
7400 delete arg1;
7401 }
7402 return NULL;
7403 }
7404
7405
7406 static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7407 PyObject *resultobj;
7408 wxImage *arg1 = (wxImage *) 0 ;
7409 PyObject * obj0 = 0 ;
7410 char *kwnames[] = {
7411 (char *) "self", NULL
7412 };
7413
7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
7415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 delete arg1;
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 }
7423 Py_INCREF(Py_None); resultobj = Py_None;
7424 return resultobj;
7425 fail:
7426 return NULL;
7427 }
7428
7429
7430 static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7431 PyObject *resultobj;
7432 wxString *arg1 = 0 ;
7433 wxString *arg2 = 0 ;
7434 int arg3 = (int) -1 ;
7435 wxImage *result;
7436 bool temp1 = False ;
7437 bool temp2 = False ;
7438 PyObject * obj0 = 0 ;
7439 PyObject * obj1 = 0 ;
7440 char *kwnames[] = {
7441 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7442 };
7443
7444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7445 {
7446 arg1 = wxString_in_helper(obj0);
7447 if (arg1 == NULL) SWIG_fail;
7448 temp1 = True;
7449 }
7450 {
7451 arg2 = wxString_in_helper(obj1);
7452 if (arg2 == NULL) SWIG_fail;
7453 temp2 = True;
7454 }
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7463 {
7464 if (temp1)
7465 delete arg1;
7466 }
7467 {
7468 if (temp2)
7469 delete arg2;
7470 }
7471 return resultobj;
7472 fail:
7473 {
7474 if (temp1)
7475 delete arg1;
7476 }
7477 {
7478 if (temp2)
7479 delete arg2;
7480 }
7481 return NULL;
7482 }
7483
7484
7485 static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject *resultobj;
7487 wxInputStream *arg1 = 0 ;
7488 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7489 int arg3 = (int) -1 ;
7490 wxImage *result;
7491 wxPyInputStream *temp1 ;
7492 bool created1 ;
7493 PyObject * obj0 = 0 ;
7494 char *kwnames[] = {
7495 (char *) "stream",(char *) "type",(char *) "index", NULL
7496 };
7497
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_ImageFromStream",kwnames,&obj0,&arg2,&arg3)) goto fail;
7499 {
7500 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7501 arg1 = temp1->m_wxis;
7502 created1 = False;
7503 } else {
7504 PyErr_Clear(); // clear the failure of the wxPyConvert above
7505 arg1 = wxPyCBInputStream_create(obj0, False);
7506 if (arg1 == NULL) {
7507 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7508 SWIG_fail;
7509 }
7510 created1 = True;
7511 }
7512 }
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7521 {
7522 if (created1)
7523 delete arg1;
7524 }
7525 return resultobj;
7526 fail:
7527 {
7528 if (created1)
7529 delete arg1;
7530 }
7531 return NULL;
7532 }
7533
7534
7535 static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj;
7537 wxInputStream *arg1 = 0 ;
7538 wxString *arg2 = 0 ;
7539 int arg3 = (int) -1 ;
7540 wxImage *result;
7541 wxPyInputStream *temp1 ;
7542 bool created1 ;
7543 bool temp2 = False ;
7544 PyObject * obj0 = 0 ;
7545 PyObject * obj1 = 0 ;
7546 char *kwnames[] = {
7547 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7548 };
7549
7550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7551 {
7552 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7553 arg1 = temp1->m_wxis;
7554 created1 = False;
7555 } else {
7556 PyErr_Clear(); // clear the failure of the wxPyConvert above
7557 arg1 = wxPyCBInputStream_create(obj0, False);
7558 if (arg1 == NULL) {
7559 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7560 SWIG_fail;
7561 }
7562 created1 = True;
7563 }
7564 }
7565 {
7566 arg2 = wxString_in_helper(obj1);
7567 if (arg2 == NULL) SWIG_fail;
7568 temp2 = True;
7569 }
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7578 {
7579 if (created1)
7580 delete arg1;
7581 }
7582 {
7583 if (temp2)
7584 delete arg2;
7585 }
7586 return resultobj;
7587 fail:
7588 {
7589 if (created1)
7590 delete arg1;
7591 }
7592 {
7593 if (temp2)
7594 delete arg2;
7595 }
7596 return NULL;
7597 }
7598
7599
7600 static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 int arg1 = (int) 0 ;
7603 int arg2 = (int) 0 ;
7604 bool arg3 = (bool) True ;
7605 wxImage *result;
7606 PyObject * obj2 = 0 ;
7607 char *kwnames[] = {
7608 (char *) "width",(char *) "height",(char *) "clear", NULL
7609 };
7610
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_EmptyImage",kwnames,&arg1,&arg2,&obj2)) goto fail;
7612 if (obj2) {
7613 arg3 = PyInt_AsLong(obj2) ? true : false;
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7624 return resultobj;
7625 fail:
7626 return NULL;
7627 }
7628
7629
7630 static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj;
7632 wxBitmap *arg1 = 0 ;
7633 wxImage *result;
7634 PyObject * obj0 = 0 ;
7635 char *kwnames[] = {
7636 (char *) "bitmap", NULL
7637 };
7638
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
7640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7641 if (arg1 == NULL) {
7642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7643 }
7644 {
7645 PyThreadState* __tstate = wxPyBeginAllowThreads();
7646 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
7647
7648 wxPyEndAllowThreads(__tstate);
7649 if (PyErr_Occurred()) SWIG_fail;
7650 }
7651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7652 return resultobj;
7653 fail:
7654 return NULL;
7655 }
7656
7657
7658 static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
7659 PyObject *resultobj;
7660 int arg1 ;
7661 int arg2 ;
7662 unsigned char *arg3 = (unsigned char *) 0 ;
7663 wxImage *result;
7664 PyObject * obj2 = 0 ;
7665 char *kwnames[] = {
7666 (char *) "width",(char *) "height",(char *) "data", NULL
7667 };
7668
7669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO:new_ImageFromData",kwnames,&arg1,&arg2,&obj2)) goto fail;
7670 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7679 return resultobj;
7680 fail:
7681 return NULL;
7682 }
7683
7684
7685 static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7686 PyObject *resultobj;
7687 wxImage *arg1 = (wxImage *) 0 ;
7688 int arg2 ;
7689 int arg3 ;
7690 PyObject * obj0 = 0 ;
7691 char *kwnames[] = {
7692 (char *) "self",(char *) "width",(char *) "height", NULL
7693 };
7694
7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Create",kwnames,&obj0,&arg2,&arg3)) goto fail;
7696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 (arg1)->Create(arg2,arg3);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 Py_INCREF(Py_None); resultobj = Py_None;
7705 return resultobj;
7706 fail:
7707 return NULL;
7708 }
7709
7710
7711 static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj;
7713 wxImage *arg1 = (wxImage *) 0 ;
7714 PyObject * obj0 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self", NULL
7717 };
7718
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
7720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 (arg1)->Destroy();
7724
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 }
7728 Py_INCREF(Py_None); resultobj = Py_None;
7729 return resultobj;
7730 fail:
7731 return NULL;
7732 }
7733
7734
7735 static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7736 PyObject *resultobj;
7737 wxImage *arg1 = (wxImage *) 0 ;
7738 int arg2 ;
7739 int arg3 ;
7740 SwigValueWrapper< wxImage > result;
7741 PyObject * obj0 = 0 ;
7742 char *kwnames[] = {
7743 (char *) "self",(char *) "width",(char *) "height", NULL
7744 };
7745
7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (arg1)->Scale(arg2,arg3);
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 {
7756 wxImage * resultptr;
7757 resultptr = new wxImage((wxImage &) result);
7758 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7759 }
7760 return resultobj;
7761 fail:
7762 return NULL;
7763 }
7764
7765
7766 static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
7767 PyObject *resultobj;
7768 wxImage *arg1 = (wxImage *) 0 ;
7769 int arg2 ;
7770 int arg3 ;
7771 SwigValueWrapper< wxImage > result;
7772 PyObject * obj0 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_ShrinkBy",kwnames,&obj0,&arg2,&arg3)) goto fail;
7778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 {
7787 wxImage * resultptr;
7788 resultptr = new wxImage((wxImage &) result);
7789 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7790 }
7791 return resultobj;
7792 fail:
7793 return NULL;
7794 }
7795
7796
7797 static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxImage *arg1 = (wxImage *) 0 ;
7800 int arg2 ;
7801 int arg3 ;
7802 wxImage *result;
7803 PyObject * obj0 = 0 ;
7804 char *kwnames[] = {
7805 (char *) "self",(char *) "width",(char *) "height", NULL
7806 };
7807
7808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Rescale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 {
7813 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
7814 result = (wxImage *) &_result_ref;
7815 }
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 0);
7821 return resultobj;
7822 fail:
7823 return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxImage *arg1 = (wxImage *) 0 ;
7830 int arg2 ;
7831 int arg3 ;
7832 unsigned char arg4 ;
7833 unsigned char arg5 ;
7834 unsigned char arg6 ;
7835 PyObject * obj0 = 0 ;
7836 PyObject * obj3 = 0 ;
7837 PyObject * obj4 = 0 ;
7838 PyObject * obj5 = 0 ;
7839 char *kwnames[] = {
7840 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7841 };
7842
7843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOO:Image_SetRGB",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5)) goto fail;
7844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7845 arg4 = (unsigned char) PyInt_AsLong(obj3);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 arg5 = (unsigned char) PyInt_AsLong(obj4);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 arg6 = (unsigned char) PyInt_AsLong(obj5);
7850 if (PyErr_Occurred()) SWIG_fail;
7851 {
7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
7853 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
7854
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 Py_INCREF(Py_None); resultobj = Py_None;
7859 return resultobj;
7860 fail:
7861 return NULL;
7862 }
7863
7864
7865 static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj;
7867 wxImage *arg1 = (wxImage *) 0 ;
7868 int arg2 ;
7869 int arg3 ;
7870 unsigned char result;
7871 PyObject * obj0 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self",(char *) "x",(char *) "y", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetRed",kwnames,&obj0,&arg2,&arg3)) goto fail;
7877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
7881
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 resultobj = PyInt_FromLong((long)result);
7886 return resultobj;
7887 fail:
7888 return NULL;
7889 }
7890
7891
7892 static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj;
7894 wxImage *arg1 = (wxImage *) 0 ;
7895 int arg2 ;
7896 int arg3 ;
7897 unsigned char result;
7898 PyObject * obj0 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self",(char *) "x",(char *) "y", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetGreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
7904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 resultobj = PyInt_FromLong((long)result);
7913 return resultobj;
7914 fail:
7915 return NULL;
7916 }
7917
7918
7919 static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
7920 PyObject *resultobj;
7921 wxImage *arg1 = (wxImage *) 0 ;
7922 int arg2 ;
7923 int arg3 ;
7924 unsigned char result;
7925 PyObject * obj0 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self",(char *) "x",(char *) "y", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetBlue",kwnames,&obj0,&arg2,&arg3)) goto fail;
7931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 resultobj = PyInt_FromLong((long)result);
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
7947 PyObject *resultobj;
7948 wxImage *arg1 = (wxImage *) 0 ;
7949 int arg2 ;
7950 int arg3 ;
7951 unsigned char arg4 ;
7952 PyObject * obj0 = 0 ;
7953 PyObject * obj3 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Image_SetAlpha",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7960 arg4 = (unsigned char) PyInt_AsLong(obj3);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 (arg1)->SetAlpha(arg2,arg3,arg4);
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 Py_INCREF(Py_None); resultobj = Py_None;
7970 return resultobj;
7971 fail:
7972 return NULL;
7973 }
7974
7975
7976 static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj;
7978 wxImage *arg1 = (wxImage *) 0 ;
7979 int arg2 ;
7980 int arg3 ;
7981 unsigned char result;
7982 PyObject * obj0 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self",(char *) "x",(char *) "y", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetAlpha",kwnames,&obj0,&arg2,&arg3)) goto fail;
7988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7989 {
7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7991 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
7992
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 resultobj = PyInt_FromLong((long)result);
7997 return resultobj;
7998 fail:
7999 return NULL;
8000 }
8001
8002
8003 static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8004 PyObject *resultobj;
8005 wxImage *arg1 = (wxImage *) 0 ;
8006 bool result;
8007 PyObject * obj0 = 0 ;
8008 char *kwnames[] = {
8009 (char *) "self", NULL
8010 };
8011
8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
8013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 result = (bool)(arg1)->HasAlpha();
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 resultobj = PyInt_FromLong((long)result);
8022 return resultobj;
8023 fail:
8024 return NULL;
8025 }
8026
8027
8028 static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8029 PyObject *resultobj;
8030 wxImage *arg1 = (wxImage *) 0 ;
8031 byte *arg2 = (byte *) 0 ;
8032 byte *arg3 = (byte *) 0 ;
8033 byte *arg4 = (byte *) 0 ;
8034 byte arg5 = (byte) 0 ;
8035 byte arg6 = (byte) 0 ;
8036 byte arg7 = (byte) 0 ;
8037 bool result;
8038 byte temp2 ;
8039 byte temp3 ;
8040 byte temp4 ;
8041 PyObject * obj0 = 0 ;
8042 PyObject * obj1 = 0 ;
8043 PyObject * obj2 = 0 ;
8044 PyObject * obj3 = 0 ;
8045 char *kwnames[] = {
8046 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8047 };
8048
8049 arg2 = &temp2;
8050 arg3 = &temp3;
8051 arg4 = &temp4;
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8054 if (obj1) {
8055 arg5 = (byte) PyInt_AsLong(obj1);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 if (obj2) {
8059 arg6 = (byte) PyInt_AsLong(obj2);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 if (obj3) {
8063 arg7 = (byte) PyInt_AsLong(obj3);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 }
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 resultobj = PyInt_FromLong((long)result);
8074 {
8075 PyObject *o = PyInt_FromLong((long) (*arg2));
8076 resultobj = t_output_helper(resultobj,o);
8077 }
8078 {
8079 PyObject *o = PyInt_FromLong((long) (*arg3));
8080 resultobj = t_output_helper(resultobj,o);
8081 }
8082 {
8083 PyObject *o = PyInt_FromLong((long) (*arg4));
8084 resultobj = t_output_helper(resultobj,o);
8085 }
8086 return resultobj;
8087 fail:
8088 return NULL;
8089 }
8090
8091
8092 static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8093 PyObject *resultobj;
8094 wxImage *arg1 = (wxImage *) 0 ;
8095 wxImage *arg2 = 0 ;
8096 byte arg3 ;
8097 byte arg4 ;
8098 byte arg5 ;
8099 bool result;
8100 PyObject * obj0 = 0 ;
8101 PyObject * obj1 = 0 ;
8102 PyObject * obj2 = 0 ;
8103 PyObject * obj3 = 0 ;
8104 PyObject * obj4 = 0 ;
8105 char *kwnames[] = {
8106 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8107 };
8108
8109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8112 if (arg2 == NULL) {
8113 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8114 }
8115 arg3 = (byte) PyInt_AsLong(obj2);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 arg4 = (byte) PyInt_AsLong(obj3);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 arg5 = (byte) PyInt_AsLong(obj4);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 resultobj = PyInt_FromLong((long)result);
8129 return resultobj;
8130 fail:
8131 return NULL;
8132 }
8133
8134
8135 static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxString *arg1 = 0 ;
8138 bool result;
8139 bool temp1 = False ;
8140 PyObject * obj0 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "name", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
8146 {
8147 arg1 = wxString_in_helper(obj0);
8148 if (arg1 == NULL) SWIG_fail;
8149 temp1 = True;
8150 }
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = (bool)wxImage::CanRead((wxString const &)*arg1);
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
8158 resultobj = PyInt_FromLong((long)result);
8159 {
8160 if (temp1)
8161 delete arg1;
8162 }
8163 return resultobj;
8164 fail:
8165 {
8166 if (temp1)
8167 delete arg1;
8168 }
8169 return NULL;
8170 }
8171
8172
8173 static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8174 PyObject *resultobj;
8175 wxString *arg1 = 0 ;
8176 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8177 int result;
8178 bool temp1 = False ;
8179 PyObject * obj0 = 0 ;
8180 char *kwnames[] = {
8181 (char *) "name",(char *) "type", NULL
8182 };
8183
8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Image_GetImageCount",kwnames,&obj0,&arg2)) goto fail;
8185 {
8186 arg1 = wxString_in_helper(obj0);
8187 if (arg1 == NULL) SWIG_fail;
8188 temp1 = True;
8189 }
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 resultobj = PyInt_FromLong((long)result);
8198 {
8199 if (temp1)
8200 delete arg1;
8201 }
8202 return resultobj;
8203 fail:
8204 {
8205 if (temp1)
8206 delete arg1;
8207 }
8208 return NULL;
8209 }
8210
8211
8212 static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj;
8214 wxImage *arg1 = (wxImage *) 0 ;
8215 wxString *arg2 = 0 ;
8216 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8217 int arg4 = (int) -1 ;
8218 bool result;
8219 bool temp2 = False ;
8220 PyObject * obj0 = 0 ;
8221 PyObject * obj1 = 0 ;
8222 char *kwnames[] = {
8223 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8224 };
8225
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadFile",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8228 {
8229 arg2 = wxString_in_helper(obj1);
8230 if (arg2 == NULL) SWIG_fail;
8231 temp2 = True;
8232 }
8233 {
8234 PyThreadState* __tstate = wxPyBeginAllowThreads();
8235 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
8236
8237 wxPyEndAllowThreads(__tstate);
8238 if (PyErr_Occurred()) SWIG_fail;
8239 }
8240 resultobj = PyInt_FromLong((long)result);
8241 {
8242 if (temp2)
8243 delete arg2;
8244 }
8245 return resultobj;
8246 fail:
8247 {
8248 if (temp2)
8249 delete arg2;
8250 }
8251 return NULL;
8252 }
8253
8254
8255 static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8256 PyObject *resultobj;
8257 wxImage *arg1 = (wxImage *) 0 ;
8258 wxString *arg2 = 0 ;
8259 wxString *arg3 = 0 ;
8260 int arg4 = (int) -1 ;
8261 bool result;
8262 bool temp2 = False ;
8263 bool temp3 = False ;
8264 PyObject * obj0 = 0 ;
8265 PyObject * obj1 = 0 ;
8266 PyObject * obj2 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8273 {
8274 arg2 = wxString_in_helper(obj1);
8275 if (arg2 == NULL) SWIG_fail;
8276 temp2 = True;
8277 }
8278 {
8279 arg3 = wxString_in_helper(obj2);
8280 if (arg3 == NULL) SWIG_fail;
8281 temp3 = True;
8282 }
8283 {
8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
8285 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8286
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
8290 resultobj = PyInt_FromLong((long)result);
8291 {
8292 if (temp2)
8293 delete arg2;
8294 }
8295 {
8296 if (temp3)
8297 delete arg3;
8298 }
8299 return resultobj;
8300 fail:
8301 {
8302 if (temp2)
8303 delete arg2;
8304 }
8305 {
8306 if (temp3)
8307 delete arg3;
8308 }
8309 return NULL;
8310 }
8311
8312
8313 static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj;
8315 wxImage *arg1 = (wxImage *) 0 ;
8316 wxString *arg2 = 0 ;
8317 int arg3 ;
8318 bool result;
8319 bool temp2 = False ;
8320 PyObject * obj0 = 0 ;
8321 PyObject * obj1 = 0 ;
8322 char *kwnames[] = {
8323 (char *) "self",(char *) "name",(char *) "type", NULL
8324 };
8325
8326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SaveFile",kwnames,&obj0,&obj1,&arg3)) goto fail;
8327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8328 {
8329 arg2 = wxString_in_helper(obj1);
8330 if (arg2 == NULL) SWIG_fail;
8331 temp2 = True;
8332 }
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 resultobj = PyInt_FromLong((long)result);
8341 {
8342 if (temp2)
8343 delete arg2;
8344 }
8345 return resultobj;
8346 fail:
8347 {
8348 if (temp2)
8349 delete arg2;
8350 }
8351 return NULL;
8352 }
8353
8354
8355 static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8356 PyObject *resultobj;
8357 wxImage *arg1 = (wxImage *) 0 ;
8358 wxString *arg2 = 0 ;
8359 wxString *arg3 = 0 ;
8360 bool result;
8361 bool temp2 = False ;
8362 bool temp3 = False ;
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
8365 PyObject * obj2 = 0 ;
8366 char *kwnames[] = {
8367 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8368 };
8369
8370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
8371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8372 {
8373 arg2 = wxString_in_helper(obj1);
8374 if (arg2 == NULL) SWIG_fail;
8375 temp2 = True;
8376 }
8377 {
8378 arg3 = wxString_in_helper(obj2);
8379 if (arg3 == NULL) SWIG_fail;
8380 temp3 = True;
8381 }
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 resultobj = PyInt_FromLong((long)result);
8390 {
8391 if (temp2)
8392 delete arg2;
8393 }
8394 {
8395 if (temp3)
8396 delete arg3;
8397 }
8398 return resultobj;
8399 fail:
8400 {
8401 if (temp2)
8402 delete arg2;
8403 }
8404 {
8405 if (temp3)
8406 delete arg3;
8407 }
8408 return NULL;
8409 }
8410
8411
8412 static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8413 PyObject *resultobj;
8414 wxInputStream *arg1 = 0 ;
8415 bool result;
8416 wxPyInputStream *temp1 ;
8417 bool created1 ;
8418 PyObject * obj0 = 0 ;
8419 char *kwnames[] = {
8420 (char *) "stream", NULL
8421 };
8422
8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
8424 {
8425 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8426 arg1 = temp1->m_wxis;
8427 created1 = False;
8428 } else {
8429 PyErr_Clear(); // clear the failure of the wxPyConvert above
8430 arg1 = wxPyCBInputStream_create(obj0, False);
8431 if (arg1 == NULL) {
8432 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8433 SWIG_fail;
8434 }
8435 created1 = True;
8436 }
8437 }
8438 {
8439 PyThreadState* __tstate = wxPyBeginAllowThreads();
8440 result = (bool)wxImage::CanRead(*arg1);
8441
8442 wxPyEndAllowThreads(__tstate);
8443 if (PyErr_Occurred()) SWIG_fail;
8444 }
8445 resultobj = PyInt_FromLong((long)result);
8446 {
8447 if (created1)
8448 delete arg1;
8449 }
8450 return resultobj;
8451 fail:
8452 {
8453 if (created1)
8454 delete arg1;
8455 }
8456 return NULL;
8457 }
8458
8459
8460 static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8461 PyObject *resultobj;
8462 wxImage *arg1 = (wxImage *) 0 ;
8463 wxInputStream *arg2 = 0 ;
8464 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8465 int arg4 = (int) -1 ;
8466 bool result;
8467 wxPyInputStream *temp2 ;
8468 bool created2 ;
8469 PyObject * obj0 = 0 ;
8470 PyObject * obj1 = 0 ;
8471 char *kwnames[] = {
8472 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8473 };
8474
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadStream",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8477 {
8478 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8479 arg2 = temp2->m_wxis;
8480 created2 = False;
8481 } else {
8482 PyErr_Clear(); // clear the failure of the wxPyConvert above
8483 arg2 = wxPyCBInputStream_create(obj1, False);
8484 if (arg2 == NULL) {
8485 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8486 SWIG_fail;
8487 }
8488 created2 = True;
8489 }
8490 }
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 resultobj = PyInt_FromLong((long)result);
8499 {
8500 if (created2)
8501 delete arg2;
8502 }
8503 return resultobj;
8504 fail:
8505 {
8506 if (created2)
8507 delete arg2;
8508 }
8509 return NULL;
8510 }
8511
8512
8513 static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj;
8515 wxImage *arg1 = (wxImage *) 0 ;
8516 wxInputStream *arg2 = 0 ;
8517 wxString *arg3 = 0 ;
8518 int arg4 = (int) -1 ;
8519 bool result;
8520 wxPyInputStream *temp2 ;
8521 bool created2 ;
8522 bool temp3 = False ;
8523 PyObject * obj0 = 0 ;
8524 PyObject * obj1 = 0 ;
8525 PyObject * obj2 = 0 ;
8526 char *kwnames[] = {
8527 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8528 };
8529
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8532 {
8533 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8534 arg2 = temp2->m_wxis;
8535 created2 = False;
8536 } else {
8537 PyErr_Clear(); // clear the failure of the wxPyConvert above
8538 arg2 = wxPyCBInputStream_create(obj1, False);
8539 if (arg2 == NULL) {
8540 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8541 SWIG_fail;
8542 }
8543 created2 = True;
8544 }
8545 }
8546 {
8547 arg3 = wxString_in_helper(obj2);
8548 if (arg3 == NULL) SWIG_fail;
8549 temp3 = True;
8550 }
8551 {
8552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8553 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 resultobj = PyInt_FromLong((long)result);
8559 {
8560 if (created2)
8561 delete arg2;
8562 }
8563 {
8564 if (temp3)
8565 delete arg3;
8566 }
8567 return resultobj;
8568 fail:
8569 {
8570 if (created2)
8571 delete arg2;
8572 }
8573 {
8574 if (temp3)
8575 delete arg3;
8576 }
8577 return NULL;
8578 }
8579
8580
8581 static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj;
8583 wxImage *arg1 = (wxImage *) 0 ;
8584 bool result;
8585 PyObject * obj0 = 0 ;
8586 char *kwnames[] = {
8587 (char *) "self", NULL
8588 };
8589
8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
8591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (bool)(arg1)->Ok();
8595
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 resultobj = PyInt_FromLong((long)result);
8600 return resultobj;
8601 fail:
8602 return NULL;
8603 }
8604
8605
8606 static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8607 PyObject *resultobj;
8608 wxImage *arg1 = (wxImage *) 0 ;
8609 int result;
8610 PyObject * obj0 = 0 ;
8611 char *kwnames[] = {
8612 (char *) "self", NULL
8613 };
8614
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
8616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 result = (int)(arg1)->GetWidth();
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 resultobj = PyInt_FromLong((long)result);
8625 return resultobj;
8626 fail:
8627 return NULL;
8628 }
8629
8630
8631 static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8632 PyObject *resultobj;
8633 wxImage *arg1 = (wxImage *) 0 ;
8634 int result;
8635 PyObject * obj0 = 0 ;
8636 char *kwnames[] = {
8637 (char *) "self", NULL
8638 };
8639
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
8641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 result = (int)(arg1)->GetHeight();
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 resultobj = PyInt_FromLong((long)result);
8650 return resultobj;
8651 fail:
8652 return NULL;
8653 }
8654
8655
8656 static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8657 PyObject *resultobj;
8658 wxImage *arg1 = (wxImage *) 0 ;
8659 wxRect *arg2 = 0 ;
8660 SwigValueWrapper< wxImage > result;
8661 wxRect temp2 ;
8662 PyObject * obj0 = 0 ;
8663 PyObject * obj1 = 0 ;
8664 char *kwnames[] = {
8665 (char *) "self",(char *) "rect", NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
8669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8670 {
8671 arg2 = &temp2;
8672 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8673 }
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 result = (arg1)->GetSubImage((wxRect const &)*arg2);
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
8681 {
8682 wxImage * resultptr;
8683 resultptr = new wxImage((wxImage &) result);
8684 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8685 }
8686 return resultobj;
8687 fail:
8688 return NULL;
8689 }
8690
8691
8692 static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8693 PyObject *resultobj;
8694 wxImage *arg1 = (wxImage *) 0 ;
8695 SwigValueWrapper< wxImage > result;
8696 PyObject * obj0 = 0 ;
8697 char *kwnames[] = {
8698 (char *) "self", NULL
8699 };
8700
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
8702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
8705 result = (arg1)->Copy();
8706
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 {
8711 wxImage * resultptr;
8712 resultptr = new wxImage((wxImage &) result);
8713 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8714 }
8715 return resultobj;
8716 fail:
8717 return NULL;
8718 }
8719
8720
8721 static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8722 PyObject *resultobj;
8723 wxImage *arg1 = (wxImage *) 0 ;
8724 wxImage *arg2 = 0 ;
8725 int arg3 ;
8726 int arg4 ;
8727 PyObject * obj0 = 0 ;
8728 PyObject * obj1 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Image_Paste",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8736 if (arg2 == NULL) {
8737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8738 }
8739 {
8740 PyThreadState* __tstate = wxPyBeginAllowThreads();
8741 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
8742
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 Py_INCREF(Py_None); resultobj = Py_None;
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxImage *arg1 = (wxImage *) 0 ;
8756 PyObject *result;
8757 PyObject * obj0 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
8763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 result = (PyObject *)wxImage_GetData(arg1);
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 resultobj = result;
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxImage *arg1 = (wxImage *) 0 ;
8781 PyObject *arg2 = (PyObject *) 0 ;
8782 PyObject * obj0 = 0 ;
8783 PyObject * obj1 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "self",(char *) "data", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
8789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8790 arg2 = obj1;
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 wxImage_SetData(arg1,arg2);
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 Py_INCREF(Py_None); resultobj = Py_None;
8799 return resultobj;
8800 fail:
8801 return NULL;
8802 }
8803
8804
8805 static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8806 PyObject *resultobj;
8807 wxImage *arg1 = (wxImage *) 0 ;
8808 PyObject *result;
8809 PyObject * obj0 = 0 ;
8810 char *kwnames[] = {
8811 (char *) "self", NULL
8812 };
8813
8814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
8815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 result = (PyObject *)wxImage_GetDataBuffer(arg1);
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 resultobj = result;
8824 return resultobj;
8825 fail:
8826 return NULL;
8827 }
8828
8829
8830 static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8831 PyObject *resultobj;
8832 wxImage *arg1 = (wxImage *) 0 ;
8833 PyObject *arg2 = (PyObject *) 0 ;
8834 PyObject * obj0 = 0 ;
8835 PyObject * obj1 = 0 ;
8836 char *kwnames[] = {
8837 (char *) "self",(char *) "data", NULL
8838 };
8839
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
8841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8842 arg2 = obj1;
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 wxImage_SetDataBuffer(arg1,arg2);
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 Py_INCREF(Py_None); resultobj = Py_None;
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxImage *arg1 = (wxImage *) 0 ;
8860 PyObject *result;
8861 PyObject * obj0 = 0 ;
8862 char *kwnames[] = {
8863 (char *) "self", NULL
8864 };
8865
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
8867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8868 {
8869 PyThreadState* __tstate = wxPyBeginAllowThreads();
8870 result = (PyObject *)wxImage_GetAlphaData(arg1);
8871
8872 wxPyEndAllowThreads(__tstate);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 resultobj = result;
8876 return resultobj;
8877 fail:
8878 return NULL;
8879 }
8880
8881
8882 static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj;
8884 wxImage *arg1 = (wxImage *) 0 ;
8885 PyObject *arg2 = (PyObject *) 0 ;
8886 PyObject * obj0 = 0 ;
8887 PyObject * obj1 = 0 ;
8888 char *kwnames[] = {
8889 (char *) "self",(char *) "data", NULL
8890 };
8891
8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
8893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8894 arg2 = obj1;
8895 {
8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
8897 wxImage_SetAlphaData(arg1,arg2);
8898
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 Py_INCREF(Py_None); resultobj = Py_None;
8903 return resultobj;
8904 fail:
8905 return NULL;
8906 }
8907
8908
8909 static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxImage *arg1 = (wxImage *) 0 ;
8912 PyObject *result;
8913 PyObject * obj0 = 0 ;
8914 char *kwnames[] = {
8915 (char *) "self", NULL
8916 };
8917
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
8919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 resultobj = result;
8928 return resultobj;
8929 fail:
8930 return NULL;
8931 }
8932
8933
8934 static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8935 PyObject *resultobj;
8936 wxImage *arg1 = (wxImage *) 0 ;
8937 PyObject *arg2 = (PyObject *) 0 ;
8938 PyObject * obj0 = 0 ;
8939 PyObject * obj1 = 0 ;
8940 char *kwnames[] = {
8941 (char *) "self",(char *) "data", NULL
8942 };
8943
8944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
8945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8946 arg2 = obj1;
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 wxImage_SetAlphaBuffer(arg1,arg2);
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 Py_INCREF(Py_None); resultobj = Py_None;
8955 return resultobj;
8956 fail:
8957 return NULL;
8958 }
8959
8960
8961 static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8962 PyObject *resultobj;
8963 wxImage *arg1 = (wxImage *) 0 ;
8964 unsigned char arg2 ;
8965 unsigned char arg3 ;
8966 unsigned char arg4 ;
8967 PyObject * obj0 = 0 ;
8968 PyObject * obj1 = 0 ;
8969 PyObject * obj2 = 0 ;
8970 PyObject * obj3 = 0 ;
8971 char *kwnames[] = {
8972 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
8973 };
8974
8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8977 arg2 = (unsigned char) PyInt_AsLong(obj1);
8978 if (PyErr_Occurred()) SWIG_fail;
8979 arg3 = (unsigned char) PyInt_AsLong(obj2);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 arg4 = (unsigned char) PyInt_AsLong(obj3);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 (arg1)->SetMaskColour(arg2,arg3,arg4);
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
8990 Py_INCREF(Py_None); resultobj = Py_None;
8991 return resultobj;
8992 fail:
8993 return NULL;
8994 }
8995
8996
8997 static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
8998 PyObject *resultobj;
8999 wxImage *arg1 = (wxImage *) 0 ;
9000 unsigned char result;
9001 PyObject * obj0 = 0 ;
9002 char *kwnames[] = {
9003 (char *) "self", NULL
9004 };
9005
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
9007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 result = (unsigned char)(arg1)->GetMaskRed();
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 resultobj = PyInt_FromLong((long)result);
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxImage *arg1 = (wxImage *) 0 ;
9025 unsigned char result;
9026 PyObject * obj0 = 0 ;
9027 char *kwnames[] = {
9028 (char *) "self", NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
9032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (unsigned char)(arg1)->GetMaskGreen();
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 resultobj = PyInt_FromLong((long)result);
9041 return resultobj;
9042 fail:
9043 return NULL;
9044 }
9045
9046
9047 static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj;
9049 wxImage *arg1 = (wxImage *) 0 ;
9050 unsigned char result;
9051 PyObject * obj0 = 0 ;
9052 char *kwnames[] = {
9053 (char *) "self", NULL
9054 };
9055
9056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
9057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (unsigned char)(arg1)->GetMaskBlue();
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 resultobj = PyInt_FromLong((long)result);
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj;
9074 wxImage *arg1 = (wxImage *) 0 ;
9075 bool arg2 = (bool) True ;
9076 PyObject * obj0 = 0 ;
9077 PyObject * obj1 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self",(char *) "mask", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
9083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9084 if (obj1) {
9085 arg2 = PyInt_AsLong(obj1) ? true : false;
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 (arg1)->SetMask(arg2);
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 Py_INCREF(Py_None); resultobj = Py_None;
9096 return resultobj;
9097 fail:
9098 return NULL;
9099 }
9100
9101
9102 static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9103 PyObject *resultobj;
9104 wxImage *arg1 = (wxImage *) 0 ;
9105 bool result;
9106 PyObject * obj0 = 0 ;
9107 char *kwnames[] = {
9108 (char *) "self", NULL
9109 };
9110
9111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
9112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 result = (bool)(arg1)->HasMask();
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 resultobj = PyInt_FromLong((long)result);
9121 return resultobj;
9122 fail:
9123 return NULL;
9124 }
9125
9126
9127 static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj;
9129 wxImage *arg1 = (wxImage *) 0 ;
9130 double arg2 ;
9131 wxPoint *arg3 = 0 ;
9132 bool arg4 = (bool) True ;
9133 wxPoint *arg5 = (wxPoint *) NULL ;
9134 SwigValueWrapper< wxImage > result;
9135 wxPoint temp3 ;
9136 PyObject * obj0 = 0 ;
9137 PyObject * obj2 = 0 ;
9138 PyObject * obj3 = 0 ;
9139 PyObject * obj4 = 0 ;
9140 char *kwnames[] = {
9141 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9142 };
9143
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO|OO:Image_Rotate",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
9145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9146 {
9147 arg3 = &temp3;
9148 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9149 }
9150 if (obj3) {
9151 arg4 = PyInt_AsLong(obj3) ? true : false;
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 if (obj4) {
9155 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9156 }
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
9164 {
9165 wxImage * resultptr;
9166 resultptr = new wxImage((wxImage &) result);
9167 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9168 }
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj;
9177 wxImage *arg1 = (wxImage *) 0 ;
9178 bool arg2 = (bool) True ;
9179 SwigValueWrapper< wxImage > result;
9180 PyObject * obj0 = 0 ;
9181 PyObject * obj1 = 0 ;
9182 char *kwnames[] = {
9183 (char *) "self",(char *) "clockwise", NULL
9184 };
9185
9186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
9187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9188 if (obj1) {
9189 arg2 = PyInt_AsLong(obj1) ? true : false;
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 result = (arg1)->Rotate90(arg2);
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 {
9200 wxImage * resultptr;
9201 resultptr = new wxImage((wxImage &) result);
9202 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9203 }
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxImage *arg1 = (wxImage *) 0 ;
9213 bool arg2 = (bool) True ;
9214 SwigValueWrapper< wxImage > result;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self",(char *) "horizontally", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
9222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9223 if (obj1) {
9224 arg2 = PyInt_AsLong(obj1) ? true : false;
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 result = (arg1)->Mirror(arg2);
9230
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
9234 {
9235 wxImage * resultptr;
9236 resultptr = new wxImage((wxImage &) result);
9237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9238 }
9239 return resultobj;
9240 fail:
9241 return NULL;
9242 }
9243
9244
9245 static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject *resultobj;
9247 wxImage *arg1 = (wxImage *) 0 ;
9248 unsigned char arg2 ;
9249 unsigned char arg3 ;
9250 unsigned char arg4 ;
9251 unsigned char arg5 ;
9252 unsigned char arg6 ;
9253 unsigned char arg7 ;
9254 PyObject * obj0 = 0 ;
9255 PyObject * obj1 = 0 ;
9256 PyObject * obj2 = 0 ;
9257 PyObject * obj3 = 0 ;
9258 PyObject * obj4 = 0 ;
9259 PyObject * obj5 = 0 ;
9260 PyObject * obj6 = 0 ;
9261 char *kwnames[] = {
9262 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9263 };
9264
9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9267 arg2 = (unsigned char) PyInt_AsLong(obj1);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 arg3 = (unsigned char) PyInt_AsLong(obj2);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 arg4 = (unsigned char) PyInt_AsLong(obj3);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 arg5 = (unsigned char) PyInt_AsLong(obj4);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 arg6 = (unsigned char) PyInt_AsLong(obj5);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 arg7 = (unsigned char) PyInt_AsLong(obj6);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
9282
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 Py_INCREF(Py_None); resultobj = Py_None;
9287 return resultobj;
9288 fail:
9289 return NULL;
9290 }
9291
9292
9293 static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
9294 PyObject *resultobj;
9295 wxImage *arg1 = (wxImage *) 0 ;
9296 unsigned char arg2 ;
9297 unsigned char arg3 ;
9298 unsigned char arg4 ;
9299 SwigValueWrapper< wxImage > result;
9300 PyObject * obj0 = 0 ;
9301 PyObject * obj1 = 0 ;
9302 PyObject * obj2 = 0 ;
9303 PyObject * obj3 = 0 ;
9304 char *kwnames[] = {
9305 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9306 };
9307
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9310 arg2 = (unsigned char) PyInt_AsLong(obj1);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 arg3 = (unsigned char) PyInt_AsLong(obj2);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 arg4 = (unsigned char) PyInt_AsLong(obj3);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 {
9324 wxImage * resultptr;
9325 resultptr = new wxImage((wxImage &) result);
9326 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9327 }
9328 return resultobj;
9329 fail:
9330 return NULL;
9331 }
9332
9333
9334 static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9335 PyObject *resultobj;
9336 wxImage *arg1 = (wxImage *) 0 ;
9337 wxString *arg2 = 0 ;
9338 wxString *arg3 = 0 ;
9339 bool temp2 = False ;
9340 bool temp3 = False ;
9341 PyObject * obj0 = 0 ;
9342 PyObject * obj1 = 0 ;
9343 PyObject * obj2 = 0 ;
9344 char *kwnames[] = {
9345 (char *) "self",(char *) "name",(char *) "value", NULL
9346 };
9347
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
9349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9350 {
9351 arg2 = wxString_in_helper(obj1);
9352 if (arg2 == NULL) SWIG_fail;
9353 temp2 = True;
9354 }
9355 {
9356 arg3 = wxString_in_helper(obj2);
9357 if (arg3 == NULL) SWIG_fail;
9358 temp3 = True;
9359 }
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 Py_INCREF(Py_None); resultobj = Py_None;
9368 {
9369 if (temp2)
9370 delete arg2;
9371 }
9372 {
9373 if (temp3)
9374 delete arg3;
9375 }
9376 return resultobj;
9377 fail:
9378 {
9379 if (temp2)
9380 delete arg2;
9381 }
9382 {
9383 if (temp3)
9384 delete arg3;
9385 }
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxImage *arg1 = (wxImage *) 0 ;
9393 wxString *arg2 = 0 ;
9394 int arg3 ;
9395 bool temp2 = False ;
9396 PyObject * obj0 = 0 ;
9397 PyObject * obj1 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "self",(char *) "name",(char *) "value", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SetOptionInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
9403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9404 {
9405 arg2 = wxString_in_helper(obj1);
9406 if (arg2 == NULL) SWIG_fail;
9407 temp2 = True;
9408 }
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 (arg1)->SetOption((wxString const &)*arg2,arg3);
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 Py_INCREF(Py_None); resultobj = Py_None;
9417 {
9418 if (temp2)
9419 delete arg2;
9420 }
9421 return resultobj;
9422 fail:
9423 {
9424 if (temp2)
9425 delete arg2;
9426 }
9427 return NULL;
9428 }
9429
9430
9431 static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj;
9433 wxImage *arg1 = (wxImage *) 0 ;
9434 wxString *arg2 = 0 ;
9435 wxString result;
9436 bool temp2 = False ;
9437 PyObject * obj0 = 0 ;
9438 PyObject * obj1 = 0 ;
9439 char *kwnames[] = {
9440 (char *) "self",(char *) "name", NULL
9441 };
9442
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
9444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9445 {
9446 arg2 = wxString_in_helper(obj1);
9447 if (arg2 == NULL) SWIG_fail;
9448 temp2 = True;
9449 }
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 {
9458 #if wxUSE_UNICODE
9459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9460 #else
9461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9462 #endif
9463 }
9464 {
9465 if (temp2)
9466 delete arg2;
9467 }
9468 return resultobj;
9469 fail:
9470 {
9471 if (temp2)
9472 delete arg2;
9473 }
9474 return NULL;
9475 }
9476
9477
9478 static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9479 PyObject *resultobj;
9480 wxImage *arg1 = (wxImage *) 0 ;
9481 wxString *arg2 = 0 ;
9482 int result;
9483 bool temp2 = False ;
9484 PyObject * obj0 = 0 ;
9485 PyObject * obj1 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self",(char *) "name", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492 {
9493 arg2 = wxString_in_helper(obj1);
9494 if (arg2 == NULL) SWIG_fail;
9495 temp2 = True;
9496 }
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 resultobj = PyInt_FromLong((long)result);
9505 {
9506 if (temp2)
9507 delete arg2;
9508 }
9509 return resultobj;
9510 fail:
9511 {
9512 if (temp2)
9513 delete arg2;
9514 }
9515 return NULL;
9516 }
9517
9518
9519 static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9520 PyObject *resultobj;
9521 wxImage *arg1 = (wxImage *) 0 ;
9522 wxString *arg2 = 0 ;
9523 bool result;
9524 bool temp2 = False ;
9525 PyObject * obj0 = 0 ;
9526 PyObject * obj1 = 0 ;
9527 char *kwnames[] = {
9528 (char *) "self",(char *) "name", NULL
9529 };
9530
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
9532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9533 {
9534 arg2 = wxString_in_helper(obj1);
9535 if (arg2 == NULL) SWIG_fail;
9536 temp2 = True;
9537 }
9538 {
9539 PyThreadState* __tstate = wxPyBeginAllowThreads();
9540 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
9541
9542 wxPyEndAllowThreads(__tstate);
9543 if (PyErr_Occurred()) SWIG_fail;
9544 }
9545 resultobj = PyInt_FromLong((long)result);
9546 {
9547 if (temp2)
9548 delete arg2;
9549 }
9550 return resultobj;
9551 fail:
9552 {
9553 if (temp2)
9554 delete arg2;
9555 }
9556 return NULL;
9557 }
9558
9559
9560 static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxImage *arg1 = (wxImage *) 0 ;
9563 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
9564 unsigned long result;
9565 PyObject * obj0 = 0 ;
9566 PyObject * obj1 = 0 ;
9567 char *kwnames[] = {
9568 (char *) "self",(char *) "stopafter", NULL
9569 };
9570
9571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
9572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9573 if (obj1) {
9574 arg2 = (unsigned long) PyInt_AsLong(obj1);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 {
9578 PyThreadState* __tstate = wxPyBeginAllowThreads();
9579 result = (unsigned long)(arg1)->CountColours(arg2);
9580
9581 wxPyEndAllowThreads(__tstate);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 resultobj = PyInt_FromLong((long)result);
9585 return resultobj;
9586 fail:
9587 return NULL;
9588 }
9589
9590
9591 static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
9592 PyObject *resultobj;
9593 wxImage *arg1 = (wxImage *) 0 ;
9594 wxImageHistogram *arg2 = 0 ;
9595 unsigned long result;
9596 PyObject * obj0 = 0 ;
9597 PyObject * obj1 = 0 ;
9598 char *kwnames[] = {
9599 (char *) "self",(char *) "h", NULL
9600 };
9601
9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
9603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9605 if (arg2 == NULL) {
9606 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9607 }
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
9611
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 resultobj = PyInt_FromLong((long)result);
9616 return resultobj;
9617 fail:
9618 return NULL;
9619 }
9620
9621
9622 static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj;
9624 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9625 PyObject * obj0 = 0 ;
9626 char *kwnames[] = {
9627 (char *) "handler", NULL
9628 };
9629
9630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
9631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 wxImage::AddHandler(arg1);
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 Py_INCREF(Py_None); resultobj = Py_None;
9640 return resultobj;
9641 fail:
9642 return NULL;
9643 }
9644
9645
9646 static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9649 PyObject * obj0 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "handler", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
9655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 wxImage::InsertHandler(arg1);
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
9663 Py_INCREF(Py_None); resultobj = Py_None;
9664 return resultobj;
9665 fail:
9666 return NULL;
9667 }
9668
9669
9670 static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9671 PyObject *resultobj;
9672 wxString *arg1 = 0 ;
9673 bool result;
9674 bool temp1 = False ;
9675 PyObject * obj0 = 0 ;
9676 char *kwnames[] = {
9677 (char *) "name", NULL
9678 };
9679
9680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
9681 {
9682 arg1 = wxString_in_helper(obj0);
9683 if (arg1 == NULL) SWIG_fail;
9684 temp1 = True;
9685 }
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
9689
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 resultobj = PyInt_FromLong((long)result);
9694 {
9695 if (temp1)
9696 delete arg1;
9697 }
9698 return resultobj;
9699 fail:
9700 {
9701 if (temp1)
9702 delete arg1;
9703 }
9704 return NULL;
9705 }
9706
9707
9708 static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 wxString result;
9711 char *kwnames[] = {
9712 NULL
9713 };
9714
9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
9718 result = wxImage::GetImageExtWildcard();
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
9723 {
9724 #if wxUSE_UNICODE
9725 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9726 #else
9727 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9728 #endif
9729 }
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxImage *arg1 = (wxImage *) 0 ;
9739 wxBitmap result;
9740 PyObject * obj0 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
9746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = wxImage_ConvertToBitmap(arg1);
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 {
9755 wxBitmap * resultptr;
9756 resultptr = new wxBitmap((wxBitmap &) result);
9757 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9758 }
9759 return resultobj;
9760 fail:
9761 return NULL;
9762 }
9763
9764
9765 static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxImage *arg1 = (wxImage *) 0 ;
9768 unsigned char arg2 ;
9769 unsigned char arg3 ;
9770 unsigned char arg4 ;
9771 wxBitmap result;
9772 PyObject * obj0 = 0 ;
9773 PyObject * obj1 = 0 ;
9774 PyObject * obj2 = 0 ;
9775 PyObject * obj3 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9782 arg2 = (unsigned char) PyInt_AsLong(obj1);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 arg3 = (unsigned char) PyInt_AsLong(obj2);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 arg4 = (unsigned char) PyInt_AsLong(obj3);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
9795 {
9796 wxBitmap * resultptr;
9797 resultptr = new wxBitmap((wxBitmap &) result);
9798 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9799 }
9800 return resultobj;
9801 fail:
9802 return NULL;
9803 }
9804
9805
9806 static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
9807 PyObject *obj;
9808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9809 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
9810 Py_INCREF(obj);
9811 return Py_BuildValue((char *)"");
9812 }
9813 static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
9814 PyObject *resultobj;
9815 char *kwnames[] = {
9816 NULL
9817 };
9818
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 wxInitAllImageHandlers();
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 Py_INCREF(Py_None); resultobj = Py_None;
9828 return resultobj;
9829 fail:
9830 return NULL;
9831 }
9832
9833
9834 static int _wrap_NullImage_set(PyObject *_val) {
9835 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
9836 return 1;
9837 }
9838
9839
9840 static PyObject *_wrap_NullImage_get() {
9841 PyObject *pyobj;
9842
9843 pyobj = SWIG_NewPointerObj((void *) &wxNullImage, SWIGTYPE_p_wxImage, 0);
9844 return pyobj;
9845 }
9846
9847
9848 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
9849 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9850 return 1;
9851 }
9852
9853
9854 static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9855 PyObject *pyobj;
9856
9857 {
9858 #if wxUSE_UNICODE
9859 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9860 #else
9861 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9862 #endif
9863 }
9864 return pyobj;
9865 }
9866
9867
9868 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
9869 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9870 return 1;
9871 }
9872
9873
9874 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
9875 PyObject *pyobj;
9876
9877 {
9878 #if wxUSE_UNICODE
9879 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
9880 #else
9881 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
9882 #endif
9883 }
9884 return pyobj;
9885 }
9886
9887
9888 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
9889 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
9890 return 1;
9891 }
9892
9893
9894 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
9895 PyObject *pyobj;
9896
9897 {
9898 #if wxUSE_UNICODE
9899 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
9900 #else
9901 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
9902 #endif
9903 }
9904 return pyobj;
9905 }
9906
9907
9908 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
9909 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
9910 return 1;
9911 }
9912
9913
9914 static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
9915 PyObject *pyobj;
9916
9917 {
9918 #if wxUSE_UNICODE
9919 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
9920 #else
9921 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
9922 #endif
9923 }
9924 return pyobj;
9925 }
9926
9927
9928 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
9929 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
9930 return 1;
9931 }
9932
9933
9934 static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
9935 PyObject *pyobj;
9936
9937 {
9938 #if wxUSE_UNICODE
9939 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
9940 #else
9941 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
9942 #endif
9943 }
9944 return pyobj;
9945 }
9946
9947
9948 static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxBMPHandler *result;
9951 char *kwnames[] = {
9952 NULL
9953 };
9954
9955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 result = (wxBMPHandler *)new wxBMPHandler();
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBMPHandler, 1);
9964 return resultobj;
9965 fail:
9966 return NULL;
9967 }
9968
9969
9970 static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
9971 PyObject *obj;
9972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9973 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
9974 Py_INCREF(obj);
9975 return Py_BuildValue((char *)"");
9976 }
9977 static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj;
9979 wxICOHandler *result;
9980 char *kwnames[] = {
9981 NULL
9982 };
9983
9984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 result = (wxICOHandler *)new wxICOHandler();
9988
9989 wxPyEndAllowThreads(__tstate);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 }
9992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxICOHandler, 1);
9993 return resultobj;
9994 fail:
9995 return NULL;
9996 }
9997
9998
9999 static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
10000 PyObject *obj;
10001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10002 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
10003 Py_INCREF(obj);
10004 return Py_BuildValue((char *)"");
10005 }
10006 static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxCURHandler *result;
10009 char *kwnames[] = {
10010 NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 result = (wxCURHandler *)new wxCURHandler();
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCURHandler, 1);
10022 return resultobj;
10023 fail:
10024 return NULL;
10025 }
10026
10027
10028 static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
10029 PyObject *obj;
10030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10031 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
10032 Py_INCREF(obj);
10033 return Py_BuildValue((char *)"");
10034 }
10035 static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10036 PyObject *resultobj;
10037 wxANIHandler *result;
10038 char *kwnames[] = {
10039 NULL
10040 };
10041
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 result = (wxANIHandler *)new wxANIHandler();
10046
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxANIHandler, 1);
10051 return resultobj;
10052 fail:
10053 return NULL;
10054 }
10055
10056
10057 static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
10058 PyObject *obj;
10059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10060 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
10061 Py_INCREF(obj);
10062 return Py_BuildValue((char *)"");
10063 }
10064 static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10065 PyObject *resultobj;
10066 wxPNGHandler *result;
10067 char *kwnames[] = {
10068 NULL
10069 };
10070
10071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
10072 {
10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
10074 result = (wxPNGHandler *)new wxPNGHandler();
10075
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 }
10079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNGHandler, 1);
10080 return resultobj;
10081 fail:
10082 return NULL;
10083 }
10084
10085
10086 static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
10087 PyObject *obj;
10088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10089 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
10090 Py_INCREF(obj);
10091 return Py_BuildValue((char *)"");
10092 }
10093 static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10094 PyObject *resultobj;
10095 wxGIFHandler *result;
10096 char *kwnames[] = {
10097 NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 result = (wxGIFHandler *)new wxGIFHandler();
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
10108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGIFHandler, 1);
10109 return resultobj;
10110 fail:
10111 return NULL;
10112 }
10113
10114
10115 static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
10116 PyObject *obj;
10117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10118 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
10119 Py_INCREF(obj);
10120 return Py_BuildValue((char *)"");
10121 }
10122 static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxPCXHandler *result;
10125 char *kwnames[] = {
10126 NULL
10127 };
10128
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 result = (wxPCXHandler *)new wxPCXHandler();
10133
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPCXHandler, 1);
10138 return resultobj;
10139 fail:
10140 return NULL;
10141 }
10142
10143
10144 static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
10145 PyObject *obj;
10146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10147 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
10148 Py_INCREF(obj);
10149 return Py_BuildValue((char *)"");
10150 }
10151 static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj;
10153 wxJPEGHandler *result;
10154 char *kwnames[] = {
10155 NULL
10156 };
10157
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 result = (wxJPEGHandler *)new wxJPEGHandler();
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJPEGHandler, 1);
10167 return resultobj;
10168 fail:
10169 return NULL;
10170 }
10171
10172
10173 static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
10174 PyObject *obj;
10175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10176 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
10177 Py_INCREF(obj);
10178 return Py_BuildValue((char *)"");
10179 }
10180 static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10181 PyObject *resultobj;
10182 wxPNMHandler *result;
10183 char *kwnames[] = {
10184 NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
10188 {
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
10190 result = (wxPNMHandler *)new wxPNMHandler();
10191
10192 wxPyEndAllowThreads(__tstate);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNMHandler, 1);
10196 return resultobj;
10197 fail:
10198 return NULL;
10199 }
10200
10201
10202 static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
10203 PyObject *obj;
10204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10205 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
10206 Py_INCREF(obj);
10207 return Py_BuildValue((char *)"");
10208 }
10209 static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxXPMHandler *result;
10212 char *kwnames[] = {
10213 NULL
10214 };
10215
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 result = (wxXPMHandler *)new wxXPMHandler();
10220
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxXPMHandler, 1);
10225 return resultobj;
10226 fail:
10227 return NULL;
10228 }
10229
10230
10231 static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
10232 PyObject *obj;
10233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10234 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
10235 Py_INCREF(obj);
10236 return Py_BuildValue((char *)"");
10237 }
10238 static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxTIFFHandler *result;
10241 char *kwnames[] = {
10242 NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
10246 {
10247 PyThreadState* __tstate = wxPyBeginAllowThreads();
10248 result = (wxTIFFHandler *)new wxTIFFHandler();
10249
10250 wxPyEndAllowThreads(__tstate);
10251 if (PyErr_Occurred()) SWIG_fail;
10252 }
10253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTIFFHandler, 1);
10254 return resultobj;
10255 fail:
10256 return NULL;
10257 }
10258
10259
10260 static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
10261 PyObject *obj;
10262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10263 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
10264 Py_INCREF(obj);
10265 return Py_BuildValue((char *)"");
10266 }
10267 static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxEvtHandler *result;
10270 char *kwnames[] = {
10271 NULL
10272 };
10273
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 result = (wxEvtHandler *)new wxEvtHandler();
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 {
10283 resultobj = wxPyMake_wxObject(result);
10284 }
10285 return resultobj;
10286 fail:
10287 return NULL;
10288 }
10289
10290
10291 static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj;
10293 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10294 wxEvtHandler *result;
10295 PyObject * obj0 = 0 ;
10296 char *kwnames[] = {
10297 (char *) "self", NULL
10298 };
10299
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
10301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10302 {
10303 PyThreadState* __tstate = wxPyBeginAllowThreads();
10304 result = (wxEvtHandler *)(arg1)->GetNextHandler();
10305
10306 wxPyEndAllowThreads(__tstate);
10307 if (PyErr_Occurred()) SWIG_fail;
10308 }
10309 {
10310 resultobj = wxPyMake_wxObject(result);
10311 }
10312 return resultobj;
10313 fail:
10314 return NULL;
10315 }
10316
10317
10318 static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10321 wxEvtHandler *result;
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
10328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10329 {
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
10332
10333 wxPyEndAllowThreads(__tstate);
10334 if (PyErr_Occurred()) SWIG_fail;
10335 }
10336 {
10337 resultobj = wxPyMake_wxObject(result);
10338 }
10339 return resultobj;
10340 fail:
10341 return NULL;
10342 }
10343
10344
10345 static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject *resultobj;
10347 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10348 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10349 PyObject * obj0 = 0 ;
10350 PyObject * obj1 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self",(char *) "handler", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 (arg1)->SetNextHandler(arg2);
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 Py_INCREF(Py_None); resultobj = Py_None;
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10373 PyObject *resultobj;
10374 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10375 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10376 PyObject * obj0 = 0 ;
10377 PyObject * obj1 = 0 ;
10378 char *kwnames[] = {
10379 (char *) "self",(char *) "handler", NULL
10380 };
10381
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
10383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 (arg1)->SetPreviousHandler(arg2);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 return resultobj;
10394 fail:
10395 return NULL;
10396 }
10397
10398
10399 static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj;
10401 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10402 bool result;
10403 PyObject * obj0 = 0 ;
10404 char *kwnames[] = {
10405 (char *) "self", NULL
10406 };
10407
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
10409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 result = (bool)(arg1)->GetEvtHandlerEnabled();
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 resultobj = PyInt_FromLong((long)result);
10418 return resultobj;
10419 fail:
10420 return NULL;
10421 }
10422
10423
10424 static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj;
10426 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10427 bool arg2 ;
10428 PyObject * obj0 = 0 ;
10429 PyObject * obj1 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "self",(char *) "enabled", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10436 arg2 = PyInt_AsLong(obj1) ? true : false;
10437 if (PyErr_Occurred()) SWIG_fail;
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 (arg1)->SetEvtHandlerEnabled(arg2);
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 Py_INCREF(Py_None); resultobj = Py_None;
10446 return resultobj;
10447 fail:
10448 return NULL;
10449 }
10450
10451
10452 static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10455 wxEvent *arg2 = 0 ;
10456 bool result;
10457 PyObject * obj0 = 0 ;
10458 PyObject * obj1 = 0 ;
10459 char *kwnames[] = {
10460 (char *) "self",(char *) "event", NULL
10461 };
10462
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
10464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10466 if (arg2 == NULL) {
10467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10468 }
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 result = (bool)(arg1)->ProcessEvent(*arg2);
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 resultobj = PyInt_FromLong((long)result);
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10486 wxEvent *arg2 = 0 ;
10487 PyObject * obj0 = 0 ;
10488 PyObject * obj1 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self",(char *) "event", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10496 if (arg2 == NULL) {
10497 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10498 }
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 (arg1)->AddPendingEvent(*arg2);
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 Py_INCREF(Py_None); resultobj = Py_None;
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10516 PyObject * obj0 = 0 ;
10517 char *kwnames[] = {
10518 (char *) "self", NULL
10519 };
10520
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
10522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 (arg1)->ProcessPendingEvents();
10526
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 Py_INCREF(Py_None); resultobj = Py_None;
10531 return resultobj;
10532 fail:
10533 return NULL;
10534 }
10535
10536
10537 static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
10538 PyObject *resultobj;
10539 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10540 int arg2 ;
10541 int arg3 ;
10542 int arg4 ;
10543 PyObject *arg5 = (PyObject *) 0 ;
10544 PyObject * obj0 = 0 ;
10545 PyObject * obj4 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:EvtHandler_Connect",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10552 arg5 = obj4;
10553 {
10554 PyThreadState* __tstate = wxPyBeginAllowThreads();
10555 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
10556
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 Py_INCREF(Py_None); resultobj = Py_None;
10561 return resultobj;
10562 fail:
10563 return NULL;
10564 }
10565
10566
10567 static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
10568 PyObject *resultobj;
10569 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10570 int arg2 ;
10571 int arg3 = (int) -1 ;
10572 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
10573 bool result;
10574 PyObject * obj0 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 resultobj = PyInt_FromLong((long)result);
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj;
10597 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10598 PyObject *arg2 = (PyObject *) 0 ;
10599 PyObject * obj0 = 0 ;
10600 PyObject * obj1 = 0 ;
10601 char *kwnames[] = {
10602 (char *) "self",(char *) "_self", NULL
10603 };
10604
10605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
10606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10607 arg2 = obj1;
10608 {
10609 PyThreadState* __tstate = wxPyBeginAllowThreads();
10610 wxEvtHandler__setOORInfo(arg1,arg2);
10611
10612 wxPyEndAllowThreads(__tstate);
10613 if (PyErr_Occurred()) SWIG_fail;
10614 }
10615 Py_INCREF(Py_None); resultobj = Py_None;
10616 return resultobj;
10617 fail:
10618 return NULL;
10619 }
10620
10621
10622 static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
10623 PyObject *obj;
10624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10625 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
10626 Py_INCREF(obj);
10627 return Py_BuildValue((char *)"");
10628 }
10629 static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10630 PyObject *resultobj;
10631 wxEventType result;
10632 char *kwnames[] = {
10633 NULL
10634 };
10635
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 result = (wxEventType)wxNewEventType();
10640
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 resultobj = PyInt_FromLong((long)result);
10645 return resultobj;
10646 fail:
10647 return NULL;
10648 }
10649
10650
10651 static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj;
10653 wxEvent *arg1 = (wxEvent *) 0 ;
10654 PyObject * obj0 = 0 ;
10655 char *kwnames[] = {
10656 (char *) "self", NULL
10657 };
10658
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
10660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 delete arg1;
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 Py_INCREF(Py_None); resultobj = Py_None;
10669 return resultobj;
10670 fail:
10671 return NULL;
10672 }
10673
10674
10675 static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10676 PyObject *resultobj;
10677 wxEvent *arg1 = (wxEvent *) 0 ;
10678 wxEventType arg2 ;
10679 PyObject * obj0 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "self",(char *) "typ", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetEventType",kwnames,&obj0,&arg2)) goto fail;
10685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 (arg1)->SetEventType(arg2);
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 Py_INCREF(Py_None); resultobj = Py_None;
10694 return resultobj;
10695 fail:
10696 return NULL;
10697 }
10698
10699
10700 static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj;
10702 wxEvent *arg1 = (wxEvent *) 0 ;
10703 wxEventType result;
10704 PyObject * obj0 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
10710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = PyInt_FromLong((long)result);
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxEvent *arg1 = (wxEvent *) 0 ;
10728 wxObject *result;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 {
10744 resultobj = wxPyMake_wxObject(result);
10745 }
10746 return resultobj;
10747 fail:
10748 return NULL;
10749 }
10750
10751
10752 static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxEvent *arg1 = (wxEvent *) 0 ;
10755 wxObject *arg2 = (wxObject *) 0 ;
10756 PyObject * obj0 = 0 ;
10757 PyObject * obj1 = 0 ;
10758 char *kwnames[] = {
10759 (char *) "self",(char *) "obj", NULL
10760 };
10761
10762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
10763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10765 {
10766 PyThreadState* __tstate = wxPyBeginAllowThreads();
10767 (arg1)->SetEventObject(arg2);
10768
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 }
10772 Py_INCREF(Py_None); resultobj = Py_None;
10773 return resultobj;
10774 fail:
10775 return NULL;
10776 }
10777
10778
10779 static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxEvent *arg1 = (wxEvent *) 0 ;
10782 long result;
10783 PyObject * obj0 = 0 ;
10784 char *kwnames[] = {
10785 (char *) "self", NULL
10786 };
10787
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
10789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10790 {
10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
10792 result = (long)((wxEvent const *)arg1)->GetTimestamp();
10793
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 resultobj = PyInt_FromLong((long)result);
10798 return resultobj;
10799 fail:
10800 return NULL;
10801 }
10802
10803
10804 static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj;
10806 wxEvent *arg1 = (wxEvent *) 0 ;
10807 long arg2 = (long) 0 ;
10808 PyObject * obj0 = 0 ;
10809 char *kwnames[] = {
10810 (char *) "self",(char *) "ts", NULL
10811 };
10812
10813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Event_SetTimestamp",kwnames,&obj0,&arg2)) goto fail;
10814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10815 {
10816 PyThreadState* __tstate = wxPyBeginAllowThreads();
10817 (arg1)->SetTimestamp(arg2);
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 Py_INCREF(Py_None); resultobj = Py_None;
10823 return resultobj;
10824 fail:
10825 return NULL;
10826 }
10827
10828
10829 static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10830 PyObject *resultobj;
10831 wxEvent *arg1 = (wxEvent *) 0 ;
10832 int result;
10833 PyObject * obj0 = 0 ;
10834 char *kwnames[] = {
10835 (char *) "self", NULL
10836 };
10837
10838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
10839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 result = (int)((wxEvent const *)arg1)->GetId();
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 resultobj = PyInt_FromLong((long)result);
10848 return resultobj;
10849 fail:
10850 return NULL;
10851 }
10852
10853
10854 static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10855 PyObject *resultobj;
10856 wxEvent *arg1 = (wxEvent *) 0 ;
10857 int arg2 ;
10858 PyObject * obj0 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self",(char *) "Id", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetId",kwnames,&obj0,&arg2)) goto fail;
10864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10865 {
10866 PyThreadState* __tstate = wxPyBeginAllowThreads();
10867 (arg1)->SetId(arg2);
10868
10869 wxPyEndAllowThreads(__tstate);
10870 if (PyErr_Occurred()) SWIG_fail;
10871 }
10872 Py_INCREF(Py_None); resultobj = Py_None;
10873 return resultobj;
10874 fail:
10875 return NULL;
10876 }
10877
10878
10879 static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10880 PyObject *resultobj;
10881 wxEvent *arg1 = (wxEvent *) 0 ;
10882 bool result;
10883 PyObject * obj0 = 0 ;
10884 char *kwnames[] = {
10885 (char *) "self", NULL
10886 };
10887
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
10889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 resultobj = PyInt_FromLong((long)result);
10898 return resultobj;
10899 fail:
10900 return NULL;
10901 }
10902
10903
10904 static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj;
10906 wxEvent *arg1 = (wxEvent *) 0 ;
10907 bool arg2 = (bool) True ;
10908 PyObject * obj0 = 0 ;
10909 PyObject * obj1 = 0 ;
10910 char *kwnames[] = {
10911 (char *) "self",(char *) "skip", NULL
10912 };
10913
10914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
10915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10916 if (obj1) {
10917 arg2 = PyInt_AsLong(obj1) ? true : false;
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 {
10921 PyThreadState* __tstate = wxPyBeginAllowThreads();
10922 (arg1)->Skip(arg2);
10923
10924 wxPyEndAllowThreads(__tstate);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 Py_INCREF(Py_None); resultobj = Py_None;
10928 return resultobj;
10929 fail:
10930 return NULL;
10931 }
10932
10933
10934 static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
10935 PyObject *resultobj;
10936 wxEvent *arg1 = (wxEvent *) 0 ;
10937 bool result;
10938 PyObject * obj0 = 0 ;
10939 char *kwnames[] = {
10940 (char *) "self", NULL
10941 };
10942
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
10944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 result = (bool)((wxEvent const *)arg1)->GetSkipped();
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 resultobj = PyInt_FromLong((long)result);
10953 return resultobj;
10954 fail:
10955 return NULL;
10956 }
10957
10958
10959 static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
10960 PyObject *resultobj;
10961 wxEvent *arg1 = (wxEvent *) 0 ;
10962 bool result;
10963 PyObject * obj0 = 0 ;
10964 char *kwnames[] = {
10965 (char *) "self", NULL
10966 };
10967
10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
10969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10970 {
10971 PyThreadState* __tstate = wxPyBeginAllowThreads();
10972 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
10973
10974 wxPyEndAllowThreads(__tstate);
10975 if (PyErr_Occurred()) SWIG_fail;
10976 }
10977 resultobj = PyInt_FromLong((long)result);
10978 return resultobj;
10979 fail:
10980 return NULL;
10981 }
10982
10983
10984 static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
10985 PyObject *resultobj;
10986 wxEvent *arg1 = (wxEvent *) 0 ;
10987 int result;
10988 PyObject * obj0 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 result = (int)(arg1)->StopPropagation();
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 resultobj = PyInt_FromLong((long)result);
11003 return resultobj;
11004 fail:
11005 return NULL;
11006 }
11007
11008
11009 static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
11010 PyObject *resultobj;
11011 wxEvent *arg1 = (wxEvent *) 0 ;
11012 int arg2 ;
11013 PyObject * obj0 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self",(char *) "propagationLevel", NULL
11016 };
11017
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_ResumePropagation",kwnames,&obj0,&arg2)) goto fail;
11019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 (arg1)->ResumePropagation(arg2);
11023
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 Py_INCREF(Py_None); resultobj = Py_None;
11028 return resultobj;
11029 fail:
11030 return NULL;
11031 }
11032
11033
11034 static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11035 PyObject *resultobj;
11036 wxEvent *arg1 = (wxEvent *) 0 ;
11037 wxEvent *result;
11038 PyObject * obj0 = 0 ;
11039 char *kwnames[] = {
11040 (char *) "self", NULL
11041 };
11042
11043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
11044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 result = (wxEvent *)(arg1)->Clone();
11048
11049 wxPyEndAllowThreads(__tstate);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11053 return resultobj;
11054 fail:
11055 return NULL;
11056 }
11057
11058
11059 static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
11060 PyObject *obj;
11061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11062 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
11063 Py_INCREF(obj);
11064 return Py_BuildValue((char *)"");
11065 }
11066 static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxEvent *arg1 = 0 ;
11069 wxPropagationDisabler *result;
11070 PyObject * obj0 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "event", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
11076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11077 if (arg1 == NULL) {
11078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11079 }
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagationDisabler, 1);
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
11097 PyObject * obj0 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
11103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagationDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11104 {
11105 PyThreadState* __tstate = wxPyBeginAllowThreads();
11106 delete arg1;
11107
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
11111 Py_INCREF(Py_None); resultobj = Py_None;
11112 return resultobj;
11113 fail:
11114 return NULL;
11115 }
11116
11117
11118 static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
11119 PyObject *obj;
11120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11121 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
11122 Py_INCREF(obj);
11123 return Py_BuildValue((char *)"");
11124 }
11125 static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11126 PyObject *resultobj;
11127 wxEvent *arg1 = 0 ;
11128 wxPropagateOnce *result;
11129 PyObject * obj0 = 0 ;
11130 char *kwnames[] = {
11131 (char *) "event", NULL
11132 };
11133
11134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
11135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11136 if (arg1 == NULL) {
11137 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11138 }
11139 {
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
11142
11143 wxPyEndAllowThreads(__tstate);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
11146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagateOnce, 1);
11147 return resultobj;
11148 fail:
11149 return NULL;
11150 }
11151
11152
11153 static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11154 PyObject *resultobj;
11155 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
11156 PyObject * obj0 = 0 ;
11157 char *kwnames[] = {
11158 (char *) "self", NULL
11159 };
11160
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
11162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagateOnce,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11163 {
11164 PyThreadState* __tstate = wxPyBeginAllowThreads();
11165 delete arg1;
11166
11167 wxPyEndAllowThreads(__tstate);
11168 if (PyErr_Occurred()) SWIG_fail;
11169 }
11170 Py_INCREF(Py_None); resultobj = Py_None;
11171 return resultobj;
11172 fail:
11173 return NULL;
11174 }
11175
11176
11177 static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
11178 PyObject *obj;
11179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11180 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
11181 Py_INCREF(obj);
11182 return Py_BuildValue((char *)"");
11183 }
11184 static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj;
11186 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11187 int arg2 = (int) 0 ;
11188 wxCommandEvent *result;
11189 char *kwnames[] = {
11190 (char *) "commandType",(char *) "winid", NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CommandEvent",kwnames,&arg1,&arg2)) goto fail;
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
11197
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCommandEvent, 1);
11202 return resultobj;
11203 fail:
11204 return NULL;
11205 }
11206
11207
11208 static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11209 PyObject *resultobj;
11210 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11211 int result;
11212 PyObject * obj0 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "self", NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
11218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 resultobj = PyInt_FromLong((long)result);
11227 return resultobj;
11228 fail:
11229 return NULL;
11230 }
11231
11232
11233 static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj;
11235 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11236 wxString *arg2 = 0 ;
11237 bool temp2 = False ;
11238 PyObject * obj0 = 0 ;
11239 PyObject * obj1 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "s", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
11245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11246 {
11247 arg2 = wxString_in_helper(obj1);
11248 if (arg2 == NULL) SWIG_fail;
11249 temp2 = True;
11250 }
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 (arg1)->SetString((wxString const &)*arg2);
11254
11255 wxPyEndAllowThreads(__tstate);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 Py_INCREF(Py_None); resultobj = Py_None;
11259 {
11260 if (temp2)
11261 delete arg2;
11262 }
11263 return resultobj;
11264 fail:
11265 {
11266 if (temp2)
11267 delete arg2;
11268 }
11269 return NULL;
11270 }
11271
11272
11273 static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11276 wxString result;
11277 PyObject * obj0 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
11283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 result = ((wxCommandEvent const *)arg1)->GetString();
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 {
11292 #if wxUSE_UNICODE
11293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11294 #else
11295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11296 #endif
11297 }
11298 return resultobj;
11299 fail:
11300 return NULL;
11301 }
11302
11303
11304 static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
11305 PyObject *resultobj;
11306 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11307 bool result;
11308 PyObject * obj0 = 0 ;
11309 char *kwnames[] = {
11310 (char *) "self", NULL
11311 };
11312
11313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
11314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11315 {
11316 PyThreadState* __tstate = wxPyBeginAllowThreads();
11317 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
11318
11319 wxPyEndAllowThreads(__tstate);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 resultobj = PyInt_FromLong((long)result);
11323 return resultobj;
11324 fail:
11325 return NULL;
11326 }
11327
11328
11329 static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11330 PyObject *resultobj;
11331 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11332 bool result;
11333 PyObject * obj0 = 0 ;
11334 char *kwnames[] = {
11335 (char *) "self", NULL
11336 };
11337
11338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
11339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
11343
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 resultobj = PyInt_FromLong((long)result);
11348 return resultobj;
11349 fail:
11350 return NULL;
11351 }
11352
11353
11354 static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj;
11356 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11357 long arg2 ;
11358 PyObject * obj0 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "self",(char *) "extraLong", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:CommandEvent_SetExtraLong",kwnames,&obj0,&arg2)) goto fail;
11364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 (arg1)->SetExtraLong(arg2);
11368
11369 wxPyEndAllowThreads(__tstate);
11370 if (PyErr_Occurred()) SWIG_fail;
11371 }
11372 Py_INCREF(Py_None); resultobj = Py_None;
11373 return resultobj;
11374 fail:
11375 return NULL;
11376 }
11377
11378
11379 static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11380 PyObject *resultobj;
11381 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11382 long result;
11383 PyObject * obj0 = 0 ;
11384 char *kwnames[] = {
11385 (char *) "self", NULL
11386 };
11387
11388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
11389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 resultobj = PyInt_FromLong((long)result);
11398 return resultobj;
11399 fail:
11400 return NULL;
11401 }
11402
11403
11404 static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11405 PyObject *resultobj;
11406 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11407 int arg2 ;
11408 PyObject * obj0 = 0 ;
11409 char *kwnames[] = {
11410 (char *) "self",(char *) "i", NULL
11411 };
11412
11413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CommandEvent_SetInt",kwnames,&obj0,&arg2)) goto fail;
11414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 (arg1)->SetInt(arg2);
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 Py_INCREF(Py_None); resultobj = Py_None;
11423 return resultobj;
11424 fail:
11425 return NULL;
11426 }
11427
11428
11429 static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11430 PyObject *resultobj;
11431 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11432 long result;
11433 PyObject * obj0 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 result = (long)((wxCommandEvent const *)arg1)->GetInt();
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 resultobj = PyInt_FromLong((long)result);
11448 return resultobj;
11449 fail:
11450 return NULL;
11451 }
11452
11453
11454 static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11455 PyObject *resultobj;
11456 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11457 wxEvent *result;
11458 PyObject * obj0 = 0 ;
11459 char *kwnames[] = {
11460 (char *) "self", NULL
11461 };
11462
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
11464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11465 {
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
11468
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11473 return resultobj;
11474 fail:
11475 return NULL;
11476 }
11477
11478
11479 static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
11480 PyObject *obj;
11481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11482 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
11483 Py_INCREF(obj);
11484 return Py_BuildValue((char *)"");
11485 }
11486 static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11487 PyObject *resultobj;
11488 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11489 int arg2 = (int) 0 ;
11490 wxNotifyEvent *result;
11491 char *kwnames[] = {
11492 (char *) "commandType",(char *) "winid", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_NotifyEvent",kwnames,&arg1,&arg2)) goto fail;
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotifyEvent, 1);
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11513 PyObject * obj0 = 0 ;
11514 char *kwnames[] = {
11515 (char *) "self", NULL
11516 };
11517
11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
11519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11520 {
11521 PyThreadState* __tstate = wxPyBeginAllowThreads();
11522 (arg1)->Veto();
11523
11524 wxPyEndAllowThreads(__tstate);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 }
11527 Py_INCREF(Py_None); resultobj = Py_None;
11528 return resultobj;
11529 fail:
11530 return NULL;
11531 }
11532
11533
11534 static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
11535 PyObject *resultobj;
11536 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11537 PyObject * obj0 = 0 ;
11538 char *kwnames[] = {
11539 (char *) "self", NULL
11540 };
11541
11542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
11543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11544 {
11545 PyThreadState* __tstate = wxPyBeginAllowThreads();
11546 (arg1)->Allow();
11547
11548 wxPyEndAllowThreads(__tstate);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 }
11551 Py_INCREF(Py_None); resultobj = Py_None;
11552 return resultobj;
11553 fail:
11554 return NULL;
11555 }
11556
11557
11558 static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
11559 PyObject *resultobj;
11560 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11561 bool result;
11562 PyObject * obj0 = 0 ;
11563 char *kwnames[] = {
11564 (char *) "self", NULL
11565 };
11566
11567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
11568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11569 {
11570 PyThreadState* __tstate = wxPyBeginAllowThreads();
11571 result = (bool)(arg1)->IsAllowed();
11572
11573 wxPyEndAllowThreads(__tstate);
11574 if (PyErr_Occurred()) SWIG_fail;
11575 }
11576 resultobj = PyInt_FromLong((long)result);
11577 return resultobj;
11578 fail:
11579 return NULL;
11580 }
11581
11582
11583 static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
11584 PyObject *obj;
11585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11586 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
11587 Py_INCREF(obj);
11588 return Py_BuildValue((char *)"");
11589 }
11590 static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11591 PyObject *resultobj;
11592 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11593 int arg2 = (int) 0 ;
11594 int arg3 = (int) 0 ;
11595 int arg4 = (int) 0 ;
11596 wxScrollEvent *result;
11597 char *kwnames[] = {
11598 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11599 };
11600
11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ScrollEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
11605
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollEvent, 1);
11610 return resultobj;
11611 fail:
11612 return NULL;
11613 }
11614
11615
11616 static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11619 int result;
11620 PyObject * obj0 = 0 ;
11621 char *kwnames[] = {
11622 (char *) "self", NULL
11623 };
11624
11625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
11626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 resultobj = PyInt_FromLong((long)result);
11635 return resultobj;
11636 fail:
11637 return NULL;
11638 }
11639
11640
11641 static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11642 PyObject *resultobj;
11643 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11644 int result;
11645 PyObject * obj0 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
11651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 resultobj = PyInt_FromLong((long)result);
11660 return resultobj;
11661 fail:
11662 return NULL;
11663 }
11664
11665
11666 static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11667 PyObject *resultobj;
11668 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11669 int arg2 ;
11670 PyObject * obj0 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self",(char *) "orient", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11677 {
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 (arg1)->SetOrientation(arg2);
11680
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 Py_INCREF(Py_None); resultobj = Py_None;
11685 return resultobj;
11686 fail:
11687 return NULL;
11688 }
11689
11690
11691 static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj;
11693 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11694 int arg2 ;
11695 PyObject * obj0 = 0 ;
11696 char *kwnames[] = {
11697 (char *) "self",(char *) "pos", NULL
11698 };
11699
11700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 (arg1)->SetPosition(arg2);
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 Py_INCREF(Py_None); resultobj = Py_None;
11710 return resultobj;
11711 fail:
11712 return NULL;
11713 }
11714
11715
11716 static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
11717 PyObject *obj;
11718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11719 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
11720 Py_INCREF(obj);
11721 return Py_BuildValue((char *)"");
11722 }
11723 static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj;
11725 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11726 int arg2 = (int) 0 ;
11727 int arg3 = (int) 0 ;
11728 wxScrollWinEvent *result;
11729 char *kwnames[] = {
11730 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11731 };
11732
11733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ScrollWinEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollWinEvent, 1);
11742 return resultobj;
11743 fail:
11744 return NULL;
11745 }
11746
11747
11748 static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11749 PyObject *resultobj;
11750 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11751 int result;
11752 PyObject * obj0 = 0 ;
11753 char *kwnames[] = {
11754 (char *) "self", NULL
11755 };
11756
11757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
11758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 resultobj = PyInt_FromLong((long)result);
11767 return resultobj;
11768 fail:
11769 return NULL;
11770 }
11771
11772
11773 static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11774 PyObject *resultobj;
11775 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11776 int result;
11777 PyObject * obj0 = 0 ;
11778 char *kwnames[] = {
11779 (char *) "self", NULL
11780 };
11781
11782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
11783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
11786 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
11787
11788 wxPyEndAllowThreads(__tstate);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
11791 resultobj = PyInt_FromLong((long)result);
11792 return resultobj;
11793 fail:
11794 return NULL;
11795 }
11796
11797
11798 static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11799 PyObject *resultobj;
11800 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11801 int arg2 ;
11802 PyObject * obj0 = 0 ;
11803 char *kwnames[] = {
11804 (char *) "self",(char *) "orient", NULL
11805 };
11806
11807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11809 {
11810 PyThreadState* __tstate = wxPyBeginAllowThreads();
11811 (arg1)->SetOrientation(arg2);
11812
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 Py_INCREF(Py_None); resultobj = Py_None;
11817 return resultobj;
11818 fail:
11819 return NULL;
11820 }
11821
11822
11823 static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj;
11825 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11826 int arg2 ;
11827 PyObject * obj0 = 0 ;
11828 char *kwnames[] = {
11829 (char *) "self",(char *) "pos", NULL
11830 };
11831
11832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11834 {
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 (arg1)->SetPosition(arg2);
11837
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 Py_INCREF(Py_None); resultobj = Py_None;
11842 return resultobj;
11843 fail:
11844 return NULL;
11845 }
11846
11847
11848 static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
11849 PyObject *obj;
11850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11851 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
11852 Py_INCREF(obj);
11853 return Py_BuildValue((char *)"");
11854 }
11855 static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11856 PyObject *resultobj;
11857 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11858 wxMouseEvent *result;
11859 char *kwnames[] = {
11860 (char *) "mouseType", NULL
11861 };
11862
11863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MouseEvent",kwnames,&arg1)) goto fail;
11864 {
11865 PyThreadState* __tstate = wxPyBeginAllowThreads();
11866 result = (wxMouseEvent *)new wxMouseEvent(arg1);
11867
11868 wxPyEndAllowThreads(__tstate);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
11871 {
11872 resultobj = wxPyMake_wxObject(result);
11873 }
11874 return resultobj;
11875 fail:
11876 return NULL;
11877 }
11878
11879
11880 static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11881 PyObject *resultobj;
11882 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11883 bool result;
11884 PyObject * obj0 = 0 ;
11885 char *kwnames[] = {
11886 (char *) "self", NULL
11887 };
11888
11889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
11890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
11894
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 resultobj = PyInt_FromLong((long)result);
11899 return resultobj;
11900 fail:
11901 return NULL;
11902 }
11903
11904
11905 static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11906 PyObject *resultobj;
11907 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11908 int arg2 = (int) wxMOUSE_BTN_ANY ;
11909 bool result;
11910 PyObject * obj0 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self",(char *) "but", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
11916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 resultobj = PyInt_FromLong((long)result);
11925 return resultobj;
11926 fail:
11927 return NULL;
11928 }
11929
11930
11931 static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11932 PyObject *resultobj;
11933 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11934 int arg2 = (int) wxMOUSE_BTN_ANY ;
11935 bool result;
11936 PyObject * obj0 = 0 ;
11937 char *kwnames[] = {
11938 (char *) "self",(char *) "but", NULL
11939 };
11940
11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDClick",kwnames,&obj0,&arg2)) goto fail;
11942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = PyInt_FromLong((long)result);
11951 return resultobj;
11952 fail:
11953 return NULL;
11954 }
11955
11956
11957 static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11958 PyObject *resultobj;
11959 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11960 int arg2 = (int) wxMOUSE_BTN_ANY ;
11961 bool result;
11962 PyObject * obj0 = 0 ;
11963 char *kwnames[] = {
11964 (char *) "self",(char *) "but", NULL
11965 };
11966
11967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
11968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11969 {
11970 PyThreadState* __tstate = wxPyBeginAllowThreads();
11971 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
11972
11973 wxPyEndAllowThreads(__tstate);
11974 if (PyErr_Occurred()) SWIG_fail;
11975 }
11976 resultobj = PyInt_FromLong((long)result);
11977 return resultobj;
11978 fail:
11979 return NULL;
11980 }
11981
11982
11983 static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
11984 PyObject *resultobj;
11985 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11986 int arg2 ;
11987 bool result;
11988 PyObject * obj0 = 0 ;
11989 char *kwnames[] = {
11990 (char *) "self",(char *) "but", NULL
11991 };
11992
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_Button",kwnames,&obj0,&arg2)) goto fail;
11994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
11997 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
11998
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 resultobj = PyInt_FromLong((long)result);
12003 return resultobj;
12004 fail:
12005 return NULL;
12006 }
12007
12008
12009 static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj;
12011 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12012 int arg2 ;
12013 bool result;
12014 PyObject * obj0 = 0 ;
12015 char *kwnames[] = {
12016 (char *) "self",(char *) "but", NULL
12017 };
12018
12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
12020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 resultobj = PyInt_FromLong((long)result);
12029 return resultobj;
12030 fail:
12031 return NULL;
12032 }
12033
12034
12035 static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj;
12037 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12038 int result;
12039 PyObject * obj0 = 0 ;
12040 char *kwnames[] = {
12041 (char *) "self", NULL
12042 };
12043
12044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
12045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (int)((wxMouseEvent const *)arg1)->GetButton();
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 resultobj = PyInt_FromLong((long)result);
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12063 bool result;
12064 PyObject * obj0 = 0 ;
12065 char *kwnames[] = {
12066 (char *) "self", NULL
12067 };
12068
12069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
12070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 resultobj = PyInt_FromLong((long)result);
12079 return resultobj;
12080 fail:
12081 return NULL;
12082 }
12083
12084
12085 static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj;
12087 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12088 bool result;
12089 PyObject * obj0 = 0 ;
12090 char *kwnames[] = {
12091 (char *) "self", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 resultobj = PyInt_FromLong((long)result);
12104 return resultobj;
12105 fail:
12106 return NULL;
12107 }
12108
12109
12110 static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12113 bool result;
12114 PyObject * obj0 = 0 ;
12115 char *kwnames[] = {
12116 (char *) "self", NULL
12117 };
12118
12119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
12120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
12124
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 resultobj = PyInt_FromLong((long)result);
12129 return resultobj;
12130 fail:
12131 return NULL;
12132 }
12133
12134
12135 static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12136 PyObject *resultobj;
12137 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12138 bool result;
12139 PyObject * obj0 = 0 ;
12140 char *kwnames[] = {
12141 (char *) "self", NULL
12142 };
12143
12144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
12145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
12149
12150 wxPyEndAllowThreads(__tstate);
12151 if (PyErr_Occurred()) SWIG_fail;
12152 }
12153 resultobj = PyInt_FromLong((long)result);
12154 return resultobj;
12155 fail:
12156 return NULL;
12157 }
12158
12159
12160 static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12161 PyObject *resultobj;
12162 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12163 bool result;
12164 PyObject * obj0 = 0 ;
12165 char *kwnames[] = {
12166 (char *) "self", NULL
12167 };
12168
12169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
12170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
12174
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 resultobj = PyInt_FromLong((long)result);
12179 return resultobj;
12180 fail:
12181 return NULL;
12182 }
12183
12184
12185 static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12186 PyObject *resultobj;
12187 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12188 bool result;
12189 PyObject * obj0 = 0 ;
12190 char *kwnames[] = {
12191 (char *) "self", NULL
12192 };
12193
12194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
12195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
12199
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 resultobj = PyInt_FromLong((long)result);
12204 return resultobj;
12205 fail:
12206 return NULL;
12207 }
12208
12209
12210 static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12211 PyObject *resultobj;
12212 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12213 bool result;
12214 PyObject * obj0 = 0 ;
12215 char *kwnames[] = {
12216 (char *) "self", NULL
12217 };
12218
12219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
12220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
12224
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 resultobj = PyInt_FromLong((long)result);
12229 return resultobj;
12230 fail:
12231 return NULL;
12232 }
12233
12234
12235 static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12236 PyObject *resultobj;
12237 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12238 bool result;
12239 PyObject * obj0 = 0 ;
12240 char *kwnames[] = {
12241 (char *) "self", NULL
12242 };
12243
12244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
12245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
12249
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 resultobj = PyInt_FromLong((long)result);
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj;
12262 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12263 bool result;
12264 PyObject * obj0 = 0 ;
12265 char *kwnames[] = {
12266 (char *) "self", NULL
12267 };
12268
12269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
12270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12271 {
12272 PyThreadState* __tstate = wxPyBeginAllowThreads();
12273 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
12274
12275 wxPyEndAllowThreads(__tstate);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
12278 resultobj = PyInt_FromLong((long)result);
12279 return resultobj;
12280 fail:
12281 return NULL;
12282 }
12283
12284
12285 static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12286 PyObject *resultobj;
12287 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12288 bool result;
12289 PyObject * obj0 = 0 ;
12290 char *kwnames[] = {
12291 (char *) "self", NULL
12292 };
12293
12294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
12295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
12303 resultobj = PyInt_FromLong((long)result);
12304 return resultobj;
12305 fail:
12306 return NULL;
12307 }
12308
12309
12310 static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj;
12312 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12313 bool result;
12314 PyObject * obj0 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "self", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
12320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
12324
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 resultobj = PyInt_FromLong((long)result);
12329 return resultobj;
12330 fail:
12331 return NULL;
12332 }
12333
12334
12335 static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj;
12337 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12338 bool result;
12339 PyObject * obj0 = 0 ;
12340 char *kwnames[] = {
12341 (char *) "self", NULL
12342 };
12343
12344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
12345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12346 {
12347 PyThreadState* __tstate = wxPyBeginAllowThreads();
12348 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
12349
12350 wxPyEndAllowThreads(__tstate);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 resultobj = PyInt_FromLong((long)result);
12354 return resultobj;
12355 fail:
12356 return NULL;
12357 }
12358
12359
12360 static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12361 PyObject *resultobj;
12362 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12363 bool result;
12364 PyObject * obj0 = 0 ;
12365 char *kwnames[] = {
12366 (char *) "self", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
12370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12371 {
12372 PyThreadState* __tstate = wxPyBeginAllowThreads();
12373 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
12374
12375 wxPyEndAllowThreads(__tstate);
12376 if (PyErr_Occurred()) SWIG_fail;
12377 }
12378 resultobj = PyInt_FromLong((long)result);
12379 return resultobj;
12380 fail:
12381 return NULL;
12382 }
12383
12384
12385 static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12386 PyObject *resultobj;
12387 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12388 bool result;
12389 PyObject * obj0 = 0 ;
12390 char *kwnames[] = {
12391 (char *) "self", NULL
12392 };
12393
12394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
12395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 result = (bool)(arg1)->LeftIsDown();
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 resultobj = PyInt_FromLong((long)result);
12404 return resultobj;
12405 fail:
12406 return NULL;
12407 }
12408
12409
12410 static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12411 PyObject *resultobj;
12412 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12413 bool result;
12414 PyObject * obj0 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "self", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
12420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (bool)(arg1)->MiddleIsDown();
12424
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = PyInt_FromLong((long)result);
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12436 PyObject *resultobj;
12437 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12438 bool result;
12439 PyObject * obj0 = 0 ;
12440 char *kwnames[] = {
12441 (char *) "self", NULL
12442 };
12443
12444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
12445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 result = (bool)(arg1)->RightIsDown();
12449
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 resultobj = PyInt_FromLong((long)result);
12454 return resultobj;
12455 fail:
12456 return NULL;
12457 }
12458
12459
12460 static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
12461 PyObject *resultobj;
12462 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12463 bool result;
12464 PyObject * obj0 = 0 ;
12465 char *kwnames[] = {
12466 (char *) "self", NULL
12467 };
12468
12469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
12470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12471 {
12472 PyThreadState* __tstate = wxPyBeginAllowThreads();
12473 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
12474
12475 wxPyEndAllowThreads(__tstate);
12476 if (PyErr_Occurred()) SWIG_fail;
12477 }
12478 resultobj = PyInt_FromLong((long)result);
12479 return resultobj;
12480 fail:
12481 return NULL;
12482 }
12483
12484
12485 static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
12486 PyObject *resultobj;
12487 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12488 bool result;
12489 PyObject * obj0 = 0 ;
12490 char *kwnames[] = {
12491 (char *) "self", NULL
12492 };
12493
12494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
12495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 result = (bool)((wxMouseEvent const *)arg1)->Moving();
12499
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 resultobj = PyInt_FromLong((long)result);
12504 return resultobj;
12505 fail:
12506 return NULL;
12507 }
12508
12509
12510 static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12513 bool result;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
12520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 result = (bool)((wxMouseEvent const *)arg1)->Entering();
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 resultobj = PyInt_FromLong((long)result);
12529 return resultobj;
12530 fail:
12531 return NULL;
12532 }
12533
12534
12535 static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
12536 PyObject *resultobj;
12537 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12538 bool result;
12539 PyObject * obj0 = 0 ;
12540 char *kwnames[] = {
12541 (char *) "self", NULL
12542 };
12543
12544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
12545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12546 {
12547 PyThreadState* __tstate = wxPyBeginAllowThreads();
12548 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
12549
12550 wxPyEndAllowThreads(__tstate);
12551 if (PyErr_Occurred()) SWIG_fail;
12552 }
12553 resultobj = PyInt_FromLong((long)result);
12554 return resultobj;
12555 fail:
12556 return NULL;
12557 }
12558
12559
12560 static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12561 PyObject *resultobj;
12562 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12563 wxPoint result;
12564 PyObject * obj0 = 0 ;
12565 char *kwnames[] = {
12566 (char *) "self", NULL
12567 };
12568
12569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
12570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 result = (arg1)->GetPosition();
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
12578 {
12579 wxPoint * resultptr;
12580 resultptr = new wxPoint((wxPoint &) result);
12581 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12582 }
12583 return resultobj;
12584 fail:
12585 return NULL;
12586 }
12587
12588
12589 static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
12590 PyObject *resultobj;
12591 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12592 long *arg2 = (long *) 0 ;
12593 long *arg3 = (long *) 0 ;
12594 long temp2 ;
12595 long temp3 ;
12596 PyObject * obj0 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self", NULL
12599 };
12600
12601 arg2 = &temp2;
12602 arg3 = &temp3;
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
12604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12605 {
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 (arg1)->GetPosition(arg2,arg3);
12608
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 Py_INCREF(Py_None); resultobj = Py_None;
12613 {
12614 PyObject *o = PyInt_FromLong((long) (*arg2));
12615 resultobj = t_output_helper(resultobj,o);
12616 }
12617 {
12618 PyObject *o = PyInt_FromLong((long) (*arg3));
12619 resultobj = t_output_helper(resultobj,o);
12620 }
12621 return resultobj;
12622 fail:
12623 return NULL;
12624 }
12625
12626
12627 static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12630 wxDC *arg2 = 0 ;
12631 wxPoint result;
12632 PyObject * obj0 = 0 ;
12633 PyObject * obj1 = 0 ;
12634 char *kwnames[] = {
12635 (char *) "self",(char *) "dc", NULL
12636 };
12637
12638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
12639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12641 if (arg2 == NULL) {
12642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12643 }
12644 {
12645 PyThreadState* __tstate = wxPyBeginAllowThreads();
12646 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
12647
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 {
12652 wxPoint * resultptr;
12653 resultptr = new wxPoint((wxPoint &) result);
12654 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12655 }
12656 return resultobj;
12657 fail:
12658 return NULL;
12659 }
12660
12661
12662 static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12663 PyObject *resultobj;
12664 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12665 int result;
12666 PyObject * obj0 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "self", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
12672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12673 {
12674 PyThreadState* __tstate = wxPyBeginAllowThreads();
12675 result = (int)((wxMouseEvent const *)arg1)->GetX();
12676
12677 wxPyEndAllowThreads(__tstate);
12678 if (PyErr_Occurred()) SWIG_fail;
12679 }
12680 resultobj = PyInt_FromLong((long)result);
12681 return resultobj;
12682 fail:
12683 return NULL;
12684 }
12685
12686
12687 static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12688 PyObject *resultobj;
12689 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12690 int result;
12691 PyObject * obj0 = 0 ;
12692 char *kwnames[] = {
12693 (char *) "self", NULL
12694 };
12695
12696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
12697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 result = (int)((wxMouseEvent const *)arg1)->GetY();
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 resultobj = PyInt_FromLong((long)result);
12706 return resultobj;
12707 fail:
12708 return NULL;
12709 }
12710
12711
12712 static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12713 PyObject *resultobj;
12714 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12715 int result;
12716 PyObject * obj0 = 0 ;
12717 char *kwnames[] = {
12718 (char *) "self", NULL
12719 };
12720
12721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
12722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 resultobj = PyInt_FromLong((long)result);
12731 return resultobj;
12732 fail:
12733 return NULL;
12734 }
12735
12736
12737 static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
12738 PyObject *resultobj;
12739 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12740 int result;
12741 PyObject * obj0 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
12747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
12751
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 resultobj = PyInt_FromLong((long)result);
12756 return resultobj;
12757 fail:
12758 return NULL;
12759 }
12760
12761
12762 static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
12763 PyObject *resultobj;
12764 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12765 int result;
12766 PyObject * obj0 = 0 ;
12767 char *kwnames[] = {
12768 (char *) "self", NULL
12769 };
12770
12771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
12772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
12776
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 resultobj = PyInt_FromLong((long)result);
12781 return resultobj;
12782 fail:
12783 return NULL;
12784 }
12785
12786
12787 static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
12788 PyObject *resultobj;
12789 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12790 bool result;
12791 PyObject * obj0 = 0 ;
12792 char *kwnames[] = {
12793 (char *) "self", NULL
12794 };
12795
12796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
12797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12798 {
12799 PyThreadState* __tstate = wxPyBeginAllowThreads();
12800 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
12801
12802 wxPyEndAllowThreads(__tstate);
12803 if (PyErr_Occurred()) SWIG_fail;
12804 }
12805 resultobj = PyInt_FromLong((long)result);
12806 return resultobj;
12807 fail:
12808 return NULL;
12809 }
12810
12811
12812 static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj;
12814 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12815 int arg2 ;
12816 PyObject * obj0 = 0 ;
12817 char *kwnames[] = {
12818 (char *) "self",(char *) "m_x", NULL
12819 };
12820
12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
12822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12823 if (arg1) (arg1)->m_x = arg2;
12824
12825 Py_INCREF(Py_None); resultobj = Py_None;
12826 return resultobj;
12827 fail:
12828 return NULL;
12829 }
12830
12831
12832 static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12833 PyObject *resultobj;
12834 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12835 int result;
12836 PyObject * obj0 = 0 ;
12837 char *kwnames[] = {
12838 (char *) "self", NULL
12839 };
12840
12841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
12842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12843 result = (int) ((arg1)->m_x);
12844
12845 resultobj = PyInt_FromLong((long)result);
12846 return resultobj;
12847 fail:
12848 return NULL;
12849 }
12850
12851
12852 static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj;
12854 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12855 int arg2 ;
12856 PyObject * obj0 = 0 ;
12857 char *kwnames[] = {
12858 (char *) "self",(char *) "m_y", NULL
12859 };
12860
12861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
12862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12863 if (arg1) (arg1)->m_y = arg2;
12864
12865 Py_INCREF(Py_None); resultobj = Py_None;
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12875 int result;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
12882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12883 result = (int) ((arg1)->m_y);
12884
12885 resultobj = PyInt_FromLong((long)result);
12886 return resultobj;
12887 fail:
12888 return NULL;
12889 }
12890
12891
12892 static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12893 PyObject *resultobj;
12894 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12895 bool arg2 ;
12896 PyObject * obj0 = 0 ;
12897 PyObject * obj1 = 0 ;
12898 char *kwnames[] = {
12899 (char *) "self",(char *) "m_leftDown", NULL
12900 };
12901
12902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
12903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12904 arg2 = PyInt_AsLong(obj1) ? true : false;
12905 if (PyErr_Occurred()) SWIG_fail;
12906 if (arg1) (arg1)->m_leftDown = arg2;
12907
12908 Py_INCREF(Py_None); resultobj = Py_None;
12909 return resultobj;
12910 fail:
12911 return NULL;
12912 }
12913
12914
12915 static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj;
12917 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12918 bool result;
12919 PyObject * obj0 = 0 ;
12920 char *kwnames[] = {
12921 (char *) "self", NULL
12922 };
12923
12924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
12925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12926 result = (bool) ((arg1)->m_leftDown);
12927
12928 resultobj = PyInt_FromLong((long)result);
12929 return resultobj;
12930 fail:
12931 return NULL;
12932 }
12933
12934
12935 static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12936 PyObject *resultobj;
12937 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12938 bool arg2 ;
12939 PyObject * obj0 = 0 ;
12940 PyObject * obj1 = 0 ;
12941 char *kwnames[] = {
12942 (char *) "self",(char *) "m_middleDown", NULL
12943 };
12944
12945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
12946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12947 arg2 = PyInt_AsLong(obj1) ? true : false;
12948 if (PyErr_Occurred()) SWIG_fail;
12949 if (arg1) (arg1)->m_middleDown = arg2;
12950
12951 Py_INCREF(Py_None); resultobj = Py_None;
12952 return resultobj;
12953 fail:
12954 return NULL;
12955 }
12956
12957
12958 static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj;
12960 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12961 bool result;
12962 PyObject * obj0 = 0 ;
12963 char *kwnames[] = {
12964 (char *) "self", NULL
12965 };
12966
12967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
12968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12969 result = (bool) ((arg1)->m_middleDown);
12970
12971 resultobj = PyInt_FromLong((long)result);
12972 return resultobj;
12973 fail:
12974 return NULL;
12975 }
12976
12977
12978 static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12979 PyObject *resultobj;
12980 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12981 bool arg2 ;
12982 PyObject * obj0 = 0 ;
12983 PyObject * obj1 = 0 ;
12984 char *kwnames[] = {
12985 (char *) "self",(char *) "m_rightDown", NULL
12986 };
12987
12988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
12989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12990 arg2 = PyInt_AsLong(obj1) ? true : false;
12991 if (PyErr_Occurred()) SWIG_fail;
12992 if (arg1) (arg1)->m_rightDown = arg2;
12993
12994 Py_INCREF(Py_None); resultobj = Py_None;
12995 return resultobj;
12996 fail:
12997 return NULL;
12998 }
12999
13000
13001 static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13002 PyObject *resultobj;
13003 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13004 bool result;
13005 PyObject * obj0 = 0 ;
13006 char *kwnames[] = {
13007 (char *) "self", NULL
13008 };
13009
13010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
13011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13012 result = (bool) ((arg1)->m_rightDown);
13013
13014 resultobj = PyInt_FromLong((long)result);
13015 return resultobj;
13016 fail:
13017 return NULL;
13018 }
13019
13020
13021 static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13022 PyObject *resultobj;
13023 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13024 bool arg2 ;
13025 PyObject * obj0 = 0 ;
13026 PyObject * obj1 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self",(char *) "m_controlDown", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13033 arg2 = PyInt_AsLong(obj1) ? true : false;
13034 if (PyErr_Occurred()) SWIG_fail;
13035 if (arg1) (arg1)->m_controlDown = arg2;
13036
13037 Py_INCREF(Py_None); resultobj = Py_None;
13038 return resultobj;
13039 fail:
13040 return NULL;
13041 }
13042
13043
13044 static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj;
13046 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13047 bool result;
13048 PyObject * obj0 = 0 ;
13049 char *kwnames[] = {
13050 (char *) "self", NULL
13051 };
13052
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
13054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13055 result = (bool) ((arg1)->m_controlDown);
13056
13057 resultobj = PyInt_FromLong((long)result);
13058 return resultobj;
13059 fail:
13060 return NULL;
13061 }
13062
13063
13064 static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13065 PyObject *resultobj;
13066 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13067 bool arg2 ;
13068 PyObject * obj0 = 0 ;
13069 PyObject * obj1 = 0 ;
13070 char *kwnames[] = {
13071 (char *) "self",(char *) "m_shiftDown", NULL
13072 };
13073
13074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
13075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13076 arg2 = PyInt_AsLong(obj1) ? true : false;
13077 if (PyErr_Occurred()) SWIG_fail;
13078 if (arg1) (arg1)->m_shiftDown = arg2;
13079
13080 Py_INCREF(Py_None); resultobj = Py_None;
13081 return resultobj;
13082 fail:
13083 return NULL;
13084 }
13085
13086
13087 static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13088 PyObject *resultobj;
13089 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13090 bool result;
13091 PyObject * obj0 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "self", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
13097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13098 result = (bool) ((arg1)->m_shiftDown);
13099
13100 resultobj = PyInt_FromLong((long)result);
13101 return resultobj;
13102 fail:
13103 return NULL;
13104 }
13105
13106
13107 static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13110 bool arg2 ;
13111 PyObject * obj0 = 0 ;
13112 PyObject * obj1 = 0 ;
13113 char *kwnames[] = {
13114 (char *) "self",(char *) "m_altDown", NULL
13115 };
13116
13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
13118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13119 arg2 = PyInt_AsLong(obj1) ? true : false;
13120 if (PyErr_Occurred()) SWIG_fail;
13121 if (arg1) (arg1)->m_altDown = arg2;
13122
13123 Py_INCREF(Py_None); resultobj = Py_None;
13124 return resultobj;
13125 fail:
13126 return NULL;
13127 }
13128
13129
13130 static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13131 PyObject *resultobj;
13132 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13133 bool result;
13134 PyObject * obj0 = 0 ;
13135 char *kwnames[] = {
13136 (char *) "self", NULL
13137 };
13138
13139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
13140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13141 result = (bool) ((arg1)->m_altDown);
13142
13143 resultobj = PyInt_FromLong((long)result);
13144 return resultobj;
13145 fail:
13146 return NULL;
13147 }
13148
13149
13150 static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13151 PyObject *resultobj;
13152 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13153 bool arg2 ;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "m_metaDown", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13162 arg2 = PyInt_AsLong(obj1) ? true : false;
13163 if (PyErr_Occurred()) SWIG_fail;
13164 if (arg1) (arg1)->m_metaDown = arg2;
13165
13166 Py_INCREF(Py_None); resultobj = Py_None;
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj;
13175 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13176 bool result;
13177 PyObject * obj0 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "self", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
13183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13184 result = (bool) ((arg1)->m_metaDown);
13185
13186 resultobj = PyInt_FromLong((long)result);
13187 return resultobj;
13188 fail:
13189 return NULL;
13190 }
13191
13192
13193 static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13194 PyObject *resultobj;
13195 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13196 int arg2 ;
13197 PyObject * obj0 = 0 ;
13198 char *kwnames[] = {
13199 (char *) "self",(char *) "m_wheelRotation", NULL
13200 };
13201
13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&arg2)) goto fail;
13203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13204 if (arg1) (arg1)->m_wheelRotation = arg2;
13205
13206 Py_INCREF(Py_None); resultobj = Py_None;
13207 return resultobj;
13208 fail:
13209 return NULL;
13210 }
13211
13212
13213 static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13214 PyObject *resultobj;
13215 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13216 int result;
13217 PyObject * obj0 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
13223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13224 result = (int) ((arg1)->m_wheelRotation);
13225
13226 resultobj = PyInt_FromLong((long)result);
13227 return resultobj;
13228 fail:
13229 return NULL;
13230 }
13231
13232
13233 static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13234 PyObject *resultobj;
13235 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13236 int arg2 ;
13237 PyObject * obj0 = 0 ;
13238 char *kwnames[] = {
13239 (char *) "self",(char *) "m_wheelDelta", NULL
13240 };
13241
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&arg2)) goto fail;
13243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13244 if (arg1) (arg1)->m_wheelDelta = arg2;
13245
13246 Py_INCREF(Py_None); resultobj = Py_None;
13247 return resultobj;
13248 fail:
13249 return NULL;
13250 }
13251
13252
13253 static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13256 int result;
13257 PyObject * obj0 = 0 ;
13258 char *kwnames[] = {
13259 (char *) "self", NULL
13260 };
13261
13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
13263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13264 result = (int) ((arg1)->m_wheelDelta);
13265
13266 resultobj = PyInt_FromLong((long)result);
13267 return resultobj;
13268 fail:
13269 return NULL;
13270 }
13271
13272
13273 static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13274 PyObject *resultobj;
13275 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13276 int arg2 ;
13277 PyObject * obj0 = 0 ;
13278 char *kwnames[] = {
13279 (char *) "self",(char *) "m_linesPerAction", NULL
13280 };
13281
13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&arg2)) goto fail;
13283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13284 if (arg1) (arg1)->m_linesPerAction = arg2;
13285
13286 Py_INCREF(Py_None); resultobj = Py_None;
13287 return resultobj;
13288 fail:
13289 return NULL;
13290 }
13291
13292
13293 static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13294 PyObject *resultobj;
13295 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13296 int result;
13297 PyObject * obj0 = 0 ;
13298 char *kwnames[] = {
13299 (char *) "self", NULL
13300 };
13301
13302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
13303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13304 result = (int) ((arg1)->m_linesPerAction);
13305
13306 resultobj = PyInt_FromLong((long)result);
13307 return resultobj;
13308 fail:
13309 return NULL;
13310 }
13311
13312
13313 static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
13314 PyObject *obj;
13315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13316 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
13317 Py_INCREF(obj);
13318 return Py_BuildValue((char *)"");
13319 }
13320 static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj;
13322 int arg1 = (int) 0 ;
13323 int arg2 = (int) 0 ;
13324 wxSetCursorEvent *result;
13325 char *kwnames[] = {
13326 (char *) "x",(char *) "y", NULL
13327 };
13328
13329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SetCursorEvent",kwnames,&arg1,&arg2)) goto fail;
13330 {
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
13333
13334 wxPyEndAllowThreads(__tstate);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
13337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSetCursorEvent, 1);
13338 return resultobj;
13339 fail:
13340 return NULL;
13341 }
13342
13343
13344 static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13345 PyObject *resultobj;
13346 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13347 int result;
13348 PyObject * obj0 = 0 ;
13349 char *kwnames[] = {
13350 (char *) "self", NULL
13351 };
13352
13353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
13354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13355 {
13356 PyThreadState* __tstate = wxPyBeginAllowThreads();
13357 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
13358
13359 wxPyEndAllowThreads(__tstate);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 }
13362 resultobj = PyInt_FromLong((long)result);
13363 return resultobj;
13364 fail:
13365 return NULL;
13366 }
13367
13368
13369 static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13370 PyObject *resultobj;
13371 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13372 int result;
13373 PyObject * obj0 = 0 ;
13374 char *kwnames[] = {
13375 (char *) "self", NULL
13376 };
13377
13378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
13379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13380 {
13381 PyThreadState* __tstate = wxPyBeginAllowThreads();
13382 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
13383
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 }
13387 resultobj = PyInt_FromLong((long)result);
13388 return resultobj;
13389 fail:
13390 return NULL;
13391 }
13392
13393
13394 static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13395 PyObject *resultobj;
13396 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13397 wxCursor *arg2 = 0 ;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self",(char *) "cursor", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
13405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13407 if (arg2 == NULL) {
13408 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13409 }
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 (arg1)->SetCursor((wxCursor const &)*arg2);
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 Py_INCREF(Py_None); resultobj = Py_None;
13418 return resultobj;
13419 fail:
13420 return NULL;
13421 }
13422
13423
13424 static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13425 PyObject *resultobj;
13426 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13427 wxCursor *result;
13428 PyObject * obj0 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
13434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13435 {
13436 PyThreadState* __tstate = wxPyBeginAllowThreads();
13437 {
13438 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
13439 result = (wxCursor *) &_result_ref;
13440 }
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
13446 return resultobj;
13447 fail:
13448 return NULL;
13449 }
13450
13451
13452 static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13455 bool result;
13456 PyObject * obj0 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
13462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13463 {
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
13466
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
13470 resultobj = PyInt_FromLong((long)result);
13471 return resultobj;
13472 fail:
13473 return NULL;
13474 }
13475
13476
13477 static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
13478 PyObject *obj;
13479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13480 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
13481 Py_INCREF(obj);
13482 return Py_BuildValue((char *)"");
13483 }
13484 static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13485 PyObject *resultobj;
13486 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13487 wxKeyEvent *result;
13488 char *kwnames[] = {
13489 (char *) "keyType", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_KeyEvent",kwnames,&arg1)) goto fail;
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 result = (wxKeyEvent *)new wxKeyEvent(arg1);
13496
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 1);
13501 return resultobj;
13502 fail:
13503 return NULL;
13504 }
13505
13506
13507 static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13510 bool result;
13511 PyObject * obj0 = 0 ;
13512 char *kwnames[] = {
13513 (char *) "self", NULL
13514 };
13515
13516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
13517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
13521
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
13525 resultobj = PyInt_FromLong((long)result);
13526 return resultobj;
13527 fail:
13528 return NULL;
13529 }
13530
13531
13532 static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj;
13534 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13535 bool result;
13536 PyObject * obj0 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
13542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 resultobj = PyInt_FromLong((long)result);
13551 return resultobj;
13552 fail:
13553 return NULL;
13554 }
13555
13556
13557 static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13558 PyObject *resultobj;
13559 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13560 bool result;
13561 PyObject * obj0 = 0 ;
13562 char *kwnames[] = {
13563 (char *) "self", NULL
13564 };
13565
13566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
13567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
13571
13572 wxPyEndAllowThreads(__tstate);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
13575 resultobj = PyInt_FromLong((long)result);
13576 return resultobj;
13577 fail:
13578 return NULL;
13579 }
13580
13581
13582 static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13583 PyObject *resultobj;
13584 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13585 bool result;
13586 PyObject * obj0 = 0 ;
13587 char *kwnames[] = {
13588 (char *) "self", NULL
13589 };
13590
13591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
13592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13593 {
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
13596
13597 wxPyEndAllowThreads(__tstate);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
13600 resultobj = PyInt_FromLong((long)result);
13601 return resultobj;
13602 fail:
13603 return NULL;
13604 }
13605
13606
13607 static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13608 PyObject *resultobj;
13609 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13610 bool result;
13611 PyObject * obj0 = 0 ;
13612 char *kwnames[] = {
13613 (char *) "self", NULL
13614 };
13615
13616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
13617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13618 {
13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
13620 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
13621
13622 wxPyEndAllowThreads(__tstate);
13623 if (PyErr_Occurred()) SWIG_fail;
13624 }
13625 resultobj = PyInt_FromLong((long)result);
13626 return resultobj;
13627 fail:
13628 return NULL;
13629 }
13630
13631
13632 static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13635 int result;
13636 PyObject * obj0 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 resultobj = PyInt_FromLong((long)result);
13651 return resultobj;
13652 fail:
13653 return NULL;
13654 }
13655
13656
13657 static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13660 int result;
13661 PyObject * obj0 = 0 ;
13662 char *kwnames[] = {
13663 (char *) "self", NULL
13664 };
13665
13666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
13667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 result = (int)wxKeyEvent_GetUniChar(arg1);
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 resultobj = PyInt_FromLong((long)result);
13676 return resultobj;
13677 fail:
13678 return NULL;
13679 }
13680
13681
13682 static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj;
13684 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13685 unsigned int result;
13686 PyObject * obj0 = 0 ;
13687 char *kwnames[] = {
13688 (char *) "self", NULL
13689 };
13690
13691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
13692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 resultobj = PyInt_FromLong((long)result);
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13710 unsigned int result;
13711 PyObject * obj0 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
13717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13718 {
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
13720 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
13721
13722 wxPyEndAllowThreads(__tstate);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
13725 resultobj = PyInt_FromLong((long)result);
13726 return resultobj;
13727 fail:
13728 return NULL;
13729 }
13730
13731
13732 static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13733 PyObject *resultobj;
13734 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13735 wxPoint result;
13736 PyObject * obj0 = 0 ;
13737 char *kwnames[] = {
13738 (char *) "self", NULL
13739 };
13740
13741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
13742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 result = (arg1)->GetPosition();
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 {
13751 wxPoint * resultptr;
13752 resultptr = new wxPoint((wxPoint &) result);
13753 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13754 }
13755 return resultobj;
13756 fail:
13757 return NULL;
13758 }
13759
13760
13761 static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
13762 PyObject *resultobj;
13763 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13764 long *arg2 = (long *) 0 ;
13765 long *arg3 = (long *) 0 ;
13766 long temp2 ;
13767 long temp3 ;
13768 PyObject * obj0 = 0 ;
13769 char *kwnames[] = {
13770 (char *) "self", NULL
13771 };
13772
13773 arg2 = &temp2;
13774 arg3 = &temp3;
13775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
13776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13777 {
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 (arg1)->GetPosition(arg2,arg3);
13780
13781 wxPyEndAllowThreads(__tstate);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 Py_INCREF(Py_None); resultobj = Py_None;
13785 {
13786 PyObject *o = PyInt_FromLong((long) (*arg2));
13787 resultobj = t_output_helper(resultobj,o);
13788 }
13789 {
13790 PyObject *o = PyInt_FromLong((long) (*arg3));
13791 resultobj = t_output_helper(resultobj,o);
13792 }
13793 return resultobj;
13794 fail:
13795 return NULL;
13796 }
13797
13798
13799 static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13800 PyObject *resultobj;
13801 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13802 int result;
13803 PyObject * obj0 = 0 ;
13804 char *kwnames[] = {
13805 (char *) "self", NULL
13806 };
13807
13808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
13809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13810 {
13811 PyThreadState* __tstate = wxPyBeginAllowThreads();
13812 result = (int)((wxKeyEvent const *)arg1)->GetX();
13813
13814 wxPyEndAllowThreads(__tstate);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 resultobj = PyInt_FromLong((long)result);
13818 return resultobj;
13819 fail:
13820 return NULL;
13821 }
13822
13823
13824 static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13825 PyObject *resultobj;
13826 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13827 int result;
13828 PyObject * obj0 = 0 ;
13829 char *kwnames[] = {
13830 (char *) "self", NULL
13831 };
13832
13833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
13834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13835 {
13836 PyThreadState* __tstate = wxPyBeginAllowThreads();
13837 result = (int)((wxKeyEvent const *)arg1)->GetY();
13838
13839 wxPyEndAllowThreads(__tstate);
13840 if (PyErr_Occurred()) SWIG_fail;
13841 }
13842 resultobj = PyInt_FromLong((long)result);
13843 return resultobj;
13844 fail:
13845 return NULL;
13846 }
13847
13848
13849 static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13850 PyObject *resultobj;
13851 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13852 int arg2 ;
13853 PyObject * obj0 = 0 ;
13854 char *kwnames[] = {
13855 (char *) "self",(char *) "m_x", NULL
13856 };
13857
13858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
13859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13860 if (arg1) (arg1)->m_x = arg2;
13861
13862 Py_INCREF(Py_None); resultobj = Py_None;
13863 return resultobj;
13864 fail:
13865 return NULL;
13866 }
13867
13868
13869 static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13870 PyObject *resultobj;
13871 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13872 int result;
13873 PyObject * obj0 = 0 ;
13874 char *kwnames[] = {
13875 (char *) "self", NULL
13876 };
13877
13878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
13879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13880 result = (int) ((arg1)->m_x);
13881
13882 resultobj = PyInt_FromLong((long)result);
13883 return resultobj;
13884 fail:
13885 return NULL;
13886 }
13887
13888
13889 static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13890 PyObject *resultobj;
13891 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13892 int arg2 ;
13893 PyObject * obj0 = 0 ;
13894 char *kwnames[] = {
13895 (char *) "self",(char *) "m_y", NULL
13896 };
13897
13898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
13899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13900 if (arg1) (arg1)->m_y = arg2;
13901
13902 Py_INCREF(Py_None); resultobj = Py_None;
13903 return resultobj;
13904 fail:
13905 return NULL;
13906 }
13907
13908
13909 static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj;
13911 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13912 int result;
13913 PyObject * obj0 = 0 ;
13914 char *kwnames[] = {
13915 (char *) "self", NULL
13916 };
13917
13918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
13919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13920 result = (int) ((arg1)->m_y);
13921
13922 resultobj = PyInt_FromLong((long)result);
13923 return resultobj;
13924 fail:
13925 return NULL;
13926 }
13927
13928
13929 static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj;
13931 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13932 long arg2 ;
13933 PyObject * obj0 = 0 ;
13934 char *kwnames[] = {
13935 (char *) "self",(char *) "m_keyCode", NULL
13936 };
13937
13938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames,&obj0,&arg2)) goto fail;
13939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13940 if (arg1) (arg1)->m_keyCode = arg2;
13941
13942 Py_INCREF(Py_None); resultobj = Py_None;
13943 return resultobj;
13944 fail:
13945 return NULL;
13946 }
13947
13948
13949 static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13950 PyObject *resultobj;
13951 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13952 long result;
13953 PyObject * obj0 = 0 ;
13954 char *kwnames[] = {
13955 (char *) "self", NULL
13956 };
13957
13958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
13959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13960 result = (long) ((arg1)->m_keyCode);
13961
13962 resultobj = PyInt_FromLong((long)result);
13963 return resultobj;
13964 fail:
13965 return NULL;
13966 }
13967
13968
13969 static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj;
13971 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13972 bool arg2 ;
13973 PyObject * obj0 = 0 ;
13974 PyObject * obj1 = 0 ;
13975 char *kwnames[] = {
13976 (char *) "self",(char *) "m_controlDown", NULL
13977 };
13978
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13981 arg2 = PyInt_AsLong(obj1) ? true : false;
13982 if (PyErr_Occurred()) SWIG_fail;
13983 if (arg1) (arg1)->m_controlDown = arg2;
13984
13985 Py_INCREF(Py_None); resultobj = Py_None;
13986 return resultobj;
13987 fail:
13988 return NULL;
13989 }
13990
13991
13992 static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13993 PyObject *resultobj;
13994 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13995 bool result;
13996 PyObject * obj0 = 0 ;
13997 char *kwnames[] = {
13998 (char *) "self", NULL
13999 };
14000
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14003 result = (bool) ((arg1)->m_controlDown);
14004
14005 resultobj = PyInt_FromLong((long)result);
14006 return resultobj;
14007 fail:
14008 return NULL;
14009 }
14010
14011
14012 static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj;
14014 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14015 bool arg2 ;
14016 PyObject * obj0 = 0 ;
14017 PyObject * obj1 = 0 ;
14018 char *kwnames[] = {
14019 (char *) "self",(char *) "m_shiftDown", NULL
14020 };
14021
14022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14024 arg2 = PyInt_AsLong(obj1) ? true : false;
14025 if (PyErr_Occurred()) SWIG_fail;
14026 if (arg1) (arg1)->m_shiftDown = arg2;
14027
14028 Py_INCREF(Py_None); resultobj = Py_None;
14029 return resultobj;
14030 fail:
14031 return NULL;
14032 }
14033
14034
14035 static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14036 PyObject *resultobj;
14037 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14038 bool result;
14039 PyObject * obj0 = 0 ;
14040 char *kwnames[] = {
14041 (char *) "self", NULL
14042 };
14043
14044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14046 result = (bool) ((arg1)->m_shiftDown);
14047
14048 resultobj = PyInt_FromLong((long)result);
14049 return resultobj;
14050 fail:
14051 return NULL;
14052 }
14053
14054
14055 static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14056 PyObject *resultobj;
14057 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14058 bool arg2 ;
14059 PyObject * obj0 = 0 ;
14060 PyObject * obj1 = 0 ;
14061 char *kwnames[] = {
14062 (char *) "self",(char *) "m_altDown", NULL
14063 };
14064
14065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14067 arg2 = PyInt_AsLong(obj1) ? true : false;
14068 if (PyErr_Occurred()) SWIG_fail;
14069 if (arg1) (arg1)->m_altDown = arg2;
14070
14071 Py_INCREF(Py_None); resultobj = Py_None;
14072 return resultobj;
14073 fail:
14074 return NULL;
14075 }
14076
14077
14078 static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14079 PyObject *resultobj;
14080 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14081 bool result;
14082 PyObject * obj0 = 0 ;
14083 char *kwnames[] = {
14084 (char *) "self", NULL
14085 };
14086
14087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14089 result = (bool) ((arg1)->m_altDown);
14090
14091 resultobj = PyInt_FromLong((long)result);
14092 return resultobj;
14093 fail:
14094 return NULL;
14095 }
14096
14097
14098 static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14099 PyObject *resultobj;
14100 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14101 bool arg2 ;
14102 PyObject * obj0 = 0 ;
14103 PyObject * obj1 = 0 ;
14104 char *kwnames[] = {
14105 (char *) "self",(char *) "m_metaDown", NULL
14106 };
14107
14108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
14109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14110 arg2 = PyInt_AsLong(obj1) ? true : false;
14111 if (PyErr_Occurred()) SWIG_fail;
14112 if (arg1) (arg1)->m_metaDown = arg2;
14113
14114 Py_INCREF(Py_None); resultobj = Py_None;
14115 return resultobj;
14116 fail:
14117 return NULL;
14118 }
14119
14120
14121 static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14122 PyObject *resultobj;
14123 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14124 bool result;
14125 PyObject * obj0 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
14131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14132 result = (bool) ((arg1)->m_metaDown);
14133
14134 resultobj = PyInt_FromLong((long)result);
14135 return resultobj;
14136 fail:
14137 return NULL;
14138 }
14139
14140
14141 static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14142 PyObject *resultobj;
14143 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14144 bool arg2 ;
14145 PyObject * obj0 = 0 ;
14146 PyObject * obj1 = 0 ;
14147 char *kwnames[] = {
14148 (char *) "self",(char *) "m_scanCode", NULL
14149 };
14150
14151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
14152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14153 arg2 = PyInt_AsLong(obj1) ? true : false;
14154 if (PyErr_Occurred()) SWIG_fail;
14155 if (arg1) (arg1)->m_scanCode = arg2;
14156
14157 Py_INCREF(Py_None); resultobj = Py_None;
14158 return resultobj;
14159 fail:
14160 return NULL;
14161 }
14162
14163
14164 static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14165 PyObject *resultobj;
14166 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14167 bool result;
14168 PyObject * obj0 = 0 ;
14169 char *kwnames[] = {
14170 (char *) "self", NULL
14171 };
14172
14173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
14174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14175 result = (bool) ((arg1)->m_scanCode);
14176
14177 resultobj = PyInt_FromLong((long)result);
14178 return resultobj;
14179 fail:
14180 return NULL;
14181 }
14182
14183
14184 static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14185 PyObject *resultobj;
14186 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14187 unsigned int arg2 ;
14188 PyObject * obj0 = 0 ;
14189 PyObject * obj1 = 0 ;
14190 char *kwnames[] = {
14191 (char *) "self",(char *) "m_rawCode", NULL
14192 };
14193
14194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
14195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14196 arg2 = (unsigned int) PyInt_AsLong(obj1);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 if (arg1) (arg1)->m_rawCode = arg2;
14199
14200 Py_INCREF(Py_None); resultobj = Py_None;
14201 return resultobj;
14202 fail:
14203 return NULL;
14204 }
14205
14206
14207 static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14208 PyObject *resultobj;
14209 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14210 unsigned int result;
14211 PyObject * obj0 = 0 ;
14212 char *kwnames[] = {
14213 (char *) "self", NULL
14214 };
14215
14216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
14217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14218 result = (unsigned int) ((arg1)->m_rawCode);
14219
14220 resultobj = PyInt_FromLong((long)result);
14221 return resultobj;
14222 fail:
14223 return NULL;
14224 }
14225
14226
14227 static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14228 PyObject *resultobj;
14229 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14230 unsigned int arg2 ;
14231 PyObject * obj0 = 0 ;
14232 PyObject * obj1 = 0 ;
14233 char *kwnames[] = {
14234 (char *) "self",(char *) "m_rawFlags", NULL
14235 };
14236
14237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
14238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14239 arg2 = (unsigned int) PyInt_AsLong(obj1);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 if (arg1) (arg1)->m_rawFlags = arg2;
14242
14243 Py_INCREF(Py_None); resultobj = Py_None;
14244 return resultobj;
14245 fail:
14246 return NULL;
14247 }
14248
14249
14250 static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14253 unsigned int result;
14254 PyObject * obj0 = 0 ;
14255 char *kwnames[] = {
14256 (char *) "self", NULL
14257 };
14258
14259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
14260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14261 result = (unsigned int) ((arg1)->m_rawFlags);
14262
14263 resultobj = PyInt_FromLong((long)result);
14264 return resultobj;
14265 fail:
14266 return NULL;
14267 }
14268
14269
14270 static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
14271 PyObject *obj;
14272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14273 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
14274 Py_INCREF(obj);
14275 return Py_BuildValue((char *)"");
14276 }
14277 static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj;
14279 wxSize const &arg1_defvalue = wxDefaultSize ;
14280 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
14281 int arg2 = (int) 0 ;
14282 wxSizeEvent *result;
14283 wxSize temp1 ;
14284 PyObject * obj0 = 0 ;
14285 char *kwnames[] = {
14286 (char *) "sz",(char *) "winid", NULL
14287 };
14288
14289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_SizeEvent",kwnames,&obj0,&arg2)) goto fail;
14290 if (obj0) {
14291 {
14292 arg1 = &temp1;
14293 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
14294 }
14295 }
14296 {
14297 PyThreadState* __tstate = wxPyBeginAllowThreads();
14298 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
14299
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizeEvent, 1);
14304 return resultobj;
14305 fail:
14306 return NULL;
14307 }
14308
14309
14310 static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14311 PyObject *resultobj;
14312 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14313 wxSize result;
14314 PyObject * obj0 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "self", NULL
14317 };
14318
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
14320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14321 {
14322 PyThreadState* __tstate = wxPyBeginAllowThreads();
14323 result = ((wxSizeEvent const *)arg1)->GetSize();
14324
14325 wxPyEndAllowThreads(__tstate);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 }
14328 {
14329 wxSize * resultptr;
14330 resultptr = new wxSize((wxSize &) result);
14331 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14332 }
14333 return resultobj;
14334 fail:
14335 return NULL;
14336 }
14337
14338
14339 static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14340 PyObject *resultobj;
14341 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14342 wxRect result;
14343 PyObject * obj0 = 0 ;
14344 char *kwnames[] = {
14345 (char *) "self", NULL
14346 };
14347
14348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
14349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14350 {
14351 PyThreadState* __tstate = wxPyBeginAllowThreads();
14352 result = ((wxSizeEvent const *)arg1)->GetRect();
14353
14354 wxPyEndAllowThreads(__tstate);
14355 if (PyErr_Occurred()) SWIG_fail;
14356 }
14357 {
14358 wxRect * resultptr;
14359 resultptr = new wxRect((wxRect &) result);
14360 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14361 }
14362 return resultobj;
14363 fail:
14364 return NULL;
14365 }
14366
14367
14368 static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14369 PyObject *resultobj;
14370 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14371 wxRect arg2 ;
14372 wxRect *argp2 ;
14373 PyObject * obj0 = 0 ;
14374 PyObject * obj1 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self",(char *) "rect", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14381 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14382 arg2 = *argp2;
14383 {
14384 PyThreadState* __tstate = wxPyBeginAllowThreads();
14385 (arg1)->SetRect(arg2);
14386
14387 wxPyEndAllowThreads(__tstate);
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
14390 Py_INCREF(Py_None); resultobj = Py_None;
14391 return resultobj;
14392 fail:
14393 return NULL;
14394 }
14395
14396
14397 static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14398 PyObject *resultobj;
14399 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14400 wxSize arg2 ;
14401 wxSize *argp2 ;
14402 PyObject * obj0 = 0 ;
14403 PyObject * obj1 = 0 ;
14404 char *kwnames[] = {
14405 (char *) "self",(char *) "size", NULL
14406 };
14407
14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
14409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14410 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14411 arg2 = *argp2;
14412 {
14413 PyThreadState* __tstate = wxPyBeginAllowThreads();
14414 wxSizeEvent_SetSize(arg1,arg2);
14415
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
14419 Py_INCREF(Py_None); resultobj = Py_None;
14420 return resultobj;
14421 fail:
14422 return NULL;
14423 }
14424
14425
14426 static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14427 PyObject *resultobj;
14428 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14429 wxSize *arg2 = (wxSize *) 0 ;
14430 PyObject * obj0 = 0 ;
14431 PyObject * obj1 = 0 ;
14432 char *kwnames[] = {
14433 (char *) "self",(char *) "m_size", NULL
14434 };
14435
14436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
14437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14439 if (arg1) (arg1)->m_size = *arg2;
14440
14441 Py_INCREF(Py_None); resultobj = Py_None;
14442 return resultobj;
14443 fail:
14444 return NULL;
14445 }
14446
14447
14448 static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14449 PyObject *resultobj;
14450 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14451 wxSize *result;
14452 PyObject * obj0 = 0 ;
14453 char *kwnames[] = {
14454 (char *) "self", NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
14458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14459 result = (wxSize *)& ((arg1)->m_size);
14460
14461 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14462 return resultobj;
14463 fail:
14464 return NULL;
14465 }
14466
14467
14468 static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14469 PyObject *resultobj;
14470 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14471 wxRect *arg2 = (wxRect *) 0 ;
14472 PyObject * obj0 = 0 ;
14473 PyObject * obj1 = 0 ;
14474 char *kwnames[] = {
14475 (char *) "self",(char *) "m_rect", NULL
14476 };
14477
14478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14481 if (arg1) (arg1)->m_rect = *arg2;
14482
14483 Py_INCREF(Py_None); resultobj = Py_None;
14484 return resultobj;
14485 fail:
14486 return NULL;
14487 }
14488
14489
14490 static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj;
14492 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14493 wxRect *result;
14494 PyObject * obj0 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
14500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14501 result = (wxRect *)& ((arg1)->m_rect);
14502
14503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14504 return resultobj;
14505 fail:
14506 return NULL;
14507 }
14508
14509
14510 static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
14511 PyObject *obj;
14512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14513 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
14514 Py_INCREF(obj);
14515 return Py_BuildValue((char *)"");
14516 }
14517 static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14518 PyObject *resultobj;
14519 wxPoint const &arg1_defvalue = wxDefaultPosition ;
14520 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
14521 int arg2 = (int) 0 ;
14522 wxMoveEvent *result;
14523 wxPoint temp1 ;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "pos",(char *) "winid", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_MoveEvent",kwnames,&obj0,&arg2)) goto fail;
14530 if (obj0) {
14531 {
14532 arg1 = &temp1;
14533 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
14534 }
14535 }
14536 {
14537 PyThreadState* __tstate = wxPyBeginAllowThreads();
14538 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
14539
14540 wxPyEndAllowThreads(__tstate);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
14543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMoveEvent, 1);
14544 return resultobj;
14545 fail:
14546 return NULL;
14547 }
14548
14549
14550 static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14551 PyObject *resultobj;
14552 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14553 wxPoint result;
14554 PyObject * obj0 = 0 ;
14555 char *kwnames[] = {
14556 (char *) "self", NULL
14557 };
14558
14559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
14560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 result = ((wxMoveEvent const *)arg1)->GetPosition();
14564
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 {
14569 wxPoint * resultptr;
14570 resultptr = new wxPoint((wxPoint &) result);
14571 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
14572 }
14573 return resultobj;
14574 fail:
14575 return NULL;
14576 }
14577
14578
14579 static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14580 PyObject *resultobj;
14581 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14582 wxRect result;
14583 PyObject * obj0 = 0 ;
14584 char *kwnames[] = {
14585 (char *) "self", NULL
14586 };
14587
14588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
14589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14590 {
14591 PyThreadState* __tstate = wxPyBeginAllowThreads();
14592 result = ((wxMoveEvent const *)arg1)->GetRect();
14593
14594 wxPyEndAllowThreads(__tstate);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 }
14597 {
14598 wxRect * resultptr;
14599 resultptr = new wxRect((wxRect &) result);
14600 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14601 }
14602 return resultobj;
14603 fail:
14604 return NULL;
14605 }
14606
14607
14608 static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14609 PyObject *resultobj;
14610 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14611 wxRect arg2 ;
14612 wxRect *argp2 ;
14613 PyObject * obj0 = 0 ;
14614 PyObject * obj1 = 0 ;
14615 char *kwnames[] = {
14616 (char *) "self",(char *) "rect", NULL
14617 };
14618
14619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14621 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14622 arg2 = *argp2;
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
14625 (arg1)->SetRect(arg2);
14626
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 Py_INCREF(Py_None); resultobj = Py_None;
14631 return resultobj;
14632 fail:
14633 return NULL;
14634 }
14635
14636
14637 static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14640 wxPoint arg2 ;
14641 wxPoint *argp2 ;
14642 PyObject * obj0 = 0 ;
14643 PyObject * obj1 = 0 ;
14644 char *kwnames[] = {
14645 (char *) "self",(char *) "pos", NULL
14646 };
14647
14648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
14649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14650 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14651 arg2 = *argp2;
14652 {
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 wxMoveEvent_SetPosition(arg1,arg2);
14655
14656 wxPyEndAllowThreads(__tstate);
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
14659 Py_INCREF(Py_None); resultobj = Py_None;
14660 return resultobj;
14661 fail:
14662 return NULL;
14663 }
14664
14665
14666 static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14667 PyObject *resultobj;
14668 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14669 wxPoint *arg2 = (wxPoint *) 0 ;
14670 PyObject * obj0 = 0 ;
14671 PyObject * obj1 = 0 ;
14672 char *kwnames[] = {
14673 (char *) "self",(char *) "m_pos", NULL
14674 };
14675
14676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
14677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14679 if (arg1) (arg1)->m_pos = *arg2;
14680
14681 Py_INCREF(Py_None); resultobj = Py_None;
14682 return resultobj;
14683 fail:
14684 return NULL;
14685 }
14686
14687
14688 static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14689 PyObject *resultobj;
14690 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14691 wxPoint *result;
14692 PyObject * obj0 = 0 ;
14693 char *kwnames[] = {
14694 (char *) "self", NULL
14695 };
14696
14697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
14698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14699 result = (wxPoint *)& ((arg1)->m_pos);
14700
14701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
14702 return resultobj;
14703 fail:
14704 return NULL;
14705 }
14706
14707
14708 static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14709 PyObject *resultobj;
14710 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14711 wxRect *arg2 = (wxRect *) 0 ;
14712 PyObject * obj0 = 0 ;
14713 PyObject * obj1 = 0 ;
14714 char *kwnames[] = {
14715 (char *) "self",(char *) "m_rect", NULL
14716 };
14717
14718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14721 if (arg1) (arg1)->m_rect = *arg2;
14722
14723 Py_INCREF(Py_None); resultobj = Py_None;
14724 return resultobj;
14725 fail:
14726 return NULL;
14727 }
14728
14729
14730 static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14733 wxRect *result;
14734 PyObject * obj0 = 0 ;
14735 char *kwnames[] = {
14736 (char *) "self", NULL
14737 };
14738
14739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
14740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14741 result = (wxRect *)& ((arg1)->m_rect);
14742
14743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14744 return resultobj;
14745 fail:
14746 return NULL;
14747 }
14748
14749
14750 static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
14751 PyObject *obj;
14752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14753 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
14754 Py_INCREF(obj);
14755 return Py_BuildValue((char *)"");
14756 }
14757 static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14758 PyObject *resultobj;
14759 int arg1 = (int) 0 ;
14760 wxPaintEvent *result;
14761 char *kwnames[] = {
14762 (char *) "Id", NULL
14763 };
14764
14765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaintEvent",kwnames,&arg1)) goto fail;
14766 {
14767 PyThreadState* __tstate = wxPyBeginAllowThreads();
14768 result = (wxPaintEvent *)new wxPaintEvent(arg1);
14769
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
14773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaintEvent, 1);
14774 return resultobj;
14775 fail:
14776 return NULL;
14777 }
14778
14779
14780 static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
14781 PyObject *obj;
14782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14783 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
14784 Py_INCREF(obj);
14785 return Py_BuildValue((char *)"");
14786 }
14787 static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14788 PyObject *resultobj;
14789 int arg1 = (int) 0 ;
14790 wxNcPaintEvent *result;
14791 char *kwnames[] = {
14792 (char *) "winid", NULL
14793 };
14794
14795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_NcPaintEvent",kwnames,&arg1)) goto fail;
14796 {
14797 PyThreadState* __tstate = wxPyBeginAllowThreads();
14798 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
14799
14800 wxPyEndAllowThreads(__tstate);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNcPaintEvent, 1);
14804 return resultobj;
14805 fail:
14806 return NULL;
14807 }
14808
14809
14810 static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
14811 PyObject *obj;
14812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14813 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
14814 Py_INCREF(obj);
14815 return Py_BuildValue((char *)"");
14816 }
14817 static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 int arg1 = (int) 0 ;
14820 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
14821 wxEraseEvent *result;
14822 PyObject * obj1 = 0 ;
14823 char *kwnames[] = {
14824 (char *) "Id",(char *) "dc", NULL
14825 };
14826
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_EraseEvent",kwnames,&arg1,&obj1)) goto fail;
14828 if (obj1) {
14829 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14830 }
14831 {
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
14834
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
14838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEraseEvent, 1);
14839 return resultobj;
14840 fail:
14841 return NULL;
14842 }
14843
14844
14845 static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14846 PyObject *resultobj;
14847 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
14848 wxDC *result;
14849 PyObject * obj0 = 0 ;
14850 char *kwnames[] = {
14851 (char *) "self", NULL
14852 };
14853
14854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
14855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEraseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14856 {
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
14859
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
14863 {
14864 resultobj = wxPyMake_wxObject(result);
14865 }
14866 return resultobj;
14867 fail:
14868 return NULL;
14869 }
14870
14871
14872 static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
14873 PyObject *obj;
14874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14875 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
14876 Py_INCREF(obj);
14877 return Py_BuildValue((char *)"");
14878 }
14879 static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14880 PyObject *resultobj;
14881 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14882 int arg2 = (int) 0 ;
14883 wxFocusEvent *result;
14884 char *kwnames[] = {
14885 (char *) "type",(char *) "winid", NULL
14886 };
14887
14888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FocusEvent",kwnames,&arg1,&arg2)) goto fail;
14889 {
14890 PyThreadState* __tstate = wxPyBeginAllowThreads();
14891 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
14892
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFocusEvent, 1);
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj;
14905 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
14906 wxWindow *result;
14907 PyObject * obj0 = 0 ;
14908 char *kwnames[] = {
14909 (char *) "self", NULL
14910 };
14911
14912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
14913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14914 {
14915 PyThreadState* __tstate = wxPyBeginAllowThreads();
14916 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
14917
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 {
14922 resultobj = wxPyMake_wxObject(result);
14923 }
14924 return resultobj;
14925 fail:
14926 return NULL;
14927 }
14928
14929
14930 static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
14933 wxWindow *arg2 = (wxWindow *) 0 ;
14934 PyObject * obj0 = 0 ;
14935 PyObject * obj1 = 0 ;
14936 char *kwnames[] = {
14937 (char *) "self",(char *) "win", NULL
14938 };
14939
14940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
14941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 (arg1)->SetWindow(arg2);
14946
14947 wxPyEndAllowThreads(__tstate);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 Py_INCREF(Py_None); resultobj = Py_None;
14951 return resultobj;
14952 fail:
14953 return NULL;
14954 }
14955
14956
14957 static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
14958 PyObject *obj;
14959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14960 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
14961 Py_INCREF(obj);
14962 return Py_BuildValue((char *)"");
14963 }
14964 static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14965 PyObject *resultobj;
14966 wxWindow *arg1 = (wxWindow *) NULL ;
14967 wxChildFocusEvent *result;
14968 PyObject * obj0 = 0 ;
14969 char *kwnames[] = {
14970 (char *) "win", NULL
14971 };
14972
14973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
14974 if (obj0) {
14975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14976 }
14977 {
14978 PyThreadState* __tstate = wxPyBeginAllowThreads();
14979 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
14980
14981 wxPyEndAllowThreads(__tstate);
14982 if (PyErr_Occurred()) SWIG_fail;
14983 }
14984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChildFocusEvent, 1);
14985 return resultobj;
14986 fail:
14987 return NULL;
14988 }
14989
14990
14991 static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
14994 wxWindow *result;
14995 PyObject * obj0 = 0 ;
14996 char *kwnames[] = {
14997 (char *) "self", NULL
14998 };
14999
15000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChildFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15002 {
15003 PyThreadState* __tstate = wxPyBeginAllowThreads();
15004 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
15005
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 {
15010 resultobj = wxPyMake_wxObject(result);
15011 }
15012 return resultobj;
15013 fail:
15014 return NULL;
15015 }
15016
15017
15018 static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
15019 PyObject *obj;
15020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15021 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
15022 Py_INCREF(obj);
15023 return Py_BuildValue((char *)"");
15024 }
15025 static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15028 bool arg2 = (bool) True ;
15029 int arg3 = (int) 0 ;
15030 wxActivateEvent *result;
15031 PyObject * obj1 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "type",(char *) "active",(char *) "Id", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iOi:new_ActivateEvent",kwnames,&arg1,&obj1,&arg3)) goto fail;
15037 if (obj1) {
15038 arg2 = PyInt_AsLong(obj1) ? true : false;
15039 if (PyErr_Occurred()) SWIG_fail;
15040 }
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxActivateEvent, 1);
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj;
15057 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
15058 bool result;
15059 PyObject * obj0 = 0 ;
15060 char *kwnames[] = {
15061 (char *) "self", NULL
15062 };
15063
15064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxActivateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
15068 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
15069
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 resultobj = PyInt_FromLong((long)result);
15074 return resultobj;
15075 fail:
15076 return NULL;
15077 }
15078
15079
15080 static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
15081 PyObject *obj;
15082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15083 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
15084 Py_INCREF(obj);
15085 return Py_BuildValue((char *)"");
15086 }
15087 static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15088 PyObject *resultobj;
15089 int arg1 = (int) 0 ;
15090 wxInitDialogEvent *result;
15091 char *kwnames[] = {
15092 (char *) "Id", NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_InitDialogEvent",kwnames,&arg1)) goto fail;
15096 {
15097 PyThreadState* __tstate = wxPyBeginAllowThreads();
15098 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
15099
15100 wxPyEndAllowThreads(__tstate);
15101 if (PyErr_Occurred()) SWIG_fail;
15102 }
15103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInitDialogEvent, 1);
15104 return resultobj;
15105 fail:
15106 return NULL;
15107 }
15108
15109
15110 static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
15111 PyObject *obj;
15112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15113 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
15114 Py_INCREF(obj);
15115 return Py_BuildValue((char *)"");
15116 }
15117 static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15118 PyObject *resultobj;
15119 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15120 int arg2 = (int) 0 ;
15121 wxMenu *arg3 = (wxMenu *) NULL ;
15122 wxMenuEvent *result;
15123 PyObject * obj2 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "type",(char *) "winid",(char *) "menu", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_MenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
15129 if (obj2) {
15130 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15131 }
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMenuEvent, 1);
15140 return resultobj;
15141 fail:
15142 return NULL;
15143 }
15144
15145
15146 static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
15147 PyObject *resultobj;
15148 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15149 int result;
15150 PyObject * obj0 = 0 ;
15151 char *kwnames[] = {
15152 (char *) "self", NULL
15153 };
15154
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
15159 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
15160
15161 wxPyEndAllowThreads(__tstate);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
15164 resultobj = PyInt_FromLong((long)result);
15165 return resultobj;
15166 fail:
15167 return NULL;
15168 }
15169
15170
15171 static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15174 bool result;
15175 PyObject * obj0 = 0 ;
15176 char *kwnames[] = {
15177 (char *) "self", NULL
15178 };
15179
15180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
15185
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 resultobj = PyInt_FromLong((long)result);
15190 return resultobj;
15191 fail:
15192 return NULL;
15193 }
15194
15195
15196 static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
15197 PyObject *resultobj;
15198 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15199 wxMenu *result;
15200 PyObject * obj0 = 0 ;
15201 char *kwnames[] = {
15202 (char *) "self", NULL
15203 };
15204
15205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15207 {
15208 PyThreadState* __tstate = wxPyBeginAllowThreads();
15209 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
15210
15211 wxPyEndAllowThreads(__tstate);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 }
15214 {
15215 resultobj = wxPyMake_wxObject(result);
15216 }
15217 return resultobj;
15218 fail:
15219 return NULL;
15220 }
15221
15222
15223 static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
15224 PyObject *obj;
15225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15226 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
15227 Py_INCREF(obj);
15228 return Py_BuildValue((char *)"");
15229 }
15230 static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15231 PyObject *resultobj;
15232 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15233 int arg2 = (int) 0 ;
15234 wxCloseEvent *result;
15235 char *kwnames[] = {
15236 (char *) "type",(char *) "winid", NULL
15237 };
15238
15239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CloseEvent",kwnames,&arg1,&arg2)) goto fail;
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
15243
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
15247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCloseEvent, 1);
15248 return resultobj;
15249 fail:
15250 return NULL;
15251 }
15252
15253
15254 static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15255 PyObject *resultobj;
15256 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15257 bool arg2 ;
15258 PyObject * obj0 = 0 ;
15259 PyObject * obj1 = 0 ;
15260 char *kwnames[] = {
15261 (char *) "self",(char *) "logOff", NULL
15262 };
15263
15264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15266 arg2 = PyInt_AsLong(obj1) ? true : false;
15267 if (PyErr_Occurred()) SWIG_fail;
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 (arg1)->SetLoggingOff(arg2);
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 Py_INCREF(Py_None); resultobj = Py_None;
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj;
15284 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15285 bool result;
15286 PyObject * obj0 = 0 ;
15287 char *kwnames[] = {
15288 (char *) "self", NULL
15289 };
15290
15291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
15296
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
15300 resultobj = PyInt_FromLong((long)result);
15301 return resultobj;
15302 fail:
15303 return NULL;
15304 }
15305
15306
15307 static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
15308 PyObject *resultobj;
15309 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15310 bool arg2 = (bool) True ;
15311 PyObject * obj0 = 0 ;
15312 PyObject * obj1 = 0 ;
15313 char *kwnames[] = {
15314 (char *) "self",(char *) "veto", NULL
15315 };
15316
15317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15319 if (obj1) {
15320 arg2 = PyInt_AsLong(obj1) ? true : false;
15321 if (PyErr_Occurred()) SWIG_fail;
15322 }
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 (arg1)->Veto(arg2);
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 Py_INCREF(Py_None); resultobj = Py_None;
15331 return resultobj;
15332 fail:
15333 return NULL;
15334 }
15335
15336
15337 static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15340 bool arg2 ;
15341 PyObject * obj0 = 0 ;
15342 PyObject * obj1 = 0 ;
15343 char *kwnames[] = {
15344 (char *) "self",(char *) "canVeto", NULL
15345 };
15346
15347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15349 arg2 = PyInt_AsLong(obj1) ? true : false;
15350 if (PyErr_Occurred()) SWIG_fail;
15351 {
15352 PyThreadState* __tstate = wxPyBeginAllowThreads();
15353 (arg1)->SetCanVeto(arg2);
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15358 Py_INCREF(Py_None); resultobj = Py_None;
15359 return resultobj;
15360 fail:
15361 return NULL;
15362 }
15363
15364
15365 static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15366 PyObject *resultobj;
15367 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15368 bool result;
15369 PyObject * obj0 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "self", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 resultobj = PyInt_FromLong((long)result);
15384 return resultobj;
15385 fail:
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15393 bool result;
15394 PyObject * obj0 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
15404
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 resultobj = PyInt_FromLong((long)result);
15409 return resultobj;
15410 fail:
15411 return NULL;
15412 }
15413
15414
15415 static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
15416 PyObject *obj;
15417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15418 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
15419 Py_INCREF(obj);
15420 return Py_BuildValue((char *)"");
15421 }
15422 static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15423 PyObject *resultobj;
15424 int arg1 = (int) 0 ;
15425 bool arg2 = (bool) False ;
15426 wxShowEvent *result;
15427 PyObject * obj1 = 0 ;
15428 char *kwnames[] = {
15429 (char *) "winid",(char *) "show", NULL
15430 };
15431
15432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_ShowEvent",kwnames,&arg1,&obj1)) goto fail;
15433 if (obj1) {
15434 arg2 = PyInt_AsLong(obj1) ? true : false;
15435 if (PyErr_Occurred()) SWIG_fail;
15436 }
15437 {
15438 PyThreadState* __tstate = wxPyBeginAllowThreads();
15439 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
15440
15441 wxPyEndAllowThreads(__tstate);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 }
15444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShowEvent, 1);
15445 return resultobj;
15446 fail:
15447 return NULL;
15448 }
15449
15450
15451 static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15452 PyObject *resultobj;
15453 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15454 bool arg2 ;
15455 PyObject * obj0 = 0 ;
15456 PyObject * obj1 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "self",(char *) "show", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15463 arg2 = PyInt_AsLong(obj1) ? true : false;
15464 if (PyErr_Occurred()) SWIG_fail;
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 (arg1)->SetShow(arg2);
15468
15469 wxPyEndAllowThreads(__tstate);
15470 if (PyErr_Occurred()) SWIG_fail;
15471 }
15472 Py_INCREF(Py_None); resultobj = Py_None;
15473 return resultobj;
15474 fail:
15475 return NULL;
15476 }
15477
15478
15479 static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15480 PyObject *resultobj;
15481 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15482 bool result;
15483 PyObject * obj0 = 0 ;
15484 char *kwnames[] = {
15485 (char *) "self", NULL
15486 };
15487
15488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15490 {
15491 PyThreadState* __tstate = wxPyBeginAllowThreads();
15492 result = (bool)((wxShowEvent const *)arg1)->GetShow();
15493
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 resultobj = PyInt_FromLong((long)result);
15498 return resultobj;
15499 fail:
15500 return NULL;
15501 }
15502
15503
15504 static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
15505 PyObject *obj;
15506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15507 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
15508 Py_INCREF(obj);
15509 return Py_BuildValue((char *)"");
15510 }
15511 static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15512 PyObject *resultobj;
15513 int arg1 = (int) 0 ;
15514 bool arg2 = (bool) True ;
15515 wxIconizeEvent *result;
15516 PyObject * obj1 = 0 ;
15517 char *kwnames[] = {
15518 (char *) "id",(char *) "iconized", NULL
15519 };
15520
15521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_IconizeEvent",kwnames,&arg1,&obj1)) goto fail;
15522 if (obj1) {
15523 arg2 = PyInt_AsLong(obj1) ? true : false;
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 {
15527 PyThreadState* __tstate = wxPyBeginAllowThreads();
15528 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
15529
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIconizeEvent, 1);
15534 return resultobj;
15535 fail:
15536 return NULL;
15537 }
15538
15539
15540 static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
15541 PyObject *resultobj;
15542 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
15543 bool result;
15544 PyObject * obj0 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self", NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIconizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 result = (bool)(arg1)->Iconized();
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 resultobj = PyInt_FromLong((long)result);
15559 return resultobj;
15560 fail:
15561 return NULL;
15562 }
15563
15564
15565 static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
15566 PyObject *obj;
15567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15568 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
15569 Py_INCREF(obj);
15570 return Py_BuildValue((char *)"");
15571 }
15572 static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 int arg1 = (int) 0 ;
15575 wxMaximizeEvent *result;
15576 char *kwnames[] = {
15577 (char *) "id", NULL
15578 };
15579
15580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MaximizeEvent",kwnames,&arg1)) goto fail;
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMaximizeEvent, 1);
15589 return resultobj;
15590 fail:
15591 return NULL;
15592 }
15593
15594
15595 static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
15596 PyObject *obj;
15597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15598 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
15599 Py_INCREF(obj);
15600 return Py_BuildValue((char *)"");
15601 }
15602 static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15605 wxPoint result;
15606 PyObject * obj0 = 0 ;
15607 char *kwnames[] = {
15608 (char *) "self", NULL
15609 };
15610
15611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 result = (arg1)->GetPosition();
15616
15617 wxPyEndAllowThreads(__tstate);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 }
15620 {
15621 wxPoint * resultptr;
15622 resultptr = new wxPoint((wxPoint &) result);
15623 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15624 }
15625 return resultobj;
15626 fail:
15627 return NULL;
15628 }
15629
15630
15631 static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15632 PyObject *resultobj;
15633 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15634 int result;
15635 PyObject * obj0 = 0 ;
15636 char *kwnames[] = {
15637 (char *) "self", NULL
15638 };
15639
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 result = (int)(arg1)->GetNumberOfFiles();
15645
15646 wxPyEndAllowThreads(__tstate);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 }
15649 resultobj = PyInt_FromLong((long)result);
15650 return resultobj;
15651 fail:
15652 return NULL;
15653 }
15654
15655
15656 static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15659 PyObject *result;
15660 PyObject * obj0 = 0 ;
15661 char *kwnames[] = {
15662 (char *) "self", NULL
15663 };
15664
15665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 resultobj = result;
15675 return resultobj;
15676 fail:
15677 return NULL;
15678 }
15679
15680
15681 static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
15682 PyObject *obj;
15683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15684 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
15685 Py_INCREF(obj);
15686 return Py_BuildValue((char *)"");
15687 }
15688 static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15689 PyObject *resultobj;
15690 int arg1 = (int) 0 ;
15691 wxUpdateUIEvent *result;
15692 char *kwnames[] = {
15693 (char *) "commandId", NULL
15694 };
15695
15696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_UpdateUIEvent",kwnames,&arg1)) goto fail;
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
15700
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxUpdateUIEvent, 1);
15705 return resultobj;
15706 fail:
15707 return NULL;
15708 }
15709
15710
15711 static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15712 PyObject *resultobj;
15713 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15714 bool result;
15715 PyObject * obj0 = 0 ;
15716 char *kwnames[] = {
15717 (char *) "self", NULL
15718 };
15719
15720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
15729 resultobj = PyInt_FromLong((long)result);
15730 return resultobj;
15731 fail:
15732 return NULL;
15733 }
15734
15735
15736 static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15737 PyObject *resultobj;
15738 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15739 bool result;
15740 PyObject * obj0 = 0 ;
15741 char *kwnames[] = {
15742 (char *) "self", NULL
15743 };
15744
15745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15747 {
15748 PyThreadState* __tstate = wxPyBeginAllowThreads();
15749 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
15750
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 resultobj = PyInt_FromLong((long)result);
15755 return resultobj;
15756 fail:
15757 return NULL;
15758 }
15759
15760
15761 static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15762 PyObject *resultobj;
15763 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15764 wxString result;
15765 PyObject * obj0 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15772 {
15773 PyThreadState* __tstate = wxPyBeginAllowThreads();
15774 result = ((wxUpdateUIEvent const *)arg1)->GetText();
15775
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 {
15780 #if wxUSE_UNICODE
15781 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15782 #else
15783 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15784 #endif
15785 }
15786 return resultobj;
15787 fail:
15788 return NULL;
15789 }
15790
15791
15792 static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15793 PyObject *resultobj;
15794 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15795 bool result;
15796 PyObject * obj0 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
15806
15807 wxPyEndAllowThreads(__tstate);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 }
15810 resultobj = PyInt_FromLong((long)result);
15811 return resultobj;
15812 fail:
15813 return NULL;
15814 }
15815
15816
15817 static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15818 PyObject *resultobj;
15819 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15820 bool result;
15821 PyObject * obj0 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 resultobj = PyInt_FromLong((long)result);
15836 return resultobj;
15837 fail:
15838 return NULL;
15839 }
15840
15841
15842 static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15843 PyObject *resultobj;
15844 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15845 bool result;
15846 PyObject * obj0 = 0 ;
15847 char *kwnames[] = {
15848 (char *) "self", NULL
15849 };
15850
15851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
15856
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 resultobj = PyInt_FromLong((long)result);
15861 return resultobj;
15862 fail:
15863 return NULL;
15864 }
15865
15866
15867 static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj;
15869 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15870 bool arg2 ;
15871 PyObject * obj0 = 0 ;
15872 PyObject * obj1 = 0 ;
15873 char *kwnames[] = {
15874 (char *) "self",(char *) "check", NULL
15875 };
15876
15877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15879 arg2 = PyInt_AsLong(obj1) ? true : false;
15880 if (PyErr_Occurred()) SWIG_fail;
15881 {
15882 PyThreadState* __tstate = wxPyBeginAllowThreads();
15883 (arg1)->Check(arg2);
15884
15885 wxPyEndAllowThreads(__tstate);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 }
15888 Py_INCREF(Py_None); resultobj = Py_None;
15889 return resultobj;
15890 fail:
15891 return NULL;
15892 }
15893
15894
15895 static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15896 PyObject *resultobj;
15897 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15898 bool arg2 ;
15899 PyObject * obj0 = 0 ;
15900 PyObject * obj1 = 0 ;
15901 char *kwnames[] = {
15902 (char *) "self",(char *) "enable", NULL
15903 };
15904
15905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15907 arg2 = PyInt_AsLong(obj1) ? true : false;
15908 if (PyErr_Occurred()) SWIG_fail;
15909 {
15910 PyThreadState* __tstate = wxPyBeginAllowThreads();
15911 (arg1)->Enable(arg2);
15912
15913 wxPyEndAllowThreads(__tstate);
15914 if (PyErr_Occurred()) SWIG_fail;
15915 }
15916 Py_INCREF(Py_None); resultobj = Py_None;
15917 return resultobj;
15918 fail:
15919 return NULL;
15920 }
15921
15922
15923 static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15924 PyObject *resultobj;
15925 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15926 wxString *arg2 = 0 ;
15927 bool temp2 = False ;
15928 PyObject * obj0 = 0 ;
15929 PyObject * obj1 = 0 ;
15930 char *kwnames[] = {
15931 (char *) "self",(char *) "text", NULL
15932 };
15933
15934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15936 {
15937 arg2 = wxString_in_helper(obj1);
15938 if (arg2 == NULL) SWIG_fail;
15939 temp2 = True;
15940 }
15941 {
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 (arg1)->SetText((wxString const &)*arg2);
15944
15945 wxPyEndAllowThreads(__tstate);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 }
15948 Py_INCREF(Py_None); resultobj = Py_None;
15949 {
15950 if (temp2)
15951 delete arg2;
15952 }
15953 return resultobj;
15954 fail:
15955 {
15956 if (temp2)
15957 delete arg2;
15958 }
15959 return NULL;
15960 }
15961
15962
15963 static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
15964 PyObject *resultobj;
15965 long arg1 ;
15966 char *kwnames[] = {
15967 (char *) "updateInterval", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames,&arg1)) goto fail;
15971 {
15972 PyThreadState* __tstate = wxPyBeginAllowThreads();
15973 wxUpdateUIEvent::SetUpdateInterval(arg1);
15974
15975 wxPyEndAllowThreads(__tstate);
15976 if (PyErr_Occurred()) SWIG_fail;
15977 }
15978 Py_INCREF(Py_None); resultobj = Py_None;
15979 return resultobj;
15980 fail:
15981 return NULL;
15982 }
15983
15984
15985 static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
15986 PyObject *resultobj;
15987 long result;
15988 char *kwnames[] = {
15989 NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
15993 {
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 result = (long)wxUpdateUIEvent::GetUpdateInterval();
15996
15997 wxPyEndAllowThreads(__tstate);
15998 if (PyErr_Occurred()) SWIG_fail;
15999 }
16000 resultobj = PyInt_FromLong((long)result);
16001 return resultobj;
16002 fail:
16003 return NULL;
16004 }
16005
16006
16007 static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
16008 PyObject *resultobj;
16009 wxWindow *arg1 = (wxWindow *) 0 ;
16010 bool result;
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "win", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
16017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
16021
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
16025 resultobj = PyInt_FromLong((long)result);
16026 return resultobj;
16027 fail:
16028 return NULL;
16029 }
16030
16031
16032 static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16033 PyObject *resultobj;
16034 char *kwnames[] = {
16035 NULL
16036 };
16037
16038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 wxUpdateUIEvent::ResetUpdateTime();
16042
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 Py_INCREF(Py_None); resultobj = Py_None;
16047 return resultobj;
16048 fail:
16049 return NULL;
16050 }
16051
16052
16053 static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 int arg1 ;
16056 char *kwnames[] = {
16057 (char *) "mode", NULL
16058 };
16059
16060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:UpdateUIEvent_SetMode",kwnames,&arg1)) goto fail;
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
16064
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 Py_INCREF(Py_None); resultobj = Py_None;
16069 return resultobj;
16070 fail:
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 int result;
16078 char *kwnames[] = {
16079 NULL
16080 };
16081
16082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 result = (int)wxUpdateUIEvent::GetMode();
16086
16087 wxPyEndAllowThreads(__tstate);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 }
16090 resultobj = PyInt_FromLong((long)result);
16091 return resultobj;
16092 fail:
16093 return NULL;
16094 }
16095
16096
16097 static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
16098 PyObject *obj;
16099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16100 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
16101 Py_INCREF(obj);
16102 return Py_BuildValue((char *)"");
16103 }
16104 static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16105 PyObject *resultobj;
16106 wxSysColourChangedEvent *result;
16107 char *kwnames[] = {
16108 NULL
16109 };
16110
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
16112 {
16113 PyThreadState* __tstate = wxPyBeginAllowThreads();
16114 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSysColourChangedEvent, 1);
16120 return resultobj;
16121 fail:
16122 return NULL;
16123 }
16124
16125
16126 static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
16127 PyObject *obj;
16128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16129 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
16130 Py_INCREF(obj);
16131 return Py_BuildValue((char *)"");
16132 }
16133 static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16134 PyObject *resultobj;
16135 int arg1 = (int) 0 ;
16136 wxWindow *arg2 = (wxWindow *) NULL ;
16137 wxMouseCaptureChangedEvent *result;
16138 PyObject * obj1 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "winid",(char *) "gainedCapture", NULL
16141 };
16142
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames,&arg1,&obj1)) goto fail;
16144 if (obj1) {
16145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16146 }
16147 {
16148 PyThreadState* __tstate = wxPyBeginAllowThreads();
16149 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
16150
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
16155 return resultobj;
16156 fail:
16157 return NULL;
16158 }
16159
16160
16161 static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16162 PyObject *resultobj;
16163 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
16164 wxWindow *result;
16165 PyObject * obj0 = 0 ;
16166 char *kwnames[] = {
16167 (char *) "self", NULL
16168 };
16169
16170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
16171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16172 {
16173 PyThreadState* __tstate = wxPyBeginAllowThreads();
16174 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
16175
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 {
16180 resultobj = wxPyMake_wxObject(result);
16181 }
16182 return resultobj;
16183 fail:
16184 return NULL;
16185 }
16186
16187
16188 static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
16189 PyObject *obj;
16190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16191 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
16192 Py_INCREF(obj);
16193 return Py_BuildValue((char *)"");
16194 }
16195 static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxDisplayChangedEvent *result;
16198 char *kwnames[] = {
16199 NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
16203 {
16204 PyThreadState* __tstate = wxPyBeginAllowThreads();
16205 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
16206
16207 wxPyEndAllowThreads(__tstate);
16208 if (PyErr_Occurred()) SWIG_fail;
16209 }
16210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDisplayChangedEvent, 1);
16211 return resultobj;
16212 fail:
16213 return NULL;
16214 }
16215
16216
16217 static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
16218 PyObject *obj;
16219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16220 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
16221 Py_INCREF(obj);
16222 return Py_BuildValue((char *)"");
16223 }
16224 static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj;
16226 int arg1 = (int) 0 ;
16227 wxPaletteChangedEvent *result;
16228 char *kwnames[] = {
16229 (char *) "id", NULL
16230 };
16231
16232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaletteChangedEvent",kwnames,&arg1)) goto fail;
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
16240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaletteChangedEvent, 1);
16241 return resultobj;
16242 fail:
16243 return NULL;
16244 }
16245
16246
16247 static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16248 PyObject *resultobj;
16249 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16250 wxWindow *arg2 = (wxWindow *) 0 ;
16251 PyObject * obj0 = 0 ;
16252 PyObject * obj1 = 0 ;
16253 char *kwnames[] = {
16254 (char *) "self",(char *) "win", NULL
16255 };
16256
16257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
16258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 (arg1)->SetChangedWindow(arg2);
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 Py_INCREF(Py_None); resultobj = Py_None;
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16277 wxWindow *result;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 result = (wxWindow *)(arg1)->GetChangedWindow();
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 {
16293 resultobj = wxPyMake_wxObject(result);
16294 }
16295 return resultobj;
16296 fail:
16297 return NULL;
16298 }
16299
16300
16301 static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
16302 PyObject *obj;
16303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16304 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
16305 Py_INCREF(obj);
16306 return Py_BuildValue((char *)"");
16307 }
16308 static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj;
16310 int arg1 = (int) 0 ;
16311 wxQueryNewPaletteEvent *result;
16312 char *kwnames[] = {
16313 (char *) "winid", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryNewPaletteEvent",kwnames,&arg1)) goto fail;
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
16325 return resultobj;
16326 fail:
16327 return NULL;
16328 }
16329
16330
16331 static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16332 PyObject *resultobj;
16333 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16334 bool arg2 ;
16335 PyObject * obj0 = 0 ;
16336 PyObject * obj1 = 0 ;
16337 char *kwnames[] = {
16338 (char *) "self",(char *) "realized", NULL
16339 };
16340
16341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
16342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16343 arg2 = PyInt_AsLong(obj1) ? true : false;
16344 if (PyErr_Occurred()) SWIG_fail;
16345 {
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 (arg1)->SetPaletteRealized(arg2);
16348
16349 wxPyEndAllowThreads(__tstate);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 Py_INCREF(Py_None); resultobj = Py_None;
16353 return resultobj;
16354 fail:
16355 return NULL;
16356 }
16357
16358
16359 static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj;
16361 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16362 bool result;
16363 PyObject * obj0 = 0 ;
16364 char *kwnames[] = {
16365 (char *) "self", NULL
16366 };
16367
16368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
16369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16370 {
16371 PyThreadState* __tstate = wxPyBeginAllowThreads();
16372 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 resultobj = PyInt_FromLong((long)result);
16378 return resultobj;
16379 fail:
16380 return NULL;
16381 }
16382
16383
16384 static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
16385 PyObject *obj;
16386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16387 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
16388 Py_INCREF(obj);
16389 return Py_BuildValue((char *)"");
16390 }
16391 static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj;
16393 wxNavigationKeyEvent *result;
16394 char *kwnames[] = {
16395 NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
16399 {
16400 PyThreadState* __tstate = wxPyBeginAllowThreads();
16401 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
16402
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNavigationKeyEvent, 1);
16407 return resultobj;
16408 fail:
16409 return NULL;
16410 }
16411
16412
16413 static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16416 bool result;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 resultobj = PyInt_FromLong((long)result);
16432 return resultobj;
16433 fail:
16434 return NULL;
16435 }
16436
16437
16438 static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16439 PyObject *resultobj;
16440 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16441 bool arg2 ;
16442 PyObject * obj0 = 0 ;
16443 PyObject * obj1 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "self",(char *) "bForward", NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
16449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16450 arg2 = PyInt_AsLong(obj1) ? true : false;
16451 if (PyErr_Occurred()) SWIG_fail;
16452 {
16453 PyThreadState* __tstate = wxPyBeginAllowThreads();
16454 (arg1)->SetDirection(arg2);
16455
16456 wxPyEndAllowThreads(__tstate);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
16459 Py_INCREF(Py_None); resultobj = Py_None;
16460 return resultobj;
16461 fail:
16462 return NULL;
16463 }
16464
16465
16466 static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16467 PyObject *resultobj;
16468 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16469 bool result;
16470 PyObject * obj0 = 0 ;
16471 char *kwnames[] = {
16472 (char *) "self", NULL
16473 };
16474
16475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
16476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16477 {
16478 PyThreadState* __tstate = wxPyBeginAllowThreads();
16479 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
16480
16481 wxPyEndAllowThreads(__tstate);
16482 if (PyErr_Occurred()) SWIG_fail;
16483 }
16484 resultobj = PyInt_FromLong((long)result);
16485 return resultobj;
16486 fail:
16487 return NULL;
16488 }
16489
16490
16491 static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj;
16493 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16494 bool arg2 ;
16495 PyObject * obj0 = 0 ;
16496 PyObject * obj1 = 0 ;
16497 char *kwnames[] = {
16498 (char *) "self",(char *) "bIs", NULL
16499 };
16500
16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
16502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16503 arg2 = PyInt_AsLong(obj1) ? true : false;
16504 if (PyErr_Occurred()) SWIG_fail;
16505 {
16506 PyThreadState* __tstate = wxPyBeginAllowThreads();
16507 (arg1)->SetWindowChange(arg2);
16508
16509 wxPyEndAllowThreads(__tstate);
16510 if (PyErr_Occurred()) SWIG_fail;
16511 }
16512 Py_INCREF(Py_None); resultobj = Py_None;
16513 return resultobj;
16514 fail:
16515 return NULL;
16516 }
16517
16518
16519 static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16520 PyObject *resultobj;
16521 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16522 wxWindow *result;
16523 PyObject * obj0 = 0 ;
16524 char *kwnames[] = {
16525 (char *) "self", NULL
16526 };
16527
16528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
16529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16530 {
16531 PyThreadState* __tstate = wxPyBeginAllowThreads();
16532 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
16533
16534 wxPyEndAllowThreads(__tstate);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 {
16538 resultobj = wxPyMake_wxObject(result);
16539 }
16540 return resultobj;
16541 fail:
16542 return NULL;
16543 }
16544
16545
16546 static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16547 PyObject *resultobj;
16548 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16549 wxWindow *arg2 = (wxWindow *) 0 ;
16550 PyObject * obj0 = 0 ;
16551 PyObject * obj1 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self",(char *) "win", NULL
16554 };
16555
16556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
16557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16559 {
16560 PyThreadState* __tstate = wxPyBeginAllowThreads();
16561 (arg1)->SetCurrentFocus(arg2);
16562
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
16566 Py_INCREF(Py_None); resultobj = Py_None;
16567 return resultobj;
16568 fail:
16569 return NULL;
16570 }
16571
16572
16573 static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
16574 PyObject *obj;
16575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16576 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
16577 Py_INCREF(obj);
16578 return Py_BuildValue((char *)"");
16579 }
16580 static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj;
16582 wxWindow *arg1 = (wxWindow *) NULL ;
16583 wxWindowCreateEvent *result;
16584 PyObject * obj0 = 0 ;
16585 char *kwnames[] = {
16586 (char *) "win", NULL
16587 };
16588
16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
16590 if (obj0) {
16591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16592 }
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowCreateEvent, 1);
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj;
16609 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
16610 wxWindow *result;
16611 PyObject * obj0 = 0 ;
16612 char *kwnames[] = {
16613 (char *) "self", NULL
16614 };
16615
16616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
16617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowCreateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16618 {
16619 PyThreadState* __tstate = wxPyBeginAllowThreads();
16620 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
16621
16622 wxPyEndAllowThreads(__tstate);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 }
16625 {
16626 resultobj = wxPyMake_wxObject(result);
16627 }
16628 return resultobj;
16629 fail:
16630 return NULL;
16631 }
16632
16633
16634 static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
16635 PyObject *obj;
16636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16637 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
16638 Py_INCREF(obj);
16639 return Py_BuildValue((char *)"");
16640 }
16641 static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16642 PyObject *resultobj;
16643 wxWindow *arg1 = (wxWindow *) NULL ;
16644 wxWindowDestroyEvent *result;
16645 PyObject * obj0 = 0 ;
16646 char *kwnames[] = {
16647 (char *) "win", NULL
16648 };
16649
16650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
16651 if (obj0) {
16652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16653 }
16654 {
16655 PyThreadState* __tstate = wxPyBeginAllowThreads();
16656 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
16657
16658 wxPyEndAllowThreads(__tstate);
16659 if (PyErr_Occurred()) SWIG_fail;
16660 }
16661 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDestroyEvent, 1);
16662 return resultobj;
16663 fail:
16664 return NULL;
16665 }
16666
16667
16668 static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
16671 wxWindow *result;
16672 PyObject * obj0 = 0 ;
16673 char *kwnames[] = {
16674 (char *) "self", NULL
16675 };
16676
16677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
16678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDestroyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 {
16687 resultobj = wxPyMake_wxObject(result);
16688 }
16689 return resultobj;
16690 fail:
16691 return NULL;
16692 }
16693
16694
16695 static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
16696 PyObject *obj;
16697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16698 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
16699 Py_INCREF(obj);
16700 return Py_BuildValue((char *)"");
16701 }
16702 static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16703 PyObject *resultobj;
16704 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16705 int arg2 = (int) 0 ;
16706 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16707 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16708 wxContextMenuEvent *result;
16709 wxPoint temp3 ;
16710 PyObject * obj2 = 0 ;
16711 char *kwnames[] = {
16712 (char *) "type",(char *) "winid",(char *) "pt", NULL
16713 };
16714
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_ContextMenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
16716 if (obj2) {
16717 {
16718 arg3 = &temp3;
16719 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16720 }
16721 }
16722 {
16723 PyThreadState* __tstate = wxPyBeginAllowThreads();
16724 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
16725
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextMenuEvent, 1);
16730 return resultobj;
16731 fail:
16732 return NULL;
16733 }
16734
16735
16736 static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj;
16738 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16739 wxPoint *result;
16740 PyObject * obj0 = 0 ;
16741 char *kwnames[] = {
16742 (char *) "self", NULL
16743 };
16744
16745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
16746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16747 {
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 {
16750 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
16751 result = (wxPoint *) &_result_ref;
16752 }
16753
16754 wxPyEndAllowThreads(__tstate);
16755 if (PyErr_Occurred()) SWIG_fail;
16756 }
16757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16758 return resultobj;
16759 fail:
16760 return NULL;
16761 }
16762
16763
16764 static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16765 PyObject *resultobj;
16766 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16767 wxPoint *arg2 = 0 ;
16768 wxPoint temp2 ;
16769 PyObject * obj0 = 0 ;
16770 PyObject * obj1 = 0 ;
16771 char *kwnames[] = {
16772 (char *) "self",(char *) "pos", NULL
16773 };
16774
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16777 {
16778 arg2 = &temp2;
16779 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16780 }
16781 {
16782 PyThreadState* __tstate = wxPyBeginAllowThreads();
16783 (arg1)->SetPosition((wxPoint const &)*arg2);
16784
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 Py_INCREF(Py_None); resultobj = Py_None;
16789 return resultobj;
16790 fail:
16791 return NULL;
16792 }
16793
16794
16795 static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
16796 PyObject *obj;
16797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16798 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
16799 Py_INCREF(obj);
16800 return Py_BuildValue((char *)"");
16801 }
16802 static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16803 PyObject *resultobj;
16804 wxIdleEvent *result;
16805 char *kwnames[] = {
16806 NULL
16807 };
16808
16809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
16810 {
16811 PyThreadState* __tstate = wxPyBeginAllowThreads();
16812 result = (wxIdleEvent *)new wxIdleEvent();
16813
16814 wxPyEndAllowThreads(__tstate);
16815 if (PyErr_Occurred()) SWIG_fail;
16816 }
16817 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIdleEvent, 1);
16818 return resultobj;
16819 fail:
16820 return NULL;
16821 }
16822
16823
16824 static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
16825 PyObject *resultobj;
16826 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
16827 bool arg2 = (bool) True ;
16828 PyObject * obj0 = 0 ;
16829 PyObject * obj1 = 0 ;
16830 char *kwnames[] = {
16831 (char *) "self",(char *) "needMore", NULL
16832 };
16833
16834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
16835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16836 if (obj1) {
16837 arg2 = PyInt_AsLong(obj1) ? true : false;
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 {
16841 PyThreadState* __tstate = wxPyBeginAllowThreads();
16842 (arg1)->RequestMore(arg2);
16843
16844 wxPyEndAllowThreads(__tstate);
16845 if (PyErr_Occurred()) SWIG_fail;
16846 }
16847 Py_INCREF(Py_None); resultobj = Py_None;
16848 return resultobj;
16849 fail:
16850 return NULL;
16851 }
16852
16853
16854 static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
16855 PyObject *resultobj;
16856 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
16857 bool result;
16858 PyObject * obj0 = 0 ;
16859 char *kwnames[] = {
16860 (char *) "self", NULL
16861 };
16862
16863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
16864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
16868
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 resultobj = PyInt_FromLong((long)result);
16873 return resultobj;
16874 fail:
16875 return NULL;
16876 }
16877
16878
16879 static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16880 PyObject *resultobj;
16881 int arg1 ;
16882 char *kwnames[] = {
16883 (char *) "mode", NULL
16884 };
16885
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IdleEvent_SetMode",kwnames,&arg1)) goto fail;
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 wxIdleEvent::SetMode((wxIdleMode )arg1);
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 Py_INCREF(Py_None); resultobj = Py_None;
16895 return resultobj;
16896 fail:
16897 return NULL;
16898 }
16899
16900
16901 static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16902 PyObject *resultobj;
16903 int result;
16904 char *kwnames[] = {
16905 NULL
16906 };
16907
16908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 result = (int)wxIdleEvent::GetMode();
16912
16913 wxPyEndAllowThreads(__tstate);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 resultobj = PyInt_FromLong((long)result);
16917 return resultobj;
16918 fail:
16919 return NULL;
16920 }
16921
16922
16923 static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
16924 PyObject *resultobj;
16925 wxWindow *arg1 = (wxWindow *) 0 ;
16926 bool result;
16927 PyObject * obj0 = 0 ;
16928 char *kwnames[] = {
16929 (char *) "win", NULL
16930 };
16931
16932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
16933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16934 {
16935 PyThreadState* __tstate = wxPyBeginAllowThreads();
16936 result = (bool)wxIdleEvent::CanSend(arg1);
16937
16938 wxPyEndAllowThreads(__tstate);
16939 if (PyErr_Occurred()) SWIG_fail;
16940 }
16941 resultobj = PyInt_FromLong((long)result);
16942 return resultobj;
16943 fail:
16944 return NULL;
16945 }
16946
16947
16948 static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
16949 PyObject *obj;
16950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16951 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
16952 Py_INCREF(obj);
16953 return Py_BuildValue((char *)"");
16954 }
16955 static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16956 PyObject *resultobj;
16957 int arg1 = (int) 0 ;
16958 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
16959 wxPyEvent *result;
16960 char *kwnames[] = {
16961 (char *) "winid",(char *) "commandType", NULL
16962 };
16963
16964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyEvent",kwnames,&arg1,&arg2)) goto fail;
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
16968
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEvent, 1);
16973 return resultobj;
16974 fail:
16975 return NULL;
16976 }
16977
16978
16979 static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
16982 PyObject * obj0 = 0 ;
16983 char *kwnames[] = {
16984 (char *) "self", NULL
16985 };
16986
16987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
16988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
16991 delete arg1;
16992
16993 wxPyEndAllowThreads(__tstate);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 Py_INCREF(Py_None); resultobj = Py_None;
16997 return resultobj;
16998 fail:
16999 return NULL;
17000 }
17001
17002
17003 static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17004 PyObject *resultobj;
17005 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17006 PyObject *arg2 = (PyObject *) 0 ;
17007 PyObject * obj0 = 0 ;
17008 PyObject * obj1 = 0 ;
17009 char *kwnames[] = {
17010 (char *) "self",(char *) "self", NULL
17011 };
17012
17013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17015 arg2 = obj1;
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
17018 (arg1)->SetSelf(arg2);
17019
17020 wxPyEndAllowThreads(__tstate);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 }
17023 Py_INCREF(Py_None); resultobj = Py_None;
17024 return resultobj;
17025 fail:
17026 return NULL;
17027 }
17028
17029
17030 static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17031 PyObject *resultobj;
17032 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17033 PyObject *result;
17034 PyObject * obj0 = 0 ;
17035 char *kwnames[] = {
17036 (char *) "self", NULL
17037 };
17038
17039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
17040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17041 {
17042 PyThreadState* __tstate = wxPyBeginAllowThreads();
17043 result = (PyObject *)(arg1)->GetSelf();
17044
17045 wxPyEndAllowThreads(__tstate);
17046 if (PyErr_Occurred()) SWIG_fail;
17047 }
17048 resultobj = result;
17049 return resultobj;
17050 fail:
17051 return NULL;
17052 }
17053
17054
17055 static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
17056 PyObject *obj;
17057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17058 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
17059 Py_INCREF(obj);
17060 return Py_BuildValue((char *)"");
17061 }
17062 static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17065 int arg2 = (int) 0 ;
17066 wxPyCommandEvent *result;
17067 char *kwnames[] = {
17068 (char *) "commandType",(char *) "id", NULL
17069 };
17070
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyCommandEvent",kwnames,&arg1,&arg2)) goto fail;
17072 {
17073 PyThreadState* __tstate = wxPyBeginAllowThreads();
17074 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
17075
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCommandEvent, 1);
17080 return resultobj;
17081 fail:
17082 return NULL;
17083 }
17084
17085
17086 static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17087 PyObject *resultobj;
17088 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17089 PyObject * obj0 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 delete arg1;
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 Py_INCREF(Py_None); resultobj = Py_None;
17104 return resultobj;
17105 fail:
17106 return NULL;
17107 }
17108
17109
17110 static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17113 PyObject *arg2 = (PyObject *) 0 ;
17114 PyObject * obj0 = 0 ;
17115 PyObject * obj1 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "self",(char *) "self", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17122 arg2 = obj1;
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 (arg1)->SetSelf(arg2);
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 Py_INCREF(Py_None); resultobj = Py_None;
17131 return resultobj;
17132 fail:
17133 return NULL;
17134 }
17135
17136
17137 static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj;
17139 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17140 PyObject *result;
17141 PyObject * obj0 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "self", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
17147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 result = (PyObject *)(arg1)->GetSelf();
17151
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
17155 resultobj = result;
17156 return resultobj;
17157 fail:
17158 return NULL;
17159 }
17160
17161
17162 static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
17163 PyObject *obj;
17164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17165 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
17166 Py_INCREF(obj);
17167 return Py_BuildValue((char *)"");
17168 }
17169 static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17170 PyObject *resultobj;
17171 wxPyApp *result;
17172 char *kwnames[] = {
17173 NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 result = (wxPyApp *)new_wxPyApp();
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 {
17185 resultobj = wxPyMake_wxObject(result);
17186 }
17187 return resultobj;
17188 fail:
17189 return NULL;
17190 }
17191
17192
17193 static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17194 PyObject *resultobj;
17195 wxPyApp *arg1 = (wxPyApp *) 0 ;
17196 PyObject * obj0 = 0 ;
17197 char *kwnames[] = {
17198 (char *) "self", NULL
17199 };
17200
17201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
17202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
17205 delete arg1;
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 Py_INCREF(Py_None); resultobj = Py_None;
17211 return resultobj;
17212 fail:
17213 return NULL;
17214 }
17215
17216
17217 static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxPyApp *arg1 = (wxPyApp *) 0 ;
17220 PyObject *arg2 = (PyObject *) 0 ;
17221 PyObject *arg3 = (PyObject *) 0 ;
17222 PyObject * obj0 = 0 ;
17223 PyObject * obj1 = 0 ;
17224 PyObject * obj2 = 0 ;
17225 char *kwnames[] = {
17226 (char *) "self",(char *) "self",(char *) "_class", NULL
17227 };
17228
17229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17231 arg2 = obj1;
17232 arg3 = obj2;
17233 {
17234 PyThreadState* __tstate = wxPyBeginAllowThreads();
17235 (arg1)->_setCallbackInfo(arg2,arg3);
17236
17237 wxPyEndAllowThreads(__tstate);
17238 if (PyErr_Occurred()) SWIG_fail;
17239 }
17240 Py_INCREF(Py_None); resultobj = Py_None;
17241 return resultobj;
17242 fail:
17243 return NULL;
17244 }
17245
17246
17247 static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxPyApp *arg1 = (wxPyApp *) 0 ;
17250 wxString result;
17251 PyObject * obj0 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "self", NULL
17254 };
17255
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
17257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17258 {
17259 PyThreadState* __tstate = wxPyBeginAllowThreads();
17260 result = ((wxPyApp const *)arg1)->GetAppName();
17261
17262 wxPyEndAllowThreads(__tstate);
17263 if (PyErr_Occurred()) SWIG_fail;
17264 }
17265 {
17266 #if wxUSE_UNICODE
17267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17268 #else
17269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17270 #endif
17271 }
17272 return resultobj;
17273 fail:
17274 return NULL;
17275 }
17276
17277
17278 static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj;
17280 wxPyApp *arg1 = (wxPyApp *) 0 ;
17281 wxString *arg2 = 0 ;
17282 bool temp2 = False ;
17283 PyObject * obj0 = 0 ;
17284 PyObject * obj1 = 0 ;
17285 char *kwnames[] = {
17286 (char *) "self",(char *) "name", NULL
17287 };
17288
17289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
17290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17291 {
17292 arg2 = wxString_in_helper(obj1);
17293 if (arg2 == NULL) SWIG_fail;
17294 temp2 = True;
17295 }
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 (arg1)->SetAppName((wxString const &)*arg2);
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 Py_INCREF(Py_None); resultobj = Py_None;
17304 {
17305 if (temp2)
17306 delete arg2;
17307 }
17308 return resultobj;
17309 fail:
17310 {
17311 if (temp2)
17312 delete arg2;
17313 }
17314 return NULL;
17315 }
17316
17317
17318 static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17319 PyObject *resultobj;
17320 wxPyApp *arg1 = (wxPyApp *) 0 ;
17321 wxString result;
17322 PyObject * obj0 = 0 ;
17323 char *kwnames[] = {
17324 (char *) "self", NULL
17325 };
17326
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
17328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 result = ((wxPyApp const *)arg1)->GetClassName();
17332
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 {
17337 #if wxUSE_UNICODE
17338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17339 #else
17340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17341 #endif
17342 }
17343 return resultobj;
17344 fail:
17345 return NULL;
17346 }
17347
17348
17349 static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17350 PyObject *resultobj;
17351 wxPyApp *arg1 = (wxPyApp *) 0 ;
17352 wxString *arg2 = 0 ;
17353 bool temp2 = False ;
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self",(char *) "name", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
17361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17362 {
17363 arg2 = wxString_in_helper(obj1);
17364 if (arg2 == NULL) SWIG_fail;
17365 temp2 = True;
17366 }
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 (arg1)->SetClassName((wxString const &)*arg2);
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 Py_INCREF(Py_None); resultobj = Py_None;
17375 {
17376 if (temp2)
17377 delete arg2;
17378 }
17379 return resultobj;
17380 fail:
17381 {
17382 if (temp2)
17383 delete arg2;
17384 }
17385 return NULL;
17386 }
17387
17388
17389 static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17390 PyObject *resultobj;
17391 wxPyApp *arg1 = (wxPyApp *) 0 ;
17392 wxString *result;
17393 PyObject * obj0 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self", NULL
17396 };
17397
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
17399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 {
17403 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
17404 result = (wxString *) &_result_ref;
17405 }
17406
17407 wxPyEndAllowThreads(__tstate);
17408 if (PyErr_Occurred()) SWIG_fail;
17409 }
17410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17411 return resultobj;
17412 fail:
17413 return NULL;
17414 }
17415
17416
17417 static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj;
17419 wxPyApp *arg1 = (wxPyApp *) 0 ;
17420 wxString *arg2 = 0 ;
17421 bool temp2 = False ;
17422 PyObject * obj0 = 0 ;
17423 PyObject * obj1 = 0 ;
17424 char *kwnames[] = {
17425 (char *) "self",(char *) "name", NULL
17426 };
17427
17428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
17429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17430 {
17431 arg2 = wxString_in_helper(obj1);
17432 if (arg2 == NULL) SWIG_fail;
17433 temp2 = True;
17434 }
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 (arg1)->SetVendorName((wxString const &)*arg2);
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 Py_INCREF(Py_None); resultobj = Py_None;
17443 {
17444 if (temp2)
17445 delete arg2;
17446 }
17447 return resultobj;
17448 fail:
17449 {
17450 if (temp2)
17451 delete arg2;
17452 }
17453 return NULL;
17454 }
17455
17456
17457 static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
17458 PyObject *resultobj;
17459 wxPyApp *arg1 = (wxPyApp *) 0 ;
17460 wxAppTraits *result;
17461 PyObject * obj0 = 0 ;
17462 char *kwnames[] = {
17463 (char *) "self", NULL
17464 };
17465
17466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
17467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17468 {
17469 PyThreadState* __tstate = wxPyBeginAllowThreads();
17470 result = (wxAppTraits *)(arg1)->GetTraits();
17471
17472 wxPyEndAllowThreads(__tstate);
17473 if (PyErr_Occurred()) SWIG_fail;
17474 }
17475 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAppTraits, 0);
17476 return resultobj;
17477 fail:
17478 return NULL;
17479 }
17480
17481
17482 static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17483 PyObject *resultobj;
17484 wxPyApp *arg1 = (wxPyApp *) 0 ;
17485 PyObject * obj0 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "self", NULL
17488 };
17489
17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
17491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 (arg1)->ProcessPendingEvents();
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 Py_INCREF(Py_None); resultobj = Py_None;
17500 return resultobj;
17501 fail:
17502 return NULL;
17503 }
17504
17505
17506 static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj;
17508 wxPyApp *arg1 = (wxPyApp *) 0 ;
17509 bool arg2 = (bool) False ;
17510 bool result;
17511 PyObject * obj0 = 0 ;
17512 PyObject * obj1 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self",(char *) "onlyIfNeeded", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
17518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17519 if (obj1) {
17520 arg2 = PyInt_AsLong(obj1) ? true : false;
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 result = (bool)(arg1)->Yield(arg2);
17526
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 resultobj = PyInt_FromLong((long)result);
17531 return resultobj;
17532 fail:
17533 return NULL;
17534 }
17535
17536
17537 static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17538 PyObject *resultobj;
17539 wxPyApp *arg1 = (wxPyApp *) 0 ;
17540 PyObject * obj0 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
17546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 (arg1)->WakeUpIdle();
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 Py_INCREF(Py_None); resultobj = Py_None;
17555 return resultobj;
17556 fail:
17557 return NULL;
17558 }
17559
17560
17561 static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17562 PyObject *resultobj;
17563 wxPyApp *arg1 = (wxPyApp *) 0 ;
17564 int result;
17565 PyObject * obj0 = 0 ;
17566 char *kwnames[] = {
17567 (char *) "self", NULL
17568 };
17569
17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
17571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17572 {
17573 PyThreadState* __tstate = wxPyBeginAllowThreads();
17574 result = (int)(arg1)->MainLoop();
17575
17576 wxPyEndAllowThreads(__tstate);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
17579 resultobj = PyInt_FromLong((long)result);
17580 return resultobj;
17581 fail:
17582 return NULL;
17583 }
17584
17585
17586 static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
17587 PyObject *resultobj;
17588 wxPyApp *arg1 = (wxPyApp *) 0 ;
17589 PyObject * obj0 = 0 ;
17590 char *kwnames[] = {
17591 (char *) "self", NULL
17592 };
17593
17594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
17595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 (arg1)->Exit();
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 Py_INCREF(Py_None); resultobj = Py_None;
17604 return resultobj;
17605 fail:
17606 return NULL;
17607 }
17608
17609
17610 static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17611 PyObject *resultobj;
17612 wxPyApp *arg1 = (wxPyApp *) 0 ;
17613 PyObject * obj0 = 0 ;
17614 char *kwnames[] = {
17615 (char *) "self", NULL
17616 };
17617
17618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
17619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17620 {
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 (arg1)->ExitMainLoop();
17623
17624 wxPyEndAllowThreads(__tstate);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 }
17627 Py_INCREF(Py_None); resultobj = Py_None;
17628 return resultobj;
17629 fail:
17630 return NULL;
17631 }
17632
17633
17634 static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
17635 PyObject *resultobj;
17636 wxPyApp *arg1 = (wxPyApp *) 0 ;
17637 bool result;
17638 PyObject * obj0 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "self", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
17644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17645 {
17646 PyThreadState* __tstate = wxPyBeginAllowThreads();
17647 result = (bool)(arg1)->Pending();
17648
17649 wxPyEndAllowThreads(__tstate);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 }
17652 resultobj = PyInt_FromLong((long)result);
17653 return resultobj;
17654 fail:
17655 return NULL;
17656 }
17657
17658
17659 static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
17660 PyObject *resultobj;
17661 wxPyApp *arg1 = (wxPyApp *) 0 ;
17662 bool result;
17663 PyObject * obj0 = 0 ;
17664 char *kwnames[] = {
17665 (char *) "self", NULL
17666 };
17667
17668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
17669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17670 {
17671 PyThreadState* __tstate = wxPyBeginAllowThreads();
17672 result = (bool)(arg1)->Dispatch();
17673
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
17677 resultobj = PyInt_FromLong((long)result);
17678 return resultobj;
17679 fail:
17680 return NULL;
17681 }
17682
17683
17684 static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17685 PyObject *resultobj;
17686 wxPyApp *arg1 = (wxPyApp *) 0 ;
17687 bool result;
17688 PyObject * obj0 = 0 ;
17689 char *kwnames[] = {
17690 (char *) "self", NULL
17691 };
17692
17693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
17694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = (bool)(arg1)->ProcessIdle();
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 resultobj = PyInt_FromLong((long)result);
17703 return resultobj;
17704 fail:
17705 return NULL;
17706 }
17707
17708
17709 static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj;
17711 wxPyApp *arg1 = (wxPyApp *) 0 ;
17712 wxWindow *arg2 = (wxWindow *) 0 ;
17713 wxIdleEvent *arg3 = 0 ;
17714 bool result;
17715 PyObject * obj0 = 0 ;
17716 PyObject * obj1 = 0 ;
17717 PyObject * obj2 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self",(char *) "win",(char *) "event", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
17723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17725 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17726 if (arg3 == NULL) {
17727 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17728 }
17729 {
17730 PyThreadState* __tstate = wxPyBeginAllowThreads();
17731 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
17732
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 resultobj = PyInt_FromLong((long)result);
17737 return resultobj;
17738 fail:
17739 return NULL;
17740 }
17741
17742
17743 static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17744 PyObject *resultobj;
17745 wxPyApp *arg1 = (wxPyApp *) 0 ;
17746 bool result;
17747 PyObject * obj0 = 0 ;
17748 char *kwnames[] = {
17749 (char *) "self", NULL
17750 };
17751
17752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
17753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17754 {
17755 PyThreadState* __tstate = wxPyBeginAllowThreads();
17756 result = (bool)((wxPyApp const *)arg1)->IsActive();
17757
17758 wxPyEndAllowThreads(__tstate);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
17761 resultobj = PyInt_FromLong((long)result);
17762 return resultobj;
17763 fail:
17764 return NULL;
17765 }
17766
17767
17768 static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17769 PyObject *resultobj;
17770 wxPyApp *arg1 = (wxPyApp *) 0 ;
17771 wxWindow *arg2 = (wxWindow *) 0 ;
17772 PyObject * obj0 = 0 ;
17773 PyObject * obj1 = 0 ;
17774 char *kwnames[] = {
17775 (char *) "self",(char *) "win", NULL
17776 };
17777
17778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
17779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17780 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17781 {
17782 PyThreadState* __tstate = wxPyBeginAllowThreads();
17783 (arg1)->SetTopWindow(arg2);
17784
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 Py_INCREF(Py_None); resultobj = Py_None;
17789 return resultobj;
17790 fail:
17791 return NULL;
17792 }
17793
17794
17795 static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17796 PyObject *resultobj;
17797 wxPyApp *arg1 = (wxPyApp *) 0 ;
17798 wxWindow *result;
17799 PyObject * obj0 = 0 ;
17800 char *kwnames[] = {
17801 (char *) "self", NULL
17802 };
17803
17804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
17805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 {
17814 resultobj = wxPyMake_wxObject(result);
17815 }
17816 return resultobj;
17817 fail:
17818 return NULL;
17819 }
17820
17821
17822 static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17823 PyObject *resultobj;
17824 wxPyApp *arg1 = (wxPyApp *) 0 ;
17825 bool arg2 ;
17826 PyObject * obj0 = 0 ;
17827 PyObject * obj1 = 0 ;
17828 char *kwnames[] = {
17829 (char *) "self",(char *) "flag", NULL
17830 };
17831
17832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
17833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17834 arg2 = PyInt_AsLong(obj1) ? true : false;
17835 if (PyErr_Occurred()) SWIG_fail;
17836 {
17837 PyThreadState* __tstate = wxPyBeginAllowThreads();
17838 (arg1)->SetExitOnFrameDelete(arg2);
17839
17840 wxPyEndAllowThreads(__tstate);
17841 if (PyErr_Occurred()) SWIG_fail;
17842 }
17843 Py_INCREF(Py_None); resultobj = Py_None;
17844 return resultobj;
17845 fail:
17846 return NULL;
17847 }
17848
17849
17850 static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxPyApp *arg1 = (wxPyApp *) 0 ;
17853 bool result;
17854 PyObject * obj0 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
17860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
17864
17865 wxPyEndAllowThreads(__tstate);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
17868 resultobj = PyInt_FromLong((long)result);
17869 return resultobj;
17870 fail:
17871 return NULL;
17872 }
17873
17874
17875 static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17876 PyObject *resultobj;
17877 wxPyApp *arg1 = (wxPyApp *) 0 ;
17878 bool arg2 ;
17879 PyObject * obj0 = 0 ;
17880 PyObject * obj1 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self",(char *) "flag", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
17886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17887 arg2 = PyInt_AsLong(obj1) ? true : false;
17888 if (PyErr_Occurred()) SWIG_fail;
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 (arg1)->SetUseBestVisual(arg2);
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 Py_INCREF(Py_None); resultobj = Py_None;
17897 return resultobj;
17898 fail:
17899 return NULL;
17900 }
17901
17902
17903 static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxPyApp *arg1 = (wxPyApp *) 0 ;
17906 bool result;
17907 PyObject * obj0 = 0 ;
17908 char *kwnames[] = {
17909 (char *) "self", NULL
17910 };
17911
17912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
17913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17914 {
17915 PyThreadState* __tstate = wxPyBeginAllowThreads();
17916 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
17917
17918 wxPyEndAllowThreads(__tstate);
17919 if (PyErr_Occurred()) SWIG_fail;
17920 }
17921 resultobj = PyInt_FromLong((long)result);
17922 return resultobj;
17923 fail:
17924 return NULL;
17925 }
17926
17927
17928 static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17929 PyObject *resultobj;
17930 wxPyApp *arg1 = (wxPyApp *) 0 ;
17931 int arg2 ;
17932 PyObject * obj0 = 0 ;
17933 char *kwnames[] = {
17934 (char *) "self",(char *) "mode", NULL
17935 };
17936
17937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
17938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 (arg1)->SetPrintMode(arg2);
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 Py_INCREF(Py_None); resultobj = Py_None;
17947 return resultobj;
17948 fail:
17949 return NULL;
17950 }
17951
17952
17953 static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17954 PyObject *resultobj;
17955 wxPyApp *arg1 = (wxPyApp *) 0 ;
17956 int result;
17957 PyObject * obj0 = 0 ;
17958 char *kwnames[] = {
17959 (char *) "self", NULL
17960 };
17961
17962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
17963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17964 {
17965 PyThreadState* __tstate = wxPyBeginAllowThreads();
17966 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
17967
17968 wxPyEndAllowThreads(__tstate);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 }
17971 resultobj = PyInt_FromLong((long)result);
17972 return resultobj;
17973 fail:
17974 return NULL;
17975 }
17976
17977
17978 static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17979 PyObject *resultobj;
17980 wxPyApp *arg1 = (wxPyApp *) 0 ;
17981 int arg2 ;
17982 PyObject * obj0 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "mode", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetAssertMode",kwnames,&obj0,&arg2)) goto fail;
17988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17989 {
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 (arg1)->SetAssertMode(arg2);
17992
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 Py_INCREF(Py_None); resultobj = Py_None;
17997 return resultobj;
17998 fail:
17999 return NULL;
18000 }
18001
18002
18003 static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18004 PyObject *resultobj;
18005 wxPyApp *arg1 = (wxPyApp *) 0 ;
18006 int result;
18007 PyObject * obj0 = 0 ;
18008 char *kwnames[] = {
18009 (char *) "self", NULL
18010 };
18011
18012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
18013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 result = (int)(arg1)->GetAssertMode();
18017
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 resultobj = PyInt_FromLong((long)result);
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18029 PyObject *resultobj;
18030 bool result;
18031 char *kwnames[] = {
18032 NULL
18033 };
18034
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 resultobj = PyInt_FromLong((long)result);
18044 return resultobj;
18045 fail:
18046 return NULL;
18047 }
18048
18049
18050 static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18051 PyObject *resultobj;
18052 long result;
18053 char *kwnames[] = {
18054 NULL
18055 };
18056
18057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
18058 {
18059 PyThreadState* __tstate = wxPyBeginAllowThreads();
18060 result = (long)wxPyApp::GetMacAboutMenuItemId();
18061
18062 wxPyEndAllowThreads(__tstate);
18063 if (PyErr_Occurred()) SWIG_fail;
18064 }
18065 resultobj = PyInt_FromLong((long)result);
18066 return resultobj;
18067 fail:
18068 return NULL;
18069 }
18070
18071
18072 static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18073 PyObject *resultobj;
18074 long result;
18075 char *kwnames[] = {
18076 NULL
18077 };
18078
18079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
18080 {
18081 PyThreadState* __tstate = wxPyBeginAllowThreads();
18082 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
18083
18084 wxPyEndAllowThreads(__tstate);
18085 if (PyErr_Occurred()) SWIG_fail;
18086 }
18087 resultobj = PyInt_FromLong((long)result);
18088 return resultobj;
18089 fail:
18090 return NULL;
18091 }
18092
18093
18094 static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18095 PyObject *resultobj;
18096 long result;
18097 char *kwnames[] = {
18098 NULL
18099 };
18100
18101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
18102 {
18103 PyThreadState* __tstate = wxPyBeginAllowThreads();
18104 result = (long)wxPyApp::GetMacExitMenuItemId();
18105
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 resultobj = PyInt_FromLong((long)result);
18110 return resultobj;
18111 fail:
18112 return NULL;
18113 }
18114
18115
18116 static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18117 PyObject *resultobj;
18118 wxString result;
18119 char *kwnames[] = {
18120 NULL
18121 };
18122
18123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
18124 {
18125 PyThreadState* __tstate = wxPyBeginAllowThreads();
18126 result = wxPyApp::GetMacHelpMenuTitleName();
18127
18128 wxPyEndAllowThreads(__tstate);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 }
18131 {
18132 #if wxUSE_UNICODE
18133 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18134 #else
18135 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18136 #endif
18137 }
18138 return resultobj;
18139 fail:
18140 return NULL;
18141 }
18142
18143
18144 static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18145 PyObject *resultobj;
18146 bool arg1 ;
18147 PyObject * obj0 = 0 ;
18148 char *kwnames[] = {
18149 (char *) "val", NULL
18150 };
18151
18152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
18153 arg1 = PyInt_AsLong(obj0) ? true : false;
18154 if (PyErr_Occurred()) SWIG_fail;
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
18158
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 Py_INCREF(Py_None); resultobj = Py_None;
18163 return resultobj;
18164 fail:
18165 return NULL;
18166 }
18167
18168
18169 static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18170 PyObject *resultobj;
18171 long arg1 ;
18172 char *kwnames[] = {
18173 (char *) "val", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames,&arg1)) goto fail;
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 wxPyApp::SetMacAboutMenuItemId(arg1);
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 Py_INCREF(Py_None); resultobj = Py_None;
18185 return resultobj;
18186 fail:
18187 return NULL;
18188 }
18189
18190
18191 static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj;
18193 long arg1 ;
18194 char *kwnames[] = {
18195 (char *) "val", NULL
18196 };
18197
18198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames,&arg1)) goto fail;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 wxPyApp::SetMacPreferencesMenuItemId(arg1);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 Py_INCREF(Py_None); resultobj = Py_None;
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 long arg1 ;
18216 char *kwnames[] = {
18217 (char *) "val", NULL
18218 };
18219
18220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames,&arg1)) goto fail;
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 wxPyApp::SetMacExitMenuItemId(arg1);
18224
18225 wxPyEndAllowThreads(__tstate);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 }
18228 Py_INCREF(Py_None); resultobj = Py_None;
18229 return resultobj;
18230 fail:
18231 return NULL;
18232 }
18233
18234
18235 static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxString *arg1 = 0 ;
18238 bool temp1 = False ;
18239 PyObject * obj0 = 0 ;
18240 char *kwnames[] = {
18241 (char *) "val", NULL
18242 };
18243
18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
18245 {
18246 arg1 = wxString_in_helper(obj0);
18247 if (arg1 == NULL) SWIG_fail;
18248 temp1 = True;
18249 }
18250 {
18251 PyThreadState* __tstate = wxPyBeginAllowThreads();
18252 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
18253
18254 wxPyEndAllowThreads(__tstate);
18255 if (PyErr_Occurred()) SWIG_fail;
18256 }
18257 Py_INCREF(Py_None); resultobj = Py_None;
18258 {
18259 if (temp1)
18260 delete arg1;
18261 }
18262 return resultobj;
18263 fail:
18264 {
18265 if (temp1)
18266 delete arg1;
18267 }
18268 return NULL;
18269 }
18270
18271
18272 static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18273 PyObject *resultobj;
18274 wxPyApp *arg1 = (wxPyApp *) 0 ;
18275 PyObject * obj0 = 0 ;
18276 char *kwnames[] = {
18277 (char *) "self", NULL
18278 };
18279
18280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
18281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 (arg1)->_BootstrapApp();
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 Py_INCREF(Py_None); resultobj = Py_None;
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 int result;
18299 char *kwnames[] = {
18300 NULL
18301 };
18302
18303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 result = (int)PyApp_GetComCtl32Version();
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 resultobj = PyInt_FromLong((long)result);
18312 return resultobj;
18313 fail:
18314 return NULL;
18315 }
18316
18317
18318 static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
18319 PyObject *obj;
18320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18321 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
18322 Py_INCREF(obj);
18323 return Py_BuildValue((char *)"");
18324 }
18325 static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
18326 PyObject *resultobj;
18327 char *kwnames[] = {
18328 NULL
18329 };
18330
18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 wxExit();
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 Py_INCREF(Py_None); resultobj = Py_None;
18340 return resultobj;
18341 fail:
18342 return NULL;
18343 }
18344
18345
18346 static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
18347 PyObject *resultobj;
18348 bool result;
18349 char *kwnames[] = {
18350 NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
18354 {
18355 PyThreadState* __tstate = wxPyBeginAllowThreads();
18356 result = (bool)wxYield();
18357
18358 wxPyEndAllowThreads(__tstate);
18359 if (PyErr_Occurred()) SWIG_fail;
18360 }
18361 resultobj = PyInt_FromLong((long)result);
18362 return resultobj;
18363 fail:
18364 return NULL;
18365 }
18366
18367
18368 static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
18369 PyObject *resultobj;
18370 bool result;
18371 char *kwnames[] = {
18372 NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
18376 {
18377 PyThreadState* __tstate = wxPyBeginAllowThreads();
18378 result = (bool)wxYieldIfNeeded();
18379
18380 wxPyEndAllowThreads(__tstate);
18381 if (PyErr_Occurred()) SWIG_fail;
18382 }
18383 resultobj = PyInt_FromLong((long)result);
18384 return resultobj;
18385 fail:
18386 return NULL;
18387 }
18388
18389
18390 static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
18391 PyObject *resultobj;
18392 wxWindow *arg1 = (wxWindow *) NULL ;
18393 bool arg2 = (bool) False ;
18394 bool result;
18395 PyObject * obj0 = 0 ;
18396 PyObject * obj1 = 0 ;
18397 char *kwnames[] = {
18398 (char *) "win",(char *) "onlyIfNeeded", NULL
18399 };
18400
18401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
18402 if (obj0) {
18403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18404 }
18405 if (obj1) {
18406 arg2 = PyInt_AsLong(obj1) ? true : false;
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 result = (bool)wxSafeYield(arg1,arg2);
18412
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 resultobj = PyInt_FromLong((long)result);
18417 return resultobj;
18418 fail:
18419 return NULL;
18420 }
18421
18422
18423 static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj;
18425 char *kwnames[] = {
18426 NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
18430 {
18431 PyThreadState* __tstate = wxPyBeginAllowThreads();
18432 wxWakeUpIdle();
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 Py_INCREF(Py_None); resultobj = Py_None;
18438 return resultobj;
18439 fail:
18440 return NULL;
18441 }
18442
18443
18444 static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18445 PyObject *resultobj;
18446 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
18447 wxEvent *arg2 = 0 ;
18448 PyObject * obj0 = 0 ;
18449 PyObject * obj1 = 0 ;
18450 char *kwnames[] = {
18451 (char *) "dest",(char *) "event", NULL
18452 };
18453
18454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
18455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18457 if (arg2 == NULL) {
18458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18459 }
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 wxPostEvent(arg1,*arg2);
18463
18464 wxPyEndAllowThreads(__tstate);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
18467 Py_INCREF(Py_None); resultobj = Py_None;
18468 return resultobj;
18469 fail:
18470 return NULL;
18471 }
18472
18473
18474 static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 char *kwnames[] = {
18477 NULL
18478 };
18479
18480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 wxApp_CleanUp();
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 Py_INCREF(Py_None); resultobj = Py_None;
18489 return resultobj;
18490 fail:
18491 return NULL;
18492 }
18493
18494
18495 static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18496 PyObject *resultobj;
18497 wxPyApp *result;
18498 char *kwnames[] = {
18499 NULL
18500 };
18501
18502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 result = (wxPyApp *)wxGetApp();
18506
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 {
18511 resultobj = wxPyMake_wxObject(result);
18512 }
18513 return resultobj;
18514 fail:
18515 return NULL;
18516 }
18517
18518
18519 static int _wrap_PanelNameStr_set(PyObject *_val) {
18520 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
18521 return 1;
18522 }
18523
18524
18525 static PyObject *_wrap_PanelNameStr_get() {
18526 PyObject *pyobj;
18527
18528 {
18529 #if wxUSE_UNICODE
18530 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18531 #else
18532 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18533 #endif
18534 }
18535 return pyobj;
18536 }
18537
18538
18539 static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
18540 PyObject *resultobj;
18541 wxWindow *arg1 = (wxWindow *) 0 ;
18542 int arg2 ;
18543 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18544 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18545 wxSize const &arg4_defvalue = wxDefaultSize ;
18546 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18547 long arg5 = (long) 0 ;
18548 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18549 wxString *arg6 = (wxString *) &arg6_defvalue ;
18550 wxWindow *result;
18551 wxPoint temp3 ;
18552 wxSize temp4 ;
18553 bool temp6 = False ;
18554 PyObject * obj0 = 0 ;
18555 PyObject * obj2 = 0 ;
18556 PyObject * obj3 = 0 ;
18557 PyObject * obj5 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Window",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18564 if (obj2) {
18565 {
18566 arg3 = &temp3;
18567 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18568 }
18569 }
18570 if (obj3) {
18571 {
18572 arg4 = &temp4;
18573 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18574 }
18575 }
18576 if (obj5) {
18577 {
18578 arg6 = wxString_in_helper(obj5);
18579 if (arg6 == NULL) SWIG_fail;
18580 temp6 = True;
18581 }
18582 }
18583 {
18584 PyThreadState* __tstate = wxPyBeginAllowThreads();
18585 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18586
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 {
18591 resultobj = wxPyMake_wxObject(result);
18592 }
18593 {
18594 if (temp6)
18595 delete arg6;
18596 }
18597 return resultobj;
18598 fail:
18599 {
18600 if (temp6)
18601 delete arg6;
18602 }
18603 return NULL;
18604 }
18605
18606
18607 static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18608 PyObject *resultobj;
18609 wxWindow *result;
18610 char *kwnames[] = {
18611 NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
18615 {
18616 PyThreadState* __tstate = wxPyBeginAllowThreads();
18617 result = (wxWindow *)new wxWindow();
18618
18619 wxPyEndAllowThreads(__tstate);
18620 if (PyErr_Occurred()) SWIG_fail;
18621 }
18622 {
18623 resultobj = wxPyMake_wxObject(result);
18624 }
18625 return resultobj;
18626 fail:
18627 return NULL;
18628 }
18629
18630
18631 static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18632 PyObject *resultobj;
18633 wxWindow *arg1 = (wxWindow *) 0 ;
18634 wxWindow *arg2 = (wxWindow *) 0 ;
18635 int arg3 ;
18636 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18637 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18638 wxSize const &arg5_defvalue = wxDefaultSize ;
18639 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18640 long arg6 = (long) 0 ;
18641 wxString const &arg7_defvalue = wxPyPanelNameStr ;
18642 wxString *arg7 = (wxString *) &arg7_defvalue ;
18643 bool result;
18644 wxPoint temp4 ;
18645 wxSize temp5 ;
18646 bool temp7 = False ;
18647 PyObject * obj0 = 0 ;
18648 PyObject * obj1 = 0 ;
18649 PyObject * obj3 = 0 ;
18650 PyObject * obj4 = 0 ;
18651 PyObject * obj6 = 0 ;
18652 char *kwnames[] = {
18653 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18654 };
18655
18656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Window_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
18657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18659 if (obj3) {
18660 {
18661 arg4 = &temp4;
18662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18663 }
18664 }
18665 if (obj4) {
18666 {
18667 arg5 = &temp5;
18668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18669 }
18670 }
18671 if (obj6) {
18672 {
18673 arg7 = wxString_in_helper(obj6);
18674 if (arg7 == NULL) SWIG_fail;
18675 temp7 = True;
18676 }
18677 }
18678 {
18679 PyThreadState* __tstate = wxPyBeginAllowThreads();
18680 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18681
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 resultobj = PyInt_FromLong((long)result);
18686 {
18687 if (temp7)
18688 delete arg7;
18689 }
18690 return resultobj;
18691 fail:
18692 {
18693 if (temp7)
18694 delete arg7;
18695 }
18696 return NULL;
18697 }
18698
18699
18700 static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
18701 PyObject *resultobj;
18702 wxWindow *arg1 = (wxWindow *) 0 ;
18703 bool arg2 = (bool) False ;
18704 bool result;
18705 PyObject * obj0 = 0 ;
18706 PyObject * obj1 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self",(char *) "force", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18713 if (obj1) {
18714 arg2 = PyInt_AsLong(obj1) ? true : false;
18715 if (PyErr_Occurred()) SWIG_fail;
18716 }
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 result = (bool)(arg1)->Close(arg2);
18720
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 resultobj = PyInt_FromLong((long)result);
18725 return resultobj;
18726 fail:
18727 return NULL;
18728 }
18729
18730
18731 static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18732 PyObject *resultobj;
18733 wxWindow *arg1 = (wxWindow *) 0 ;
18734 bool result;
18735 PyObject * obj0 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
18741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18742 {
18743 PyThreadState* __tstate = wxPyBeginAllowThreads();
18744 result = (bool)(arg1)->Destroy();
18745
18746 wxPyEndAllowThreads(__tstate);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 }
18749 resultobj = PyInt_FromLong((long)result);
18750 return resultobj;
18751 fail:
18752 return NULL;
18753 }
18754
18755
18756 static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
18757 PyObject *resultobj;
18758 wxWindow *arg1 = (wxWindow *) 0 ;
18759 bool result;
18760 PyObject * obj0 = 0 ;
18761 char *kwnames[] = {
18762 (char *) "self", NULL
18763 };
18764
18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
18766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18767 {
18768 PyThreadState* __tstate = wxPyBeginAllowThreads();
18769 result = (bool)(arg1)->DestroyChildren();
18770
18771 wxPyEndAllowThreads(__tstate);
18772 if (PyErr_Occurred()) SWIG_fail;
18773 }
18774 resultobj = PyInt_FromLong((long)result);
18775 return resultobj;
18776 fail:
18777 return NULL;
18778 }
18779
18780
18781 static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
18782 PyObject *resultobj;
18783 wxWindow *arg1 = (wxWindow *) 0 ;
18784 bool result;
18785 PyObject * obj0 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "self", NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
18791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18792 {
18793 PyThreadState* __tstate = wxPyBeginAllowThreads();
18794 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
18795
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 resultobj = PyInt_FromLong((long)result);
18800 return resultobj;
18801 fail:
18802 return NULL;
18803 }
18804
18805
18806 static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18807 PyObject *resultobj;
18808 wxWindow *arg1 = (wxWindow *) 0 ;
18809 wxString *arg2 = 0 ;
18810 bool temp2 = False ;
18811 PyObject * obj0 = 0 ;
18812 PyObject * obj1 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self",(char *) "title", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18819 {
18820 arg2 = wxString_in_helper(obj1);
18821 if (arg2 == NULL) SWIG_fail;
18822 temp2 = True;
18823 }
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 (arg1)->SetTitle((wxString const &)*arg2);
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 Py_INCREF(Py_None); resultobj = Py_None;
18832 {
18833 if (temp2)
18834 delete arg2;
18835 }
18836 return resultobj;
18837 fail:
18838 {
18839 if (temp2)
18840 delete arg2;
18841 }
18842 return NULL;
18843 }
18844
18845
18846 static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj;
18848 wxWindow *arg1 = (wxWindow *) 0 ;
18849 wxString result;
18850 PyObject * obj0 = 0 ;
18851 char *kwnames[] = {
18852 (char *) "self", NULL
18853 };
18854
18855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
18856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 result = ((wxWindow const *)arg1)->GetTitle();
18860
18861 wxPyEndAllowThreads(__tstate);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 }
18864 {
18865 #if wxUSE_UNICODE
18866 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18867 #else
18868 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18869 #endif
18870 }
18871 return resultobj;
18872 fail:
18873 return NULL;
18874 }
18875
18876
18877 static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18878 PyObject *resultobj;
18879 wxWindow *arg1 = (wxWindow *) 0 ;
18880 wxString *arg2 = 0 ;
18881 bool temp2 = False ;
18882 PyObject * obj0 = 0 ;
18883 PyObject * obj1 = 0 ;
18884 char *kwnames[] = {
18885 (char *) "self",(char *) "label", NULL
18886 };
18887
18888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
18889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18890 {
18891 arg2 = wxString_in_helper(obj1);
18892 if (arg2 == NULL) SWIG_fail;
18893 temp2 = True;
18894 }
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 (arg1)->SetLabel((wxString const &)*arg2);
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 Py_INCREF(Py_None); resultobj = Py_None;
18903 {
18904 if (temp2)
18905 delete arg2;
18906 }
18907 return resultobj;
18908 fail:
18909 {
18910 if (temp2)
18911 delete arg2;
18912 }
18913 return NULL;
18914 }
18915
18916
18917 static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18918 PyObject *resultobj;
18919 wxWindow *arg1 = (wxWindow *) 0 ;
18920 wxString result;
18921 PyObject * obj0 = 0 ;
18922 char *kwnames[] = {
18923 (char *) "self", NULL
18924 };
18925
18926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
18927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18928 {
18929 PyThreadState* __tstate = wxPyBeginAllowThreads();
18930 result = ((wxWindow const *)arg1)->GetLabel();
18931
18932 wxPyEndAllowThreads(__tstate);
18933 if (PyErr_Occurred()) SWIG_fail;
18934 }
18935 {
18936 #if wxUSE_UNICODE
18937 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18938 #else
18939 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18940 #endif
18941 }
18942 return resultobj;
18943 fail:
18944 return NULL;
18945 }
18946
18947
18948 static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj;
18950 wxWindow *arg1 = (wxWindow *) 0 ;
18951 wxString *arg2 = 0 ;
18952 bool temp2 = False ;
18953 PyObject * obj0 = 0 ;
18954 PyObject * obj1 = 0 ;
18955 char *kwnames[] = {
18956 (char *) "self",(char *) "name", NULL
18957 };
18958
18959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
18960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18961 {
18962 arg2 = wxString_in_helper(obj1);
18963 if (arg2 == NULL) SWIG_fail;
18964 temp2 = True;
18965 }
18966 {
18967 PyThreadState* __tstate = wxPyBeginAllowThreads();
18968 (arg1)->SetName((wxString const &)*arg2);
18969
18970 wxPyEndAllowThreads(__tstate);
18971 if (PyErr_Occurred()) SWIG_fail;
18972 }
18973 Py_INCREF(Py_None); resultobj = Py_None;
18974 {
18975 if (temp2)
18976 delete arg2;
18977 }
18978 return resultobj;
18979 fail:
18980 {
18981 if (temp2)
18982 delete arg2;
18983 }
18984 return NULL;
18985 }
18986
18987
18988 static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
18989 PyObject *resultobj;
18990 wxWindow *arg1 = (wxWindow *) 0 ;
18991 wxString result;
18992 PyObject * obj0 = 0 ;
18993 char *kwnames[] = {
18994 (char *) "self", NULL
18995 };
18996
18997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
18998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 result = ((wxWindow const *)arg1)->GetName();
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 {
19007 #if wxUSE_UNICODE
19008 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19009 #else
19010 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19011 #endif
19012 }
19013 return resultobj;
19014 fail:
19015 return NULL;
19016 }
19017
19018
19019 static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxWindow *arg1 = (wxWindow *) 0 ;
19022 int arg2 ;
19023 PyObject * obj0 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self",(char *) "winid", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_SetId",kwnames,&obj0,&arg2)) goto fail;
19029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19030 {
19031 PyThreadState* __tstate = wxPyBeginAllowThreads();
19032 (arg1)->SetId(arg2);
19033
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 Py_INCREF(Py_None); resultobj = Py_None;
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxWindow *arg1 = (wxWindow *) 0 ;
19047 int result;
19048 PyObject * obj0 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19055 {
19056 PyThreadState* __tstate = wxPyBeginAllowThreads();
19057 result = (int)((wxWindow const *)arg1)->GetId();
19058
19059 wxPyEndAllowThreads(__tstate);
19060 if (PyErr_Occurred()) SWIG_fail;
19061 }
19062 resultobj = PyInt_FromLong((long)result);
19063 return resultobj;
19064 fail:
19065 return NULL;
19066 }
19067
19068
19069 static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj;
19071 int result;
19072 char *kwnames[] = {
19073 NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
19077 {
19078 PyThreadState* __tstate = wxPyBeginAllowThreads();
19079 result = (int)wxWindow::NewControlId();
19080
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
19084 resultobj = PyInt_FromLong((long)result);
19085 return resultobj;
19086 fail:
19087 return NULL;
19088 }
19089
19090
19091 static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19092 PyObject *resultobj;
19093 int arg1 ;
19094 int result;
19095 char *kwnames[] = {
19096 (char *) "winid", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_NextControlId",kwnames,&arg1)) goto fail;
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = (int)wxWindow::NextControlId(arg1);
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 resultobj = PyInt_FromLong((long)result);
19108 return resultobj;
19109 fail:
19110 return NULL;
19111 }
19112
19113
19114 static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19115 PyObject *resultobj;
19116 int arg1 ;
19117 int result;
19118 char *kwnames[] = {
19119 (char *) "winid", NULL
19120 };
19121
19122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_PrevControlId",kwnames,&arg1)) goto fail;
19123 {
19124 PyThreadState* __tstate = wxPyBeginAllowThreads();
19125 result = (int)wxWindow::PrevControlId(arg1);
19126
19127 wxPyEndAllowThreads(__tstate);
19128 if (PyErr_Occurred()) SWIG_fail;
19129 }
19130 resultobj = PyInt_FromLong((long)result);
19131 return resultobj;
19132 fail:
19133 return NULL;
19134 }
19135
19136
19137 static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19138 PyObject *resultobj;
19139 wxWindow *arg1 = (wxWindow *) 0 ;
19140 wxSize *arg2 = 0 ;
19141 wxSize temp2 ;
19142 PyObject * obj0 = 0 ;
19143 PyObject * obj1 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "self",(char *) "size", NULL
19146 };
19147
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
19149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19150 {
19151 arg2 = &temp2;
19152 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19153 }
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 (arg1)->SetSize((wxSize const &)*arg2);
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 Py_INCREF(Py_None); resultobj = Py_None;
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxWindow *arg1 = (wxWindow *) 0 ;
19171 int arg2 ;
19172 int arg3 ;
19173 int arg4 ;
19174 int arg5 ;
19175 int arg6 = (int) wxSIZE_AUTO ;
19176 PyObject * obj0 = 0 ;
19177 char *kwnames[] = {
19178 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19179 };
19180
19181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:Window_SetDimensions",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
19182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
19186
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 Py_INCREF(Py_None); resultobj = Py_None;
19191 return resultobj;
19192 fail:
19193 return NULL;
19194 }
19195
19196
19197 static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19198 PyObject *resultobj;
19199 wxWindow *arg1 = (wxWindow *) 0 ;
19200 wxRect *arg2 = 0 ;
19201 int arg3 = (int) wxSIZE_AUTO ;
19202 wxRect temp2 ;
19203 PyObject * obj0 = 0 ;
19204 PyObject * obj1 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_SetRect",kwnames,&obj0,&obj1,&arg3)) goto fail;
19210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 {
19212 arg2 = &temp2;
19213 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19214 }
19215 {
19216 PyThreadState* __tstate = wxPyBeginAllowThreads();
19217 (arg1)->SetSize((wxRect const &)*arg2,arg3);
19218
19219 wxPyEndAllowThreads(__tstate);
19220 if (PyErr_Occurred()) SWIG_fail;
19221 }
19222 Py_INCREF(Py_None); resultobj = Py_None;
19223 return resultobj;
19224 fail:
19225 return NULL;
19226 }
19227
19228
19229 static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19230 PyObject *resultobj;
19231 wxWindow *arg1 = (wxWindow *) 0 ;
19232 int arg2 ;
19233 int arg3 ;
19234 PyObject * obj0 = 0 ;
19235 char *kwnames[] = {
19236 (char *) "self",(char *) "width",(char *) "height", NULL
19237 };
19238
19239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19241 {
19242 PyThreadState* __tstate = wxPyBeginAllowThreads();
19243 (arg1)->SetSize(arg2,arg3);
19244
19245 wxPyEndAllowThreads(__tstate);
19246 if (PyErr_Occurred()) SWIG_fail;
19247 }
19248 Py_INCREF(Py_None); resultobj = Py_None;
19249 return resultobj;
19250 fail:
19251 return NULL;
19252 }
19253
19254
19255 static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
19256 PyObject *resultobj;
19257 wxWindow *arg1 = (wxWindow *) 0 ;
19258 wxPoint *arg2 = 0 ;
19259 int arg3 = (int) wxSIZE_USE_EXISTING ;
19260 wxPoint temp2 ;
19261 PyObject * obj0 = 0 ;
19262 PyObject * obj1 = 0 ;
19263 char *kwnames[] = {
19264 (char *) "self",(char *) "pt",(char *) "flags", NULL
19265 };
19266
19267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_Move",kwnames,&obj0,&obj1,&arg3)) goto fail;
19268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19269 {
19270 arg2 = &temp2;
19271 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19272 }
19273 {
19274 PyThreadState* __tstate = wxPyBeginAllowThreads();
19275 (arg1)->Move((wxPoint const &)*arg2,arg3);
19276
19277 wxPyEndAllowThreads(__tstate);
19278 if (PyErr_Occurred()) SWIG_fail;
19279 }
19280 Py_INCREF(Py_None); resultobj = Py_None;
19281 return resultobj;
19282 fail:
19283 return NULL;
19284 }
19285
19286
19287 static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
19288 PyObject *resultobj;
19289 wxWindow *arg1 = (wxWindow *) 0 ;
19290 int arg2 ;
19291 int arg3 ;
19292 int arg4 = (int) wxSIZE_USE_EXISTING ;
19293 PyObject * obj0 = 0 ;
19294 char *kwnames[] = {
19295 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19296 };
19297
19298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Window_MoveXY",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 (arg1)->Move(arg2,arg3,arg4);
19303
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 Py_INCREF(Py_None); resultobj = Py_None;
19308 return resultobj;
19309 fail:
19310 return NULL;
19311 }
19312
19313
19314 static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
19315 PyObject *resultobj;
19316 wxWindow *arg1 = (wxWindow *) 0 ;
19317 PyObject * obj0 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "self", NULL
19320 };
19321
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
19323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19324 {
19325 PyThreadState* __tstate = wxPyBeginAllowThreads();
19326 (arg1)->Raise();
19327
19328 wxPyEndAllowThreads(__tstate);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 }
19331 Py_INCREF(Py_None); resultobj = Py_None;
19332 return resultobj;
19333 fail:
19334 return NULL;
19335 }
19336
19337
19338 static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
19339 PyObject *resultobj;
19340 wxWindow *arg1 = (wxWindow *) 0 ;
19341 PyObject * obj0 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 (arg1)->Lower();
19351
19352 wxPyEndAllowThreads(__tstate);
19353 if (PyErr_Occurred()) SWIG_fail;
19354 }
19355 Py_INCREF(Py_None); resultobj = Py_None;
19356 return resultobj;
19357 fail:
19358 return NULL;
19359 }
19360
19361
19362 static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxWindow *arg1 = (wxWindow *) 0 ;
19365 wxSize *arg2 = 0 ;
19366 wxSize temp2 ;
19367 PyObject * obj0 = 0 ;
19368 PyObject * obj1 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self",(char *) "size", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
19374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19375 {
19376 arg2 = &temp2;
19377 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19378 }
19379 {
19380 PyThreadState* __tstate = wxPyBeginAllowThreads();
19381 (arg1)->SetClientSize((wxSize const &)*arg2);
19382
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
19386 Py_INCREF(Py_None); resultobj = Py_None;
19387 return resultobj;
19388 fail:
19389 return NULL;
19390 }
19391
19392
19393 static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19394 PyObject *resultobj;
19395 wxWindow *arg1 = (wxWindow *) 0 ;
19396 int arg2 ;
19397 int arg3 ;
19398 PyObject * obj0 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self",(char *) "width",(char *) "height", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetClientSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
19407 (arg1)->SetClientSize(arg2,arg3);
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 Py_INCREF(Py_None); resultobj = Py_None;
19413 return resultobj;
19414 fail:
19415 return NULL;
19416 }
19417
19418
19419 static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxWindow *arg1 = (wxWindow *) 0 ;
19422 wxRect *arg2 = 0 ;
19423 wxRect temp2 ;
19424 PyObject * obj0 = 0 ;
19425 PyObject * obj1 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self",(char *) "rect", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
19431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19432 {
19433 arg2 = &temp2;
19434 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19435 }
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 (arg1)->SetClientSize((wxRect const &)*arg2);
19439
19440 wxPyEndAllowThreads(__tstate);
19441 if (PyErr_Occurred()) SWIG_fail;
19442 }
19443 Py_INCREF(Py_None); resultobj = Py_None;
19444 return resultobj;
19445 fail:
19446 return NULL;
19447 }
19448
19449
19450 static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19451 PyObject *resultobj;
19452 wxWindow *arg1 = (wxWindow *) 0 ;
19453 wxPoint result;
19454 PyObject * obj0 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "self", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
19460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 result = (arg1)->GetPosition();
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 {
19469 wxPoint * resultptr;
19470 resultptr = new wxPoint((wxPoint &) result);
19471 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19472 }
19473 return resultobj;
19474 fail:
19475 return NULL;
19476 }
19477
19478
19479 static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19480 PyObject *resultobj;
19481 wxWindow *arg1 = (wxWindow *) 0 ;
19482 int *arg2 = (int *) 0 ;
19483 int *arg3 = (int *) 0 ;
19484 int temp2 ;
19485 int temp3 ;
19486 PyObject * obj0 = 0 ;
19487 char *kwnames[] = {
19488 (char *) "self", NULL
19489 };
19490
19491 arg2 = &temp2;
19492 arg3 = &temp3;
19493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
19494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 (arg1)->GetPosition(arg2,arg3);
19498
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 Py_INCREF(Py_None); resultobj = Py_None;
19503 {
19504 PyObject *o = PyInt_FromLong((long) (*arg2));
19505 resultobj = t_output_helper(resultobj,o);
19506 }
19507 {
19508 PyObject *o = PyInt_FromLong((long) (*arg3));
19509 resultobj = t_output_helper(resultobj,o);
19510 }
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxWindow *arg1 = (wxWindow *) 0 ;
19520 wxSize result;
19521 PyObject * obj0 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
19527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 result = ((wxWindow const *)arg1)->GetSize();
19531
19532 wxPyEndAllowThreads(__tstate);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 {
19536 wxSize * resultptr;
19537 resultptr = new wxSize((wxSize &) result);
19538 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19539 }
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj;
19548 wxWindow *arg1 = (wxWindow *) 0 ;
19549 int *arg2 = (int *) 0 ;
19550 int *arg3 = (int *) 0 ;
19551 int temp2 ;
19552 int temp3 ;
19553 PyObject * obj0 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self", NULL
19556 };
19557
19558 arg2 = &temp2;
19559 arg3 = &temp3;
19560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
19561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 Py_INCREF(Py_None); resultobj = Py_None;
19570 {
19571 PyObject *o = PyInt_FromLong((long) (*arg2));
19572 resultobj = t_output_helper(resultobj,o);
19573 }
19574 {
19575 PyObject *o = PyInt_FromLong((long) (*arg3));
19576 resultobj = t_output_helper(resultobj,o);
19577 }
19578 return resultobj;
19579 fail:
19580 return NULL;
19581 }
19582
19583
19584 static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19585 PyObject *resultobj;
19586 wxWindow *arg1 = (wxWindow *) 0 ;
19587 wxRect result;
19588 PyObject * obj0 = 0 ;
19589 char *kwnames[] = {
19590 (char *) "self", NULL
19591 };
19592
19593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
19594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19595 {
19596 PyThreadState* __tstate = wxPyBeginAllowThreads();
19597 result = ((wxWindow const *)arg1)->GetRect();
19598
19599 wxPyEndAllowThreads(__tstate);
19600 if (PyErr_Occurred()) SWIG_fail;
19601 }
19602 {
19603 wxRect * resultptr;
19604 resultptr = new wxRect((wxRect &) result);
19605 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19606 }
19607 return resultobj;
19608 fail:
19609 return NULL;
19610 }
19611
19612
19613 static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19614 PyObject *resultobj;
19615 wxWindow *arg1 = (wxWindow *) 0 ;
19616 wxSize result;
19617 PyObject * obj0 = 0 ;
19618 char *kwnames[] = {
19619 (char *) "self", NULL
19620 };
19621
19622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
19623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 result = ((wxWindow const *)arg1)->GetClientSize();
19627
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 {
19632 wxSize * resultptr;
19633 resultptr = new wxSize((wxSize &) result);
19634 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19635 }
19636 return resultobj;
19637 fail:
19638 return NULL;
19639 }
19640
19641
19642 static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19643 PyObject *resultobj;
19644 wxWindow *arg1 = (wxWindow *) 0 ;
19645 int *arg2 = (int *) 0 ;
19646 int *arg3 = (int *) 0 ;
19647 int temp2 ;
19648 int temp3 ;
19649 PyObject * obj0 = 0 ;
19650 char *kwnames[] = {
19651 (char *) "self", NULL
19652 };
19653
19654 arg2 = &temp2;
19655 arg3 = &temp3;
19656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
19657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
19661
19662 wxPyEndAllowThreads(__tstate);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 }
19665 Py_INCREF(Py_None); resultobj = Py_None;
19666 {
19667 PyObject *o = PyInt_FromLong((long) (*arg2));
19668 resultobj = t_output_helper(resultobj,o);
19669 }
19670 {
19671 PyObject *o = PyInt_FromLong((long) (*arg3));
19672 resultobj = t_output_helper(resultobj,o);
19673 }
19674 return resultobj;
19675 fail:
19676 return NULL;
19677 }
19678
19679
19680 static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
19681 PyObject *resultobj;
19682 wxWindow *arg1 = (wxWindow *) 0 ;
19683 wxPoint result;
19684 PyObject * obj0 = 0 ;
19685 char *kwnames[] = {
19686 (char *) "self", NULL
19687 };
19688
19689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
19690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19691 {
19692 PyThreadState* __tstate = wxPyBeginAllowThreads();
19693 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
19694
19695 wxPyEndAllowThreads(__tstate);
19696 if (PyErr_Occurred()) SWIG_fail;
19697 }
19698 {
19699 wxPoint * resultptr;
19700 resultptr = new wxPoint((wxPoint &) result);
19701 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19702 }
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxWindow *arg1 = (wxWindow *) 0 ;
19712 wxRect result;
19713 PyObject * obj0 = 0 ;
19714 char *kwnames[] = {
19715 (char *) "self", NULL
19716 };
19717
19718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
19719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19720 {
19721 PyThreadState* __tstate = wxPyBeginAllowThreads();
19722 result = ((wxWindow const *)arg1)->GetClientRect();
19723
19724 wxPyEndAllowThreads(__tstate);
19725 if (PyErr_Occurred()) SWIG_fail;
19726 }
19727 {
19728 wxRect * resultptr;
19729 resultptr = new wxRect((wxRect &) result);
19730 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19731 }
19732 return resultobj;
19733 fail:
19734 return NULL;
19735 }
19736
19737
19738 static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19739 PyObject *resultobj;
19740 wxWindow *arg1 = (wxWindow *) 0 ;
19741 wxSize result;
19742 PyObject * obj0 = 0 ;
19743 char *kwnames[] = {
19744 (char *) "self", NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
19748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 result = ((wxWindow const *)arg1)->GetBestSize();
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 {
19757 wxSize * resultptr;
19758 resultptr = new wxSize((wxSize &) result);
19759 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19760 }
19761 return resultobj;
19762 fail:
19763 return NULL;
19764 }
19765
19766
19767 static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19768 PyObject *resultobj;
19769 wxWindow *arg1 = (wxWindow *) 0 ;
19770 int *arg2 = (int *) 0 ;
19771 int *arg3 = (int *) 0 ;
19772 int temp2 ;
19773 int temp3 ;
19774 PyObject * obj0 = 0 ;
19775 char *kwnames[] = {
19776 (char *) "self", NULL
19777 };
19778
19779 arg2 = &temp2;
19780 arg3 = &temp3;
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
19782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 Py_INCREF(Py_None); resultobj = Py_None;
19791 {
19792 PyObject *o = PyInt_FromLong((long) (*arg2));
19793 resultobj = t_output_helper(resultobj,o);
19794 }
19795 {
19796 PyObject *o = PyInt_FromLong((long) (*arg3));
19797 resultobj = t_output_helper(resultobj,o);
19798 }
19799 return resultobj;
19800 fail:
19801 return NULL;
19802 }
19803
19804
19805 static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxWindow *arg1 = (wxWindow *) 0 ;
19808 wxSize result;
19809 PyObject * obj0 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
19815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 {
19824 wxSize * resultptr;
19825 resultptr = new wxSize((wxSize &) result);
19826 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19827 }
19828 return resultobj;
19829 fail:
19830 return NULL;
19831 }
19832
19833
19834 static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
19835 PyObject *resultobj;
19836 wxWindow *arg1 = (wxWindow *) 0 ;
19837 int arg2 = (int) wxBOTH ;
19838 PyObject * obj0 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "self",(char *) "direction", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_Center",kwnames,&obj0,&arg2)) goto fail;
19844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 (arg1)->Center(arg2);
19848
19849 wxPyEndAllowThreads(__tstate);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 Py_INCREF(Py_None); resultobj = Py_None;
19853 return resultobj;
19854 fail:
19855 return NULL;
19856 }
19857
19858
19859 static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
19860 PyObject *resultobj;
19861 wxWindow *arg1 = (wxWindow *) 0 ;
19862 int arg2 = (int) wxBOTH ;
19863 PyObject * obj0 = 0 ;
19864 char *kwnames[] = {
19865 (char *) "self",(char *) "dir", NULL
19866 };
19867
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnScreen",kwnames,&obj0,&arg2)) goto fail;
19869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19870 {
19871 PyThreadState* __tstate = wxPyBeginAllowThreads();
19872 (arg1)->CenterOnScreen(arg2);
19873
19874 wxPyEndAllowThreads(__tstate);
19875 if (PyErr_Occurred()) SWIG_fail;
19876 }
19877 Py_INCREF(Py_None); resultobj = Py_None;
19878 return resultobj;
19879 fail:
19880 return NULL;
19881 }
19882
19883
19884 static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
19885 PyObject *resultobj;
19886 wxWindow *arg1 = (wxWindow *) 0 ;
19887 int arg2 = (int) wxBOTH ;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self",(char *) "dir", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnParent",kwnames,&obj0,&arg2)) goto fail;
19894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 (arg1)->CenterOnParent(arg2);
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 Py_INCREF(Py_None); resultobj = Py_None;
19903 return resultobj;
19904 fail:
19905 return NULL;
19906 }
19907
19908
19909 static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
19910 PyObject *resultobj;
19911 wxWindow *arg1 = (wxWindow *) 0 ;
19912 PyObject * obj0 = 0 ;
19913 char *kwnames[] = {
19914 (char *) "self", NULL
19915 };
19916
19917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
19918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19919 {
19920 PyThreadState* __tstate = wxPyBeginAllowThreads();
19921 (arg1)->Fit();
19922
19923 wxPyEndAllowThreads(__tstate);
19924 if (PyErr_Occurred()) SWIG_fail;
19925 }
19926 Py_INCREF(Py_None); resultobj = Py_None;
19927 return resultobj;
19928 fail:
19929 return NULL;
19930 }
19931
19932
19933 static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
19934 PyObject *resultobj;
19935 wxWindow *arg1 = (wxWindow *) 0 ;
19936 PyObject * obj0 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
19942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 (arg1)->FitInside();
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 Py_INCREF(Py_None); resultobj = Py_None;
19951 return resultobj;
19952 fail:
19953 return NULL;
19954 }
19955
19956
19957 static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
19958 PyObject *resultobj;
19959 wxWindow *arg1 = (wxWindow *) 0 ;
19960 int arg2 ;
19961 int arg3 ;
19962 int arg4 = (int) -1 ;
19963 int arg5 = (int) -1 ;
19964 int arg6 = (int) -1 ;
19965 int arg7 = (int) -1 ;
19966 PyObject * obj0 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiii:Window_SetSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
19972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19973 {
19974 PyThreadState* __tstate = wxPyBeginAllowThreads();
19975 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
19976
19977 wxPyEndAllowThreads(__tstate);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
19980 Py_INCREF(Py_None); resultobj = Py_None;
19981 return resultobj;
19982 fail:
19983 return NULL;
19984 }
19985
19986
19987 static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
19988 PyObject *resultobj;
19989 wxWindow *arg1 = (wxWindow *) 0 ;
19990 int arg2 ;
19991 int arg3 ;
19992 int arg4 = (int) -1 ;
19993 int arg5 = (int) -1 ;
19994 PyObject * obj0 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 {
20002 PyThreadState* __tstate = wxPyBeginAllowThreads();
20003 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
20004
20005 wxPyEndAllowThreads(__tstate);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 Py_INCREF(Py_None); resultobj = Py_None;
20009 return resultobj;
20010 fail:
20011 return NULL;
20012 }
20013
20014
20015 static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20016 PyObject *resultobj;
20017 wxWindow *arg1 = (wxWindow *) 0 ;
20018 int result;
20019 PyObject * obj0 = 0 ;
20020 char *kwnames[] = {
20021 (char *) "self", NULL
20022 };
20023
20024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
20025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 result = (int)((wxWindow const *)arg1)->GetMinWidth();
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 resultobj = PyInt_FromLong((long)result);
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj;
20042 wxWindow *arg1 = (wxWindow *) 0 ;
20043 int result;
20044 PyObject * obj0 = 0 ;
20045 char *kwnames[] = {
20046 (char *) "self", NULL
20047 };
20048
20049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
20050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20051 {
20052 PyThreadState* __tstate = wxPyBeginAllowThreads();
20053 result = (int)((wxWindow const *)arg1)->GetMinHeight();
20054
20055 wxPyEndAllowThreads(__tstate);
20056 if (PyErr_Occurred()) SWIG_fail;
20057 }
20058 resultobj = PyInt_FromLong((long)result);
20059 return resultobj;
20060 fail:
20061 return NULL;
20062 }
20063
20064
20065 static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20066 PyObject *resultobj;
20067 wxWindow *arg1 = (wxWindow *) 0 ;
20068 int result;
20069 PyObject * obj0 = 0 ;
20070 char *kwnames[] = {
20071 (char *) "self", NULL
20072 };
20073
20074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
20075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
20079
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 resultobj = PyInt_FromLong((long)result);
20084 return resultobj;
20085 fail:
20086 return NULL;
20087 }
20088
20089
20090 static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20091 PyObject *resultobj;
20092 wxWindow *arg1 = (wxWindow *) 0 ;
20093 int result;
20094 PyObject * obj0 = 0 ;
20095 char *kwnames[] = {
20096 (char *) "self", NULL
20097 };
20098
20099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
20100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20101 {
20102 PyThreadState* __tstate = wxPyBeginAllowThreads();
20103 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
20104
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 resultobj = PyInt_FromLong((long)result);
20109 return resultobj;
20110 fail:
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxWindow *arg1 = (wxWindow *) 0 ;
20118 wxSize result;
20119 PyObject * obj0 = 0 ;
20120 char *kwnames[] = {
20121 (char *) "self", NULL
20122 };
20123
20124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
20125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 result = ((wxWindow const *)arg1)->GetMaxSize();
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 {
20134 wxSize * resultptr;
20135 resultptr = new wxSize((wxSize &) result);
20136 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20137 }
20138 return resultobj;
20139 fail:
20140 return NULL;
20141 }
20142
20143
20144 static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20145 PyObject *resultobj;
20146 wxWindow *arg1 = (wxWindow *) 0 ;
20147 wxSize *arg2 = 0 ;
20148 wxSize temp2 ;
20149 PyObject * obj0 = 0 ;
20150 PyObject * obj1 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self",(char *) "size", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
20156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20157 {
20158 arg2 = &temp2;
20159 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20160 }
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 (arg1)->SetVirtualSize((wxSize const &)*arg2);
20164
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 Py_INCREF(Py_None); resultobj = Py_None;
20169 return resultobj;
20170 fail:
20171 return NULL;
20172 }
20173
20174
20175 static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
20176 PyObject *resultobj;
20177 wxWindow *arg1 = (wxWindow *) 0 ;
20178 int arg2 ;
20179 int arg3 ;
20180 PyObject * obj0 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self",(char *) "w",(char *) "h", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetVirtualSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20187 {
20188 PyThreadState* __tstate = wxPyBeginAllowThreads();
20189 (arg1)->SetVirtualSize(arg2,arg3);
20190
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 Py_INCREF(Py_None); resultobj = Py_None;
20195 return resultobj;
20196 fail:
20197 return NULL;
20198 }
20199
20200
20201 static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20202 PyObject *resultobj;
20203 wxWindow *arg1 = (wxWindow *) 0 ;
20204 wxSize result;
20205 PyObject * obj0 = 0 ;
20206 char *kwnames[] = {
20207 (char *) "self", NULL
20208 };
20209
20210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
20211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20212 {
20213 PyThreadState* __tstate = wxPyBeginAllowThreads();
20214 result = ((wxWindow const *)arg1)->GetVirtualSize();
20215
20216 wxPyEndAllowThreads(__tstate);
20217 if (PyErr_Occurred()) SWIG_fail;
20218 }
20219 {
20220 wxSize * resultptr;
20221 resultptr = new wxSize((wxSize &) result);
20222 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20223 }
20224 return resultobj;
20225 fail:
20226 return NULL;
20227 }
20228
20229
20230 static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20231 PyObject *resultobj;
20232 wxWindow *arg1 = (wxWindow *) 0 ;
20233 int *arg2 = (int *) 0 ;
20234 int *arg3 = (int *) 0 ;
20235 int temp2 ;
20236 int temp3 ;
20237 PyObject * obj0 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self", NULL
20240 };
20241
20242 arg2 = &temp2;
20243 arg3 = &temp3;
20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
20245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 Py_INCREF(Py_None); resultobj = Py_None;
20254 {
20255 PyObject *o = PyInt_FromLong((long) (*arg2));
20256 resultobj = t_output_helper(resultobj,o);
20257 }
20258 {
20259 PyObject *o = PyInt_FromLong((long) (*arg3));
20260 resultobj = t_output_helper(resultobj,o);
20261 }
20262 return resultobj;
20263 fail:
20264 return NULL;
20265 }
20266
20267
20268 static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20269 PyObject *resultobj;
20270 wxWindow *arg1 = (wxWindow *) 0 ;
20271 wxSize result;
20272 PyObject * obj0 = 0 ;
20273 char *kwnames[] = {
20274 (char *) "self", NULL
20275 };
20276
20277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
20278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20279 {
20280 PyThreadState* __tstate = wxPyBeginAllowThreads();
20281 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
20282
20283 wxPyEndAllowThreads(__tstate);
20284 if (PyErr_Occurred()) SWIG_fail;
20285 }
20286 {
20287 wxSize * resultptr;
20288 resultptr = new wxSize((wxSize &) result);
20289 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20290 }
20291 return resultobj;
20292 fail:
20293 return NULL;
20294 }
20295
20296
20297 static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
20298 PyObject *resultobj;
20299 wxWindow *arg1 = (wxWindow *) 0 ;
20300 bool arg2 = (bool) True ;
20301 bool result;
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj1 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "self",(char *) "show", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
20309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20310 if (obj1) {
20311 arg2 = PyInt_AsLong(obj1) ? true : false;
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 result = (bool)(arg1)->Show(arg2);
20317
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 resultobj = PyInt_FromLong((long)result);
20322 return resultobj;
20323 fail:
20324 return NULL;
20325 }
20326
20327
20328 static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
20329 PyObject *resultobj;
20330 wxWindow *arg1 = (wxWindow *) 0 ;
20331 bool result;
20332 PyObject * obj0 = 0 ;
20333 char *kwnames[] = {
20334 (char *) "self", NULL
20335 };
20336
20337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
20338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20339 {
20340 PyThreadState* __tstate = wxPyBeginAllowThreads();
20341 result = (bool)(arg1)->Hide();
20342
20343 wxPyEndAllowThreads(__tstate);
20344 if (PyErr_Occurred()) SWIG_fail;
20345 }
20346 resultobj = PyInt_FromLong((long)result);
20347 return resultobj;
20348 fail:
20349 return NULL;
20350 }
20351
20352
20353 static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj;
20355 wxWindow *arg1 = (wxWindow *) 0 ;
20356 bool arg2 = (bool) True ;
20357 bool result;
20358 PyObject * obj0 = 0 ;
20359 PyObject * obj1 = 0 ;
20360 char *kwnames[] = {
20361 (char *) "self",(char *) "enable", NULL
20362 };
20363
20364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
20365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20366 if (obj1) {
20367 arg2 = PyInt_AsLong(obj1) ? true : false;
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 {
20371 PyThreadState* __tstate = wxPyBeginAllowThreads();
20372 result = (bool)(arg1)->Enable(arg2);
20373
20374 wxPyEndAllowThreads(__tstate);
20375 if (PyErr_Occurred()) SWIG_fail;
20376 }
20377 resultobj = PyInt_FromLong((long)result);
20378 return resultobj;
20379 fail:
20380 return NULL;
20381 }
20382
20383
20384 static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
20385 PyObject *resultobj;
20386 wxWindow *arg1 = (wxWindow *) 0 ;
20387 bool result;
20388 PyObject * obj0 = 0 ;
20389 char *kwnames[] = {
20390 (char *) "self", NULL
20391 };
20392
20393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
20394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20395 {
20396 PyThreadState* __tstate = wxPyBeginAllowThreads();
20397 result = (bool)(arg1)->Disable();
20398
20399 wxPyEndAllowThreads(__tstate);
20400 if (PyErr_Occurred()) SWIG_fail;
20401 }
20402 resultobj = PyInt_FromLong((long)result);
20403 return resultobj;
20404 fail:
20405 return NULL;
20406 }
20407
20408
20409 static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
20410 PyObject *resultobj;
20411 wxWindow *arg1 = (wxWindow *) 0 ;
20412 bool result;
20413 PyObject * obj0 = 0 ;
20414 char *kwnames[] = {
20415 (char *) "self", NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
20419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 result = (bool)((wxWindow const *)arg1)->IsShown();
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 resultobj = PyInt_FromLong((long)result);
20428 return resultobj;
20429 fail:
20430 return NULL;
20431 }
20432
20433
20434 static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20435 PyObject *resultobj;
20436 wxWindow *arg1 = (wxWindow *) 0 ;
20437 bool result;
20438 PyObject * obj0 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
20444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 result = (bool)((wxWindow const *)arg1)->IsEnabled();
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 resultobj = PyInt_FromLong((long)result);
20453 return resultobj;
20454 fail:
20455 return NULL;
20456 }
20457
20458
20459 static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxWindow *arg1 = (wxWindow *) 0 ;
20462 long arg2 ;
20463 PyObject * obj0 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "style", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
20469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 (arg1)->SetWindowStyleFlag(arg2);
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 Py_INCREF(Py_None); resultobj = Py_None;
20478 return resultobj;
20479 fail:
20480 return NULL;
20481 }
20482
20483
20484 static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20485 PyObject *resultobj;
20486 wxWindow *arg1 = (wxWindow *) 0 ;
20487 long result;
20488 PyObject * obj0 = 0 ;
20489 char *kwnames[] = {
20490 (char *) "self", NULL
20491 };
20492
20493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
20494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20495 {
20496 PyThreadState* __tstate = wxPyBeginAllowThreads();
20497 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
20498
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 resultobj = PyInt_FromLong((long)result);
20503 return resultobj;
20504 fail:
20505 return NULL;
20506 }
20507
20508
20509 static PyObject *_wrap_Window_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20510 PyObject *resultobj;
20511 wxWindow *arg1 = (wxWindow *) 0 ;
20512 long arg2 ;
20513 PyObject * obj0 = 0 ;
20514 char *kwnames[] = {
20515 (char *) "self",(char *) "style", NULL
20516 };
20517
20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyle",kwnames,&obj0,&arg2)) goto fail;
20519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20520 {
20521 PyThreadState* __tstate = wxPyBeginAllowThreads();
20522 (arg1)->SetWindowStyle(arg2);
20523
20524 wxPyEndAllowThreads(__tstate);
20525 if (PyErr_Occurred()) SWIG_fail;
20526 }
20527 Py_INCREF(Py_None); resultobj = Py_None;
20528 return resultobj;
20529 fail:
20530 return NULL;
20531 }
20532
20533
20534 static PyObject *_wrap_Window_GetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20535 PyObject *resultobj;
20536 wxWindow *arg1 = (wxWindow *) 0 ;
20537 long result;
20538 PyObject * obj0 = 0 ;
20539 char *kwnames[] = {
20540 (char *) "self", NULL
20541 };
20542
20543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyle",kwnames,&obj0)) goto fail;
20544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = (long)((wxWindow const *)arg1)->GetWindowStyle();
20548
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 resultobj = PyInt_FromLong((long)result);
20553 return resultobj;
20554 fail:
20555 return NULL;
20556 }
20557
20558
20559 static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20560 PyObject *resultobj;
20561 wxWindow *arg1 = (wxWindow *) 0 ;
20562 int arg2 ;
20563 bool result;
20564 PyObject * obj0 = 0 ;
20565 char *kwnames[] = {
20566 (char *) "self",(char *) "flag", NULL
20567 };
20568
20569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasFlag",kwnames,&obj0,&arg2)) goto fail;
20570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20571 {
20572 PyThreadState* __tstate = wxPyBeginAllowThreads();
20573 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
20574
20575 wxPyEndAllowThreads(__tstate);
20576 if (PyErr_Occurred()) SWIG_fail;
20577 }
20578 resultobj = PyInt_FromLong((long)result);
20579 return resultobj;
20580 fail:
20581 return NULL;
20582 }
20583
20584
20585 static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
20586 PyObject *resultobj;
20587 wxWindow *arg1 = (wxWindow *) 0 ;
20588 bool result;
20589 PyObject * obj0 = 0 ;
20590 char *kwnames[] = {
20591 (char *) "self", NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
20595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20596 {
20597 PyThreadState* __tstate = wxPyBeginAllowThreads();
20598 result = (bool)((wxWindow const *)arg1)->IsRetained();
20599
20600 wxPyEndAllowThreads(__tstate);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 }
20603 resultobj = PyInt_FromLong((long)result);
20604 return resultobj;
20605 fail:
20606 return NULL;
20607 }
20608
20609
20610 static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20611 PyObject *resultobj;
20612 wxWindow *arg1 = (wxWindow *) 0 ;
20613 long arg2 ;
20614 PyObject * obj0 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self",(char *) "exStyle", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetExtraStyle",kwnames,&obj0,&arg2)) goto fail;
20620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 (arg1)->SetExtraStyle(arg2);
20624
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 Py_INCREF(Py_None); resultobj = Py_None;
20629 return resultobj;
20630 fail:
20631 return NULL;
20632 }
20633
20634
20635 static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20636 PyObject *resultobj;
20637 wxWindow *arg1 = (wxWindow *) 0 ;
20638 long result;
20639 PyObject * obj0 = 0 ;
20640 char *kwnames[] = {
20641 (char *) "self", NULL
20642 };
20643
20644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
20645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20646 {
20647 PyThreadState* __tstate = wxPyBeginAllowThreads();
20648 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
20649
20650 wxPyEndAllowThreads(__tstate);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 }
20653 resultobj = PyInt_FromLong((long)result);
20654 return resultobj;
20655 fail:
20656 return NULL;
20657 }
20658
20659
20660 static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20661 PyObject *resultobj;
20662 wxWindow *arg1 = (wxWindow *) 0 ;
20663 bool arg2 = (bool) True ;
20664 PyObject * obj0 = 0 ;
20665 PyObject * obj1 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self",(char *) "modal", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
20671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20672 if (obj1) {
20673 arg2 = PyInt_AsLong(obj1) ? true : false;
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 (arg1)->MakeModal(arg2);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 Py_INCREF(Py_None); resultobj = Py_None;
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxWindow *arg1 = (wxWindow *) 0 ;
20693 bool arg2 ;
20694 PyObject * obj0 = 0 ;
20695 PyObject * obj1 = 0 ;
20696 char *kwnames[] = {
20697 (char *) "self",(char *) "enableTheme", NULL
20698 };
20699
20700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
20701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20702 arg2 = PyInt_AsLong(obj1) ? true : false;
20703 if (PyErr_Occurred()) SWIG_fail;
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 (arg1)->SetThemeEnabled(arg2);
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 Py_INCREF(Py_None); resultobj = Py_None;
20712 return resultobj;
20713 fail:
20714 return NULL;
20715 }
20716
20717
20718 static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj;
20720 wxWindow *arg1 = (wxWindow *) 0 ;
20721 bool result;
20722 PyObject * obj0 = 0 ;
20723 char *kwnames[] = {
20724 (char *) "self", NULL
20725 };
20726
20727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
20728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
20732
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 resultobj = PyInt_FromLong((long)result);
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxWindow *arg1 = (wxWindow *) 0 ;
20746 bool result;
20747 PyObject * obj0 = 0 ;
20748 char *kwnames[] = {
20749 (char *) "self", NULL
20750 };
20751
20752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
20753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20754 {
20755 PyThreadState* __tstate = wxPyBeginAllowThreads();
20756 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
20757
20758 wxPyEndAllowThreads(__tstate);
20759 if (PyErr_Occurred()) SWIG_fail;
20760 }
20761 resultobj = PyInt_FromLong((long)result);
20762 return resultobj;
20763 fail:
20764 return NULL;
20765 }
20766
20767
20768 static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20769 PyObject *resultobj;
20770 wxWindow *arg1 = (wxWindow *) 0 ;
20771 PyObject * obj0 = 0 ;
20772 char *kwnames[] = {
20773 (char *) "self", NULL
20774 };
20775
20776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
20777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20778 {
20779 PyThreadState* __tstate = wxPyBeginAllowThreads();
20780 (arg1)->SetFocus();
20781
20782 wxPyEndAllowThreads(__tstate);
20783 if (PyErr_Occurred()) SWIG_fail;
20784 }
20785 Py_INCREF(Py_None); resultobj = Py_None;
20786 return resultobj;
20787 fail:
20788 return NULL;
20789 }
20790
20791
20792 static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
20793 PyObject *resultobj;
20794 wxWindow *arg1 = (wxWindow *) 0 ;
20795 PyObject * obj0 = 0 ;
20796 char *kwnames[] = {
20797 (char *) "self", NULL
20798 };
20799
20800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
20801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20802 {
20803 PyThreadState* __tstate = wxPyBeginAllowThreads();
20804 (arg1)->SetFocusFromKbd();
20805
20806 wxPyEndAllowThreads(__tstate);
20807 if (PyErr_Occurred()) SWIG_fail;
20808 }
20809 Py_INCREF(Py_None); resultobj = Py_None;
20810 return resultobj;
20811 fail:
20812 return NULL;
20813 }
20814
20815
20816 static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20817 PyObject *resultobj;
20818 wxWindow *result;
20819 char *kwnames[] = {
20820 NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (wxWindow *)wxWindow::FindFocus();
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 {
20832 resultobj = wxPyMake_wxObject(result);
20833 }
20834 return resultobj;
20835 fail:
20836 return NULL;
20837 }
20838
20839
20840 static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20841 PyObject *resultobj;
20842 wxWindow *arg1 = (wxWindow *) 0 ;
20843 bool result;
20844 PyObject * obj0 = 0 ;
20845 char *kwnames[] = {
20846 (char *) "self", NULL
20847 };
20848
20849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
20850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
20854
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 resultobj = PyInt_FromLong((long)result);
20859 return resultobj;
20860 fail:
20861 return NULL;
20862 }
20863
20864
20865 static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
20866 PyObject *resultobj;
20867 wxWindow *arg1 = (wxWindow *) 0 ;
20868 bool result;
20869 PyObject * obj0 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 resultobj = PyInt_FromLong((long)result);
20884 return resultobj;
20885 fail:
20886 return NULL;
20887 }
20888
20889
20890 static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20891 PyObject *resultobj;
20892 wxWindow *arg1 = (wxWindow *) 0 ;
20893 wxWindow *result;
20894 PyObject * obj0 = 0 ;
20895 char *kwnames[] = {
20896 (char *) "self", NULL
20897 };
20898
20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
20900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20901 {
20902 PyThreadState* __tstate = wxPyBeginAllowThreads();
20903 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
20904
20905 wxPyEndAllowThreads(__tstate);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 {
20909 resultobj = wxPyMake_wxObject(result);
20910 }
20911 return resultobj;
20912 fail:
20913 return NULL;
20914 }
20915
20916
20917 static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20918 PyObject *resultobj;
20919 wxWindow *arg1 = (wxWindow *) 0 ;
20920 wxWindow *arg2 = (wxWindow *) 0 ;
20921 wxWindow *result;
20922 PyObject * obj0 = 0 ;
20923 PyObject * obj1 = 0 ;
20924 char *kwnames[] = {
20925 (char *) "self",(char *) "child", NULL
20926 };
20927
20928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
20929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20931 {
20932 PyThreadState* __tstate = wxPyBeginAllowThreads();
20933 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
20934
20935 wxPyEndAllowThreads(__tstate);
20936 if (PyErr_Occurred()) SWIG_fail;
20937 }
20938 {
20939 resultobj = wxPyMake_wxObject(result);
20940 }
20941 return resultobj;
20942 fail:
20943 return NULL;
20944 }
20945
20946
20947 static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20948 PyObject *resultobj;
20949 wxWindow *arg1 = (wxWindow *) 0 ;
20950 wxWindow *arg2 = (wxWindow *) 0 ;
20951 PyObject * obj0 = 0 ;
20952 PyObject * obj1 = 0 ;
20953 char *kwnames[] = {
20954 (char *) "self",(char *) "win", NULL
20955 };
20956
20957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
20958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 (arg1)->SetTmpDefaultItem(arg2);
20963
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 Py_INCREF(Py_None); resultobj = Py_None;
20968 return resultobj;
20969 fail:
20970 return NULL;
20971 }
20972
20973
20974 static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
20975 PyObject *resultobj;
20976 wxWindow *arg1 = (wxWindow *) 0 ;
20977 PyObject *result;
20978 PyObject * obj0 = 0 ;
20979 char *kwnames[] = {
20980 (char *) "self", NULL
20981 };
20982
20983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
20984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20985 {
20986 PyThreadState* __tstate = wxPyBeginAllowThreads();
20987 result = (PyObject *)wxWindow_GetChildren(arg1);
20988
20989 wxPyEndAllowThreads(__tstate);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 resultobj = result;
20993 return resultobj;
20994 fail:
20995 return NULL;
20996 }
20997
20998
20999 static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21000 PyObject *resultobj;
21001 wxWindow *arg1 = (wxWindow *) 0 ;
21002 wxWindow *result;
21003 PyObject * obj0 = 0 ;
21004 char *kwnames[] = {
21005 (char *) "self", NULL
21006 };
21007
21008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
21009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 {
21018 resultobj = wxPyMake_wxObject(result);
21019 }
21020 return resultobj;
21021 fail:
21022 return NULL;
21023 }
21024
21025
21026 static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj;
21028 wxWindow *arg1 = (wxWindow *) 0 ;
21029 wxWindow *result;
21030 PyObject * obj0 = 0 ;
21031 char *kwnames[] = {
21032 (char *) "self", NULL
21033 };
21034
21035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
21036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21037 {
21038 PyThreadState* __tstate = wxPyBeginAllowThreads();
21039 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
21040
21041 wxPyEndAllowThreads(__tstate);
21042 if (PyErr_Occurred()) SWIG_fail;
21043 }
21044 {
21045 resultobj = wxPyMake_wxObject(result);
21046 }
21047 return resultobj;
21048 fail:
21049 return NULL;
21050 }
21051
21052
21053 static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj;
21055 wxWindow *arg1 = (wxWindow *) 0 ;
21056 bool result;
21057 PyObject * obj0 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
21063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21064 {
21065 PyThreadState* __tstate = wxPyBeginAllowThreads();
21066 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
21067
21068 wxPyEndAllowThreads(__tstate);
21069 if (PyErr_Occurred()) SWIG_fail;
21070 }
21071 resultobj = PyInt_FromLong((long)result);
21072 return resultobj;
21073 fail:
21074 return NULL;
21075 }
21076
21077
21078 static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
21079 PyObject *resultobj;
21080 wxWindow *arg1 = (wxWindow *) 0 ;
21081 wxWindow *arg2 = (wxWindow *) 0 ;
21082 bool result;
21083 PyObject * obj0 = 0 ;
21084 PyObject * obj1 = 0 ;
21085 char *kwnames[] = {
21086 (char *) "self",(char *) "newParent", NULL
21087 };
21088
21089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
21090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21092 {
21093 PyThreadState* __tstate = wxPyBeginAllowThreads();
21094 result = (bool)(arg1)->Reparent(arg2);
21095
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 resultobj = PyInt_FromLong((long)result);
21100 return resultobj;
21101 fail:
21102 return NULL;
21103 }
21104
21105
21106 static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21107 PyObject *resultobj;
21108 wxWindow *arg1 = (wxWindow *) 0 ;
21109 wxWindow *arg2 = (wxWindow *) 0 ;
21110 PyObject * obj0 = 0 ;
21111 PyObject * obj1 = 0 ;
21112 char *kwnames[] = {
21113 (char *) "self",(char *) "child", NULL
21114 };
21115
21116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
21117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 (arg1)->AddChild(arg2);
21122
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
21126 Py_INCREF(Py_None); resultobj = Py_None;
21127 return resultobj;
21128 fail:
21129 return NULL;
21130 }
21131
21132
21133 static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21134 PyObject *resultobj;
21135 wxWindow *arg1 = (wxWindow *) 0 ;
21136 wxWindow *arg2 = (wxWindow *) 0 ;
21137 PyObject * obj0 = 0 ;
21138 PyObject * obj1 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self",(char *) "child", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
21144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 (arg1)->RemoveChild(arg2);
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 Py_INCREF(Py_None); resultobj = Py_None;
21154 return resultobj;
21155 fail:
21156 return NULL;
21157 }
21158
21159
21160 static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
21161 PyObject *resultobj;
21162 wxWindow *arg1 = (wxWindow *) 0 ;
21163 long arg2 ;
21164 wxWindow *result;
21165 PyObject * obj0 = 0 ;
21166 char *kwnames[] = {
21167 (char *) "self",(char *) "winid", NULL
21168 };
21169
21170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_FindWindowById",kwnames,&obj0,&arg2)) goto fail;
21171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21172 {
21173 PyThreadState* __tstate = wxPyBeginAllowThreads();
21174 result = (wxWindow *)(arg1)->FindWindow(arg2);
21175
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
21179 {
21180 resultobj = wxPyMake_wxObject(result);
21181 }
21182 return resultobj;
21183 fail:
21184 return NULL;
21185 }
21186
21187
21188 static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj;
21190 wxWindow *arg1 = (wxWindow *) 0 ;
21191 wxString *arg2 = 0 ;
21192 wxWindow *result;
21193 bool temp2 = False ;
21194 PyObject * obj0 = 0 ;
21195 PyObject * obj1 = 0 ;
21196 char *kwnames[] = {
21197 (char *) "self",(char *) "name", NULL
21198 };
21199
21200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
21201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21202 {
21203 arg2 = wxString_in_helper(obj1);
21204 if (arg2 == NULL) SWIG_fail;
21205 temp2 = True;
21206 }
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
21210
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 {
21215 resultobj = wxPyMake_wxObject(result);
21216 }
21217 {
21218 if (temp2)
21219 delete arg2;
21220 }
21221 return resultobj;
21222 fail:
21223 {
21224 if (temp2)
21225 delete arg2;
21226 }
21227 return NULL;
21228 }
21229
21230
21231 static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21232 PyObject *resultobj;
21233 wxWindow *arg1 = (wxWindow *) 0 ;
21234 wxEvtHandler *result;
21235 PyObject * obj0 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "self", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
21241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21242 {
21243 PyThreadState* __tstate = wxPyBeginAllowThreads();
21244 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
21245
21246 wxPyEndAllowThreads(__tstate);
21247 if (PyErr_Occurred()) SWIG_fail;
21248 }
21249 {
21250 resultobj = wxPyMake_wxObject(result);
21251 }
21252 return resultobj;
21253 fail:
21254 return NULL;
21255 }
21256
21257
21258 static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21259 PyObject *resultobj;
21260 wxWindow *arg1 = (wxWindow *) 0 ;
21261 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21262 PyObject * obj0 = 0 ;
21263 PyObject * obj1 = 0 ;
21264 char *kwnames[] = {
21265 (char *) "self",(char *) "handler", NULL
21266 };
21267
21268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
21269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 (arg1)->SetEventHandler(arg2);
21274
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 Py_INCREF(Py_None); resultobj = Py_None;
21279 return resultobj;
21280 fail:
21281 return NULL;
21282 }
21283
21284
21285 static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21286 PyObject *resultobj;
21287 wxWindow *arg1 = (wxWindow *) 0 ;
21288 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21289 PyObject * obj0 = 0 ;
21290 PyObject * obj1 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "self",(char *) "handler", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
21296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21297 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 (arg1)->PushEventHandler(arg2);
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 Py_INCREF(Py_None); resultobj = Py_None;
21306 return resultobj;
21307 fail:
21308 return NULL;
21309 }
21310
21311
21312 static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj;
21314 wxWindow *arg1 = (wxWindow *) 0 ;
21315 bool arg2 = (bool) False ;
21316 wxEvtHandler *result;
21317 PyObject * obj0 = 0 ;
21318 PyObject * obj1 = 0 ;
21319 char *kwnames[] = {
21320 (char *) "self",(char *) "deleteHandler", NULL
21321 };
21322
21323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
21324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21325 if (obj1) {
21326 arg2 = PyInt_AsLong(obj1) ? true : false;
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
21332
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 {
21337 resultobj = wxPyMake_wxObject(result);
21338 }
21339 return resultobj;
21340 fail:
21341 return NULL;
21342 }
21343
21344
21345 static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21346 PyObject *resultobj;
21347 wxWindow *arg1 = (wxWindow *) 0 ;
21348 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21349 bool result;
21350 PyObject * obj0 = 0 ;
21351 PyObject * obj1 = 0 ;
21352 char *kwnames[] = {
21353 (char *) "self",(char *) "handler", NULL
21354 };
21355
21356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
21357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 result = (bool)(arg1)->RemoveEventHandler(arg2);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 resultobj = PyInt_FromLong((long)result);
21367 return resultobj;
21368 fail:
21369 return NULL;
21370 }
21371
21372
21373 static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxWindow *arg1 = (wxWindow *) 0 ;
21376 wxValidator *arg2 = 0 ;
21377 PyObject * obj0 = 0 ;
21378 PyObject * obj1 = 0 ;
21379 char *kwnames[] = {
21380 (char *) "self",(char *) "validator", NULL
21381 };
21382
21383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
21384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21386 if (arg2 == NULL) {
21387 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21388 }
21389 {
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
21391 (arg1)->SetValidator((wxValidator const &)*arg2);
21392
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 Py_INCREF(Py_None); resultobj = Py_None;
21397 return resultobj;
21398 fail:
21399 return NULL;
21400 }
21401
21402
21403 static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21404 PyObject *resultobj;
21405 wxWindow *arg1 = (wxWindow *) 0 ;
21406 wxValidator *result;
21407 PyObject * obj0 = 0 ;
21408 char *kwnames[] = {
21409 (char *) "self", NULL
21410 };
21411
21412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
21413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 result = (wxValidator *)(arg1)->GetValidator();
21417
21418 wxPyEndAllowThreads(__tstate);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 }
21421 {
21422 resultobj = wxPyMake_wxObject(result);
21423 }
21424 return resultobj;
21425 fail:
21426 return NULL;
21427 }
21428
21429
21430 static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21431 PyObject *resultobj;
21432 wxWindow *arg1 = (wxWindow *) 0 ;
21433 wxAcceleratorTable *arg2 = 0 ;
21434 PyObject * obj0 = 0 ;
21435 PyObject * obj1 = 0 ;
21436 char *kwnames[] = {
21437 (char *) "self",(char *) "accel", NULL
21438 };
21439
21440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
21441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21443 if (arg2 == NULL) {
21444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21445 }
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
21449
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 Py_INCREF(Py_None); resultobj = Py_None;
21454 return resultobj;
21455 fail:
21456 return NULL;
21457 }
21458
21459
21460 static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj;
21462 wxWindow *arg1 = (wxWindow *) 0 ;
21463 wxAcceleratorTable *result;
21464 PyObject * obj0 = 0 ;
21465 char *kwnames[] = {
21466 (char *) "self", NULL
21467 };
21468
21469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
21470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 0);
21479 return resultobj;
21480 fail:
21481 return NULL;
21482 }
21483
21484
21485 static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj;
21487 wxWindow *arg1 = (wxWindow *) 0 ;
21488 int arg2 ;
21489 int arg3 ;
21490 int arg4 ;
21491 bool result;
21492 PyObject * obj0 = 0 ;
21493 char *kwnames[] = {
21494 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21495 };
21496
21497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:Window_RegisterHotKey",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
21498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 resultobj = PyInt_FromLong((long)result);
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj;
21515 wxWindow *arg1 = (wxWindow *) 0 ;
21516 int arg2 ;
21517 bool result;
21518 PyObject * obj0 = 0 ;
21519 char *kwnames[] = {
21520 (char *) "self",(char *) "hotkeyId", NULL
21521 };
21522
21523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_UnregisterHotKey",kwnames,&obj0,&arg2)) goto fail;
21524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 resultobj = PyInt_FromLong((long)result);
21533 return resultobj;
21534 fail:
21535 return NULL;
21536 }
21537
21538
21539 static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21540 PyObject *resultobj;
21541 wxWindow *arg1 = (wxWindow *) 0 ;
21542 wxPoint *arg2 = 0 ;
21543 wxPoint result;
21544 wxPoint temp2 ;
21545 PyObject * obj0 = 0 ;
21546 PyObject * obj1 = 0 ;
21547 char *kwnames[] = {
21548 (char *) "self",(char *) "pt", NULL
21549 };
21550
21551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
21552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21553 {
21554 arg2 = &temp2;
21555 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21556 }
21557 {
21558 PyThreadState* __tstate = wxPyBeginAllowThreads();
21559 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21560
21561 wxPyEndAllowThreads(__tstate);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 }
21564 {
21565 wxPoint * resultptr;
21566 resultptr = new wxPoint((wxPoint &) result);
21567 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21568 }
21569 return resultobj;
21570 fail:
21571 return NULL;
21572 }
21573
21574
21575 static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21576 PyObject *resultobj;
21577 wxWindow *arg1 = (wxWindow *) 0 ;
21578 wxSize *arg2 = 0 ;
21579 wxSize result;
21580 wxSize temp2 ;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self",(char *) "sz", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21589 {
21590 arg2 = &temp2;
21591 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21592 }
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 {
21601 wxSize * resultptr;
21602 resultptr = new wxSize((wxSize &) result);
21603 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21604 }
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxWindow *arg1 = (wxWindow *) 0 ;
21614 wxPoint *arg2 = 0 ;
21615 wxPoint result;
21616 wxPoint temp2 ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "pt", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
21624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21625 {
21626 arg2 = &temp2;
21627 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21628 }
21629 {
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 {
21637 wxPoint * resultptr;
21638 resultptr = new wxPoint((wxPoint &) result);
21639 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21640 }
21641 return resultobj;
21642 fail:
21643 return NULL;
21644 }
21645
21646
21647 static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
21648 PyObject *resultobj;
21649 wxWindow *arg1 = (wxWindow *) 0 ;
21650 wxSize *arg2 = 0 ;
21651 wxSize result;
21652 wxSize temp2 ;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self",(char *) "sz", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21661 {
21662 arg2 = &temp2;
21663 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21664 }
21665 {
21666 PyThreadState* __tstate = wxPyBeginAllowThreads();
21667 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21668
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
21672 {
21673 wxSize * resultptr;
21674 resultptr = new wxSize((wxSize &) result);
21675 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21676 }
21677 return resultobj;
21678 fail:
21679 return NULL;
21680 }
21681
21682
21683 static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21684 PyObject *resultobj;
21685 wxWindow *arg1 = (wxWindow *) 0 ;
21686 wxPoint *arg2 = 0 ;
21687 wxPoint result;
21688 wxPoint temp2 ;
21689 PyObject * obj0 = 0 ;
21690 PyObject * obj1 = 0 ;
21691 char *kwnames[] = {
21692 (char *) "self",(char *) "pt", NULL
21693 };
21694
21695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
21696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21697 {
21698 arg2 = &temp2;
21699 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21700 }
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
21704
21705 wxPyEndAllowThreads(__tstate);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 }
21708 {
21709 wxPoint * resultptr;
21710 resultptr = new wxPoint((wxPoint &) result);
21711 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21712 }
21713 return resultobj;
21714 fail:
21715 return NULL;
21716 }
21717
21718
21719 static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 wxWindow *arg1 = (wxWindow *) 0 ;
21722 wxSize *arg2 = 0 ;
21723 wxSize result;
21724 wxSize temp2 ;
21725 PyObject * obj0 = 0 ;
21726 PyObject * obj1 = 0 ;
21727 char *kwnames[] = {
21728 (char *) "self",(char *) "sz", NULL
21729 };
21730
21731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
21732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21733 {
21734 arg2 = &temp2;
21735 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21736 }
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
21740
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 {
21745 wxSize * resultptr;
21746 resultptr = new wxSize((wxSize &) result);
21747 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21748 }
21749 return resultobj;
21750 fail:
21751 return NULL;
21752 }
21753
21754
21755 static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
21756 PyObject *resultobj;
21757 wxWindow *arg1 = (wxWindow *) 0 ;
21758 int arg2 ;
21759 int arg3 ;
21760 PyObject * obj0 = 0 ;
21761 char *kwnames[] = {
21762 (char *) "self",(char *) "x",(char *) "y", NULL
21763 };
21764
21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_WarpPointer",kwnames,&obj0,&arg2,&arg3)) goto fail;
21766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 (arg1)->WarpPointer(arg2,arg3);
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 Py_INCREF(Py_None); resultobj = Py_None;
21775 return resultobj;
21776 fail:
21777 return NULL;
21778 }
21779
21780
21781 static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21782 PyObject *resultobj;
21783 wxWindow *arg1 = (wxWindow *) 0 ;
21784 PyObject * obj0 = 0 ;
21785 char *kwnames[] = {
21786 (char *) "self", NULL
21787 };
21788
21789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
21790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21791 {
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 (arg1)->CaptureMouse();
21794
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 Py_INCREF(Py_None); resultobj = Py_None;
21799 return resultobj;
21800 fail:
21801 return NULL;
21802 }
21803
21804
21805 static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21806 PyObject *resultobj;
21807 wxWindow *arg1 = (wxWindow *) 0 ;
21808 PyObject * obj0 = 0 ;
21809 char *kwnames[] = {
21810 (char *) "self", NULL
21811 };
21812
21813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
21814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 (arg1)->ReleaseMouse();
21818
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 Py_INCREF(Py_None); resultobj = Py_None;
21823 return resultobj;
21824 fail:
21825 return NULL;
21826 }
21827
21828
21829 static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21830 PyObject *resultobj;
21831 wxWindow *result;
21832 char *kwnames[] = {
21833 NULL
21834 };
21835
21836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
21837 {
21838 PyThreadState* __tstate = wxPyBeginAllowThreads();
21839 result = (wxWindow *)wxWindow::GetCapture();
21840
21841 wxPyEndAllowThreads(__tstate);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 {
21845 resultobj = wxPyMake_wxObject(result);
21846 }
21847 return resultobj;
21848 fail:
21849 return NULL;
21850 }
21851
21852
21853 static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21854 PyObject *resultobj;
21855 wxWindow *arg1 = (wxWindow *) 0 ;
21856 bool result;
21857 PyObject * obj0 = 0 ;
21858 char *kwnames[] = {
21859 (char *) "self", NULL
21860 };
21861
21862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
21863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21864 {
21865 PyThreadState* __tstate = wxPyBeginAllowThreads();
21866 result = (bool)((wxWindow const *)arg1)->HasCapture();
21867
21868 wxPyEndAllowThreads(__tstate);
21869 if (PyErr_Occurred()) SWIG_fail;
21870 }
21871 resultobj = PyInt_FromLong((long)result);
21872 return resultobj;
21873 fail:
21874 return NULL;
21875 }
21876
21877
21878 static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
21879 PyObject *resultobj;
21880 wxWindow *arg1 = (wxWindow *) 0 ;
21881 bool arg2 = (bool) True ;
21882 wxRect *arg3 = (wxRect *) NULL ;
21883 PyObject * obj0 = 0 ;
21884 PyObject * obj1 = 0 ;
21885 PyObject * obj2 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
21891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21892 if (obj1) {
21893 arg2 = PyInt_AsLong(obj1) ? true : false;
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 if (obj2) {
21897 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21898 }
21899 {
21900 PyThreadState* __tstate = wxPyBeginAllowThreads();
21901 (arg1)->Refresh(arg2,(wxRect const *)arg3);
21902
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 Py_INCREF(Py_None); resultobj = Py_None;
21907 return resultobj;
21908 fail:
21909 return NULL;
21910 }
21911
21912
21913 static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21914 PyObject *resultobj;
21915 wxWindow *arg1 = (wxWindow *) 0 ;
21916 wxRect *arg2 = 0 ;
21917 wxRect temp2 ;
21918 PyObject * obj0 = 0 ;
21919 PyObject * obj1 = 0 ;
21920 char *kwnames[] = {
21921 (char *) "self",(char *) "rect", NULL
21922 };
21923
21924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
21925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21926 {
21927 arg2 = &temp2;
21928 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21929 }
21930 {
21931 PyThreadState* __tstate = wxPyBeginAllowThreads();
21932 (arg1)->RefreshRect((wxRect const &)*arg2);
21933
21934 wxPyEndAllowThreads(__tstate);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 }
21937 Py_INCREF(Py_None); resultobj = Py_None;
21938 return resultobj;
21939 fail:
21940 return NULL;
21941 }
21942
21943
21944 static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
21945 PyObject *resultobj;
21946 wxWindow *arg1 = (wxWindow *) 0 ;
21947 PyObject * obj0 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
21953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21954 {
21955 PyThreadState* __tstate = wxPyBeginAllowThreads();
21956 (arg1)->Update();
21957
21958 wxPyEndAllowThreads(__tstate);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 }
21961 Py_INCREF(Py_None); resultobj = Py_None;
21962 return resultobj;
21963 fail:
21964 return NULL;
21965 }
21966
21967
21968 static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
21969 PyObject *resultobj;
21970 wxWindow *arg1 = (wxWindow *) 0 ;
21971 PyObject * obj0 = 0 ;
21972 char *kwnames[] = {
21973 (char *) "self", NULL
21974 };
21975
21976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
21977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 (arg1)->ClearBackground();
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 Py_INCREF(Py_None); resultobj = Py_None;
21986 return resultobj;
21987 fail:
21988 return NULL;
21989 }
21990
21991
21992 static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxWindow *arg1 = (wxWindow *) 0 ;
21995 PyObject * obj0 = 0 ;
21996 char *kwnames[] = {
21997 (char *) "self", NULL
21998 };
21999
22000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
22001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 (arg1)->Freeze();
22005
22006 wxPyEndAllowThreads(__tstate);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
22009 Py_INCREF(Py_None); resultobj = Py_None;
22010 return resultobj;
22011 fail:
22012 return NULL;
22013 }
22014
22015
22016 static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
22017 PyObject *resultobj;
22018 wxWindow *arg1 = (wxWindow *) 0 ;
22019 PyObject * obj0 = 0 ;
22020 char *kwnames[] = {
22021 (char *) "self", NULL
22022 };
22023
22024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
22025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 (arg1)->Thaw();
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 Py_INCREF(Py_None); resultobj = Py_None;
22034 return resultobj;
22035 fail:
22036 return NULL;
22037 }
22038
22039
22040 static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22041 PyObject *resultobj;
22042 wxWindow *arg1 = (wxWindow *) 0 ;
22043 wxDC *arg2 = 0 ;
22044 PyObject * obj0 = 0 ;
22045 PyObject * obj1 = 0 ;
22046 char *kwnames[] = {
22047 (char *) "self",(char *) "dc", NULL
22048 };
22049
22050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
22051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22053 if (arg2 == NULL) {
22054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22055 }
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 (arg1)->PrepareDC(*arg2);
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 Py_INCREF(Py_None); resultobj = Py_None;
22064 return resultobj;
22065 fail:
22066 return NULL;
22067 }
22068
22069
22070 static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 wxWindow *arg1 = (wxWindow *) 0 ;
22073 wxRegion *result;
22074 PyObject * obj0 = 0 ;
22075 char *kwnames[] = {
22076 (char *) "self", NULL
22077 };
22078
22079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
22080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22081 {
22082 PyThreadState* __tstate = wxPyBeginAllowThreads();
22083 {
22084 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
22085 result = (wxRegion *) &_result_ref;
22086 }
22087
22088 wxPyEndAllowThreads(__tstate);
22089 if (PyErr_Occurred()) SWIG_fail;
22090 }
22091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRegion, 0);
22092 return resultobj;
22093 fail:
22094 return NULL;
22095 }
22096
22097
22098 static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22099 PyObject *resultobj;
22100 wxWindow *arg1 = (wxWindow *) 0 ;
22101 wxRect result;
22102 PyObject * obj0 = 0 ;
22103 char *kwnames[] = {
22104 (char *) "self", NULL
22105 };
22106
22107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
22108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22109 {
22110 PyThreadState* __tstate = wxPyBeginAllowThreads();
22111 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
22112
22113 wxPyEndAllowThreads(__tstate);
22114 if (PyErr_Occurred()) SWIG_fail;
22115 }
22116 {
22117 wxRect * resultptr;
22118 resultptr = new wxRect((wxRect &) result);
22119 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
22120 }
22121 return resultobj;
22122 fail:
22123 return NULL;
22124 }
22125
22126
22127 static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
22128 PyObject *resultobj;
22129 wxWindow *arg1 = (wxWindow *) 0 ;
22130 int arg2 ;
22131 int arg3 ;
22132 int arg4 = (int) 1 ;
22133 int arg5 = (int) 1 ;
22134 bool result;
22135 PyObject * obj0 = 0 ;
22136 char *kwnames[] = {
22137 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22138 };
22139
22140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_IsExposed",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 resultobj = PyInt_FromLong((long)result);
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj;
22158 wxWindow *arg1 = (wxWindow *) 0 ;
22159 wxPoint *arg2 = 0 ;
22160 bool result;
22161 wxPoint temp2 ;
22162 PyObject * obj0 = 0 ;
22163 PyObject * obj1 = 0 ;
22164 char *kwnames[] = {
22165 (char *) "self",(char *) "pt", NULL
22166 };
22167
22168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
22169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22170 {
22171 arg2 = &temp2;
22172 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22173 }
22174 {
22175 PyThreadState* __tstate = wxPyBeginAllowThreads();
22176 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
22177
22178 wxPyEndAllowThreads(__tstate);
22179 if (PyErr_Occurred()) SWIG_fail;
22180 }
22181 resultobj = PyInt_FromLong((long)result);
22182 return resultobj;
22183 fail:
22184 return NULL;
22185 }
22186
22187
22188 static PyObject *_wrap_Window_isExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22189 PyObject *resultobj;
22190 wxWindow *arg1 = (wxWindow *) 0 ;
22191 wxRect *arg2 = 0 ;
22192 bool result;
22193 wxRect temp2 ;
22194 PyObject * obj0 = 0 ;
22195 PyObject * obj1 = 0 ;
22196 char *kwnames[] = {
22197 (char *) "self",(char *) "rect", NULL
22198 };
22199
22200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_isExposedRect",kwnames,&obj0,&obj1)) goto fail;
22201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22202 {
22203 arg2 = &temp2;
22204 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22205 }
22206 {
22207 PyThreadState* __tstate = wxPyBeginAllowThreads();
22208 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
22209
22210 wxPyEndAllowThreads(__tstate);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
22213 resultobj = PyInt_FromLong((long)result);
22214 return resultobj;
22215 fail:
22216 return NULL;
22217 }
22218
22219
22220 static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22221 PyObject *resultobj;
22222 wxWindow *arg1 = (wxWindow *) 0 ;
22223 wxColour *arg2 = 0 ;
22224 bool result;
22225 wxColour temp2 ;
22226 PyObject * obj0 = 0 ;
22227 PyObject * obj1 = 0 ;
22228 char *kwnames[] = {
22229 (char *) "self",(char *) "colour", NULL
22230 };
22231
22232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22234 {
22235 arg2 = &temp2;
22236 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22237 }
22238 {
22239 PyThreadState* __tstate = wxPyBeginAllowThreads();
22240 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
22241
22242 wxPyEndAllowThreads(__tstate);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 }
22245 resultobj = PyInt_FromLong((long)result);
22246 return resultobj;
22247 fail:
22248 return NULL;
22249 }
22250
22251
22252 static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22253 PyObject *resultobj;
22254 wxWindow *arg1 = (wxWindow *) 0 ;
22255 wxColour *arg2 = 0 ;
22256 bool result;
22257 wxColour temp2 ;
22258 PyObject * obj0 = 0 ;
22259 PyObject * obj1 = 0 ;
22260 char *kwnames[] = {
22261 (char *) "self",(char *) "colour", NULL
22262 };
22263
22264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
22265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22266 {
22267 arg2 = &temp2;
22268 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22269 }
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 resultobj = PyInt_FromLong((long)result);
22278 return resultobj;
22279 fail:
22280 return NULL;
22281 }
22282
22283
22284 static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22285 PyObject *resultobj;
22286 wxWindow *arg1 = (wxWindow *) 0 ;
22287 wxColour result;
22288 PyObject * obj0 = 0 ;
22289 char *kwnames[] = {
22290 (char *) "self", NULL
22291 };
22292
22293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
22294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22295 {
22296 PyThreadState* __tstate = wxPyBeginAllowThreads();
22297 result = ((wxWindow const *)arg1)->GetBackgroundColour();
22298
22299 wxPyEndAllowThreads(__tstate);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 }
22302 {
22303 wxColour * resultptr;
22304 resultptr = new wxColour((wxColour &) result);
22305 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22306 }
22307 return resultobj;
22308 fail:
22309 return NULL;
22310 }
22311
22312
22313 static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22314 PyObject *resultobj;
22315 wxWindow *arg1 = (wxWindow *) 0 ;
22316 wxColour result;
22317 PyObject * obj0 = 0 ;
22318 char *kwnames[] = {
22319 (char *) "self", NULL
22320 };
22321
22322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
22323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22324 {
22325 PyThreadState* __tstate = wxPyBeginAllowThreads();
22326 result = ((wxWindow const *)arg1)->GetForegroundColour();
22327
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 {
22332 wxColour * resultptr;
22333 resultptr = new wxColour((wxColour &) result);
22334 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22335 }
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj;
22344 wxWindow *arg1 = (wxWindow *) 0 ;
22345 wxCursor *arg2 = 0 ;
22346 bool result;
22347 PyObject * obj0 = 0 ;
22348 PyObject * obj1 = 0 ;
22349 char *kwnames[] = {
22350 (char *) "self",(char *) "cursor", NULL
22351 };
22352
22353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
22354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22356 if (arg2 == NULL) {
22357 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22358 }
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 resultobj = PyInt_FromLong((long)result);
22367 return resultobj;
22368 fail:
22369 return NULL;
22370 }
22371
22372
22373 static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj;
22375 wxWindow *arg1 = (wxWindow *) 0 ;
22376 wxCursor *result;
22377 PyObject * obj0 = 0 ;
22378 char *kwnames[] = {
22379 (char *) "self", NULL
22380 };
22381
22382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
22383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22384 {
22385 PyThreadState* __tstate = wxPyBeginAllowThreads();
22386 {
22387 wxCursor &_result_ref = (arg1)->GetCursor();
22388 result = (wxCursor *) &_result_ref;
22389 }
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
22395 return resultobj;
22396 fail:
22397 return NULL;
22398 }
22399
22400
22401 static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22402 PyObject *resultobj;
22403 wxWindow *arg1 = (wxWindow *) 0 ;
22404 wxFont *arg2 = 0 ;
22405 bool result;
22406 PyObject * obj0 = 0 ;
22407 PyObject * obj1 = 0 ;
22408 char *kwnames[] = {
22409 (char *) "self",(char *) "font", NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
22413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22414 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22415 if (arg2 == NULL) {
22416 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22417 }
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 resultobj = PyInt_FromLong((long)result);
22426 return resultobj;
22427 fail:
22428 return NULL;
22429 }
22430
22431
22432 static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxWindow *arg1 = (wxWindow *) 0 ;
22435 wxFont *result;
22436 PyObject * obj0 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
22442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 {
22446 wxFont &_result_ref = (arg1)->GetFont();
22447 result = (wxFont *) &_result_ref;
22448 }
22449
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
22454 return resultobj;
22455 fail:
22456 return NULL;
22457 }
22458
22459
22460 static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22461 PyObject *resultobj;
22462 wxWindow *arg1 = (wxWindow *) 0 ;
22463 wxCaret *arg2 = (wxCaret *) 0 ;
22464 PyObject * obj0 = 0 ;
22465 PyObject * obj1 = 0 ;
22466 char *kwnames[] = {
22467 (char *) "self",(char *) "caret", NULL
22468 };
22469
22470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
22471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22473 {
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 (arg1)->SetCaret(arg2);
22476
22477 wxPyEndAllowThreads(__tstate);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 }
22480 Py_INCREF(Py_None); resultobj = Py_None;
22481 return resultobj;
22482 fail:
22483 return NULL;
22484 }
22485
22486
22487 static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22488 PyObject *resultobj;
22489 wxWindow *arg1 = (wxWindow *) 0 ;
22490 wxCaret *result;
22491 PyObject * obj0 = 0 ;
22492 char *kwnames[] = {
22493 (char *) "self", NULL
22494 };
22495
22496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
22497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22498 {
22499 PyThreadState* __tstate = wxPyBeginAllowThreads();
22500 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
22501
22502 wxPyEndAllowThreads(__tstate);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 }
22505 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 0);
22506 return resultobj;
22507 fail:
22508 return NULL;
22509 }
22510
22511
22512 static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj;
22514 wxWindow *arg1 = (wxWindow *) 0 ;
22515 int result;
22516 PyObject * obj0 = 0 ;
22517 char *kwnames[] = {
22518 (char *) "self", NULL
22519 };
22520
22521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
22522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22523 {
22524 PyThreadState* __tstate = wxPyBeginAllowThreads();
22525 result = (int)((wxWindow const *)arg1)->GetCharHeight();
22526
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 resultobj = PyInt_FromLong((long)result);
22531 return resultobj;
22532 fail:
22533 return NULL;
22534 }
22535
22536
22537 static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22538 PyObject *resultobj;
22539 wxWindow *arg1 = (wxWindow *) 0 ;
22540 int result;
22541 PyObject * obj0 = 0 ;
22542 char *kwnames[] = {
22543 (char *) "self", NULL
22544 };
22545
22546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
22547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22548 {
22549 PyThreadState* __tstate = wxPyBeginAllowThreads();
22550 result = (int)((wxWindow const *)arg1)->GetCharWidth();
22551
22552 wxPyEndAllowThreads(__tstate);
22553 if (PyErr_Occurred()) SWIG_fail;
22554 }
22555 resultobj = PyInt_FromLong((long)result);
22556 return resultobj;
22557 fail:
22558 return NULL;
22559 }
22560
22561
22562 static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22563 PyObject *resultobj;
22564 wxWindow *arg1 = (wxWindow *) 0 ;
22565 wxString *arg2 = 0 ;
22566 int *arg3 = (int *) 0 ;
22567 int *arg4 = (int *) 0 ;
22568 bool temp2 = False ;
22569 int temp3 ;
22570 int temp4 ;
22571 PyObject * obj0 = 0 ;
22572 PyObject * obj1 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self",(char *) "string", NULL
22575 };
22576
22577 arg3 = &temp3;
22578 arg4 = &temp4;
22579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
22580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22581 {
22582 arg2 = wxString_in_helper(obj1);
22583 if (arg2 == NULL) SWIG_fail;
22584 temp2 = True;
22585 }
22586 {
22587 PyThreadState* __tstate = wxPyBeginAllowThreads();
22588 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
22589
22590 wxPyEndAllowThreads(__tstate);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 }
22593 Py_INCREF(Py_None); resultobj = Py_None;
22594 {
22595 PyObject *o = PyInt_FromLong((long) (*arg3));
22596 resultobj = t_output_helper(resultobj,o);
22597 }
22598 {
22599 PyObject *o = PyInt_FromLong((long) (*arg4));
22600 resultobj = t_output_helper(resultobj,o);
22601 }
22602 {
22603 if (temp2)
22604 delete arg2;
22605 }
22606 return resultobj;
22607 fail:
22608 {
22609 if (temp2)
22610 delete arg2;
22611 }
22612 return NULL;
22613 }
22614
22615
22616 static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22617 PyObject *resultobj;
22618 wxWindow *arg1 = (wxWindow *) 0 ;
22619 wxString *arg2 = 0 ;
22620 int *arg3 = (int *) 0 ;
22621 int *arg4 = (int *) 0 ;
22622 int *arg5 = (int *) 0 ;
22623 int *arg6 = (int *) 0 ;
22624 wxFont *arg7 = (wxFont *) NULL ;
22625 bool temp2 = False ;
22626 int temp3 ;
22627 int temp4 ;
22628 int temp5 ;
22629 int temp6 ;
22630 PyObject * obj0 = 0 ;
22631 PyObject * obj1 = 0 ;
22632 PyObject * obj2 = 0 ;
22633 char *kwnames[] = {
22634 (char *) "self",(char *) "string",(char *) "font", NULL
22635 };
22636
22637 arg3 = &temp3;
22638 arg4 = &temp4;
22639 arg5 = &temp5;
22640 arg6 = &temp6;
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
22642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22643 {
22644 arg2 = wxString_in_helper(obj1);
22645 if (arg2 == NULL) SWIG_fail;
22646 temp2 = True;
22647 }
22648 if (obj2) {
22649 if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22650 }
22651 {
22652 PyThreadState* __tstate = wxPyBeginAllowThreads();
22653 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
22654
22655 wxPyEndAllowThreads(__tstate);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 Py_INCREF(Py_None); resultobj = Py_None;
22659 {
22660 PyObject *o = PyInt_FromLong((long) (*arg3));
22661 resultobj = t_output_helper(resultobj,o);
22662 }
22663 {
22664 PyObject *o = PyInt_FromLong((long) (*arg4));
22665 resultobj = t_output_helper(resultobj,o);
22666 }
22667 {
22668 PyObject *o = PyInt_FromLong((long) (*arg5));
22669 resultobj = t_output_helper(resultobj,o);
22670 }
22671 {
22672 PyObject *o = PyInt_FromLong((long) (*arg6));
22673 resultobj = t_output_helper(resultobj,o);
22674 }
22675 {
22676 if (temp2)
22677 delete arg2;
22678 }
22679 return resultobj;
22680 fail:
22681 {
22682 if (temp2)
22683 delete arg2;
22684 }
22685 return NULL;
22686 }
22687
22688
22689 static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxWindow *arg1 = (wxWindow *) 0 ;
22692 int *arg2 = (int *) 0 ;
22693 int *arg3 = (int *) 0 ;
22694 int temp2 ;
22695 int temp3 ;
22696 PyObject * obj0 = 0 ;
22697 PyObject * obj1 = 0 ;
22698 PyObject * obj2 = 0 ;
22699 char *kwnames[] = {
22700 (char *) "self",(char *) "x",(char *) "y", NULL
22701 };
22702
22703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22705 {
22706 temp2 = PyInt_AsLong(obj1);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 arg2 = &temp2;
22709 }
22710 {
22711 temp3 = PyInt_AsLong(obj2);
22712 if (PyErr_Occurred()) SWIG_fail;
22713 arg3 = &temp3;
22714 }
22715 {
22716 PyThreadState* __tstate = wxPyBeginAllowThreads();
22717 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
22718
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
22722 Py_INCREF(Py_None); resultobj = Py_None;
22723 {
22724 PyObject *o = PyInt_FromLong((long) (*arg2));
22725 resultobj = t_output_helper(resultobj,o);
22726 }
22727 {
22728 PyObject *o = PyInt_FromLong((long) (*arg3));
22729 resultobj = t_output_helper(resultobj,o);
22730 }
22731 return resultobj;
22732 fail:
22733 return NULL;
22734 }
22735
22736
22737 static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22738 PyObject *resultobj;
22739 wxWindow *arg1 = (wxWindow *) 0 ;
22740 int *arg2 = (int *) 0 ;
22741 int *arg3 = (int *) 0 ;
22742 int temp2 ;
22743 int temp3 ;
22744 PyObject * obj0 = 0 ;
22745 PyObject * obj1 = 0 ;
22746 PyObject * obj2 = 0 ;
22747 char *kwnames[] = {
22748 (char *) "self",(char *) "x",(char *) "y", NULL
22749 };
22750
22751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22753 {
22754 temp2 = PyInt_AsLong(obj1);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 arg2 = &temp2;
22757 }
22758 {
22759 temp3 = PyInt_AsLong(obj2);
22760 if (PyErr_Occurred()) SWIG_fail;
22761 arg3 = &temp3;
22762 }
22763 {
22764 PyThreadState* __tstate = wxPyBeginAllowThreads();
22765 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
22766
22767 wxPyEndAllowThreads(__tstate);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
22770 Py_INCREF(Py_None); resultobj = Py_None;
22771 {
22772 PyObject *o = PyInt_FromLong((long) (*arg2));
22773 resultobj = t_output_helper(resultobj,o);
22774 }
22775 {
22776 PyObject *o = PyInt_FromLong((long) (*arg3));
22777 resultobj = t_output_helper(resultobj,o);
22778 }
22779 return resultobj;
22780 fail:
22781 return NULL;
22782 }
22783
22784
22785 static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22786 PyObject *resultobj;
22787 wxWindow *arg1 = (wxWindow *) 0 ;
22788 wxPoint *arg2 = 0 ;
22789 wxPoint result;
22790 wxPoint temp2 ;
22791 PyObject * obj0 = 0 ;
22792 PyObject * obj1 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self",(char *) "pt", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
22798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22799 {
22800 arg2 = &temp2;
22801 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22802 }
22803 {
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
22806
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 {
22811 wxPoint * resultptr;
22812 resultptr = new wxPoint((wxPoint &) result);
22813 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22814 }
22815 return resultobj;
22816 fail:
22817 return NULL;
22818 }
22819
22820
22821 static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
22822 PyObject *resultobj;
22823 wxWindow *arg1 = (wxWindow *) 0 ;
22824 wxPoint *arg2 = 0 ;
22825 wxPoint result;
22826 wxPoint temp2 ;
22827 PyObject * obj0 = 0 ;
22828 PyObject * obj1 = 0 ;
22829 char *kwnames[] = {
22830 (char *) "self",(char *) "pt", NULL
22831 };
22832
22833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
22834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22835 {
22836 arg2 = &temp2;
22837 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22838 }
22839 {
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
22842
22843 wxPyEndAllowThreads(__tstate);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 }
22846 {
22847 wxPoint * resultptr;
22848 resultptr = new wxPoint((wxPoint &) result);
22849 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22850 }
22851 return resultobj;
22852 fail:
22853 return NULL;
22854 }
22855
22856
22857 static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22858 PyObject *resultobj;
22859 wxWindow *arg1 = (wxWindow *) 0 ;
22860 int arg2 ;
22861 int arg3 ;
22862 int result;
22863 PyObject * obj0 = 0 ;
22864 char *kwnames[] = {
22865 (char *) "self",(char *) "x",(char *) "y", NULL
22866 };
22867
22868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
22869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 resultobj = PyInt_FromLong((long)result);
22878 return resultobj;
22879 fail:
22880 return NULL;
22881 }
22882
22883
22884 static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22885 PyObject *resultobj;
22886 wxWindow *arg1 = (wxWindow *) 0 ;
22887 wxPoint *arg2 = 0 ;
22888 int result;
22889 wxPoint temp2 ;
22890 PyObject * obj0 = 0 ;
22891 PyObject * obj1 = 0 ;
22892 char *kwnames[] = {
22893 (char *) "self",(char *) "pt", NULL
22894 };
22895
22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
22897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22898 {
22899 arg2 = &temp2;
22900 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22901 }
22902 {
22903 PyThreadState* __tstate = wxPyBeginAllowThreads();
22904 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
22905
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 resultobj = PyInt_FromLong((long)result);
22910 return resultobj;
22911 fail:
22912 return NULL;
22913 }
22914
22915
22916 static PyObject *_wrap_Window_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
22917 PyObject *resultobj;
22918 wxWindow *arg1 = (wxWindow *) 0 ;
22919 long arg2 ;
22920 int result;
22921 PyObject * obj0 = 0 ;
22922 char *kwnames[] = {
22923 (char *) "self",(char *) "flags", NULL
22924 };
22925
22926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_GetBorderFlags",kwnames,&obj0,&arg2)) goto fail;
22927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22928 {
22929 PyThreadState* __tstate = wxPyBeginAllowThreads();
22930 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
22931
22932 wxPyEndAllowThreads(__tstate);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 resultobj = PyInt_FromLong((long)result);
22936 return resultobj;
22937 fail:
22938 return NULL;
22939 }
22940
22941
22942 static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
22943 PyObject *resultobj;
22944 wxWindow *arg1 = (wxWindow *) 0 ;
22945 int result;
22946 PyObject * obj0 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self", NULL
22949 };
22950
22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBorder",kwnames,&obj0)) goto fail;
22952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22953 {
22954 PyThreadState* __tstate = wxPyBeginAllowThreads();
22955 result = (int)((wxWindow const *)arg1)->GetBorder();
22956
22957 wxPyEndAllowThreads(__tstate);
22958 if (PyErr_Occurred()) SWIG_fail;
22959 }
22960 resultobj = PyInt_FromLong((long)result);
22961 return resultobj;
22962 fail:
22963 return NULL;
22964 }
22965
22966
22967 static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
22968 PyObject *resultobj;
22969 wxWindow *arg1 = (wxWindow *) 0 ;
22970 long arg2 = (long) wxUPDATE_UI_NONE ;
22971 PyObject * obj0 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self",(char *) "flags", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Window_UpdateWindowUI",kwnames,&obj0,&arg2)) goto fail;
22977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 (arg1)->UpdateWindowUI(arg2);
22981
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 Py_INCREF(Py_None); resultobj = Py_None;
22986 return resultobj;
22987 fail:
22988 return NULL;
22989 }
22990
22991
22992 static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22993 PyObject *resultobj;
22994 wxWindow *arg1 = (wxWindow *) 0 ;
22995 wxMenu *arg2 = (wxMenu *) 0 ;
22996 int arg3 ;
22997 int arg4 ;
22998 bool result;
22999 PyObject * obj0 = 0 ;
23000 PyObject * obj1 = 0 ;
23001 char *kwnames[] = {
23002 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23003 };
23004
23005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Window_PopupMenuXY",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
23006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23008 {
23009 PyThreadState* __tstate = wxPyBeginAllowThreads();
23010 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
23011
23012 wxPyEndAllowThreads(__tstate);
23013 if (PyErr_Occurred()) SWIG_fail;
23014 }
23015 resultobj = PyInt_FromLong((long)result);
23016 return resultobj;
23017 fail:
23018 return NULL;
23019 }
23020
23021
23022 static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
23023 PyObject *resultobj;
23024 wxWindow *arg1 = (wxWindow *) 0 ;
23025 wxMenu *arg2 = (wxMenu *) 0 ;
23026 wxPoint *arg3 = 0 ;
23027 bool result;
23028 wxPoint temp3 ;
23029 PyObject * obj0 = 0 ;
23030 PyObject * obj1 = 0 ;
23031 PyObject * obj2 = 0 ;
23032 char *kwnames[] = {
23033 (char *) "self",(char *) "menu",(char *) "pos", NULL
23034 };
23035
23036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
23037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23039 {
23040 arg3 = &temp3;
23041 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23042 }
23043 {
23044 PyThreadState* __tstate = wxPyBeginAllowThreads();
23045 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
23046
23047 wxPyEndAllowThreads(__tstate);
23048 if (PyErr_Occurred()) SWIG_fail;
23049 }
23050 resultobj = PyInt_FromLong((long)result);
23051 return resultobj;
23052 fail:
23053 return NULL;
23054 }
23055
23056
23057 static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
23058 PyObject *resultobj;
23059 wxWindow *arg1 = (wxWindow *) 0 ;
23060 long result;
23061 PyObject * obj0 = 0 ;
23062 char *kwnames[] = {
23063 (char *) "self", NULL
23064 };
23065
23066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
23067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23068 {
23069 PyThreadState* __tstate = wxPyBeginAllowThreads();
23070 result = (long)wxWindow_GetHandle(arg1);
23071
23072 wxPyEndAllowThreads(__tstate);
23073 if (PyErr_Occurred()) SWIG_fail;
23074 }
23075 resultobj = PyInt_FromLong((long)result);
23076 return resultobj;
23077 fail:
23078 return NULL;
23079 }
23080
23081
23082 static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23083 PyObject *resultobj;
23084 wxWindow *arg1 = (wxWindow *) 0 ;
23085 int arg2 ;
23086 bool result;
23087 PyObject * obj0 = 0 ;
23088 char *kwnames[] = {
23089 (char *) "self",(char *) "orient", NULL
23090 };
23091
23092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasScrollbar",kwnames,&obj0,&arg2)) goto fail;
23093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 resultobj = PyInt_FromLong((long)result);
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxWindow *arg1 = (wxWindow *) 0 ;
23111 int arg2 ;
23112 int arg3 ;
23113 int arg4 ;
23114 int arg5 ;
23115 bool arg6 = (bool) True ;
23116 PyObject * obj0 = 0 ;
23117 PyObject * obj5 = 0 ;
23118 char *kwnames[] = {
23119 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23120 };
23121
23122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Window_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
23123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23124 if (obj5) {
23125 arg6 = PyInt_AsLong(obj5) ? true : false;
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 {
23129 PyThreadState* __tstate = wxPyBeginAllowThreads();
23130 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
23131
23132 wxPyEndAllowThreads(__tstate);
23133 if (PyErr_Occurred()) SWIG_fail;
23134 }
23135 Py_INCREF(Py_None); resultobj = Py_None;
23136 return resultobj;
23137 fail:
23138 return NULL;
23139 }
23140
23141
23142 static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23143 PyObject *resultobj;
23144 wxWindow *arg1 = (wxWindow *) 0 ;
23145 int arg2 ;
23146 int arg3 ;
23147 bool arg4 = (bool) True ;
23148 PyObject * obj0 = 0 ;
23149 PyObject * obj3 = 0 ;
23150 char *kwnames[] = {
23151 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23152 };
23153
23154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_SetScrollPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23156 if (obj3) {
23157 arg4 = PyInt_AsLong(obj3) ? true : false;
23158 if (PyErr_Occurred()) SWIG_fail;
23159 }
23160 {
23161 PyThreadState* __tstate = wxPyBeginAllowThreads();
23162 (arg1)->SetScrollPos(arg2,arg3,arg4);
23163
23164 wxPyEndAllowThreads(__tstate);
23165 if (PyErr_Occurred()) SWIG_fail;
23166 }
23167 Py_INCREF(Py_None); resultobj = Py_None;
23168 return resultobj;
23169 fail:
23170 return NULL;
23171 }
23172
23173
23174 static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23175 PyObject *resultobj;
23176 wxWindow *arg1 = (wxWindow *) 0 ;
23177 int arg2 ;
23178 int result;
23179 PyObject * obj0 = 0 ;
23180 char *kwnames[] = {
23181 (char *) "self",(char *) "orient", NULL
23182 };
23183
23184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollPos",kwnames,&obj0,&arg2)) goto fail;
23185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23186 {
23187 PyThreadState* __tstate = wxPyBeginAllowThreads();
23188 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
23189
23190 wxPyEndAllowThreads(__tstate);
23191 if (PyErr_Occurred()) SWIG_fail;
23192 }
23193 resultobj = PyInt_FromLong((long)result);
23194 return resultobj;
23195 fail:
23196 return NULL;
23197 }
23198
23199
23200 static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
23201 PyObject *resultobj;
23202 wxWindow *arg1 = (wxWindow *) 0 ;
23203 int arg2 ;
23204 int result;
23205 PyObject * obj0 = 0 ;
23206 char *kwnames[] = {
23207 (char *) "self",(char *) "orient", NULL
23208 };
23209
23210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollThumb",kwnames,&obj0,&arg2)) goto fail;
23211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
23215
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 resultobj = PyInt_FromLong((long)result);
23220 return resultobj;
23221 fail:
23222 return NULL;
23223 }
23224
23225
23226 static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
23227 PyObject *resultobj;
23228 wxWindow *arg1 = (wxWindow *) 0 ;
23229 int arg2 ;
23230 int result;
23231 PyObject * obj0 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self",(char *) "orient", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollRange",kwnames,&obj0,&arg2)) goto fail;
23237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
23241
23242 wxPyEndAllowThreads(__tstate);
23243 if (PyErr_Occurred()) SWIG_fail;
23244 }
23245 resultobj = PyInt_FromLong((long)result);
23246 return resultobj;
23247 fail:
23248 return NULL;
23249 }
23250
23251
23252 static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23253 PyObject *resultobj;
23254 wxWindow *arg1 = (wxWindow *) 0 ;
23255 int arg2 ;
23256 int arg3 ;
23257 wxRect *arg4 = (wxRect *) NULL ;
23258 PyObject * obj0 = 0 ;
23259 PyObject * obj3 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_ScrollWindow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23266 if (obj3) {
23267 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23268 }
23269 {
23270 PyThreadState* __tstate = wxPyBeginAllowThreads();
23271 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
23272
23273 wxPyEndAllowThreads(__tstate);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 }
23276 Py_INCREF(Py_None); resultobj = Py_None;
23277 return resultobj;
23278 fail:
23279 return NULL;
23280 }
23281
23282
23283 static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
23284 PyObject *resultobj;
23285 wxWindow *arg1 = (wxWindow *) 0 ;
23286 int arg2 ;
23287 bool result;
23288 PyObject * obj0 = 0 ;
23289 char *kwnames[] = {
23290 (char *) "self",(char *) "lines", NULL
23291 };
23292
23293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
23294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 result = (bool)(arg1)->ScrollLines(arg2);
23298
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 resultobj = PyInt_FromLong((long)result);
23303 return resultobj;
23304 fail:
23305 return NULL;
23306 }
23307
23308
23309 static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
23310 PyObject *resultobj;
23311 wxWindow *arg1 = (wxWindow *) 0 ;
23312 int arg2 ;
23313 bool result;
23314 PyObject * obj0 = 0 ;
23315 char *kwnames[] = {
23316 (char *) "self",(char *) "pages", NULL
23317 };
23318
23319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
23320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23321 {
23322 PyThreadState* __tstate = wxPyBeginAllowThreads();
23323 result = (bool)(arg1)->ScrollPages(arg2);
23324
23325 wxPyEndAllowThreads(__tstate);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 resultobj = PyInt_FromLong((long)result);
23329 return resultobj;
23330 fail:
23331 return NULL;
23332 }
23333
23334
23335 static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23336 PyObject *resultobj;
23337 wxWindow *arg1 = (wxWindow *) 0 ;
23338 bool result;
23339 PyObject * obj0 = 0 ;
23340 char *kwnames[] = {
23341 (char *) "self", NULL
23342 };
23343
23344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
23345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23346 {
23347 PyThreadState* __tstate = wxPyBeginAllowThreads();
23348 result = (bool)(arg1)->LineUp();
23349
23350 wxPyEndAllowThreads(__tstate);
23351 if (PyErr_Occurred()) SWIG_fail;
23352 }
23353 resultobj = PyInt_FromLong((long)result);
23354 return resultobj;
23355 fail:
23356 return NULL;
23357 }
23358
23359
23360 static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23361 PyObject *resultobj;
23362 wxWindow *arg1 = (wxWindow *) 0 ;
23363 bool result;
23364 PyObject * obj0 = 0 ;
23365 char *kwnames[] = {
23366 (char *) "self", NULL
23367 };
23368
23369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
23370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23371 {
23372 PyThreadState* __tstate = wxPyBeginAllowThreads();
23373 result = (bool)(arg1)->LineDown();
23374
23375 wxPyEndAllowThreads(__tstate);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 }
23378 resultobj = PyInt_FromLong((long)result);
23379 return resultobj;
23380 fail:
23381 return NULL;
23382 }
23383
23384
23385 static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23386 PyObject *resultobj;
23387 wxWindow *arg1 = (wxWindow *) 0 ;
23388 bool result;
23389 PyObject * obj0 = 0 ;
23390 char *kwnames[] = {
23391 (char *) "self", NULL
23392 };
23393
23394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
23395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23396 {
23397 PyThreadState* __tstate = wxPyBeginAllowThreads();
23398 result = (bool)(arg1)->PageUp();
23399
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 resultobj = PyInt_FromLong((long)result);
23404 return resultobj;
23405 fail:
23406 return NULL;
23407 }
23408
23409
23410 static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23411 PyObject *resultobj;
23412 wxWindow *arg1 = (wxWindow *) 0 ;
23413 bool result;
23414 PyObject * obj0 = 0 ;
23415 char *kwnames[] = {
23416 (char *) "self", NULL
23417 };
23418
23419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
23420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23421 {
23422 PyThreadState* __tstate = wxPyBeginAllowThreads();
23423 result = (bool)(arg1)->PageDown();
23424
23425 wxPyEndAllowThreads(__tstate);
23426 if (PyErr_Occurred()) SWIG_fail;
23427 }
23428 resultobj = PyInt_FromLong((long)result);
23429 return resultobj;
23430 fail:
23431 return NULL;
23432 }
23433
23434
23435 static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23436 PyObject *resultobj;
23437 wxWindow *arg1 = (wxWindow *) 0 ;
23438 wxString *arg2 = 0 ;
23439 bool temp2 = False ;
23440 PyObject * obj0 = 0 ;
23441 PyObject * obj1 = 0 ;
23442 char *kwnames[] = {
23443 (char *) "self",(char *) "text", NULL
23444 };
23445
23446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
23447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23448 {
23449 arg2 = wxString_in_helper(obj1);
23450 if (arg2 == NULL) SWIG_fail;
23451 temp2 = True;
23452 }
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 (arg1)->SetHelpText((wxString const &)*arg2);
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 Py_INCREF(Py_None); resultobj = Py_None;
23461 {
23462 if (temp2)
23463 delete arg2;
23464 }
23465 return resultobj;
23466 fail:
23467 {
23468 if (temp2)
23469 delete arg2;
23470 }
23471 return NULL;
23472 }
23473
23474
23475 static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
23476 PyObject *resultobj;
23477 wxWindow *arg1 = (wxWindow *) 0 ;
23478 wxString *arg2 = 0 ;
23479 bool temp2 = False ;
23480 PyObject * obj0 = 0 ;
23481 PyObject * obj1 = 0 ;
23482 char *kwnames[] = {
23483 (char *) "self",(char *) "text", NULL
23484 };
23485
23486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
23487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23488 {
23489 arg2 = wxString_in_helper(obj1);
23490 if (arg2 == NULL) SWIG_fail;
23491 temp2 = True;
23492 }
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 (arg1)->SetHelpTextForId((wxString const &)*arg2);
23496
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 Py_INCREF(Py_None); resultobj = Py_None;
23501 {
23502 if (temp2)
23503 delete arg2;
23504 }
23505 return resultobj;
23506 fail:
23507 {
23508 if (temp2)
23509 delete arg2;
23510 }
23511 return NULL;
23512 }
23513
23514
23515 static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23516 PyObject *resultobj;
23517 wxWindow *arg1 = (wxWindow *) 0 ;
23518 wxString result;
23519 PyObject * obj0 = 0 ;
23520 char *kwnames[] = {
23521 (char *) "self", NULL
23522 };
23523
23524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
23525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 result = ((wxWindow const *)arg1)->GetHelpText();
23529
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 {
23534 #if wxUSE_UNICODE
23535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23536 #else
23537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23538 #endif
23539 }
23540 return resultobj;
23541 fail:
23542 return NULL;
23543 }
23544
23545
23546 static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
23547 PyObject *resultobj;
23548 wxWindow *arg1 = (wxWindow *) 0 ;
23549 wxString *arg2 = 0 ;
23550 bool temp2 = False ;
23551 PyObject * obj0 = 0 ;
23552 PyObject * obj1 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "self",(char *) "tip", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
23558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23559 {
23560 arg2 = wxString_in_helper(obj1);
23561 if (arg2 == NULL) SWIG_fail;
23562 temp2 = True;
23563 }
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 (arg1)->SetToolTip((wxString const &)*arg2);
23567
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 Py_INCREF(Py_None); resultobj = Py_None;
23572 {
23573 if (temp2)
23574 delete arg2;
23575 }
23576 return resultobj;
23577 fail:
23578 {
23579 if (temp2)
23580 delete arg2;
23581 }
23582 return NULL;
23583 }
23584
23585
23586 static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23587 PyObject *resultobj;
23588 wxWindow *arg1 = (wxWindow *) 0 ;
23589 wxToolTip *arg2 = (wxToolTip *) 0 ;
23590 PyObject * obj0 = 0 ;
23591 PyObject * obj1 = 0 ;
23592 char *kwnames[] = {
23593 (char *) "self",(char *) "tip", NULL
23594 };
23595
23596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23599 {
23600 PyThreadState* __tstate = wxPyBeginAllowThreads();
23601 (arg1)->SetToolTip(arg2);
23602
23603 wxPyEndAllowThreads(__tstate);
23604 if (PyErr_Occurred()) SWIG_fail;
23605 }
23606 Py_INCREF(Py_None); resultobj = Py_None;
23607 return resultobj;
23608 fail:
23609 return NULL;
23610 }
23611
23612
23613 static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23614 PyObject *resultobj;
23615 wxWindow *arg1 = (wxWindow *) 0 ;
23616 wxToolTip *result;
23617 PyObject * obj0 = 0 ;
23618 char *kwnames[] = {
23619 (char *) "self", NULL
23620 };
23621
23622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
23623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 {
23632 resultobj = wxPyMake_wxObject(result);
23633 }
23634 return resultobj;
23635 fail:
23636 return NULL;
23637 }
23638
23639
23640 static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23641 PyObject *resultobj;
23642 wxWindow *arg1 = (wxWindow *) 0 ;
23643 wxDropTarget *arg2 = (wxDropTarget *) 0 ;
23644 PyObject * obj0 = 0 ;
23645 PyObject * obj1 = 0 ;
23646 char *kwnames[] = {
23647 (char *) "self",(char *) "dropTarget", NULL
23648 };
23649
23650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
23651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23653 {
23654 PyThreadState* __tstate = wxPyBeginAllowThreads();
23655 (arg1)->SetDropTarget(arg2);
23656
23657 wxPyEndAllowThreads(__tstate);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 }
23660 Py_INCREF(Py_None); resultobj = Py_None;
23661 return resultobj;
23662 fail:
23663 return NULL;
23664 }
23665
23666
23667 static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23668 PyObject *resultobj;
23669 wxWindow *arg1 = (wxWindow *) 0 ;
23670 wxDropTarget *result;
23671 PyObject * obj0 = 0 ;
23672 char *kwnames[] = {
23673 (char *) "self", NULL
23674 };
23675
23676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
23677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23678 {
23679 PyThreadState* __tstate = wxPyBeginAllowThreads();
23680 result = (wxDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
23681
23682 wxPyEndAllowThreads(__tstate);
23683 if (PyErr_Occurred()) SWIG_fail;
23684 }
23685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDropTarget, 0);
23686 return resultobj;
23687 fail:
23688 return NULL;
23689 }
23690
23691
23692 static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23693 PyObject *resultobj;
23694 wxWindow *arg1 = (wxWindow *) 0 ;
23695 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
23696 PyObject * obj0 = 0 ;
23697 PyObject * obj1 = 0 ;
23698 char *kwnames[] = {
23699 (char *) "self",(char *) "constraints", NULL
23700 };
23701
23702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
23703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 (arg1)->SetConstraints(arg2);
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 Py_INCREF(Py_None); resultobj = Py_None;
23713 return resultobj;
23714 fail:
23715 return NULL;
23716 }
23717
23718
23719 static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23720 PyObject *resultobj;
23721 wxWindow *arg1 = (wxWindow *) 0 ;
23722 wxLayoutConstraints *result;
23723 PyObject * obj0 = 0 ;
23724 char *kwnames[] = {
23725 (char *) "self", NULL
23726 };
23727
23728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
23729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 0);
23738 return resultobj;
23739 fail:
23740 return NULL;
23741 }
23742
23743
23744 static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23745 PyObject *resultobj;
23746 wxWindow *arg1 = (wxWindow *) 0 ;
23747 bool arg2 ;
23748 PyObject * obj0 = 0 ;
23749 PyObject * obj1 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self",(char *) "autoLayout", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
23755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23756 arg2 = PyInt_AsLong(obj1) ? true : false;
23757 if (PyErr_Occurred()) SWIG_fail;
23758 {
23759 PyThreadState* __tstate = wxPyBeginAllowThreads();
23760 (arg1)->SetAutoLayout(arg2);
23761
23762 wxPyEndAllowThreads(__tstate);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 Py_INCREF(Py_None); resultobj = Py_None;
23766 return resultobj;
23767 fail:
23768 return NULL;
23769 }
23770
23771
23772 static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23773 PyObject *resultobj;
23774 wxWindow *arg1 = (wxWindow *) 0 ;
23775 bool result;
23776 PyObject * obj0 = 0 ;
23777 char *kwnames[] = {
23778 (char *) "self", NULL
23779 };
23780
23781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
23782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 resultobj = PyInt_FromLong((long)result);
23791 return resultobj;
23792 fail:
23793 return NULL;
23794 }
23795
23796
23797 static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
23798 PyObject *resultobj;
23799 wxWindow *arg1 = (wxWindow *) 0 ;
23800 bool result;
23801 PyObject * obj0 = 0 ;
23802 char *kwnames[] = {
23803 (char *) "self", NULL
23804 };
23805
23806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
23807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23808 {
23809 PyThreadState* __tstate = wxPyBeginAllowThreads();
23810 result = (bool)(arg1)->Layout();
23811
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 resultobj = PyInt_FromLong((long)result);
23816 return resultobj;
23817 fail:
23818 return NULL;
23819 }
23820
23821
23822 static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23823 PyObject *resultobj;
23824 wxWindow *arg1 = (wxWindow *) 0 ;
23825 wxSizer *arg2 = (wxSizer *) 0 ;
23826 bool arg3 = (bool) True ;
23827 PyObject * obj0 = 0 ;
23828 PyObject * obj1 = 0 ;
23829 PyObject * obj2 = 0 ;
23830 char *kwnames[] = {
23831 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23832 };
23833
23834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
23835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23837 if (obj2) {
23838 arg3 = PyInt_AsLong(obj2) ? true : false;
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 (arg1)->SetSizer(arg2,arg3);
23844
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
23848 Py_INCREF(Py_None); resultobj = Py_None;
23849 return resultobj;
23850 fail:
23851 return NULL;
23852 }
23853
23854
23855 static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
23856 PyObject *resultobj;
23857 wxWindow *arg1 = (wxWindow *) 0 ;
23858 wxSizer *arg2 = (wxSizer *) 0 ;
23859 bool arg3 = (bool) True ;
23860 PyObject * obj0 = 0 ;
23861 PyObject * obj1 = 0 ;
23862 PyObject * obj2 = 0 ;
23863 char *kwnames[] = {
23864 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23865 };
23866
23867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
23868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23870 if (obj2) {
23871 arg3 = PyInt_AsLong(obj2) ? true : false;
23872 if (PyErr_Occurred()) SWIG_fail;
23873 }
23874 {
23875 PyThreadState* __tstate = wxPyBeginAllowThreads();
23876 (arg1)->SetSizerAndFit(arg2,arg3);
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
23881 Py_INCREF(Py_None); resultobj = Py_None;
23882 return resultobj;
23883 fail:
23884 return NULL;
23885 }
23886
23887
23888 static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23889 PyObject *resultobj;
23890 wxWindow *arg1 = (wxWindow *) 0 ;
23891 wxSizer *result;
23892 PyObject * obj0 = 0 ;
23893 char *kwnames[] = {
23894 (char *) "self", NULL
23895 };
23896
23897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
23898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23899 {
23900 PyThreadState* __tstate = wxPyBeginAllowThreads();
23901 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
23902
23903 wxPyEndAllowThreads(__tstate);
23904 if (PyErr_Occurred()) SWIG_fail;
23905 }
23906 {
23907 resultobj = wxPyMake_wxSizer(result);
23908 }
23909 return resultobj;
23910 fail:
23911 return NULL;
23912 }
23913
23914
23915 static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23916 PyObject *resultobj;
23917 wxWindow *arg1 = (wxWindow *) 0 ;
23918 wxSizer *arg2 = (wxSizer *) 0 ;
23919 PyObject * obj0 = 0 ;
23920 PyObject * obj1 = 0 ;
23921 char *kwnames[] = {
23922 (char *) "self",(char *) "sizer", NULL
23923 };
23924
23925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
23926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23928 {
23929 PyThreadState* __tstate = wxPyBeginAllowThreads();
23930 (arg1)->SetContainingSizer(arg2);
23931
23932 wxPyEndAllowThreads(__tstate);
23933 if (PyErr_Occurred()) SWIG_fail;
23934 }
23935 Py_INCREF(Py_None); resultobj = Py_None;
23936 return resultobj;
23937 fail:
23938 return NULL;
23939 }
23940
23941
23942 static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23943 PyObject *resultobj;
23944 wxWindow *arg1 = (wxWindow *) 0 ;
23945 wxSizer *result;
23946 PyObject * obj0 = 0 ;
23947 char *kwnames[] = {
23948 (char *) "self", NULL
23949 };
23950
23951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
23952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23953 {
23954 PyThreadState* __tstate = wxPyBeginAllowThreads();
23955 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
23956
23957 wxPyEndAllowThreads(__tstate);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 {
23961 resultobj = wxPyMake_wxSizer(result);
23962 }
23963 return resultobj;
23964 fail:
23965 return NULL;
23966 }
23967
23968
23969 static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
23970 PyObject *obj;
23971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23972 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
23973 Py_INCREF(obj);
23974 return Py_BuildValue((char *)"");
23975 }
23976 static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
23977 PyObject *resultobj;
23978 long arg1 ;
23979 wxWindow *arg2 = (wxWindow *) NULL ;
23980 wxWindow *result;
23981 PyObject * obj1 = 0 ;
23982 char *kwnames[] = {
23983 (char *) "id",(char *) "parent", NULL
23984 };
23985
23986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l|O:FindWindowById",kwnames,&arg1,&obj1)) goto fail;
23987 if (obj1) {
23988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23989 }
23990 {
23991 PyThreadState* __tstate = wxPyBeginAllowThreads();
23992 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
23993
23994 wxPyEndAllowThreads(__tstate);
23995 if (PyErr_Occurred()) SWIG_fail;
23996 }
23997 {
23998 resultobj = wxPyMake_wxObject(result);
23999 }
24000 return resultobj;
24001 fail:
24002 return NULL;
24003 }
24004
24005
24006 static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24007 PyObject *resultobj;
24008 wxString *arg1 = 0 ;
24009 wxWindow *arg2 = (wxWindow *) NULL ;
24010 wxWindow *result;
24011 bool temp1 = False ;
24012 PyObject * obj0 = 0 ;
24013 PyObject * obj1 = 0 ;
24014 char *kwnames[] = {
24015 (char *) "name",(char *) "parent", NULL
24016 };
24017
24018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24019 {
24020 arg1 = wxString_in_helper(obj0);
24021 if (arg1 == NULL) SWIG_fail;
24022 temp1 = True;
24023 }
24024 if (obj1) {
24025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24026 }
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
24030
24031 wxPyEndAllowThreads(__tstate);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 }
24034 {
24035 resultobj = wxPyMake_wxObject(result);
24036 }
24037 {
24038 if (temp1)
24039 delete arg1;
24040 }
24041 return resultobj;
24042 fail:
24043 {
24044 if (temp1)
24045 delete arg1;
24046 }
24047 return NULL;
24048 }
24049
24050
24051 static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24052 PyObject *resultobj;
24053 wxString *arg1 = 0 ;
24054 wxWindow *arg2 = (wxWindow *) NULL ;
24055 wxWindow *result;
24056 bool temp1 = False ;
24057 PyObject * obj0 = 0 ;
24058 PyObject * obj1 = 0 ;
24059 char *kwnames[] = {
24060 (char *) "label",(char *) "parent", NULL
24061 };
24062
24063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
24064 {
24065 arg1 = wxString_in_helper(obj0);
24066 if (arg1 == NULL) SWIG_fail;
24067 temp1 = True;
24068 }
24069 if (obj1) {
24070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24071 }
24072 {
24073 PyThreadState* __tstate = wxPyBeginAllowThreads();
24074 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
24075
24076 wxPyEndAllowThreads(__tstate);
24077 if (PyErr_Occurred()) SWIG_fail;
24078 }
24079 {
24080 resultobj = wxPyMake_wxObject(result);
24081 }
24082 {
24083 if (temp1)
24084 delete arg1;
24085 }
24086 return resultobj;
24087 fail:
24088 {
24089 if (temp1)
24090 delete arg1;
24091 }
24092 return NULL;
24093 }
24094
24095
24096 static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
24097 PyObject *resultobj;
24098 unsigned long arg1 ;
24099 wxWindow *result;
24100 PyObject * obj0 = 0 ;
24101 char *kwnames[] = {
24102 (char *) "hWnd", NULL
24103 };
24104
24105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FromHWND",kwnames,&obj0)) goto fail;
24106 arg1 = (unsigned long) PyInt_AsLong(obj0);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 result = (wxWindow *)wxWindow_FromHWND(arg1);
24111
24112 wxPyEndAllowThreads(__tstate);
24113 if (PyErr_Occurred()) SWIG_fail;
24114 }
24115 {
24116 resultobj = wxPyMake_wxObject(result);
24117 }
24118 return resultobj;
24119 fail:
24120 return NULL;
24121 }
24122
24123
24124 static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
24125 PyObject *resultobj;
24126 wxValidator *result;
24127 char *kwnames[] = {
24128 NULL
24129 };
24130
24131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
24132 {
24133 PyThreadState* __tstate = wxPyBeginAllowThreads();
24134 result = (wxValidator *)new wxValidator();
24135
24136 wxPyEndAllowThreads(__tstate);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 }
24139 {
24140 resultobj = wxPyMake_wxObject(result);
24141 }
24142 return resultobj;
24143 fail:
24144 return NULL;
24145 }
24146
24147
24148 static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
24149 PyObject *resultobj;
24150 wxValidator *arg1 = (wxValidator *) 0 ;
24151 wxValidator *result;
24152 PyObject * obj0 = 0 ;
24153 char *kwnames[] = {
24154 (char *) "self", NULL
24155 };
24156
24157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
24158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24159 {
24160 PyThreadState* __tstate = wxPyBeginAllowThreads();
24161 result = (wxValidator *)(arg1)->Clone();
24162
24163 wxPyEndAllowThreads(__tstate);
24164 if (PyErr_Occurred()) SWIG_fail;
24165 }
24166 {
24167 resultobj = wxPyMake_wxObject(result);
24168 }
24169 return resultobj;
24170 fail:
24171 return NULL;
24172 }
24173
24174
24175 static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24176 PyObject *resultobj;
24177 wxValidator *arg1 = (wxValidator *) 0 ;
24178 wxWindow *arg2 = (wxWindow *) 0 ;
24179 bool result;
24180 PyObject * obj0 = 0 ;
24181 PyObject * obj1 = 0 ;
24182 char *kwnames[] = {
24183 (char *) "self",(char *) "parent", NULL
24184 };
24185
24186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
24187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 result = (bool)(arg1)->Validate(arg2);
24192
24193 wxPyEndAllowThreads(__tstate);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 resultobj = PyInt_FromLong((long)result);
24197 return resultobj;
24198 fail:
24199 return NULL;
24200 }
24201
24202
24203 static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24204 PyObject *resultobj;
24205 wxValidator *arg1 = (wxValidator *) 0 ;
24206 bool result;
24207 PyObject * obj0 = 0 ;
24208 char *kwnames[] = {
24209 (char *) "self", NULL
24210 };
24211
24212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
24213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24214 {
24215 PyThreadState* __tstate = wxPyBeginAllowThreads();
24216 result = (bool)(arg1)->TransferToWindow();
24217
24218 wxPyEndAllowThreads(__tstate);
24219 if (PyErr_Occurred()) SWIG_fail;
24220 }
24221 resultobj = PyInt_FromLong((long)result);
24222 return resultobj;
24223 fail:
24224 return NULL;
24225 }
24226
24227
24228 static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24229 PyObject *resultobj;
24230 wxValidator *arg1 = (wxValidator *) 0 ;
24231 bool result;
24232 PyObject * obj0 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "self", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
24238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24239 {
24240 PyThreadState* __tstate = wxPyBeginAllowThreads();
24241 result = (bool)(arg1)->TransferFromWindow();
24242
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 resultobj = PyInt_FromLong((long)result);
24247 return resultobj;
24248 fail:
24249 return NULL;
24250 }
24251
24252
24253 static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24254 PyObject *resultobj;
24255 wxValidator *arg1 = (wxValidator *) 0 ;
24256 wxWindow *result;
24257 PyObject * obj0 = 0 ;
24258 char *kwnames[] = {
24259 (char *) "self", NULL
24260 };
24261
24262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
24263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 result = (wxWindow *)(arg1)->GetWindow();
24267
24268 wxPyEndAllowThreads(__tstate);
24269 if (PyErr_Occurred()) SWIG_fail;
24270 }
24271 {
24272 resultobj = wxPyMake_wxObject(result);
24273 }
24274 return resultobj;
24275 fail:
24276 return NULL;
24277 }
24278
24279
24280 static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24281 PyObject *resultobj;
24282 wxValidator *arg1 = (wxValidator *) 0 ;
24283 wxWindow *arg2 = (wxWindow *) 0 ;
24284 PyObject * obj0 = 0 ;
24285 PyObject * obj1 = 0 ;
24286 char *kwnames[] = {
24287 (char *) "self",(char *) "window", NULL
24288 };
24289
24290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
24291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24293 {
24294 PyThreadState* __tstate = wxPyBeginAllowThreads();
24295 (arg1)->SetWindow(arg2);
24296
24297 wxPyEndAllowThreads(__tstate);
24298 if (PyErr_Occurred()) SWIG_fail;
24299 }
24300 Py_INCREF(Py_None); resultobj = Py_None;
24301 return resultobj;
24302 fail:
24303 return NULL;
24304 }
24305
24306
24307 static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
24308 PyObject *resultobj;
24309 bool result;
24310 char *kwnames[] = {
24311 NULL
24312 };
24313
24314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
24315 {
24316 PyThreadState* __tstate = wxPyBeginAllowThreads();
24317 result = (bool)wxValidator::IsSilent();
24318
24319 wxPyEndAllowThreads(__tstate);
24320 if (PyErr_Occurred()) SWIG_fail;
24321 }
24322 resultobj = PyInt_FromLong((long)result);
24323 return resultobj;
24324 fail:
24325 return NULL;
24326 }
24327
24328
24329 static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
24330 PyObject *resultobj;
24331 int arg1 = (int) True ;
24332 char *kwnames[] = {
24333 (char *) "doIt", NULL
24334 };
24335
24336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:Validator_SetBellOnError",kwnames,&arg1)) goto fail;
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 wxValidator::SetBellOnError(arg1);
24340
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 Py_INCREF(Py_None); resultobj = Py_None;
24345 return resultobj;
24346 fail:
24347 return NULL;
24348 }
24349
24350
24351 static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
24352 PyObject *obj;
24353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24354 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
24355 Py_INCREF(obj);
24356 return Py_BuildValue((char *)"");
24357 }
24358 static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24359 PyObject *resultobj;
24360 wxPyValidator *result;
24361 char *kwnames[] = {
24362 NULL
24363 };
24364
24365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
24366 {
24367 PyThreadState* __tstate = wxPyBeginAllowThreads();
24368 result = (wxPyValidator *)new wxPyValidator();
24369
24370 wxPyEndAllowThreads(__tstate);
24371 if (PyErr_Occurred()) SWIG_fail;
24372 }
24373 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyValidator, 1);
24374 return resultobj;
24375 fail:
24376 return NULL;
24377 }
24378
24379
24380 static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24381 PyObject *resultobj;
24382 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
24383 PyObject *arg2 = (PyObject *) 0 ;
24384 PyObject *arg3 = (PyObject *) 0 ;
24385 int arg4 = (int) True ;
24386 PyObject * obj0 = 0 ;
24387 PyObject * obj1 = 0 ;
24388 PyObject * obj2 = 0 ;
24389 char *kwnames[] = {
24390 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24391 };
24392
24393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
24394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24395 arg2 = obj1;
24396 arg3 = obj2;
24397 {
24398 PyThreadState* __tstate = wxPyBeginAllowThreads();
24399 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
24400
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 Py_INCREF(Py_None); resultobj = Py_None;
24405 return resultobj;
24406 fail:
24407 return NULL;
24408 }
24409
24410
24411 static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
24412 PyObject *obj;
24413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24414 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
24415 Py_INCREF(obj);
24416 return Py_BuildValue((char *)"");
24417 }
24418 static int _wrap_DefaultValidator_set(PyObject *_val) {
24419 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
24420 return 1;
24421 }
24422
24423
24424 static PyObject *_wrap_DefaultValidator_get() {
24425 PyObject *pyobj;
24426
24427 pyobj = SWIG_NewPointerObj((void *) &wxDefaultValidator, SWIGTYPE_p_wxValidator, 0);
24428 return pyobj;
24429 }
24430
24431
24432 static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
24433 PyObject *resultobj;
24434 wxString const &arg1_defvalue = wxPyEmptyString ;
24435 wxString *arg1 = (wxString *) &arg1_defvalue ;
24436 long arg2 = (long) 0 ;
24437 wxMenu *result;
24438 bool temp1 = False ;
24439 PyObject * obj0 = 0 ;
24440 char *kwnames[] = {
24441 (char *) "title",(char *) "style", NULL
24442 };
24443
24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Ol:new_Menu",kwnames,&obj0,&arg2)) goto fail;
24445 if (obj0) {
24446 {
24447 arg1 = wxString_in_helper(obj0);
24448 if (arg1 == NULL) SWIG_fail;
24449 temp1 = True;
24450 }
24451 }
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 {
24460 resultobj = wxPyMake_wxObject(result);
24461 }
24462 {
24463 if (temp1)
24464 delete arg1;
24465 }
24466 return resultobj;
24467 fail:
24468 {
24469 if (temp1)
24470 delete arg1;
24471 }
24472 return NULL;
24473 }
24474
24475
24476 static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
24477 PyObject *resultobj;
24478 wxMenu *arg1 = (wxMenu *) 0 ;
24479 int arg2 ;
24480 wxString *arg3 = 0 ;
24481 wxString const &arg4_defvalue = wxPyEmptyString ;
24482 wxString *arg4 = (wxString *) &arg4_defvalue ;
24483 int arg5 = (int) wxITEM_NORMAL ;
24484 bool temp3 = False ;
24485 bool temp4 = False ;
24486 PyObject * obj0 = 0 ;
24487 PyObject * obj2 = 0 ;
24488 PyObject * obj3 = 0 ;
24489 char *kwnames[] = {
24490 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24491 };
24492
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Append",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24495 {
24496 arg3 = wxString_in_helper(obj2);
24497 if (arg3 == NULL) SWIG_fail;
24498 temp3 = True;
24499 }
24500 if (obj3) {
24501 {
24502 arg4 = wxString_in_helper(obj3);
24503 if (arg4 == NULL) SWIG_fail;
24504 temp4 = True;
24505 }
24506 }
24507 {
24508 PyThreadState* __tstate = wxPyBeginAllowThreads();
24509 (arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
24510
24511 wxPyEndAllowThreads(__tstate);
24512 if (PyErr_Occurred()) SWIG_fail;
24513 }
24514 Py_INCREF(Py_None); resultobj = Py_None;
24515 {
24516 if (temp3)
24517 delete arg3;
24518 }
24519 {
24520 if (temp4)
24521 delete arg4;
24522 }
24523 return resultobj;
24524 fail:
24525 {
24526 if (temp3)
24527 delete arg3;
24528 }
24529 {
24530 if (temp4)
24531 delete arg4;
24532 }
24533 return NULL;
24534 }
24535
24536
24537 static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24538 PyObject *resultobj;
24539 wxMenu *arg1 = (wxMenu *) 0 ;
24540 PyObject * obj0 = 0 ;
24541 char *kwnames[] = {
24542 (char *) "self", NULL
24543 };
24544
24545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
24546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24547 {
24548 PyThreadState* __tstate = wxPyBeginAllowThreads();
24549 (arg1)->AppendSeparator();
24550
24551 wxPyEndAllowThreads(__tstate);
24552 if (PyErr_Occurred()) SWIG_fail;
24553 }
24554 Py_INCREF(Py_None); resultobj = Py_None;
24555 return resultobj;
24556 fail:
24557 return NULL;
24558 }
24559
24560
24561 static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24562 PyObject *resultobj;
24563 wxMenu *arg1 = (wxMenu *) 0 ;
24564 int arg2 ;
24565 wxString *arg3 = 0 ;
24566 wxString const &arg4_defvalue = wxPyEmptyString ;
24567 wxString *arg4 = (wxString *) &arg4_defvalue ;
24568 bool temp3 = False ;
24569 bool temp4 = False ;
24570 PyObject * obj0 = 0 ;
24571 PyObject * obj2 = 0 ;
24572 PyObject * obj3 = 0 ;
24573 char *kwnames[] = {
24574 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24575 };
24576
24577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24579 {
24580 arg3 = wxString_in_helper(obj2);
24581 if (arg3 == NULL) SWIG_fail;
24582 temp3 = True;
24583 }
24584 if (obj3) {
24585 {
24586 arg4 = wxString_in_helper(obj3);
24587 if (arg4 == NULL) SWIG_fail;
24588 temp4 = True;
24589 }
24590 }
24591 {
24592 PyThreadState* __tstate = wxPyBeginAllowThreads();
24593 (arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24594
24595 wxPyEndAllowThreads(__tstate);
24596 if (PyErr_Occurred()) SWIG_fail;
24597 }
24598 Py_INCREF(Py_None); resultobj = Py_None;
24599 {
24600 if (temp3)
24601 delete arg3;
24602 }
24603 {
24604 if (temp4)
24605 delete arg4;
24606 }
24607 return resultobj;
24608 fail:
24609 {
24610 if (temp3)
24611 delete arg3;
24612 }
24613 {
24614 if (temp4)
24615 delete arg4;
24616 }
24617 return NULL;
24618 }
24619
24620
24621 static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24622 PyObject *resultobj;
24623 wxMenu *arg1 = (wxMenu *) 0 ;
24624 int arg2 ;
24625 wxString *arg3 = 0 ;
24626 wxString const &arg4_defvalue = wxPyEmptyString ;
24627 wxString *arg4 = (wxString *) &arg4_defvalue ;
24628 bool temp3 = False ;
24629 bool temp4 = False ;
24630 PyObject * obj0 = 0 ;
24631 PyObject * obj2 = 0 ;
24632 PyObject * obj3 = 0 ;
24633 char *kwnames[] = {
24634 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24635 };
24636
24637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24639 {
24640 arg3 = wxString_in_helper(obj2);
24641 if (arg3 == NULL) SWIG_fail;
24642 temp3 = True;
24643 }
24644 if (obj3) {
24645 {
24646 arg4 = wxString_in_helper(obj3);
24647 if (arg4 == NULL) SWIG_fail;
24648 temp4 = True;
24649 }
24650 }
24651 {
24652 PyThreadState* __tstate = wxPyBeginAllowThreads();
24653 (arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24654
24655 wxPyEndAllowThreads(__tstate);
24656 if (PyErr_Occurred()) SWIG_fail;
24657 }
24658 Py_INCREF(Py_None); resultobj = Py_None;
24659 {
24660 if (temp3)
24661 delete arg3;
24662 }
24663 {
24664 if (temp4)
24665 delete arg4;
24666 }
24667 return resultobj;
24668 fail:
24669 {
24670 if (temp3)
24671 delete arg3;
24672 }
24673 {
24674 if (temp4)
24675 delete arg4;
24676 }
24677 return NULL;
24678 }
24679
24680
24681 static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj;
24683 wxMenu *arg1 = (wxMenu *) 0 ;
24684 int arg2 ;
24685 wxString *arg3 = 0 ;
24686 wxMenu *arg4 = (wxMenu *) 0 ;
24687 wxString const &arg5_defvalue = wxPyEmptyString ;
24688 wxString *arg5 = (wxString *) &arg5_defvalue ;
24689 bool temp3 = False ;
24690 bool temp5 = False ;
24691 PyObject * obj0 = 0 ;
24692 PyObject * obj2 = 0 ;
24693 PyObject * obj3 = 0 ;
24694 PyObject * obj4 = 0 ;
24695 char *kwnames[] = {
24696 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
24697 };
24698
24699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_AppendMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
24700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24701 {
24702 arg3 = wxString_in_helper(obj2);
24703 if (arg3 == NULL) SWIG_fail;
24704 temp3 = True;
24705 }
24706 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24707 if (obj4) {
24708 {
24709 arg5 = wxString_in_helper(obj4);
24710 if (arg5 == NULL) SWIG_fail;
24711 temp5 = True;
24712 }
24713 }
24714 {
24715 PyThreadState* __tstate = wxPyBeginAllowThreads();
24716 (arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
24717
24718 wxPyEndAllowThreads(__tstate);
24719 if (PyErr_Occurred()) SWIG_fail;
24720 }
24721 Py_INCREF(Py_None); resultobj = Py_None;
24722 {
24723 if (temp3)
24724 delete arg3;
24725 }
24726 {
24727 if (temp5)
24728 delete arg5;
24729 }
24730 return resultobj;
24731 fail:
24732 {
24733 if (temp3)
24734 delete arg3;
24735 }
24736 {
24737 if (temp5)
24738 delete arg5;
24739 }
24740 return NULL;
24741 }
24742
24743
24744 static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24745 PyObject *resultobj;
24746 wxMenu *arg1 = (wxMenu *) 0 ;
24747 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
24748 PyObject * obj0 = 0 ;
24749 PyObject * obj1 = 0 ;
24750 char *kwnames[] = {
24751 (char *) "self",(char *) "item", NULL
24752 };
24753
24754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
24755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24757 {
24758 PyThreadState* __tstate = wxPyBeginAllowThreads();
24759 (arg1)->Append(arg2);
24760
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
24764 Py_INCREF(Py_None); resultobj = Py_None;
24765 return resultobj;
24766 fail:
24767 return NULL;
24768 }
24769
24770
24771 static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
24772 PyObject *resultobj;
24773 wxMenu *arg1 = (wxMenu *) 0 ;
24774 PyObject * obj0 = 0 ;
24775 char *kwnames[] = {
24776 (char *) "self", NULL
24777 };
24778
24779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
24780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24781 {
24782 PyThreadState* __tstate = wxPyBeginAllowThreads();
24783 (arg1)->Break();
24784
24785 wxPyEndAllowThreads(__tstate);
24786 if (PyErr_Occurred()) SWIG_fail;
24787 }
24788 Py_INCREF(Py_None); resultobj = Py_None;
24789 return resultobj;
24790 fail:
24791 return NULL;
24792 }
24793
24794
24795 static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24796 PyObject *resultobj;
24797 wxMenu *arg1 = (wxMenu *) 0 ;
24798 size_t arg2 ;
24799 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
24800 bool result;
24801 PyObject * obj0 = 0 ;
24802 PyObject * obj1 = 0 ;
24803 PyObject * obj2 = 0 ;
24804 char *kwnames[] = {
24805 (char *) "self",(char *) "pos",(char *) "item", NULL
24806 };
24807
24808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24810 arg2 = (size_t) PyInt_AsLong(obj1);
24811 if (PyErr_Occurred()) SWIG_fail;
24812 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24813 {
24814 PyThreadState* __tstate = wxPyBeginAllowThreads();
24815 result = (bool)(arg1)->Insert(arg2,arg3);
24816
24817 wxPyEndAllowThreads(__tstate);
24818 if (PyErr_Occurred()) SWIG_fail;
24819 }
24820 resultobj = PyInt_FromLong((long)result);
24821 return resultobj;
24822 fail:
24823 return NULL;
24824 }
24825
24826
24827 static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
24828 PyObject *resultobj;
24829 wxMenu *arg1 = (wxMenu *) 0 ;
24830 size_t arg2 ;
24831 int arg3 ;
24832 wxString *arg4 = 0 ;
24833 wxString const &arg5_defvalue = wxPyEmptyString ;
24834 wxString *arg5 = (wxString *) &arg5_defvalue ;
24835 int arg6 = (int) wxITEM_NORMAL ;
24836 bool temp4 = False ;
24837 bool temp5 = False ;
24838 PyObject * obj0 = 0 ;
24839 PyObject * obj1 = 0 ;
24840 PyObject * obj3 = 0 ;
24841 PyObject * obj4 = 0 ;
24842 char *kwnames[] = {
24843 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24844 };
24845
24846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|Oi:Menu_Insert",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24848 arg2 = (size_t) PyInt_AsLong(obj1);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 {
24851 arg4 = wxString_in_helper(obj3);
24852 if (arg4 == NULL) SWIG_fail;
24853 temp4 = True;
24854 }
24855 if (obj4) {
24856 {
24857 arg5 = wxString_in_helper(obj4);
24858 if (arg5 == NULL) SWIG_fail;
24859 temp5 = True;
24860 }
24861 }
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 Py_INCREF(Py_None); resultobj = Py_None;
24870 {
24871 if (temp4)
24872 delete arg4;
24873 }
24874 {
24875 if (temp5)
24876 delete arg5;
24877 }
24878 return resultobj;
24879 fail:
24880 {
24881 if (temp4)
24882 delete arg4;
24883 }
24884 {
24885 if (temp5)
24886 delete arg5;
24887 }
24888 return NULL;
24889 }
24890
24891
24892 static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24893 PyObject *resultobj;
24894 wxMenu *arg1 = (wxMenu *) 0 ;
24895 size_t arg2 ;
24896 PyObject * obj0 = 0 ;
24897 PyObject * obj1 = 0 ;
24898 char *kwnames[] = {
24899 (char *) "self",(char *) "pos", NULL
24900 };
24901
24902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
24903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24904 arg2 = (size_t) PyInt_AsLong(obj1);
24905 if (PyErr_Occurred()) SWIG_fail;
24906 {
24907 PyThreadState* __tstate = wxPyBeginAllowThreads();
24908 (arg1)->InsertSeparator(arg2);
24909
24910 wxPyEndAllowThreads(__tstate);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 }
24913 Py_INCREF(Py_None); resultobj = Py_None;
24914 return resultobj;
24915 fail:
24916 return NULL;
24917 }
24918
24919
24920 static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24921 PyObject *resultobj;
24922 wxMenu *arg1 = (wxMenu *) 0 ;
24923 size_t arg2 ;
24924 int arg3 ;
24925 wxString *arg4 = 0 ;
24926 wxString const &arg5_defvalue = wxPyEmptyString ;
24927 wxString *arg5 = (wxString *) &arg5_defvalue ;
24928 bool temp4 = False ;
24929 bool temp5 = False ;
24930 PyObject * obj0 = 0 ;
24931 PyObject * obj1 = 0 ;
24932 PyObject * obj3 = 0 ;
24933 PyObject * obj4 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
24939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24940 arg2 = (size_t) PyInt_AsLong(obj1);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 {
24943 arg4 = wxString_in_helper(obj3);
24944 if (arg4 == NULL) SWIG_fail;
24945 temp4 = True;
24946 }
24947 if (obj4) {
24948 {
24949 arg5 = wxString_in_helper(obj4);
24950 if (arg5 == NULL) SWIG_fail;
24951 temp5 = True;
24952 }
24953 }
24954 {
24955 PyThreadState* __tstate = wxPyBeginAllowThreads();
24956 (arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
24957
24958 wxPyEndAllowThreads(__tstate);
24959 if (PyErr_Occurred()) SWIG_fail;
24960 }
24961 Py_INCREF(Py_None); resultobj = Py_None;
24962 {
24963 if (temp4)
24964 delete arg4;
24965 }
24966 {
24967 if (temp5)
24968 delete arg5;
24969 }
24970 return resultobj;
24971 fail:
24972 {
24973 if (temp4)
24974 delete arg4;
24975 }
24976 {
24977 if (temp5)
24978 delete arg5;
24979 }
24980 return NULL;
24981 }
24982
24983
24984 static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24985 PyObject *resultobj;
24986 wxMenu *arg1 = (wxMenu *) 0 ;
24987 size_t arg2 ;
24988 int arg3 ;
24989 wxString *arg4 = 0 ;
24990 wxString const &arg5_defvalue = wxPyEmptyString ;
24991 wxString *arg5 = (wxString *) &arg5_defvalue ;
24992 bool temp4 = False ;
24993 bool temp5 = False ;
24994 PyObject * obj0 = 0 ;
24995 PyObject * obj1 = 0 ;
24996 PyObject * obj3 = 0 ;
24997 PyObject * obj4 = 0 ;
24998 char *kwnames[] = {
24999 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25000 };
25001
25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25004 arg2 = (size_t) PyInt_AsLong(obj1);
25005 if (PyErr_Occurred()) SWIG_fail;
25006 {
25007 arg4 = wxString_in_helper(obj3);
25008 if (arg4 == NULL) SWIG_fail;
25009 temp4 = True;
25010 }
25011 if (obj4) {
25012 {
25013 arg5 = wxString_in_helper(obj4);
25014 if (arg5 == NULL) SWIG_fail;
25015 temp5 = True;
25016 }
25017 }
25018 {
25019 PyThreadState* __tstate = wxPyBeginAllowThreads();
25020 (arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25021
25022 wxPyEndAllowThreads(__tstate);
25023 if (PyErr_Occurred()) SWIG_fail;
25024 }
25025 Py_INCREF(Py_None); resultobj = Py_None;
25026 {
25027 if (temp4)
25028 delete arg4;
25029 }
25030 {
25031 if (temp5)
25032 delete arg5;
25033 }
25034 return resultobj;
25035 fail:
25036 {
25037 if (temp4)
25038 delete arg4;
25039 }
25040 {
25041 if (temp5)
25042 delete arg5;
25043 }
25044 return NULL;
25045 }
25046
25047
25048 static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25049 PyObject *resultobj;
25050 wxMenu *arg1 = (wxMenu *) 0 ;
25051 size_t arg2 ;
25052 int arg3 ;
25053 wxString *arg4 = 0 ;
25054 wxMenu *arg5 = (wxMenu *) 0 ;
25055 wxString const &arg6_defvalue = wxPyEmptyString ;
25056 wxString *arg6 = (wxString *) &arg6_defvalue ;
25057 bool temp4 = False ;
25058 bool temp6 = False ;
25059 PyObject * obj0 = 0 ;
25060 PyObject * obj1 = 0 ;
25061 PyObject * obj3 = 0 ;
25062 PyObject * obj4 = 0 ;
25063 PyObject * obj5 = 0 ;
25064 char *kwnames[] = {
25065 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25066 };
25067
25068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5)) goto fail;
25069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25070 arg2 = (size_t) PyInt_AsLong(obj1);
25071 if (PyErr_Occurred()) SWIG_fail;
25072 {
25073 arg4 = wxString_in_helper(obj3);
25074 if (arg4 == NULL) SWIG_fail;
25075 temp4 = True;
25076 }
25077 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25078 if (obj5) {
25079 {
25080 arg6 = wxString_in_helper(obj5);
25081 if (arg6 == NULL) SWIG_fail;
25082 temp6 = True;
25083 }
25084 }
25085 {
25086 PyThreadState* __tstate = wxPyBeginAllowThreads();
25087 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
25088
25089 wxPyEndAllowThreads(__tstate);
25090 if (PyErr_Occurred()) SWIG_fail;
25091 }
25092 Py_INCREF(Py_None); resultobj = Py_None;
25093 {
25094 if (temp4)
25095 delete arg4;
25096 }
25097 {
25098 if (temp6)
25099 delete arg6;
25100 }
25101 return resultobj;
25102 fail:
25103 {
25104 if (temp4)
25105 delete arg4;
25106 }
25107 {
25108 if (temp6)
25109 delete arg6;
25110 }
25111 return NULL;
25112 }
25113
25114
25115 static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25116 PyObject *resultobj;
25117 wxMenu *arg1 = (wxMenu *) 0 ;
25118 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25119 PyObject * obj0 = 0 ;
25120 PyObject * obj1 = 0 ;
25121 char *kwnames[] = {
25122 (char *) "self",(char *) "item", NULL
25123 };
25124
25125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
25126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25128 {
25129 PyThreadState* __tstate = wxPyBeginAllowThreads();
25130 (arg1)->Prepend(arg2);
25131
25132 wxPyEndAllowThreads(__tstate);
25133 if (PyErr_Occurred()) SWIG_fail;
25134 }
25135 Py_INCREF(Py_None); resultobj = Py_None;
25136 return resultobj;
25137 fail:
25138 return NULL;
25139 }
25140
25141
25142 static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
25143 PyObject *resultobj;
25144 wxMenu *arg1 = (wxMenu *) 0 ;
25145 int arg2 ;
25146 wxString *arg3 = 0 ;
25147 wxString const &arg4_defvalue = wxPyEmptyString ;
25148 wxString *arg4 = (wxString *) &arg4_defvalue ;
25149 int arg5 = (int) wxITEM_NORMAL ;
25150 bool temp3 = False ;
25151 bool temp4 = False ;
25152 PyObject * obj0 = 0 ;
25153 PyObject * obj2 = 0 ;
25154 PyObject * obj3 = 0 ;
25155 char *kwnames[] = {
25156 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25157 };
25158
25159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Prepend",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25161 {
25162 arg3 = wxString_in_helper(obj2);
25163 if (arg3 == NULL) SWIG_fail;
25164 temp3 = True;
25165 }
25166 if (obj3) {
25167 {
25168 arg4 = wxString_in_helper(obj3);
25169 if (arg4 == NULL) SWIG_fail;
25170 temp4 = True;
25171 }
25172 }
25173 {
25174 PyThreadState* __tstate = wxPyBeginAllowThreads();
25175 (arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
25176
25177 wxPyEndAllowThreads(__tstate);
25178 if (PyErr_Occurred()) SWIG_fail;
25179 }
25180 Py_INCREF(Py_None); resultobj = Py_None;
25181 {
25182 if (temp3)
25183 delete arg3;
25184 }
25185 {
25186 if (temp4)
25187 delete arg4;
25188 }
25189 return resultobj;
25190 fail:
25191 {
25192 if (temp3)
25193 delete arg3;
25194 }
25195 {
25196 if (temp4)
25197 delete arg4;
25198 }
25199 return NULL;
25200 }
25201
25202
25203 static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25204 PyObject *resultobj;
25205 wxMenu *arg1 = (wxMenu *) 0 ;
25206 PyObject * obj0 = 0 ;
25207 char *kwnames[] = {
25208 (char *) "self", NULL
25209 };
25210
25211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
25212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 (arg1)->PrependSeparator();
25216
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 Py_INCREF(Py_None); resultobj = Py_None;
25221 return resultobj;
25222 fail:
25223 return NULL;
25224 }
25225
25226
25227 static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25228 PyObject *resultobj;
25229 wxMenu *arg1 = (wxMenu *) 0 ;
25230 int arg2 ;
25231 wxString *arg3 = 0 ;
25232 wxString const &arg4_defvalue = wxPyEmptyString ;
25233 wxString *arg4 = (wxString *) &arg4_defvalue ;
25234 bool temp3 = False ;
25235 bool temp4 = False ;
25236 PyObject * obj0 = 0 ;
25237 PyObject * obj2 = 0 ;
25238 PyObject * obj3 = 0 ;
25239 char *kwnames[] = {
25240 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25241 };
25242
25243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25245 {
25246 arg3 = wxString_in_helper(obj2);
25247 if (arg3 == NULL) SWIG_fail;
25248 temp3 = True;
25249 }
25250 if (obj3) {
25251 {
25252 arg4 = wxString_in_helper(obj3);
25253 if (arg4 == NULL) SWIG_fail;
25254 temp4 = True;
25255 }
25256 }
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 (arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25260
25261 wxPyEndAllowThreads(__tstate);
25262 if (PyErr_Occurred()) SWIG_fail;
25263 }
25264 Py_INCREF(Py_None); resultobj = Py_None;
25265 {
25266 if (temp3)
25267 delete arg3;
25268 }
25269 {
25270 if (temp4)
25271 delete arg4;
25272 }
25273 return resultobj;
25274 fail:
25275 {
25276 if (temp3)
25277 delete arg3;
25278 }
25279 {
25280 if (temp4)
25281 delete arg4;
25282 }
25283 return NULL;
25284 }
25285
25286
25287 static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25288 PyObject *resultobj;
25289 wxMenu *arg1 = (wxMenu *) 0 ;
25290 int arg2 ;
25291 wxString *arg3 = 0 ;
25292 wxString const &arg4_defvalue = wxPyEmptyString ;
25293 wxString *arg4 = (wxString *) &arg4_defvalue ;
25294 bool temp3 = False ;
25295 bool temp4 = False ;
25296 PyObject * obj0 = 0 ;
25297 PyObject * obj2 = 0 ;
25298 PyObject * obj3 = 0 ;
25299 char *kwnames[] = {
25300 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25301 };
25302
25303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25305 {
25306 arg3 = wxString_in_helper(obj2);
25307 if (arg3 == NULL) SWIG_fail;
25308 temp3 = True;
25309 }
25310 if (obj3) {
25311 {
25312 arg4 = wxString_in_helper(obj3);
25313 if (arg4 == NULL) SWIG_fail;
25314 temp4 = True;
25315 }
25316 }
25317 {
25318 PyThreadState* __tstate = wxPyBeginAllowThreads();
25319 (arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25320
25321 wxPyEndAllowThreads(__tstate);
25322 if (PyErr_Occurred()) SWIG_fail;
25323 }
25324 Py_INCREF(Py_None); resultobj = Py_None;
25325 {
25326 if (temp3)
25327 delete arg3;
25328 }
25329 {
25330 if (temp4)
25331 delete arg4;
25332 }
25333 return resultobj;
25334 fail:
25335 {
25336 if (temp3)
25337 delete arg3;
25338 }
25339 {
25340 if (temp4)
25341 delete arg4;
25342 }
25343 return NULL;
25344 }
25345
25346
25347 static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25348 PyObject *resultobj;
25349 wxMenu *arg1 = (wxMenu *) 0 ;
25350 int arg2 ;
25351 wxString *arg3 = 0 ;
25352 wxMenu *arg4 = (wxMenu *) 0 ;
25353 wxString const &arg5_defvalue = wxPyEmptyString ;
25354 wxString *arg5 = (wxString *) &arg5_defvalue ;
25355 bool temp3 = False ;
25356 bool temp5 = False ;
25357 PyObject * obj0 = 0 ;
25358 PyObject * obj2 = 0 ;
25359 PyObject * obj3 = 0 ;
25360 PyObject * obj4 = 0 ;
25361 char *kwnames[] = {
25362 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25363 };
25364
25365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_PrependMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25367 {
25368 arg3 = wxString_in_helper(obj2);
25369 if (arg3 == NULL) SWIG_fail;
25370 temp3 = True;
25371 }
25372 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25373 if (obj4) {
25374 {
25375 arg5 = wxString_in_helper(obj4);
25376 if (arg5 == NULL) SWIG_fail;
25377 temp5 = True;
25378 }
25379 }
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 (arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25383
25384 wxPyEndAllowThreads(__tstate);
25385 if (PyErr_Occurred()) SWIG_fail;
25386 }
25387 Py_INCREF(Py_None); resultobj = Py_None;
25388 {
25389 if (temp3)
25390 delete arg3;
25391 }
25392 {
25393 if (temp5)
25394 delete arg5;
25395 }
25396 return resultobj;
25397 fail:
25398 {
25399 if (temp3)
25400 delete arg3;
25401 }
25402 {
25403 if (temp5)
25404 delete arg5;
25405 }
25406 return NULL;
25407 }
25408
25409
25410 static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
25411 PyObject *resultobj;
25412 wxMenu *arg1 = (wxMenu *) 0 ;
25413 int arg2 ;
25414 wxMenuItem *result;
25415 PyObject * obj0 = 0 ;
25416 char *kwnames[] = {
25417 (char *) "self",(char *) "itemid", NULL
25418 };
25419
25420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Remove",kwnames,&obj0,&arg2)) goto fail;
25421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25422 {
25423 PyThreadState* __tstate = wxPyBeginAllowThreads();
25424 result = (wxMenuItem *)(arg1)->Remove(arg2);
25425
25426 wxPyEndAllowThreads(__tstate);
25427 if (PyErr_Occurred()) SWIG_fail;
25428 }
25429 {
25430 resultobj = wxPyMake_wxObject(result);
25431 }
25432 return resultobj;
25433 fail:
25434 return NULL;
25435 }
25436
25437
25438 static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25439 PyObject *resultobj;
25440 wxMenu *arg1 = (wxMenu *) 0 ;
25441 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25442 wxMenuItem *result;
25443 PyObject * obj0 = 0 ;
25444 PyObject * obj1 = 0 ;
25445 char *kwnames[] = {
25446 (char *) "self",(char *) "item", NULL
25447 };
25448
25449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
25450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25452 {
25453 PyThreadState* __tstate = wxPyBeginAllowThreads();
25454 result = (wxMenuItem *)(arg1)->Remove(arg2);
25455
25456 wxPyEndAllowThreads(__tstate);
25457 if (PyErr_Occurred()) SWIG_fail;
25458 }
25459 {
25460 resultobj = wxPyMake_wxObject(result);
25461 }
25462 return resultobj;
25463 fail:
25464 return NULL;
25465 }
25466
25467
25468 static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25469 PyObject *resultobj;
25470 wxMenu *arg1 = (wxMenu *) 0 ;
25471 int arg2 ;
25472 bool result;
25473 PyObject * obj0 = 0 ;
25474 char *kwnames[] = {
25475 (char *) "self",(char *) "itemid", NULL
25476 };
25477
25478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Delete",kwnames,&obj0,&arg2)) goto fail;
25479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25480 {
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 result = (bool)(arg1)->Delete(arg2);
25483
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 resultobj = PyInt_FromLong((long)result);
25488 return resultobj;
25489 fail:
25490 return NULL;
25491 }
25492
25493
25494 static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25495 PyObject *resultobj;
25496 wxMenu *arg1 = (wxMenu *) 0 ;
25497 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25498 bool result;
25499 PyObject * obj0 = 0 ;
25500 PyObject * obj1 = 0 ;
25501 char *kwnames[] = {
25502 (char *) "self",(char *) "item", NULL
25503 };
25504
25505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 result = (bool)(arg1)->Delete(arg2);
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 resultobj = PyInt_FromLong((long)result);
25516 return resultobj;
25517 fail:
25518 return NULL;
25519 }
25520
25521
25522 static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25523 PyObject *resultobj;
25524 wxMenu *arg1 = (wxMenu *) 0 ;
25525 PyObject * obj0 = 0 ;
25526 char *kwnames[] = {
25527 (char *) "self", NULL
25528 };
25529
25530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
25531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25532 {
25533 PyThreadState* __tstate = wxPyBeginAllowThreads();
25534 wxMenu_Destroy(arg1);
25535
25536 wxPyEndAllowThreads(__tstate);
25537 if (PyErr_Occurred()) SWIG_fail;
25538 }
25539 Py_INCREF(Py_None); resultobj = Py_None;
25540 return resultobj;
25541 fail:
25542 return NULL;
25543 }
25544
25545
25546 static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
25547 PyObject *resultobj;
25548 wxMenu *arg1 = (wxMenu *) 0 ;
25549 int arg2 ;
25550 bool result;
25551 PyObject * obj0 = 0 ;
25552 char *kwnames[] = {
25553 (char *) "self",(char *) "itemid", NULL
25554 };
25555
25556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_DestroyId",kwnames,&obj0,&arg2)) goto fail;
25557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25558 {
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 result = (bool)(arg1)->Destroy(arg2);
25561
25562 wxPyEndAllowThreads(__tstate);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 resultobj = PyInt_FromLong((long)result);
25566 return resultobj;
25567 fail:
25568 return NULL;
25569 }
25570
25571
25572 static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25573 PyObject *resultobj;
25574 wxMenu *arg1 = (wxMenu *) 0 ;
25575 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25576 bool result;
25577 PyObject * obj0 = 0 ;
25578 PyObject * obj1 = 0 ;
25579 char *kwnames[] = {
25580 (char *) "self",(char *) "item", NULL
25581 };
25582
25583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
25584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25586 {
25587 PyThreadState* __tstate = wxPyBeginAllowThreads();
25588 result = (bool)(arg1)->Destroy(arg2);
25589
25590 wxPyEndAllowThreads(__tstate);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 resultobj = PyInt_FromLong((long)result);
25594 return resultobj;
25595 fail:
25596 return NULL;
25597 }
25598
25599
25600 static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25601 PyObject *resultobj;
25602 wxMenu *arg1 = (wxMenu *) 0 ;
25603 size_t result;
25604 PyObject * obj0 = 0 ;
25605 char *kwnames[] = {
25606 (char *) "self", NULL
25607 };
25608
25609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
25610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25611 {
25612 PyThreadState* __tstate = wxPyBeginAllowThreads();
25613 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
25614
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 resultobj = PyInt_FromLong((long)result);
25619 return resultobj;
25620 fail:
25621 return NULL;
25622 }
25623
25624
25625 static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25626 PyObject *resultobj;
25627 wxMenu *arg1 = (wxMenu *) 0 ;
25628 PyObject *result;
25629 PyObject * obj0 = 0 ;
25630 char *kwnames[] = {
25631 (char *) "self", NULL
25632 };
25633
25634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
25635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25636 {
25637 PyThreadState* __tstate = wxPyBeginAllowThreads();
25638 result = (PyObject *)wxMenu_GetMenuItems(arg1);
25639
25640 wxPyEndAllowThreads(__tstate);
25641 if (PyErr_Occurred()) SWIG_fail;
25642 }
25643 resultobj = result;
25644 return resultobj;
25645 fail:
25646 return NULL;
25647 }
25648
25649
25650 static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25651 PyObject *resultobj;
25652 wxMenu *arg1 = (wxMenu *) 0 ;
25653 wxString *arg2 = 0 ;
25654 int result;
25655 bool temp2 = False ;
25656 PyObject * obj0 = 0 ;
25657 PyObject * obj1 = 0 ;
25658 char *kwnames[] = {
25659 (char *) "self",(char *) "item", NULL
25660 };
25661
25662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
25663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25664 {
25665 arg2 = wxString_in_helper(obj1);
25666 if (arg2 == NULL) SWIG_fail;
25667 temp2 = True;
25668 }
25669 {
25670 PyThreadState* __tstate = wxPyBeginAllowThreads();
25671 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
25672
25673 wxPyEndAllowThreads(__tstate);
25674 if (PyErr_Occurred()) SWIG_fail;
25675 }
25676 resultobj = PyInt_FromLong((long)result);
25677 {
25678 if (temp2)
25679 delete arg2;
25680 }
25681 return resultobj;
25682 fail:
25683 {
25684 if (temp2)
25685 delete arg2;
25686 }
25687 return NULL;
25688 }
25689
25690
25691 static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
25692 PyObject *resultobj;
25693 wxMenu *arg1 = (wxMenu *) 0 ;
25694 int arg2 ;
25695 wxMenuItem *result;
25696 PyObject * obj0 = 0 ;
25697 char *kwnames[] = {
25698 (char *) "self",(char *) "itemid", NULL
25699 };
25700
25701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_FindItemById",kwnames,&obj0,&arg2)) goto fail;
25702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25703 {
25704 PyThreadState* __tstate = wxPyBeginAllowThreads();
25705 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
25706
25707 wxPyEndAllowThreads(__tstate);
25708 if (PyErr_Occurred()) SWIG_fail;
25709 }
25710 {
25711 resultobj = wxPyMake_wxObject(result);
25712 }
25713 return resultobj;
25714 fail:
25715 return NULL;
25716 }
25717
25718
25719 static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25720 PyObject *resultobj;
25721 wxMenu *arg1 = (wxMenu *) 0 ;
25722 size_t arg2 ;
25723 wxMenuItem *result;
25724 PyObject * obj0 = 0 ;
25725 PyObject * obj1 = 0 ;
25726 char *kwnames[] = {
25727 (char *) "self",(char *) "position", NULL
25728 };
25729
25730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
25731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25732 arg2 = (size_t) PyInt_AsLong(obj1);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 {
25735 PyThreadState* __tstate = wxPyBeginAllowThreads();
25736 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
25737
25738 wxPyEndAllowThreads(__tstate);
25739 if (PyErr_Occurred()) SWIG_fail;
25740 }
25741 {
25742 resultobj = wxPyMake_wxObject(result);
25743 }
25744 return resultobj;
25745 fail:
25746 return NULL;
25747 }
25748
25749
25750 static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
25751 PyObject *resultobj;
25752 wxMenu *arg1 = (wxMenu *) 0 ;
25753 int arg2 ;
25754 bool arg3 ;
25755 PyObject * obj0 = 0 ;
25756 PyObject * obj2 = 0 ;
25757 char *kwnames[] = {
25758 (char *) "self",(char *) "itemid",(char *) "enable", NULL
25759 };
25760
25761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
25762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25763 arg3 = PyInt_AsLong(obj2) ? true : false;
25764 if (PyErr_Occurred()) SWIG_fail;
25765 {
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 (arg1)->Enable(arg2,arg3);
25768
25769 wxPyEndAllowThreads(__tstate);
25770 if (PyErr_Occurred()) SWIG_fail;
25771 }
25772 Py_INCREF(Py_None); resultobj = Py_None;
25773 return resultobj;
25774 fail:
25775 return NULL;
25776 }
25777
25778
25779 static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
25780 PyObject *resultobj;
25781 wxMenu *arg1 = (wxMenu *) 0 ;
25782 int arg2 ;
25783 bool result;
25784 PyObject * obj0 = 0 ;
25785 char *kwnames[] = {
25786 (char *) "self",(char *) "itemid", NULL
25787 };
25788
25789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
25790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
25794
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
25798 resultobj = PyInt_FromLong((long)result);
25799 return resultobj;
25800 fail:
25801 return NULL;
25802 }
25803
25804
25805 static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
25806 PyObject *resultobj;
25807 wxMenu *arg1 = (wxMenu *) 0 ;
25808 int arg2 ;
25809 bool arg3 ;
25810 PyObject * obj0 = 0 ;
25811 PyObject * obj2 = 0 ;
25812 char *kwnames[] = {
25813 (char *) "self",(char *) "itemid",(char *) "check", NULL
25814 };
25815
25816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
25817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25818 arg3 = PyInt_AsLong(obj2) ? true : false;
25819 if (PyErr_Occurred()) SWIG_fail;
25820 {
25821 PyThreadState* __tstate = wxPyBeginAllowThreads();
25822 (arg1)->Check(arg2,arg3);
25823
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 Py_INCREF(Py_None); resultobj = Py_None;
25828 return resultobj;
25829 fail:
25830 return NULL;
25831 }
25832
25833
25834 static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
25835 PyObject *resultobj;
25836 wxMenu *arg1 = (wxMenu *) 0 ;
25837 int arg2 ;
25838 bool result;
25839 PyObject * obj0 = 0 ;
25840 char *kwnames[] = {
25841 (char *) "self",(char *) "itemid", NULL
25842 };
25843
25844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsChecked",kwnames,&obj0,&arg2)) goto fail;
25845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25846 {
25847 PyThreadState* __tstate = wxPyBeginAllowThreads();
25848 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
25849
25850 wxPyEndAllowThreads(__tstate);
25851 if (PyErr_Occurred()) SWIG_fail;
25852 }
25853 resultobj = PyInt_FromLong((long)result);
25854 return resultobj;
25855 fail:
25856 return NULL;
25857 }
25858
25859
25860 static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25861 PyObject *resultobj;
25862 wxMenu *arg1 = (wxMenu *) 0 ;
25863 int arg2 ;
25864 wxString *arg3 = 0 ;
25865 bool temp3 = False ;
25866 PyObject * obj0 = 0 ;
25867 PyObject * obj2 = 0 ;
25868 char *kwnames[] = {
25869 (char *) "self",(char *) "itemid",(char *) "label", NULL
25870 };
25871
25872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
25873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25874 {
25875 arg3 = wxString_in_helper(obj2);
25876 if (arg3 == NULL) SWIG_fail;
25877 temp3 = True;
25878 }
25879 {
25880 PyThreadState* __tstate = wxPyBeginAllowThreads();
25881 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
25882
25883 wxPyEndAllowThreads(__tstate);
25884 if (PyErr_Occurred()) SWIG_fail;
25885 }
25886 Py_INCREF(Py_None); resultobj = Py_None;
25887 {
25888 if (temp3)
25889 delete arg3;
25890 }
25891 return resultobj;
25892 fail:
25893 {
25894 if (temp3)
25895 delete arg3;
25896 }
25897 return NULL;
25898 }
25899
25900
25901 static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25902 PyObject *resultobj;
25903 wxMenu *arg1 = (wxMenu *) 0 ;
25904 int arg2 ;
25905 wxString result;
25906 PyObject * obj0 = 0 ;
25907 char *kwnames[] = {
25908 (char *) "self",(char *) "itemid", NULL
25909 };
25910
25911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetLabel",kwnames,&obj0,&arg2)) goto fail;
25912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25913 {
25914 PyThreadState* __tstate = wxPyBeginAllowThreads();
25915 result = ((wxMenu const *)arg1)->GetLabel(arg2);
25916
25917 wxPyEndAllowThreads(__tstate);
25918 if (PyErr_Occurred()) SWIG_fail;
25919 }
25920 {
25921 #if wxUSE_UNICODE
25922 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25923 #else
25924 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25925 #endif
25926 }
25927 return resultobj;
25928 fail:
25929 return NULL;
25930 }
25931
25932
25933 static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
25934 PyObject *resultobj;
25935 wxMenu *arg1 = (wxMenu *) 0 ;
25936 int arg2 ;
25937 wxString *arg3 = 0 ;
25938 bool temp3 = False ;
25939 PyObject * obj0 = 0 ;
25940 PyObject * obj2 = 0 ;
25941 char *kwnames[] = {
25942 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
25943 };
25944
25945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
25946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25947 {
25948 arg3 = wxString_in_helper(obj2);
25949 if (arg3 == NULL) SWIG_fail;
25950 temp3 = True;
25951 }
25952 {
25953 PyThreadState* __tstate = wxPyBeginAllowThreads();
25954 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
25955
25956 wxPyEndAllowThreads(__tstate);
25957 if (PyErr_Occurred()) SWIG_fail;
25958 }
25959 Py_INCREF(Py_None); resultobj = Py_None;
25960 {
25961 if (temp3)
25962 delete arg3;
25963 }
25964 return resultobj;
25965 fail:
25966 {
25967 if (temp3)
25968 delete arg3;
25969 }
25970 return NULL;
25971 }
25972
25973
25974 static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
25975 PyObject *resultobj;
25976 wxMenu *arg1 = (wxMenu *) 0 ;
25977 int arg2 ;
25978 wxString result;
25979 PyObject * obj0 = 0 ;
25980 char *kwnames[] = {
25981 (char *) "self",(char *) "itemid", NULL
25982 };
25983
25984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
25985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
25989
25990 wxPyEndAllowThreads(__tstate);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 {
25994 #if wxUSE_UNICODE
25995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25996 #else
25997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25998 #endif
25999 }
26000 return resultobj;
26001 fail:
26002 return NULL;
26003 }
26004
26005
26006 static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26007 PyObject *resultobj;
26008 wxMenu *arg1 = (wxMenu *) 0 ;
26009 wxString *arg2 = 0 ;
26010 bool temp2 = False ;
26011 PyObject * obj0 = 0 ;
26012 PyObject * obj1 = 0 ;
26013 char *kwnames[] = {
26014 (char *) "self",(char *) "title", NULL
26015 };
26016
26017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
26018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26019 {
26020 arg2 = wxString_in_helper(obj1);
26021 if (arg2 == NULL) SWIG_fail;
26022 temp2 = True;
26023 }
26024 {
26025 PyThreadState* __tstate = wxPyBeginAllowThreads();
26026 (arg1)->SetTitle((wxString const &)*arg2);
26027
26028 wxPyEndAllowThreads(__tstate);
26029 if (PyErr_Occurred()) SWIG_fail;
26030 }
26031 Py_INCREF(Py_None); resultobj = Py_None;
26032 {
26033 if (temp2)
26034 delete arg2;
26035 }
26036 return resultobj;
26037 fail:
26038 {
26039 if (temp2)
26040 delete arg2;
26041 }
26042 return NULL;
26043 }
26044
26045
26046 static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26047 PyObject *resultobj;
26048 wxMenu *arg1 = (wxMenu *) 0 ;
26049 wxString result;
26050 PyObject * obj0 = 0 ;
26051 char *kwnames[] = {
26052 (char *) "self", NULL
26053 };
26054
26055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
26056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 result = ((wxMenu const *)arg1)->GetTitle();
26060
26061 wxPyEndAllowThreads(__tstate);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
26064 {
26065 #if wxUSE_UNICODE
26066 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26067 #else
26068 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26069 #endif
26070 }
26071 return resultobj;
26072 fail:
26073 return NULL;
26074 }
26075
26076
26077 static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26078 PyObject *resultobj;
26079 wxMenu *arg1 = (wxMenu *) 0 ;
26080 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
26081 PyObject * obj0 = 0 ;
26082 PyObject * obj1 = 0 ;
26083 char *kwnames[] = {
26084 (char *) "self",(char *) "handler", NULL
26085 };
26086
26087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
26088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26090 {
26091 PyThreadState* __tstate = wxPyBeginAllowThreads();
26092 (arg1)->SetEventHandler(arg2);
26093
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
26097 Py_INCREF(Py_None); resultobj = Py_None;
26098 return resultobj;
26099 fail:
26100 return NULL;
26101 }
26102
26103
26104 static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26105 PyObject *resultobj;
26106 wxMenu *arg1 = (wxMenu *) 0 ;
26107 wxEvtHandler *result;
26108 PyObject * obj0 = 0 ;
26109 char *kwnames[] = {
26110 (char *) "self", NULL
26111 };
26112
26113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
26114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26115 {
26116 PyThreadState* __tstate = wxPyBeginAllowThreads();
26117 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
26118
26119 wxPyEndAllowThreads(__tstate);
26120 if (PyErr_Occurred()) SWIG_fail;
26121 }
26122 {
26123 resultobj = wxPyMake_wxObject(result);
26124 }
26125 return resultobj;
26126 fail:
26127 return NULL;
26128 }
26129
26130
26131 static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26132 PyObject *resultobj;
26133 wxMenu *arg1 = (wxMenu *) 0 ;
26134 wxWindow *arg2 = (wxWindow *) 0 ;
26135 PyObject * obj0 = 0 ;
26136 PyObject * obj1 = 0 ;
26137 char *kwnames[] = {
26138 (char *) "self",(char *) "win", NULL
26139 };
26140
26141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
26142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26144 {
26145 PyThreadState* __tstate = wxPyBeginAllowThreads();
26146 (arg1)->SetInvokingWindow(arg2);
26147
26148 wxPyEndAllowThreads(__tstate);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 }
26151 Py_INCREF(Py_None); resultobj = Py_None;
26152 return resultobj;
26153 fail:
26154 return NULL;
26155 }
26156
26157
26158 static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26159 PyObject *resultobj;
26160 wxMenu *arg1 = (wxMenu *) 0 ;
26161 wxWindow *result;
26162 PyObject * obj0 = 0 ;
26163 char *kwnames[] = {
26164 (char *) "self", NULL
26165 };
26166
26167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
26168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26169 {
26170 PyThreadState* __tstate = wxPyBeginAllowThreads();
26171 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
26172
26173 wxPyEndAllowThreads(__tstate);
26174 if (PyErr_Occurred()) SWIG_fail;
26175 }
26176 {
26177 resultobj = wxPyMake_wxObject(result);
26178 }
26179 return resultobj;
26180 fail:
26181 return NULL;
26182 }
26183
26184
26185 static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
26186 PyObject *resultobj;
26187 wxMenu *arg1 = (wxMenu *) 0 ;
26188 long result;
26189 PyObject * obj0 = 0 ;
26190 char *kwnames[] = {
26191 (char *) "self", NULL
26192 };
26193
26194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
26195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26196 {
26197 PyThreadState* __tstate = wxPyBeginAllowThreads();
26198 result = (long)((wxMenu const *)arg1)->GetStyle();
26199
26200 wxPyEndAllowThreads(__tstate);
26201 if (PyErr_Occurred()) SWIG_fail;
26202 }
26203 resultobj = PyInt_FromLong((long)result);
26204 return resultobj;
26205 fail:
26206 return NULL;
26207 }
26208
26209
26210 static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26211 PyObject *resultobj;
26212 wxMenu *arg1 = (wxMenu *) 0 ;
26213 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
26214 PyObject * obj0 = 0 ;
26215 PyObject * obj1 = 0 ;
26216 char *kwnames[] = {
26217 (char *) "self",(char *) "source", NULL
26218 };
26219
26220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
26221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26222 if (obj1) {
26223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26224 }
26225 {
26226 PyThreadState* __tstate = wxPyBeginAllowThreads();
26227 (arg1)->UpdateUI(arg2);
26228
26229 wxPyEndAllowThreads(__tstate);
26230 if (PyErr_Occurred()) SWIG_fail;
26231 }
26232 Py_INCREF(Py_None); resultobj = Py_None;
26233 return resultobj;
26234 fail:
26235 return NULL;
26236 }
26237
26238
26239 static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26240 PyObject *resultobj;
26241 wxMenu *arg1 = (wxMenu *) 0 ;
26242 wxMenuBar *result;
26243 PyObject * obj0 = 0 ;
26244 char *kwnames[] = {
26245 (char *) "self", NULL
26246 };
26247
26248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
26249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26250 {
26251 PyThreadState* __tstate = wxPyBeginAllowThreads();
26252 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
26253
26254 wxPyEndAllowThreads(__tstate);
26255 if (PyErr_Occurred()) SWIG_fail;
26256 }
26257 {
26258 resultobj = wxPyMake_wxObject(result);
26259 }
26260 return resultobj;
26261 fail:
26262 return NULL;
26263 }
26264
26265
26266 static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
26267 PyObject *resultobj;
26268 wxMenu *arg1 = (wxMenu *) 0 ;
26269 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
26270 PyObject * obj0 = 0 ;
26271 PyObject * obj1 = 0 ;
26272 char *kwnames[] = {
26273 (char *) "self",(char *) "menubar", NULL
26274 };
26275
26276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
26277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26279 {
26280 PyThreadState* __tstate = wxPyBeginAllowThreads();
26281 (arg1)->Attach(arg2);
26282
26283 wxPyEndAllowThreads(__tstate);
26284 if (PyErr_Occurred()) SWIG_fail;
26285 }
26286 Py_INCREF(Py_None); resultobj = Py_None;
26287 return resultobj;
26288 fail:
26289 return NULL;
26290 }
26291
26292
26293 static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
26294 PyObject *resultobj;
26295 wxMenu *arg1 = (wxMenu *) 0 ;
26296 PyObject * obj0 = 0 ;
26297 char *kwnames[] = {
26298 (char *) "self", NULL
26299 };
26300
26301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
26302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26303 {
26304 PyThreadState* __tstate = wxPyBeginAllowThreads();
26305 (arg1)->Detach();
26306
26307 wxPyEndAllowThreads(__tstate);
26308 if (PyErr_Occurred()) SWIG_fail;
26309 }
26310 Py_INCREF(Py_None); resultobj = Py_None;
26311 return resultobj;
26312 fail:
26313 return NULL;
26314 }
26315
26316
26317 static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
26318 PyObject *resultobj;
26319 wxMenu *arg1 = (wxMenu *) 0 ;
26320 bool result;
26321 PyObject * obj0 = 0 ;
26322 char *kwnames[] = {
26323 (char *) "self", NULL
26324 };
26325
26326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
26327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26328 {
26329 PyThreadState* __tstate = wxPyBeginAllowThreads();
26330 result = (bool)((wxMenu const *)arg1)->IsAttached();
26331
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 resultobj = PyInt_FromLong((long)result);
26336 return resultobj;
26337 fail:
26338 return NULL;
26339 }
26340
26341
26342 static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26343 PyObject *resultobj;
26344 wxMenu *arg1 = (wxMenu *) 0 ;
26345 wxMenu *arg2 = (wxMenu *) 0 ;
26346 PyObject * obj0 = 0 ;
26347 PyObject * obj1 = 0 ;
26348 char *kwnames[] = {
26349 (char *) "self",(char *) "parent", NULL
26350 };
26351
26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
26353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26355 {
26356 PyThreadState* __tstate = wxPyBeginAllowThreads();
26357 (arg1)->SetParent(arg2);
26358
26359 wxPyEndAllowThreads(__tstate);
26360 if (PyErr_Occurred()) SWIG_fail;
26361 }
26362 Py_INCREF(Py_None); resultobj = Py_None;
26363 return resultobj;
26364 fail:
26365 return NULL;
26366 }
26367
26368
26369 static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26370 PyObject *resultobj;
26371 wxMenu *arg1 = (wxMenu *) 0 ;
26372 wxMenu *result;
26373 PyObject * obj0 = 0 ;
26374 char *kwnames[] = {
26375 (char *) "self", NULL
26376 };
26377
26378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
26379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26380 {
26381 PyThreadState* __tstate = wxPyBeginAllowThreads();
26382 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
26383
26384 wxPyEndAllowThreads(__tstate);
26385 if (PyErr_Occurred()) SWIG_fail;
26386 }
26387 {
26388 resultobj = wxPyMake_wxObject(result);
26389 }
26390 return resultobj;
26391 fail:
26392 return NULL;
26393 }
26394
26395
26396 static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
26397 PyObject *obj;
26398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26399 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
26400 Py_INCREF(obj);
26401 return Py_BuildValue((char *)"");
26402 }
26403 static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26404 PyObject *resultobj;
26405 long arg1 = (long) 0 ;
26406 wxMenuBar *result;
26407 char *kwnames[] = {
26408 (char *) "style", NULL
26409 };
26410
26411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|l:new_MenuBar",kwnames,&arg1)) goto fail;
26412 {
26413 PyThreadState* __tstate = wxPyBeginAllowThreads();
26414 result = (wxMenuBar *)new wxMenuBar(arg1);
26415
26416 wxPyEndAllowThreads(__tstate);
26417 if (PyErr_Occurred()) SWIG_fail;
26418 }
26419 {
26420 resultobj = wxPyMake_wxObject(result);
26421 }
26422 return resultobj;
26423 fail:
26424 return NULL;
26425 }
26426
26427
26428 static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
26429 PyObject *resultobj;
26430 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26431 wxMenu *arg2 = (wxMenu *) 0 ;
26432 wxString *arg3 = 0 ;
26433 bool result;
26434 bool temp3 = False ;
26435 PyObject * obj0 = 0 ;
26436 PyObject * obj1 = 0 ;
26437 PyObject * obj2 = 0 ;
26438 char *kwnames[] = {
26439 (char *) "self",(char *) "menu",(char *) "title", NULL
26440 };
26441
26442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
26443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26445 {
26446 arg3 = wxString_in_helper(obj2);
26447 if (arg3 == NULL) SWIG_fail;
26448 temp3 = True;
26449 }
26450 {
26451 PyThreadState* __tstate = wxPyBeginAllowThreads();
26452 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
26453
26454 wxPyEndAllowThreads(__tstate);
26455 if (PyErr_Occurred()) SWIG_fail;
26456 }
26457 resultobj = PyInt_FromLong((long)result);
26458 {
26459 if (temp3)
26460 delete arg3;
26461 }
26462 return resultobj;
26463 fail:
26464 {
26465 if (temp3)
26466 delete arg3;
26467 }
26468 return NULL;
26469 }
26470
26471
26472 static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
26473 PyObject *resultobj;
26474 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26475 size_t arg2 ;
26476 wxMenu *arg3 = (wxMenu *) 0 ;
26477 wxString *arg4 = 0 ;
26478 bool result;
26479 bool temp4 = False ;
26480 PyObject * obj0 = 0 ;
26481 PyObject * obj1 = 0 ;
26482 PyObject * obj2 = 0 ;
26483 PyObject * obj3 = 0 ;
26484 char *kwnames[] = {
26485 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26486 };
26487
26488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26490 arg2 = (size_t) PyInt_AsLong(obj1);
26491 if (PyErr_Occurred()) SWIG_fail;
26492 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26493 {
26494 arg4 = wxString_in_helper(obj3);
26495 if (arg4 == NULL) SWIG_fail;
26496 temp4 = True;
26497 }
26498 {
26499 PyThreadState* __tstate = wxPyBeginAllowThreads();
26500 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
26501
26502 wxPyEndAllowThreads(__tstate);
26503 if (PyErr_Occurred()) SWIG_fail;
26504 }
26505 resultobj = PyInt_FromLong((long)result);
26506 {
26507 if (temp4)
26508 delete arg4;
26509 }
26510 return resultobj;
26511 fail:
26512 {
26513 if (temp4)
26514 delete arg4;
26515 }
26516 return NULL;
26517 }
26518
26519
26520 static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26521 PyObject *resultobj;
26522 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26523 size_t result;
26524 PyObject * obj0 = 0 ;
26525 char *kwnames[] = {
26526 (char *) "self", NULL
26527 };
26528
26529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
26530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26531 {
26532 PyThreadState* __tstate = wxPyBeginAllowThreads();
26533 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
26534
26535 wxPyEndAllowThreads(__tstate);
26536 if (PyErr_Occurred()) SWIG_fail;
26537 }
26538 resultobj = PyInt_FromLong((long)result);
26539 return resultobj;
26540 fail:
26541 return NULL;
26542 }
26543
26544
26545 static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26546 PyObject *resultobj;
26547 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26548 size_t arg2 ;
26549 wxMenu *result;
26550 PyObject * obj0 = 0 ;
26551 PyObject * obj1 = 0 ;
26552 char *kwnames[] = {
26553 (char *) "self",(char *) "pos", NULL
26554 };
26555
26556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
26557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26558 arg2 = (size_t) PyInt_AsLong(obj1);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 {
26561 PyThreadState* __tstate = wxPyBeginAllowThreads();
26562 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
26563
26564 wxPyEndAllowThreads(__tstate);
26565 if (PyErr_Occurred()) SWIG_fail;
26566 }
26567 {
26568 resultobj = wxPyMake_wxObject(result);
26569 }
26570 return resultobj;
26571 fail:
26572 return NULL;
26573 }
26574
26575
26576 static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
26577 PyObject *resultobj;
26578 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26579 size_t arg2 ;
26580 wxMenu *arg3 = (wxMenu *) 0 ;
26581 wxString *arg4 = 0 ;
26582 wxMenu *result;
26583 bool temp4 = False ;
26584 PyObject * obj0 = 0 ;
26585 PyObject * obj1 = 0 ;
26586 PyObject * obj2 = 0 ;
26587 PyObject * obj3 = 0 ;
26588 char *kwnames[] = {
26589 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26590 };
26591
26592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26594 arg2 = (size_t) PyInt_AsLong(obj1);
26595 if (PyErr_Occurred()) SWIG_fail;
26596 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26597 {
26598 arg4 = wxString_in_helper(obj3);
26599 if (arg4 == NULL) SWIG_fail;
26600 temp4 = True;
26601 }
26602 {
26603 PyThreadState* __tstate = wxPyBeginAllowThreads();
26604 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
26605
26606 wxPyEndAllowThreads(__tstate);
26607 if (PyErr_Occurred()) SWIG_fail;
26608 }
26609 {
26610 resultobj = wxPyMake_wxObject(result);
26611 }
26612 {
26613 if (temp4)
26614 delete arg4;
26615 }
26616 return resultobj;
26617 fail:
26618 {
26619 if (temp4)
26620 delete arg4;
26621 }
26622 return NULL;
26623 }
26624
26625
26626 static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
26627 PyObject *resultobj;
26628 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26629 size_t arg2 ;
26630 wxMenu *result;
26631 PyObject * obj0 = 0 ;
26632 PyObject * obj1 = 0 ;
26633 char *kwnames[] = {
26634 (char *) "self",(char *) "pos", NULL
26635 };
26636
26637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
26638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26639 arg2 = (size_t) PyInt_AsLong(obj1);
26640 if (PyErr_Occurred()) SWIG_fail;
26641 {
26642 PyThreadState* __tstate = wxPyBeginAllowThreads();
26643 result = (wxMenu *)(arg1)->Remove(arg2);
26644
26645 wxPyEndAllowThreads(__tstate);
26646 if (PyErr_Occurred()) SWIG_fail;
26647 }
26648 {
26649 resultobj = wxPyMake_wxObject(result);
26650 }
26651 return resultobj;
26652 fail:
26653 return NULL;
26654 }
26655
26656
26657 static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26658 PyObject *resultobj;
26659 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26660 size_t arg2 ;
26661 bool arg3 ;
26662 PyObject * obj0 = 0 ;
26663 PyObject * obj1 = 0 ;
26664 PyObject * obj2 = 0 ;
26665 char *kwnames[] = {
26666 (char *) "self",(char *) "pos",(char *) "enable", NULL
26667 };
26668
26669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26671 arg2 = (size_t) PyInt_AsLong(obj1);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 arg3 = PyInt_AsLong(obj2) ? true : false;
26674 if (PyErr_Occurred()) SWIG_fail;
26675 {
26676 PyThreadState* __tstate = wxPyBeginAllowThreads();
26677 (arg1)->EnableTop(arg2,arg3);
26678
26679 wxPyEndAllowThreads(__tstate);
26680 if (PyErr_Occurred()) SWIG_fail;
26681 }
26682 Py_INCREF(Py_None); resultobj = Py_None;
26683 return resultobj;
26684 fail:
26685 return NULL;
26686 }
26687
26688
26689 static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26690 PyObject *resultobj;
26691 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26692 size_t arg2 ;
26693 bool result;
26694 PyObject * obj0 = 0 ;
26695 PyObject * obj1 = 0 ;
26696 char *kwnames[] = {
26697 (char *) "self",(char *) "pos", NULL
26698 };
26699
26700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
26701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26702 arg2 = (size_t) PyInt_AsLong(obj1);
26703 if (PyErr_Occurred()) SWIG_fail;
26704 {
26705 PyThreadState* __tstate = wxPyBeginAllowThreads();
26706 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
26707
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 resultobj = PyInt_FromLong((long)result);
26712 return resultobj;
26713 fail:
26714 return NULL;
26715 }
26716
26717
26718 static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26719 PyObject *resultobj;
26720 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26721 size_t arg2 ;
26722 wxString *arg3 = 0 ;
26723 bool temp3 = False ;
26724 PyObject * obj0 = 0 ;
26725 PyObject * obj1 = 0 ;
26726 PyObject * obj2 = 0 ;
26727 char *kwnames[] = {
26728 (char *) "self",(char *) "pos",(char *) "label", NULL
26729 };
26730
26731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26733 arg2 = (size_t) PyInt_AsLong(obj1);
26734 if (PyErr_Occurred()) SWIG_fail;
26735 {
26736 arg3 = wxString_in_helper(obj2);
26737 if (arg3 == NULL) SWIG_fail;
26738 temp3 = True;
26739 }
26740 {
26741 PyThreadState* __tstate = wxPyBeginAllowThreads();
26742 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
26743
26744 wxPyEndAllowThreads(__tstate);
26745 if (PyErr_Occurred()) SWIG_fail;
26746 }
26747 Py_INCREF(Py_None); resultobj = Py_None;
26748 {
26749 if (temp3)
26750 delete arg3;
26751 }
26752 return resultobj;
26753 fail:
26754 {
26755 if (temp3)
26756 delete arg3;
26757 }
26758 return NULL;
26759 }
26760
26761
26762 static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26763 PyObject *resultobj;
26764 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26765 size_t arg2 ;
26766 wxString result;
26767 PyObject * obj0 = 0 ;
26768 PyObject * obj1 = 0 ;
26769 char *kwnames[] = {
26770 (char *) "self",(char *) "pos", NULL
26771 };
26772
26773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
26774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26775 arg2 = (size_t) PyInt_AsLong(obj1);
26776 if (PyErr_Occurred()) SWIG_fail;
26777 {
26778 PyThreadState* __tstate = wxPyBeginAllowThreads();
26779 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
26780
26781 wxPyEndAllowThreads(__tstate);
26782 if (PyErr_Occurred()) SWIG_fail;
26783 }
26784 {
26785 #if wxUSE_UNICODE
26786 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26787 #else
26788 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26789 #endif
26790 }
26791 return resultobj;
26792 fail:
26793 return NULL;
26794 }
26795
26796
26797 static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26798 PyObject *resultobj;
26799 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26800 wxString *arg2 = 0 ;
26801 wxString *arg3 = 0 ;
26802 int result;
26803 bool temp2 = False ;
26804 bool temp3 = False ;
26805 PyObject * obj0 = 0 ;
26806 PyObject * obj1 = 0 ;
26807 PyObject * obj2 = 0 ;
26808 char *kwnames[] = {
26809 (char *) "self",(char *) "menu",(char *) "item", NULL
26810 };
26811
26812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26814 {
26815 arg2 = wxString_in_helper(obj1);
26816 if (arg2 == NULL) SWIG_fail;
26817 temp2 = True;
26818 }
26819 {
26820 arg3 = wxString_in_helper(obj2);
26821 if (arg3 == NULL) SWIG_fail;
26822 temp3 = True;
26823 }
26824 {
26825 PyThreadState* __tstate = wxPyBeginAllowThreads();
26826 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
26827
26828 wxPyEndAllowThreads(__tstate);
26829 if (PyErr_Occurred()) SWIG_fail;
26830 }
26831 resultobj = PyInt_FromLong((long)result);
26832 {
26833 if (temp2)
26834 delete arg2;
26835 }
26836 {
26837 if (temp3)
26838 delete arg3;
26839 }
26840 return resultobj;
26841 fail:
26842 {
26843 if (temp2)
26844 delete arg2;
26845 }
26846 {
26847 if (temp3)
26848 delete arg3;
26849 }
26850 return NULL;
26851 }
26852
26853
26854 static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
26855 PyObject *resultobj;
26856 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26857 int arg2 ;
26858 wxMenuItem *result;
26859 PyObject * obj0 = 0 ;
26860 char *kwnames[] = {
26861 (char *) "self",(char *) "itemid", NULL
26862 };
26863
26864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_FindItemById",kwnames,&obj0,&arg2)) goto fail;
26865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26866 {
26867 PyThreadState* __tstate = wxPyBeginAllowThreads();
26868 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
26869
26870 wxPyEndAllowThreads(__tstate);
26871 if (PyErr_Occurred()) SWIG_fail;
26872 }
26873 {
26874 resultobj = wxPyMake_wxObject(result);
26875 }
26876 return resultobj;
26877 fail:
26878 return NULL;
26879 }
26880
26881
26882 static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26883 PyObject *resultobj;
26884 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26885 wxString *arg2 = 0 ;
26886 int result;
26887 bool temp2 = False ;
26888 PyObject * obj0 = 0 ;
26889 PyObject * obj1 = 0 ;
26890 char *kwnames[] = {
26891 (char *) "self",(char *) "title", NULL
26892 };
26893
26894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
26895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26896 {
26897 arg2 = wxString_in_helper(obj1);
26898 if (arg2 == NULL) SWIG_fail;
26899 temp2 = True;
26900 }
26901 {
26902 PyThreadState* __tstate = wxPyBeginAllowThreads();
26903 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
26904
26905 wxPyEndAllowThreads(__tstate);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
26908 resultobj = PyInt_FromLong((long)result);
26909 {
26910 if (temp2)
26911 delete arg2;
26912 }
26913 return resultobj;
26914 fail:
26915 {
26916 if (temp2)
26917 delete arg2;
26918 }
26919 return NULL;
26920 }
26921
26922
26923 static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
26924 PyObject *resultobj;
26925 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26926 int arg2 ;
26927 bool arg3 ;
26928 PyObject * obj0 = 0 ;
26929 PyObject * obj2 = 0 ;
26930 char *kwnames[] = {
26931 (char *) "self",(char *) "itemid",(char *) "enable", NULL
26932 };
26933
26934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
26935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26936 arg3 = PyInt_AsLong(obj2) ? true : false;
26937 if (PyErr_Occurred()) SWIG_fail;
26938 {
26939 PyThreadState* __tstate = wxPyBeginAllowThreads();
26940 (arg1)->Enable(arg2,arg3);
26941
26942 wxPyEndAllowThreads(__tstate);
26943 if (PyErr_Occurred()) SWIG_fail;
26944 }
26945 Py_INCREF(Py_None); resultobj = Py_None;
26946 return resultobj;
26947 fail:
26948 return NULL;
26949 }
26950
26951
26952 static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
26953 PyObject *resultobj;
26954 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26955 int arg2 ;
26956 bool arg3 ;
26957 PyObject * obj0 = 0 ;
26958 PyObject * obj2 = 0 ;
26959 char *kwnames[] = {
26960 (char *) "self",(char *) "itemid",(char *) "check", NULL
26961 };
26962
26963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
26964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26965 arg3 = PyInt_AsLong(obj2) ? true : false;
26966 if (PyErr_Occurred()) SWIG_fail;
26967 {
26968 PyThreadState* __tstate = wxPyBeginAllowThreads();
26969 (arg1)->Check(arg2,arg3);
26970
26971 wxPyEndAllowThreads(__tstate);
26972 if (PyErr_Occurred()) SWIG_fail;
26973 }
26974 Py_INCREF(Py_None); resultobj = Py_None;
26975 return resultobj;
26976 fail:
26977 return NULL;
26978 }
26979
26980
26981 static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
26982 PyObject *resultobj;
26983 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26984 int arg2 ;
26985 bool result;
26986 PyObject * obj0 = 0 ;
26987 char *kwnames[] = {
26988 (char *) "self",(char *) "itemid", NULL
26989 };
26990
26991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsChecked",kwnames,&obj0,&arg2)) goto fail;
26992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26993 {
26994 PyThreadState* __tstate = wxPyBeginAllowThreads();
26995 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
26996
26997 wxPyEndAllowThreads(__tstate);
26998 if (PyErr_Occurred()) SWIG_fail;
26999 }
27000 resultobj = PyInt_FromLong((long)result);
27001 return resultobj;
27002 fail:
27003 return NULL;
27004 }
27005
27006
27007 static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27008 PyObject *resultobj;
27009 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27010 int arg2 ;
27011 bool result;
27012 PyObject * obj0 = 0 ;
27013 char *kwnames[] = {
27014 (char *) "self",(char *) "itemid", NULL
27015 };
27016
27017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
27018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27019 {
27020 PyThreadState* __tstate = wxPyBeginAllowThreads();
27021 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
27022
27023 wxPyEndAllowThreads(__tstate);
27024 if (PyErr_Occurred()) SWIG_fail;
27025 }
27026 resultobj = PyInt_FromLong((long)result);
27027 return resultobj;
27028 fail:
27029 return NULL;
27030 }
27031
27032
27033 static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27034 PyObject *resultobj;
27035 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27036 int arg2 ;
27037 wxString *arg3 = 0 ;
27038 bool temp3 = False ;
27039 PyObject * obj0 = 0 ;
27040 PyObject * obj2 = 0 ;
27041 char *kwnames[] = {
27042 (char *) "self",(char *) "itemid",(char *) "label", NULL
27043 };
27044
27045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
27046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27047 {
27048 arg3 = wxString_in_helper(obj2);
27049 if (arg3 == NULL) SWIG_fail;
27050 temp3 = True;
27051 }
27052 {
27053 PyThreadState* __tstate = wxPyBeginAllowThreads();
27054 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
27055
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 Py_INCREF(Py_None); resultobj = Py_None;
27060 {
27061 if (temp3)
27062 delete arg3;
27063 }
27064 return resultobj;
27065 fail:
27066 {
27067 if (temp3)
27068 delete arg3;
27069 }
27070 return NULL;
27071 }
27072
27073
27074 static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27075 PyObject *resultobj;
27076 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27077 int arg2 ;
27078 wxString result;
27079 PyObject * obj0 = 0 ;
27080 char *kwnames[] = {
27081 (char *) "self",(char *) "itemid", NULL
27082 };
27083
27084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetLabel",kwnames,&obj0,&arg2)) goto fail;
27085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27086 {
27087 PyThreadState* __tstate = wxPyBeginAllowThreads();
27088 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
27089
27090 wxPyEndAllowThreads(__tstate);
27091 if (PyErr_Occurred()) SWIG_fail;
27092 }
27093 {
27094 #if wxUSE_UNICODE
27095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27096 #else
27097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27098 #endif
27099 }
27100 return resultobj;
27101 fail:
27102 return NULL;
27103 }
27104
27105
27106 static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27107 PyObject *resultobj;
27108 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27109 int arg2 ;
27110 wxString *arg3 = 0 ;
27111 bool temp3 = False ;
27112 PyObject * obj0 = 0 ;
27113 PyObject * obj2 = 0 ;
27114 char *kwnames[] = {
27115 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27116 };
27117
27118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
27119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27120 {
27121 arg3 = wxString_in_helper(obj2);
27122 if (arg3 == NULL) SWIG_fail;
27123 temp3 = True;
27124 }
27125 {
27126 PyThreadState* __tstate = wxPyBeginAllowThreads();
27127 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
27128
27129 wxPyEndAllowThreads(__tstate);
27130 if (PyErr_Occurred()) SWIG_fail;
27131 }
27132 Py_INCREF(Py_None); resultobj = Py_None;
27133 {
27134 if (temp3)
27135 delete arg3;
27136 }
27137 return resultobj;
27138 fail:
27139 {
27140 if (temp3)
27141 delete arg3;
27142 }
27143 return NULL;
27144 }
27145
27146
27147 static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27148 PyObject *resultobj;
27149 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27150 int arg2 ;
27151 wxString result;
27152 PyObject * obj0 = 0 ;
27153 char *kwnames[] = {
27154 (char *) "self",(char *) "itemid", NULL
27155 };
27156
27157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
27158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27159 {
27160 PyThreadState* __tstate = wxPyBeginAllowThreads();
27161 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
27162
27163 wxPyEndAllowThreads(__tstate);
27164 if (PyErr_Occurred()) SWIG_fail;
27165 }
27166 {
27167 #if wxUSE_UNICODE
27168 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27169 #else
27170 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27171 #endif
27172 }
27173 return resultobj;
27174 fail:
27175 return NULL;
27176 }
27177
27178
27179 static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
27180 PyObject *resultobj;
27181 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27182 wxFrame *result;
27183 PyObject * obj0 = 0 ;
27184 char *kwnames[] = {
27185 (char *) "self", NULL
27186 };
27187
27188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
27189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27190 {
27191 PyThreadState* __tstate = wxPyBeginAllowThreads();
27192 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
27193
27194 wxPyEndAllowThreads(__tstate);
27195 if (PyErr_Occurred()) SWIG_fail;
27196 }
27197 {
27198 resultobj = wxPyMake_wxObject(result);
27199 }
27200 return resultobj;
27201 fail:
27202 return NULL;
27203 }
27204
27205
27206 static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
27207 PyObject *resultobj;
27208 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27209 bool result;
27210 PyObject * obj0 = 0 ;
27211 char *kwnames[] = {
27212 (char *) "self", NULL
27213 };
27214
27215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
27216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27217 {
27218 PyThreadState* __tstate = wxPyBeginAllowThreads();
27219 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
27220
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 resultobj = PyInt_FromLong((long)result);
27225 return resultobj;
27226 fail:
27227 return NULL;
27228 }
27229
27230
27231 static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
27232 PyObject *resultobj;
27233 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27234 wxFrame *arg2 = (wxFrame *) 0 ;
27235 PyObject * obj0 = 0 ;
27236 PyObject * obj1 = 0 ;
27237 char *kwnames[] = {
27238 (char *) "self",(char *) "frame", NULL
27239 };
27240
27241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
27242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27244 {
27245 PyThreadState* __tstate = wxPyBeginAllowThreads();
27246 (arg1)->Attach(arg2);
27247
27248 wxPyEndAllowThreads(__tstate);
27249 if (PyErr_Occurred()) SWIG_fail;
27250 }
27251 Py_INCREF(Py_None); resultobj = Py_None;
27252 return resultobj;
27253 fail:
27254 return NULL;
27255 }
27256
27257
27258 static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
27259 PyObject *resultobj;
27260 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27261 PyObject * obj0 = 0 ;
27262 char *kwnames[] = {
27263 (char *) "self", NULL
27264 };
27265
27266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
27267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27268 {
27269 PyThreadState* __tstate = wxPyBeginAllowThreads();
27270 (arg1)->Detach();
27271
27272 wxPyEndAllowThreads(__tstate);
27273 if (PyErr_Occurred()) SWIG_fail;
27274 }
27275 Py_INCREF(Py_None); resultobj = Py_None;
27276 return resultobj;
27277 fail:
27278 return NULL;
27279 }
27280
27281
27282 static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
27283 PyObject *obj;
27284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27285 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
27286 Py_INCREF(obj);
27287 return Py_BuildValue((char *)"");
27288 }
27289 static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27290 PyObject *resultobj;
27291 wxMenu *arg1 = (wxMenu *) NULL ;
27292 int arg2 = (int) wxID_SEPARATOR ;
27293 wxString const &arg3_defvalue = wxPyEmptyString ;
27294 wxString *arg3 = (wxString *) &arg3_defvalue ;
27295 wxString const &arg4_defvalue = wxPyEmptyString ;
27296 wxString *arg4 = (wxString *) &arg4_defvalue ;
27297 int arg5 = (int) wxITEM_NORMAL ;
27298 wxMenu *arg6 = (wxMenu *) NULL ;
27299 wxMenuItem *result;
27300 bool temp3 = False ;
27301 bool temp4 = False ;
27302 PyObject * obj0 = 0 ;
27303 PyObject * obj2 = 0 ;
27304 PyObject * obj3 = 0 ;
27305 PyObject * obj5 = 0 ;
27306 char *kwnames[] = {
27307 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27308 };
27309
27310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOiO:new_MenuItem",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
27311 if (obj0) {
27312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27313 }
27314 if (obj2) {
27315 {
27316 arg3 = wxString_in_helper(obj2);
27317 if (arg3 == NULL) SWIG_fail;
27318 temp3 = True;
27319 }
27320 }
27321 if (obj3) {
27322 {
27323 arg4 = wxString_in_helper(obj3);
27324 if (arg4 == NULL) SWIG_fail;
27325 temp4 = True;
27326 }
27327 }
27328 if (obj5) {
27329 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27330 }
27331 {
27332 PyThreadState* __tstate = wxPyBeginAllowThreads();
27333 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
27334
27335 wxPyEndAllowThreads(__tstate);
27336 if (PyErr_Occurred()) SWIG_fail;
27337 }
27338 {
27339 resultobj = wxPyMake_wxObject(result);
27340 }
27341 {
27342 if (temp3)
27343 delete arg3;
27344 }
27345 {
27346 if (temp4)
27347 delete arg4;
27348 }
27349 return resultobj;
27350 fail:
27351 {
27352 if (temp3)
27353 delete arg3;
27354 }
27355 {
27356 if (temp4)
27357 delete arg4;
27358 }
27359 return NULL;
27360 }
27361
27362
27363 static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27364 PyObject *resultobj;
27365 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27366 wxMenu *result;
27367 PyObject * obj0 = 0 ;
27368 char *kwnames[] = {
27369 (char *) "self", NULL
27370 };
27371
27372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
27373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27374 {
27375 PyThreadState* __tstate = wxPyBeginAllowThreads();
27376 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
27377
27378 wxPyEndAllowThreads(__tstate);
27379 if (PyErr_Occurred()) SWIG_fail;
27380 }
27381 {
27382 resultobj = wxPyMake_wxObject(result);
27383 }
27384 return resultobj;
27385 fail:
27386 return NULL;
27387 }
27388
27389
27390 static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27391 PyObject *resultobj;
27392 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27393 wxMenu *arg2 = (wxMenu *) 0 ;
27394 PyObject * obj0 = 0 ;
27395 PyObject * obj1 = 0 ;
27396 char *kwnames[] = {
27397 (char *) "self",(char *) "menu", NULL
27398 };
27399
27400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
27401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27403 {
27404 PyThreadState* __tstate = wxPyBeginAllowThreads();
27405 (arg1)->SetMenu(arg2);
27406
27407 wxPyEndAllowThreads(__tstate);
27408 if (PyErr_Occurred()) SWIG_fail;
27409 }
27410 Py_INCREF(Py_None); resultobj = Py_None;
27411 return resultobj;
27412 fail:
27413 return NULL;
27414 }
27415
27416
27417 static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27418 PyObject *resultobj;
27419 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27420 int arg2 ;
27421 PyObject * obj0 = 0 ;
27422 char *kwnames[] = {
27423 (char *) "self",(char *) "itemid", NULL
27424 };
27425
27426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetId",kwnames,&obj0,&arg2)) goto fail;
27427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27428 {
27429 PyThreadState* __tstate = wxPyBeginAllowThreads();
27430 (arg1)->SetId(arg2);
27431
27432 wxPyEndAllowThreads(__tstate);
27433 if (PyErr_Occurred()) SWIG_fail;
27434 }
27435 Py_INCREF(Py_None); resultobj = Py_None;
27436 return resultobj;
27437 fail:
27438 return NULL;
27439 }
27440
27441
27442 static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27443 PyObject *resultobj;
27444 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27445 int result;
27446 PyObject * obj0 = 0 ;
27447 char *kwnames[] = {
27448 (char *) "self", NULL
27449 };
27450
27451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
27452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27453 {
27454 PyThreadState* __tstate = wxPyBeginAllowThreads();
27455 result = (int)((wxMenuItem const *)arg1)->GetId();
27456
27457 wxPyEndAllowThreads(__tstate);
27458 if (PyErr_Occurred()) SWIG_fail;
27459 }
27460 resultobj = PyInt_FromLong((long)result);
27461 return resultobj;
27462 fail:
27463 return NULL;
27464 }
27465
27466
27467 static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27468 PyObject *resultobj;
27469 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27470 bool result;
27471 PyObject * obj0 = 0 ;
27472 char *kwnames[] = {
27473 (char *) "self", NULL
27474 };
27475
27476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
27477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27478 {
27479 PyThreadState* __tstate = wxPyBeginAllowThreads();
27480 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
27481
27482 wxPyEndAllowThreads(__tstate);
27483 if (PyErr_Occurred()) SWIG_fail;
27484 }
27485 resultobj = PyInt_FromLong((long)result);
27486 return resultobj;
27487 fail:
27488 return NULL;
27489 }
27490
27491
27492 static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27493 PyObject *resultobj;
27494 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27495 wxString *arg2 = 0 ;
27496 bool temp2 = False ;
27497 PyObject * obj0 = 0 ;
27498 PyObject * obj1 = 0 ;
27499 char *kwnames[] = {
27500 (char *) "self",(char *) "str", NULL
27501 };
27502
27503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
27504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27505 {
27506 arg2 = wxString_in_helper(obj1);
27507 if (arg2 == NULL) SWIG_fail;
27508 temp2 = True;
27509 }
27510 {
27511 PyThreadState* __tstate = wxPyBeginAllowThreads();
27512 (arg1)->SetText((wxString const &)*arg2);
27513
27514 wxPyEndAllowThreads(__tstate);
27515 if (PyErr_Occurred()) SWIG_fail;
27516 }
27517 Py_INCREF(Py_None); resultobj = Py_None;
27518 {
27519 if (temp2)
27520 delete arg2;
27521 }
27522 return resultobj;
27523 fail:
27524 {
27525 if (temp2)
27526 delete arg2;
27527 }
27528 return NULL;
27529 }
27530
27531
27532 static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27533 PyObject *resultobj;
27534 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27535 wxString result;
27536 PyObject * obj0 = 0 ;
27537 char *kwnames[] = {
27538 (char *) "self", NULL
27539 };
27540
27541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
27542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27543 {
27544 PyThreadState* __tstate = wxPyBeginAllowThreads();
27545 result = ((wxMenuItem const *)arg1)->GetLabel();
27546
27547 wxPyEndAllowThreads(__tstate);
27548 if (PyErr_Occurred()) SWIG_fail;
27549 }
27550 {
27551 #if wxUSE_UNICODE
27552 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27553 #else
27554 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27555 #endif
27556 }
27557 return resultobj;
27558 fail:
27559 return NULL;
27560 }
27561
27562
27563 static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27564 PyObject *resultobj;
27565 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27566 wxString *result;
27567 PyObject * obj0 = 0 ;
27568 char *kwnames[] = {
27569 (char *) "self", NULL
27570 };
27571
27572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
27573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27574 {
27575 PyThreadState* __tstate = wxPyBeginAllowThreads();
27576 {
27577 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
27578 result = (wxString *) &_result_ref;
27579 }
27580
27581 wxPyEndAllowThreads(__tstate);
27582 if (PyErr_Occurred()) SWIG_fail;
27583 }
27584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
27585 return resultobj;
27586 fail:
27587 return NULL;
27588 }
27589
27590
27591 static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
27592 PyObject *resultobj;
27593 wxString *arg1 = 0 ;
27594 wxString result;
27595 bool temp1 = False ;
27596 PyObject * obj0 = 0 ;
27597 char *kwnames[] = {
27598 (char *) "text", NULL
27599 };
27600
27601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
27602 {
27603 arg1 = wxString_in_helper(obj0);
27604 if (arg1 == NULL) SWIG_fail;
27605 temp1 = True;
27606 }
27607 {
27608 PyThreadState* __tstate = wxPyBeginAllowThreads();
27609 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
27610
27611 wxPyEndAllowThreads(__tstate);
27612 if (PyErr_Occurred()) SWIG_fail;
27613 }
27614 {
27615 #if wxUSE_UNICODE
27616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27617 #else
27618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27619 #endif
27620 }
27621 {
27622 if (temp1)
27623 delete arg1;
27624 }
27625 return resultobj;
27626 fail:
27627 {
27628 if (temp1)
27629 delete arg1;
27630 }
27631 return NULL;
27632 }
27633
27634
27635 static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
27636 PyObject *resultobj;
27637 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27638 int result;
27639 PyObject * obj0 = 0 ;
27640 char *kwnames[] = {
27641 (char *) "self", NULL
27642 };
27643
27644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
27645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27646 {
27647 PyThreadState* __tstate = wxPyBeginAllowThreads();
27648 result = (int)((wxMenuItem const *)arg1)->GetKind();
27649
27650 wxPyEndAllowThreads(__tstate);
27651 if (PyErr_Occurred()) SWIG_fail;
27652 }
27653 resultobj = PyInt_FromLong((long)result);
27654 return resultobj;
27655 fail:
27656 return NULL;
27657 }
27658
27659
27660 static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27661 PyObject *resultobj;
27662 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27663 bool arg2 ;
27664 PyObject * obj0 = 0 ;
27665 PyObject * obj1 = 0 ;
27666 char *kwnames[] = {
27667 (char *) "self",(char *) "checkable", NULL
27668 };
27669
27670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
27671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27672 arg2 = PyInt_AsLong(obj1) ? true : false;
27673 if (PyErr_Occurred()) SWIG_fail;
27674 {
27675 PyThreadState* __tstate = wxPyBeginAllowThreads();
27676 (arg1)->SetCheckable(arg2);
27677
27678 wxPyEndAllowThreads(__tstate);
27679 if (PyErr_Occurred()) SWIG_fail;
27680 }
27681 Py_INCREF(Py_None); resultobj = Py_None;
27682 return resultobj;
27683 fail:
27684 return NULL;
27685 }
27686
27687
27688 static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27689 PyObject *resultobj;
27690 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27691 bool result;
27692 PyObject * obj0 = 0 ;
27693 char *kwnames[] = {
27694 (char *) "self", NULL
27695 };
27696
27697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
27698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27699 {
27700 PyThreadState* __tstate = wxPyBeginAllowThreads();
27701 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
27702
27703 wxPyEndAllowThreads(__tstate);
27704 if (PyErr_Occurred()) SWIG_fail;
27705 }
27706 resultobj = PyInt_FromLong((long)result);
27707 return resultobj;
27708 fail:
27709 return NULL;
27710 }
27711
27712
27713 static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27714 PyObject *resultobj;
27715 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27716 bool result;
27717 PyObject * obj0 = 0 ;
27718 char *kwnames[] = {
27719 (char *) "self", NULL
27720 };
27721
27722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
27723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27724 {
27725 PyThreadState* __tstate = wxPyBeginAllowThreads();
27726 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
27727
27728 wxPyEndAllowThreads(__tstate);
27729 if (PyErr_Occurred()) SWIG_fail;
27730 }
27731 resultobj = PyInt_FromLong((long)result);
27732 return resultobj;
27733 fail:
27734 return NULL;
27735 }
27736
27737
27738 static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27739 PyObject *resultobj;
27740 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27741 wxMenu *arg2 = (wxMenu *) 0 ;
27742 PyObject * obj0 = 0 ;
27743 PyObject * obj1 = 0 ;
27744 char *kwnames[] = {
27745 (char *) "self",(char *) "menu", NULL
27746 };
27747
27748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
27749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27751 {
27752 PyThreadState* __tstate = wxPyBeginAllowThreads();
27753 (arg1)->SetSubMenu(arg2);
27754
27755 wxPyEndAllowThreads(__tstate);
27756 if (PyErr_Occurred()) SWIG_fail;
27757 }
27758 Py_INCREF(Py_None); resultobj = Py_None;
27759 return resultobj;
27760 fail:
27761 return NULL;
27762 }
27763
27764
27765 static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27766 PyObject *resultobj;
27767 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27768 wxMenu *result;
27769 PyObject * obj0 = 0 ;
27770 char *kwnames[] = {
27771 (char *) "self", NULL
27772 };
27773
27774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
27775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27776 {
27777 PyThreadState* __tstate = wxPyBeginAllowThreads();
27778 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
27779
27780 wxPyEndAllowThreads(__tstate);
27781 if (PyErr_Occurred()) SWIG_fail;
27782 }
27783 {
27784 resultobj = wxPyMake_wxObject(result);
27785 }
27786 return resultobj;
27787 fail:
27788 return NULL;
27789 }
27790
27791
27792 static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27793 PyObject *resultobj;
27794 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27795 bool arg2 = (bool) True ;
27796 PyObject * obj0 = 0 ;
27797 PyObject * obj1 = 0 ;
27798 char *kwnames[] = {
27799 (char *) "self",(char *) "enable", NULL
27800 };
27801
27802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
27803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27804 if (obj1) {
27805 arg2 = PyInt_AsLong(obj1) ? true : false;
27806 if (PyErr_Occurred()) SWIG_fail;
27807 }
27808 {
27809 PyThreadState* __tstate = wxPyBeginAllowThreads();
27810 (arg1)->Enable(arg2);
27811
27812 wxPyEndAllowThreads(__tstate);
27813 if (PyErr_Occurred()) SWIG_fail;
27814 }
27815 Py_INCREF(Py_None); resultobj = Py_None;
27816 return resultobj;
27817 fail:
27818 return NULL;
27819 }
27820
27821
27822 static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27823 PyObject *resultobj;
27824 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27825 bool result;
27826 PyObject * obj0 = 0 ;
27827 char *kwnames[] = {
27828 (char *) "self", NULL
27829 };
27830
27831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
27832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27833 {
27834 PyThreadState* __tstate = wxPyBeginAllowThreads();
27835 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
27836
27837 wxPyEndAllowThreads(__tstate);
27838 if (PyErr_Occurred()) SWIG_fail;
27839 }
27840 resultobj = PyInt_FromLong((long)result);
27841 return resultobj;
27842 fail:
27843 return NULL;
27844 }
27845
27846
27847 static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27848 PyObject *resultobj;
27849 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27850 bool arg2 = (bool) True ;
27851 PyObject * obj0 = 0 ;
27852 PyObject * obj1 = 0 ;
27853 char *kwnames[] = {
27854 (char *) "self",(char *) "check", NULL
27855 };
27856
27857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
27858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27859 if (obj1) {
27860 arg2 = PyInt_AsLong(obj1) ? true : false;
27861 if (PyErr_Occurred()) SWIG_fail;
27862 }
27863 {
27864 PyThreadState* __tstate = wxPyBeginAllowThreads();
27865 (arg1)->Check(arg2);
27866
27867 wxPyEndAllowThreads(__tstate);
27868 if (PyErr_Occurred()) SWIG_fail;
27869 }
27870 Py_INCREF(Py_None); resultobj = Py_None;
27871 return resultobj;
27872 fail:
27873 return NULL;
27874 }
27875
27876
27877 static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27878 PyObject *resultobj;
27879 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27880 bool result;
27881 PyObject * obj0 = 0 ;
27882 char *kwnames[] = {
27883 (char *) "self", NULL
27884 };
27885
27886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
27887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27888 {
27889 PyThreadState* __tstate = wxPyBeginAllowThreads();
27890 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
27891
27892 wxPyEndAllowThreads(__tstate);
27893 if (PyErr_Occurred()) SWIG_fail;
27894 }
27895 resultobj = PyInt_FromLong((long)result);
27896 return resultobj;
27897 fail:
27898 return NULL;
27899 }
27900
27901
27902 static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27903 PyObject *resultobj;
27904 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27905 PyObject * obj0 = 0 ;
27906 char *kwnames[] = {
27907 (char *) "self", NULL
27908 };
27909
27910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
27911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27912 {
27913 PyThreadState* __tstate = wxPyBeginAllowThreads();
27914 (arg1)->Toggle();
27915
27916 wxPyEndAllowThreads(__tstate);
27917 if (PyErr_Occurred()) SWIG_fail;
27918 }
27919 Py_INCREF(Py_None); resultobj = Py_None;
27920 return resultobj;
27921 fail:
27922 return NULL;
27923 }
27924
27925
27926 static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27927 PyObject *resultobj;
27928 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27929 wxString *arg2 = 0 ;
27930 bool temp2 = False ;
27931 PyObject * obj0 = 0 ;
27932 PyObject * obj1 = 0 ;
27933 char *kwnames[] = {
27934 (char *) "self",(char *) "str", NULL
27935 };
27936
27937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
27938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27939 {
27940 arg2 = wxString_in_helper(obj1);
27941 if (arg2 == NULL) SWIG_fail;
27942 temp2 = True;
27943 }
27944 {
27945 PyThreadState* __tstate = wxPyBeginAllowThreads();
27946 (arg1)->SetHelp((wxString const &)*arg2);
27947
27948 wxPyEndAllowThreads(__tstate);
27949 if (PyErr_Occurred()) SWIG_fail;
27950 }
27951 Py_INCREF(Py_None); resultobj = Py_None;
27952 {
27953 if (temp2)
27954 delete arg2;
27955 }
27956 return resultobj;
27957 fail:
27958 {
27959 if (temp2)
27960 delete arg2;
27961 }
27962 return NULL;
27963 }
27964
27965
27966 static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27967 PyObject *resultobj;
27968 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27969 wxString *result;
27970 PyObject * obj0 = 0 ;
27971 char *kwnames[] = {
27972 (char *) "self", NULL
27973 };
27974
27975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
27976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27977 {
27978 PyThreadState* __tstate = wxPyBeginAllowThreads();
27979 {
27980 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
27981 result = (wxString *) &_result_ref;
27982 }
27983
27984 wxPyEndAllowThreads(__tstate);
27985 if (PyErr_Occurred()) SWIG_fail;
27986 }
27987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
27988 return resultobj;
27989 fail:
27990 return NULL;
27991 }
27992
27993
27994 static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
27995 PyObject *resultobj;
27996 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27997 wxAcceleratorEntry *result;
27998 PyObject * obj0 = 0 ;
27999 char *kwnames[] = {
28000 (char *) "self", NULL
28001 };
28002
28003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
28004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28005 {
28006 PyThreadState* __tstate = wxPyBeginAllowThreads();
28007 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
28008
28009 wxPyEndAllowThreads(__tstate);
28010 if (PyErr_Occurred()) SWIG_fail;
28011 }
28012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
28013 return resultobj;
28014 fail:
28015 return NULL;
28016 }
28017
28018
28019 static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28020 PyObject *resultobj;
28021 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28022 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
28023 PyObject * obj0 = 0 ;
28024 PyObject * obj1 = 0 ;
28025 char *kwnames[] = {
28026 (char *) "self",(char *) "accel", NULL
28027 };
28028
28029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
28030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28032 {
28033 PyThreadState* __tstate = wxPyBeginAllowThreads();
28034 (arg1)->SetAccel(arg2);
28035
28036 wxPyEndAllowThreads(__tstate);
28037 if (PyErr_Occurred()) SWIG_fail;
28038 }
28039 Py_INCREF(Py_None); resultobj = Py_None;
28040 return resultobj;
28041 fail:
28042 return NULL;
28043 }
28044
28045
28046 static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28047 PyObject *resultobj;
28048 int result;
28049 char *kwnames[] = {
28050 NULL
28051 };
28052
28053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
28054 {
28055 PyThreadState* __tstate = wxPyBeginAllowThreads();
28056 result = (int)MenuItem_GetDefaultMarginWidth();
28057
28058 wxPyEndAllowThreads(__tstate);
28059 if (PyErr_Occurred()) SWIG_fail;
28060 }
28061 resultobj = PyInt_FromLong((long)result);
28062 return resultobj;
28063 fail:
28064 return NULL;
28065 }
28066
28067
28068 static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28069 PyObject *resultobj;
28070 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28071 wxBitmap *arg2 = 0 ;
28072 PyObject * obj0 = 0 ;
28073 PyObject * obj1 = 0 ;
28074 char *kwnames[] = {
28075 (char *) "self",(char *) "bitmap", NULL
28076 };
28077
28078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
28079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28080 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28081 if (arg2 == NULL) {
28082 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28083 }
28084 {
28085 PyThreadState* __tstate = wxPyBeginAllowThreads();
28086 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28087
28088 wxPyEndAllowThreads(__tstate);
28089 if (PyErr_Occurred()) SWIG_fail;
28090 }
28091 Py_INCREF(Py_None); resultobj = Py_None;
28092 return resultobj;
28093 fail:
28094 return NULL;
28095 }
28096
28097
28098 static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28099 PyObject *resultobj;
28100 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28101 wxBitmap *result;
28102 PyObject * obj0 = 0 ;
28103 char *kwnames[] = {
28104 (char *) "self", NULL
28105 };
28106
28107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
28108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 {
28112 wxBitmap const &_result_ref = (arg1)->GetBitmap();
28113 result = (wxBitmap *) &_result_ref;
28114 }
28115
28116 wxPyEndAllowThreads(__tstate);
28117 if (PyErr_Occurred()) SWIG_fail;
28118 }
28119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28120 return resultobj;
28121 fail:
28122 return NULL;
28123 }
28124
28125
28126 static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
28127 PyObject *obj;
28128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28129 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
28130 Py_INCREF(obj);
28131 return Py_BuildValue((char *)"");
28132 }
28133 static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
28134 PyObject *resultobj;
28135 wxWindow *arg1 = (wxWindow *) 0 ;
28136 int arg2 ;
28137 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28138 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28139 wxSize const &arg4_defvalue = wxDefaultSize ;
28140 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28141 long arg5 = (long) 0 ;
28142 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28143 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28144 wxString const &arg7_defvalue = wxPyControlNameStr ;
28145 wxString *arg7 = (wxString *) &arg7_defvalue ;
28146 wxControl *result;
28147 wxPoint temp3 ;
28148 wxSize temp4 ;
28149 bool temp7 = False ;
28150 PyObject * obj0 = 0 ;
28151 PyObject * obj2 = 0 ;
28152 PyObject * obj3 = 0 ;
28153 PyObject * obj5 = 0 ;
28154 PyObject * obj6 = 0 ;
28155 char *kwnames[] = {
28156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28157 };
28158
28159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_Control",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
28160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28161 if (obj2) {
28162 {
28163 arg3 = &temp3;
28164 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28165 }
28166 }
28167 if (obj3) {
28168 {
28169 arg4 = &temp4;
28170 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28171 }
28172 }
28173 if (obj5) {
28174 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28175 if (arg6 == NULL) {
28176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28177 }
28178 }
28179 if (obj6) {
28180 {
28181 arg7 = wxString_in_helper(obj6);
28182 if (arg7 == NULL) SWIG_fail;
28183 temp7 = True;
28184 }
28185 }
28186 {
28187 PyThreadState* __tstate = wxPyBeginAllowThreads();
28188 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28189
28190 wxPyEndAllowThreads(__tstate);
28191 if (PyErr_Occurred()) SWIG_fail;
28192 }
28193 {
28194 resultobj = wxPyMake_wxObject(result);
28195 }
28196 {
28197 if (temp7)
28198 delete arg7;
28199 }
28200 return resultobj;
28201 fail:
28202 {
28203 if (temp7)
28204 delete arg7;
28205 }
28206 return NULL;
28207 }
28208
28209
28210 static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28211 PyObject *resultobj;
28212 wxControl *result;
28213 char *kwnames[] = {
28214 NULL
28215 };
28216
28217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
28218 {
28219 PyThreadState* __tstate = wxPyBeginAllowThreads();
28220 result = (wxControl *)new wxControl();
28221
28222 wxPyEndAllowThreads(__tstate);
28223 if (PyErr_Occurred()) SWIG_fail;
28224 }
28225 {
28226 resultobj = wxPyMake_wxObject(result);
28227 }
28228 return resultobj;
28229 fail:
28230 return NULL;
28231 }
28232
28233
28234 static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28235 PyObject *resultobj;
28236 wxControl *arg1 = (wxControl *) 0 ;
28237 wxWindow *arg2 = (wxWindow *) 0 ;
28238 int arg3 ;
28239 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28240 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28241 wxSize const &arg5_defvalue = wxDefaultSize ;
28242 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28243 long arg6 = (long) 0 ;
28244 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28245 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28246 wxString const &arg8_defvalue = wxPyControlNameStr ;
28247 wxString *arg8 = (wxString *) &arg8_defvalue ;
28248 bool result;
28249 wxPoint temp4 ;
28250 wxSize temp5 ;
28251 bool temp8 = False ;
28252 PyObject * obj0 = 0 ;
28253 PyObject * obj1 = 0 ;
28254 PyObject * obj3 = 0 ;
28255 PyObject * obj4 = 0 ;
28256 PyObject * obj6 = 0 ;
28257 PyObject * obj7 = 0 ;
28258 char *kwnames[] = {
28259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28260 };
28261
28262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlOO:Control_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
28263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28265 if (obj3) {
28266 {
28267 arg4 = &temp4;
28268 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28269 }
28270 }
28271 if (obj4) {
28272 {
28273 arg5 = &temp5;
28274 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28275 }
28276 }
28277 if (obj6) {
28278 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28279 if (arg7 == NULL) {
28280 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28281 }
28282 }
28283 if (obj7) {
28284 {
28285 arg8 = wxString_in_helper(obj7);
28286 if (arg8 == NULL) SWIG_fail;
28287 temp8 = True;
28288 }
28289 }
28290 {
28291 PyThreadState* __tstate = wxPyBeginAllowThreads();
28292 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28293
28294 wxPyEndAllowThreads(__tstate);
28295 if (PyErr_Occurred()) SWIG_fail;
28296 }
28297 resultobj = PyInt_FromLong((long)result);
28298 {
28299 if (temp8)
28300 delete arg8;
28301 }
28302 return resultobj;
28303 fail:
28304 {
28305 if (temp8)
28306 delete arg8;
28307 }
28308 return NULL;
28309 }
28310
28311
28312 static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
28313 PyObject *resultobj;
28314 wxControl *arg1 = (wxControl *) 0 ;
28315 wxCommandEvent *arg2 = 0 ;
28316 PyObject * obj0 = 0 ;
28317 PyObject * obj1 = 0 ;
28318 char *kwnames[] = {
28319 (char *) "self",(char *) "event", NULL
28320 };
28321
28322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
28323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28325 if (arg2 == NULL) {
28326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28327 }
28328 {
28329 PyThreadState* __tstate = wxPyBeginAllowThreads();
28330 (arg1)->Command(*arg2);
28331
28332 wxPyEndAllowThreads(__tstate);
28333 if (PyErr_Occurred()) SWIG_fail;
28334 }
28335 Py_INCREF(Py_None); resultobj = Py_None;
28336 return resultobj;
28337 fail:
28338 return NULL;
28339 }
28340
28341
28342 static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28343 PyObject *resultobj;
28344 wxControl *arg1 = (wxControl *) 0 ;
28345 wxString result;
28346 PyObject * obj0 = 0 ;
28347 char *kwnames[] = {
28348 (char *) "self", NULL
28349 };
28350
28351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
28352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28353 {
28354 PyThreadState* __tstate = wxPyBeginAllowThreads();
28355 result = (arg1)->GetLabel();
28356
28357 wxPyEndAllowThreads(__tstate);
28358 if (PyErr_Occurred()) SWIG_fail;
28359 }
28360 {
28361 #if wxUSE_UNICODE
28362 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28363 #else
28364 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28365 #endif
28366 }
28367 return resultobj;
28368 fail:
28369 return NULL;
28370 }
28371
28372
28373 static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28374 PyObject *resultobj;
28375 wxControl *arg1 = (wxControl *) 0 ;
28376 wxString *arg2 = 0 ;
28377 bool temp2 = False ;
28378 PyObject * obj0 = 0 ;
28379 PyObject * obj1 = 0 ;
28380 char *kwnames[] = {
28381 (char *) "self",(char *) "label", NULL
28382 };
28383
28384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
28385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28386 {
28387 arg2 = wxString_in_helper(obj1);
28388 if (arg2 == NULL) SWIG_fail;
28389 temp2 = True;
28390 }
28391 {
28392 PyThreadState* __tstate = wxPyBeginAllowThreads();
28393 (arg1)->SetLabel((wxString const &)*arg2);
28394
28395 wxPyEndAllowThreads(__tstate);
28396 if (PyErr_Occurred()) SWIG_fail;
28397 }
28398 Py_INCREF(Py_None); resultobj = Py_None;
28399 {
28400 if (temp2)
28401 delete arg2;
28402 }
28403 return resultobj;
28404 fail:
28405 {
28406 if (temp2)
28407 delete arg2;
28408 }
28409 return NULL;
28410 }
28411
28412
28413 static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
28414 PyObject *obj;
28415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28416 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
28417 Py_INCREF(obj);
28418 return Py_BuildValue((char *)"");
28419 }
28420 static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28421 PyObject *resultobj;
28422 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28423 wxString *arg2 = 0 ;
28424 PyObject *arg3 = (PyObject *) NULL ;
28425 int result;
28426 bool temp2 = False ;
28427 PyObject * obj0 = 0 ;
28428 PyObject * obj1 = 0 ;
28429 PyObject * obj2 = 0 ;
28430 char *kwnames[] = {
28431 (char *) "self",(char *) "item",(char *) "clientData", NULL
28432 };
28433
28434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
28435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28436 {
28437 arg2 = wxString_in_helper(obj1);
28438 if (arg2 == NULL) SWIG_fail;
28439 temp2 = True;
28440 }
28441 if (obj2) {
28442 arg3 = obj2;
28443 }
28444 {
28445 PyThreadState* __tstate = wxPyBeginAllowThreads();
28446 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
28447
28448 wxPyEndAllowThreads(__tstate);
28449 if (PyErr_Occurred()) SWIG_fail;
28450 }
28451 resultobj = PyInt_FromLong((long)result);
28452 {
28453 if (temp2)
28454 delete arg2;
28455 }
28456 return resultobj;
28457 fail:
28458 {
28459 if (temp2)
28460 delete arg2;
28461 }
28462 return NULL;
28463 }
28464
28465
28466 static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
28467 PyObject *resultobj;
28468 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28469 wxArrayString *arg2 = 0 ;
28470 PyObject * obj0 = 0 ;
28471 PyObject * obj1 = 0 ;
28472 char *kwnames[] = {
28473 (char *) "self",(char *) "strings", NULL
28474 };
28475
28476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
28477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28478 {
28479 if (! PySequence_Check(obj1)) {
28480 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
28481 SWIG_fail;
28482 }
28483 arg2 = new wxArrayString;
28484 int i, len=PySequence_Length(obj1);
28485 for (i=0; i<len; i++) {
28486 PyObject* item = PySequence_GetItem(obj1, i);
28487 #if wxUSE_UNICODE
28488 PyObject* str = PyObject_Unicode(item);
28489 #else
28490 PyObject* str = PyObject_Str(item);
28491 #endif
28492 arg2->Add(Py2wxString(str));
28493 Py_DECREF(item);
28494 Py_DECREF(str);
28495 }
28496 }
28497 {
28498 PyThreadState* __tstate = wxPyBeginAllowThreads();
28499 (arg1)->Append((wxArrayString const &)*arg2);
28500
28501 wxPyEndAllowThreads(__tstate);
28502 if (PyErr_Occurred()) SWIG_fail;
28503 }
28504 Py_INCREF(Py_None); resultobj = Py_None;
28505 {
28506 if (arg2) delete arg2;
28507 }
28508 return resultobj;
28509 fail:
28510 {
28511 if (arg2) delete arg2;
28512 }
28513 return NULL;
28514 }
28515
28516
28517 static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
28518 PyObject *resultobj;
28519 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28520 wxString *arg2 = 0 ;
28521 int arg3 ;
28522 PyObject *arg4 = (PyObject *) NULL ;
28523 int result;
28524 bool temp2 = False ;
28525 PyObject * obj0 = 0 ;
28526 PyObject * obj1 = 0 ;
28527 PyObject * obj3 = 0 ;
28528 char *kwnames[] = {
28529 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
28530 };
28531
28532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
28533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28534 {
28535 arg2 = wxString_in_helper(obj1);
28536 if (arg2 == NULL) SWIG_fail;
28537 temp2 = True;
28538 }
28539 if (obj3) {
28540 arg4 = obj3;
28541 }
28542 {
28543 PyThreadState* __tstate = wxPyBeginAllowThreads();
28544 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
28545
28546 wxPyEndAllowThreads(__tstate);
28547 if (PyErr_Occurred()) SWIG_fail;
28548 }
28549 resultobj = PyInt_FromLong((long)result);
28550 {
28551 if (temp2)
28552 delete arg2;
28553 }
28554 return resultobj;
28555 fail:
28556 {
28557 if (temp2)
28558 delete arg2;
28559 }
28560 return NULL;
28561 }
28562
28563
28564 static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
28565 PyObject *resultobj;
28566 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28567 PyObject * obj0 = 0 ;
28568 char *kwnames[] = {
28569 (char *) "self", NULL
28570 };
28571
28572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
28573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28574 {
28575 PyThreadState* __tstate = wxPyBeginAllowThreads();
28576 (arg1)->Clear();
28577
28578 wxPyEndAllowThreads(__tstate);
28579 if (PyErr_Occurred()) SWIG_fail;
28580 }
28581 Py_INCREF(Py_None); resultobj = Py_None;
28582 return resultobj;
28583 fail:
28584 return NULL;
28585 }
28586
28587
28588 static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
28589 PyObject *resultobj;
28590 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28591 int arg2 ;
28592 PyObject * obj0 = 0 ;
28593 char *kwnames[] = {
28594 (char *) "self",(char *) "n", NULL
28595 };
28596
28597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Delete",kwnames,&obj0,&arg2)) goto fail;
28598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28599 {
28600 PyThreadState* __tstate = wxPyBeginAllowThreads();
28601 (arg1)->Delete(arg2);
28602
28603 wxPyEndAllowThreads(__tstate);
28604 if (PyErr_Occurred()) SWIG_fail;
28605 }
28606 Py_INCREF(Py_None); resultobj = Py_None;
28607 return resultobj;
28608 fail:
28609 return NULL;
28610 }
28611
28612
28613 static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
28614 PyObject *resultobj;
28615 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28616 int result;
28617 PyObject * obj0 = 0 ;
28618 char *kwnames[] = {
28619 (char *) "self", NULL
28620 };
28621
28622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
28623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 result = (int)((wxItemContainer const *)arg1)->GetCount();
28627
28628 wxPyEndAllowThreads(__tstate);
28629 if (PyErr_Occurred()) SWIG_fail;
28630 }
28631 resultobj = PyInt_FromLong((long)result);
28632 return resultobj;
28633 fail:
28634 return NULL;
28635 }
28636
28637
28638 static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
28639 PyObject *resultobj;
28640 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28641 bool result;
28642 PyObject * obj0 = 0 ;
28643 char *kwnames[] = {
28644 (char *) "self", NULL
28645 };
28646
28647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
28648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
28652
28653 wxPyEndAllowThreads(__tstate);
28654 if (PyErr_Occurred()) SWIG_fail;
28655 }
28656 resultobj = PyInt_FromLong((long)result);
28657 return resultobj;
28658 fail:
28659 return NULL;
28660 }
28661
28662
28663 static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
28664 PyObject *resultobj;
28665 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28666 int arg2 ;
28667 wxString result;
28668 PyObject * obj0 = 0 ;
28669 char *kwnames[] = {
28670 (char *) "self",(char *) "n", NULL
28671 };
28672
28673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetString",kwnames,&obj0,&arg2)) goto fail;
28674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28675 {
28676 PyThreadState* __tstate = wxPyBeginAllowThreads();
28677 result = ((wxItemContainer const *)arg1)->GetString(arg2);
28678
28679 wxPyEndAllowThreads(__tstate);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
28682 {
28683 #if wxUSE_UNICODE
28684 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28685 #else
28686 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28687 #endif
28688 }
28689 return resultobj;
28690 fail:
28691 return NULL;
28692 }
28693
28694
28695 static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
28696 PyObject *resultobj;
28697 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28698 wxArrayString result;
28699 PyObject * obj0 = 0 ;
28700 char *kwnames[] = {
28701 (char *) "self", NULL
28702 };
28703
28704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
28705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28706 {
28707 PyThreadState* __tstate = wxPyBeginAllowThreads();
28708 result = ((wxItemContainer const *)arg1)->GetStrings();
28709
28710 wxPyEndAllowThreads(__tstate);
28711 if (PyErr_Occurred()) SWIG_fail;
28712 }
28713 {
28714 resultobj = wxArrayString2PyList_helper(result);
28715 }
28716 return resultobj;
28717 fail:
28718 return NULL;
28719 }
28720
28721
28722 static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
28723 PyObject *resultobj;
28724 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28725 int arg2 ;
28726 wxString *arg3 = 0 ;
28727 bool temp3 = False ;
28728 PyObject * obj0 = 0 ;
28729 PyObject * obj2 = 0 ;
28730 char *kwnames[] = {
28731 (char *) "self",(char *) "n",(char *) "s", NULL
28732 };
28733
28734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
28735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28736 {
28737 arg3 = wxString_in_helper(obj2);
28738 if (arg3 == NULL) SWIG_fail;
28739 temp3 = True;
28740 }
28741 {
28742 PyThreadState* __tstate = wxPyBeginAllowThreads();
28743 (arg1)->SetString(arg2,(wxString const &)*arg3);
28744
28745 wxPyEndAllowThreads(__tstate);
28746 if (PyErr_Occurred()) SWIG_fail;
28747 }
28748 Py_INCREF(Py_None); resultobj = Py_None;
28749 {
28750 if (temp3)
28751 delete arg3;
28752 }
28753 return resultobj;
28754 fail:
28755 {
28756 if (temp3)
28757 delete arg3;
28758 }
28759 return NULL;
28760 }
28761
28762
28763 static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
28764 PyObject *resultobj;
28765 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28766 wxString *arg2 = 0 ;
28767 int result;
28768 bool temp2 = False ;
28769 PyObject * obj0 = 0 ;
28770 PyObject * obj1 = 0 ;
28771 char *kwnames[] = {
28772 (char *) "self",(char *) "s", NULL
28773 };
28774
28775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
28776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28777 {
28778 arg2 = wxString_in_helper(obj1);
28779 if (arg2 == NULL) SWIG_fail;
28780 temp2 = True;
28781 }
28782 {
28783 PyThreadState* __tstate = wxPyBeginAllowThreads();
28784 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
28785
28786 wxPyEndAllowThreads(__tstate);
28787 if (PyErr_Occurred()) SWIG_fail;
28788 }
28789 resultobj = PyInt_FromLong((long)result);
28790 {
28791 if (temp2)
28792 delete arg2;
28793 }
28794 return resultobj;
28795 fail:
28796 {
28797 if (temp2)
28798 delete arg2;
28799 }
28800 return NULL;
28801 }
28802
28803
28804 static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
28805 PyObject *resultobj;
28806 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28807 int arg2 ;
28808 PyObject * obj0 = 0 ;
28809 char *kwnames[] = {
28810 (char *) "self",(char *) "n", NULL
28811 };
28812
28813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Select",kwnames,&obj0,&arg2)) goto fail;
28814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28815 {
28816 PyThreadState* __tstate = wxPyBeginAllowThreads();
28817 (arg1)->Select(arg2);
28818
28819 wxPyEndAllowThreads(__tstate);
28820 if (PyErr_Occurred()) SWIG_fail;
28821 }
28822 Py_INCREF(Py_None); resultobj = Py_None;
28823 return resultobj;
28824 fail:
28825 return NULL;
28826 }
28827
28828
28829 static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
28830 PyObject *resultobj;
28831 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28832 int result;
28833 PyObject * obj0 = 0 ;
28834 char *kwnames[] = {
28835 (char *) "self", NULL
28836 };
28837
28838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
28839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28840 {
28841 PyThreadState* __tstate = wxPyBeginAllowThreads();
28842 result = (int)((wxItemContainer const *)arg1)->GetSelection();
28843
28844 wxPyEndAllowThreads(__tstate);
28845 if (PyErr_Occurred()) SWIG_fail;
28846 }
28847 resultobj = PyInt_FromLong((long)result);
28848 return resultobj;
28849 fail:
28850 return NULL;
28851 }
28852
28853
28854 static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
28855 PyObject *resultobj;
28856 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28857 wxString result;
28858 PyObject * obj0 = 0 ;
28859 char *kwnames[] = {
28860 (char *) "self", NULL
28861 };
28862
28863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
28864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28865 {
28866 PyThreadState* __tstate = wxPyBeginAllowThreads();
28867 result = ((wxItemContainer const *)arg1)->GetStringSelection();
28868
28869 wxPyEndAllowThreads(__tstate);
28870 if (PyErr_Occurred()) SWIG_fail;
28871 }
28872 {
28873 #if wxUSE_UNICODE
28874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28875 #else
28876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28877 #endif
28878 }
28879 return resultobj;
28880 fail:
28881 return NULL;
28882 }
28883
28884
28885 static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
28886 PyObject *resultobj;
28887 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28888 int arg2 ;
28889 PyObject *result;
28890 PyObject * obj0 = 0 ;
28891 char *kwnames[] = {
28892 (char *) "self",(char *) "n", NULL
28893 };
28894
28895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetClientData",kwnames,&obj0,&arg2)) goto fail;
28896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28897 {
28898 PyThreadState* __tstate = wxPyBeginAllowThreads();
28899 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
28900
28901 wxPyEndAllowThreads(__tstate);
28902 if (PyErr_Occurred()) SWIG_fail;
28903 }
28904 resultobj = result;
28905 return resultobj;
28906 fail:
28907 return NULL;
28908 }
28909
28910
28911 static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
28912 PyObject *resultobj;
28913 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28914 int arg2 ;
28915 PyObject *arg3 = (PyObject *) 0 ;
28916 PyObject * obj0 = 0 ;
28917 PyObject * obj2 = 0 ;
28918 char *kwnames[] = {
28919 (char *) "self",(char *) "n",(char *) "clientData", NULL
28920 };
28921
28922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
28923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28924 arg3 = obj2;
28925 {
28926 PyThreadState* __tstate = wxPyBeginAllowThreads();
28927 wxItemContainer_SetClientData(arg1,arg2,arg3);
28928
28929 wxPyEndAllowThreads(__tstate);
28930 if (PyErr_Occurred()) SWIG_fail;
28931 }
28932 Py_INCREF(Py_None); resultobj = Py_None;
28933 return resultobj;
28934 fail:
28935 return NULL;
28936 }
28937
28938
28939 static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
28940 PyObject *obj;
28941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28942 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
28943 Py_INCREF(obj);
28944 return Py_BuildValue((char *)"");
28945 }
28946 static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
28947 PyObject *obj;
28948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28949 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
28950 Py_INCREF(obj);
28951 return Py_BuildValue((char *)"");
28952 }
28953 static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28954 PyObject *resultobj;
28955 wxSizerItem *result;
28956 char *kwnames[] = {
28957 NULL
28958 };
28959
28960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
28963 result = (wxSizerItem *)new wxSizerItem();
28964
28965 wxPyEndAllowThreads(__tstate);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 }
28968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
28969 return resultobj;
28970 fail:
28971 return NULL;
28972 }
28973
28974
28975 static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
28976 PyObject *resultobj;
28977 int arg1 ;
28978 int arg2 ;
28979 int arg3 ;
28980 int arg4 ;
28981 int arg5 ;
28982 wxObject *arg6 = (wxObject *) 0 ;
28983 wxSizerItem *result;
28984 PyObject * obj5 = 0 ;
28985 char *kwnames[] = {
28986 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
28987 };
28988
28989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiiiiO:new_SizerItemSpacer",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
28990 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28991 {
28992 PyThreadState* __tstate = wxPyBeginAllowThreads();
28993 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
28994
28995 wxPyEndAllowThreads(__tstate);
28996 if (PyErr_Occurred()) SWIG_fail;
28997 }
28998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
28999 return resultobj;
29000 fail:
29001 return NULL;
29002 }
29003
29004
29005 static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29006 PyObject *resultobj;
29007 wxWindow *arg1 = (wxWindow *) 0 ;
29008 int arg2 ;
29009 int arg3 ;
29010 int arg4 ;
29011 wxObject *arg5 = (wxObject *) 0 ;
29012 wxSizerItem *result;
29013 PyObject * obj0 = 0 ;
29014 PyObject * obj4 = 0 ;
29015 char *kwnames[] = {
29016 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29017 };
29018
29019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29021 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29022 {
29023 PyThreadState* __tstate = wxPyBeginAllowThreads();
29024 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29025
29026 wxPyEndAllowThreads(__tstate);
29027 if (PyErr_Occurred()) SWIG_fail;
29028 }
29029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29030 return resultobj;
29031 fail:
29032 return NULL;
29033 }
29034
29035
29036 static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29037 PyObject *resultobj;
29038 wxSizer *arg1 = (wxSizer *) 0 ;
29039 int arg2 ;
29040 int arg3 ;
29041 int arg4 ;
29042 wxObject *arg5 = (wxObject *) 0 ;
29043 wxSizerItem *result;
29044 PyObject * obj0 = 0 ;
29045 PyObject * obj4 = 0 ;
29046 char *kwnames[] = {
29047 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29048 };
29049
29050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemSizer",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29052 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29053 {
29054 PyThreadState* __tstate = wxPyBeginAllowThreads();
29055 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29056
29057 wxPyEndAllowThreads(__tstate);
29058 if (PyErr_Occurred()) SWIG_fail;
29059 }
29060 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29061 return resultobj;
29062 fail:
29063 return NULL;
29064 }
29065
29066
29067 static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
29068 PyObject *resultobj;
29069 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29070 PyObject * obj0 = 0 ;
29071 char *kwnames[] = {
29072 (char *) "self", NULL
29073 };
29074
29075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
29076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29077 {
29078 PyThreadState* __tstate = wxPyBeginAllowThreads();
29079 (arg1)->DeleteWindows();
29080
29081 wxPyEndAllowThreads(__tstate);
29082 if (PyErr_Occurred()) SWIG_fail;
29083 }
29084 Py_INCREF(Py_None); resultobj = Py_None;
29085 return resultobj;
29086 fail:
29087 return NULL;
29088 }
29089
29090
29091 static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29092 PyObject *resultobj;
29093 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29094 PyObject * obj0 = 0 ;
29095 char *kwnames[] = {
29096 (char *) "self", NULL
29097 };
29098
29099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
29100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29101 {
29102 PyThreadState* __tstate = wxPyBeginAllowThreads();
29103 (arg1)->DetachSizer();
29104
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 Py_INCREF(Py_None); resultobj = Py_None;
29109 return resultobj;
29110 fail:
29111 return NULL;
29112 }
29113
29114
29115 static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29116 PyObject *resultobj;
29117 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29118 wxSize result;
29119 PyObject * obj0 = 0 ;
29120 char *kwnames[] = {
29121 (char *) "self", NULL
29122 };
29123
29124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
29125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29126 {
29127 PyThreadState* __tstate = wxPyBeginAllowThreads();
29128 result = (arg1)->GetSize();
29129
29130 wxPyEndAllowThreads(__tstate);
29131 if (PyErr_Occurred()) SWIG_fail;
29132 }
29133 {
29134 wxSize * resultptr;
29135 resultptr = new wxSize((wxSize &) result);
29136 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29137 }
29138 return resultobj;
29139 fail:
29140 return NULL;
29141 }
29142
29143
29144 static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
29145 PyObject *resultobj;
29146 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29147 wxSize result;
29148 PyObject * obj0 = 0 ;
29149 char *kwnames[] = {
29150 (char *) "self", NULL
29151 };
29152
29153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
29154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29155 {
29156 PyThreadState* __tstate = wxPyBeginAllowThreads();
29157 result = (arg1)->CalcMin();
29158
29159 wxPyEndAllowThreads(__tstate);
29160 if (PyErr_Occurred()) SWIG_fail;
29161 }
29162 {
29163 wxSize * resultptr;
29164 resultptr = new wxSize((wxSize &) result);
29165 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29166 }
29167 return resultobj;
29168 fail:
29169 return NULL;
29170 }
29171
29172
29173 static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
29174 PyObject *resultobj;
29175 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29176 wxPoint arg2 ;
29177 wxSize arg3 ;
29178 wxPoint *argp2 ;
29179 wxSize *argp3 ;
29180 PyObject * obj0 = 0 ;
29181 PyObject * obj1 = 0 ;
29182 PyObject * obj2 = 0 ;
29183 char *kwnames[] = {
29184 (char *) "self",(char *) "pos",(char *) "size", NULL
29185 };
29186
29187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
29188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29189 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29190 arg2 = *argp2;
29191 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29192 arg3 = *argp3;
29193 {
29194 PyThreadState* __tstate = wxPyBeginAllowThreads();
29195 (arg1)->SetDimension(arg2,arg3);
29196
29197 wxPyEndAllowThreads(__tstate);
29198 if (PyErr_Occurred()) SWIG_fail;
29199 }
29200 Py_INCREF(Py_None); resultobj = Py_None;
29201 return resultobj;
29202 fail:
29203 return NULL;
29204 }
29205
29206
29207 static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29208 PyObject *resultobj;
29209 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29210 wxSize result;
29211 PyObject * obj0 = 0 ;
29212 char *kwnames[] = {
29213 (char *) "self", NULL
29214 };
29215
29216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
29217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29218 {
29219 PyThreadState* __tstate = wxPyBeginAllowThreads();
29220 result = (arg1)->GetMinSize();
29221
29222 wxPyEndAllowThreads(__tstate);
29223 if (PyErr_Occurred()) SWIG_fail;
29224 }
29225 {
29226 wxSize * resultptr;
29227 resultptr = new wxSize((wxSize &) result);
29228 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29229 }
29230 return resultobj;
29231 fail:
29232 return NULL;
29233 }
29234
29235
29236 static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29237 PyObject *resultobj;
29238 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29239 int arg2 ;
29240 int arg3 ;
29241 PyObject * obj0 = 0 ;
29242 char *kwnames[] = {
29243 (char *) "self",(char *) "x",(char *) "y", NULL
29244 };
29245
29246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetInitSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
29247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29248 {
29249 PyThreadState* __tstate = wxPyBeginAllowThreads();
29250 (arg1)->SetInitSize(arg2,arg3);
29251
29252 wxPyEndAllowThreads(__tstate);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 }
29255 Py_INCREF(Py_None); resultobj = Py_None;
29256 return resultobj;
29257 fail:
29258 return NULL;
29259 }
29260
29261
29262 static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
29263 PyObject *resultobj;
29264 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29265 int arg2 ;
29266 int arg3 ;
29267 PyObject * obj0 = 0 ;
29268 char *kwnames[] = {
29269 (char *) "self",(char *) "width",(char *) "height", NULL
29270 };
29271
29272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetRatioWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
29273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29274 {
29275 PyThreadState* __tstate = wxPyBeginAllowThreads();
29276 (arg1)->SetRatio(arg2,arg3);
29277
29278 wxPyEndAllowThreads(__tstate);
29279 if (PyErr_Occurred()) SWIG_fail;
29280 }
29281 Py_INCREF(Py_None); resultobj = Py_None;
29282 return resultobj;
29283 fail:
29284 return NULL;
29285 }
29286
29287
29288 static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29289 PyObject *resultobj;
29290 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29291 wxSize arg2 ;
29292 wxSize *argp2 ;
29293 PyObject * obj0 = 0 ;
29294 PyObject * obj1 = 0 ;
29295 char *kwnames[] = {
29296 (char *) "self",(char *) "size", NULL
29297 };
29298
29299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
29300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29301 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29302 arg2 = *argp2;
29303 {
29304 PyThreadState* __tstate = wxPyBeginAllowThreads();
29305 (arg1)->SetRatio(arg2);
29306
29307 wxPyEndAllowThreads(__tstate);
29308 if (PyErr_Occurred()) SWIG_fail;
29309 }
29310 Py_INCREF(Py_None); resultobj = Py_None;
29311 return resultobj;
29312 fail:
29313 return NULL;
29314 }
29315
29316
29317 static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29318 PyObject *resultobj;
29319 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29320 float arg2 ;
29321 PyObject * obj0 = 0 ;
29322 char *kwnames[] = {
29323 (char *) "self",(char *) "ratio", NULL
29324 };
29325
29326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Of:SizerItem_SetRatio",kwnames,&obj0,&arg2)) goto fail;
29327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29328 {
29329 PyThreadState* __tstate = wxPyBeginAllowThreads();
29330 (arg1)->SetRatio(arg2);
29331
29332 wxPyEndAllowThreads(__tstate);
29333 if (PyErr_Occurred()) SWIG_fail;
29334 }
29335 Py_INCREF(Py_None); resultobj = Py_None;
29336 return resultobj;
29337 fail:
29338 return NULL;
29339 }
29340
29341
29342 static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29343 PyObject *resultobj;
29344 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29345 float result;
29346 PyObject * obj0 = 0 ;
29347 char *kwnames[] = {
29348 (char *) "self", NULL
29349 };
29350
29351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
29352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29353 {
29354 PyThreadState* __tstate = wxPyBeginAllowThreads();
29355 result = (float)(arg1)->GetRatio();
29356
29357 wxPyEndAllowThreads(__tstate);
29358 if (PyErr_Occurred()) SWIG_fail;
29359 }
29360 resultobj = PyFloat_FromDouble(result);
29361 return resultobj;
29362 fail:
29363 return NULL;
29364 }
29365
29366
29367 static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29368 PyObject *resultobj;
29369 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29370 bool result;
29371 PyObject * obj0 = 0 ;
29372 char *kwnames[] = {
29373 (char *) "self", NULL
29374 };
29375
29376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
29377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29378 {
29379 PyThreadState* __tstate = wxPyBeginAllowThreads();
29380 result = (bool)(arg1)->IsWindow();
29381
29382 wxPyEndAllowThreads(__tstate);
29383 if (PyErr_Occurred()) SWIG_fail;
29384 }
29385 resultobj = PyInt_FromLong((long)result);
29386 return resultobj;
29387 fail:
29388 return NULL;
29389 }
29390
29391
29392 static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29393 PyObject *resultobj;
29394 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29395 bool result;
29396 PyObject * obj0 = 0 ;
29397 char *kwnames[] = {
29398 (char *) "self", NULL
29399 };
29400
29401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
29402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29403 {
29404 PyThreadState* __tstate = wxPyBeginAllowThreads();
29405 result = (bool)(arg1)->IsSizer();
29406
29407 wxPyEndAllowThreads(__tstate);
29408 if (PyErr_Occurred()) SWIG_fail;
29409 }
29410 resultobj = PyInt_FromLong((long)result);
29411 return resultobj;
29412 fail:
29413 return NULL;
29414 }
29415
29416
29417 static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29418 PyObject *resultobj;
29419 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29420 bool result;
29421 PyObject * obj0 = 0 ;
29422 char *kwnames[] = {
29423 (char *) "self", NULL
29424 };
29425
29426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
29427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29428 {
29429 PyThreadState* __tstate = wxPyBeginAllowThreads();
29430 result = (bool)(arg1)->IsSpacer();
29431
29432 wxPyEndAllowThreads(__tstate);
29433 if (PyErr_Occurred()) SWIG_fail;
29434 }
29435 resultobj = PyInt_FromLong((long)result);
29436 return resultobj;
29437 fail:
29438 return NULL;
29439 }
29440
29441
29442 static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29443 PyObject *resultobj;
29444 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29445 int arg2 ;
29446 PyObject * obj0 = 0 ;
29447 char *kwnames[] = {
29448 (char *) "self",(char *) "proportion", NULL
29449 };
29450
29451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetProportion",kwnames,&obj0,&arg2)) goto fail;
29452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29453 {
29454 PyThreadState* __tstate = wxPyBeginAllowThreads();
29455 (arg1)->SetProportion(arg2);
29456
29457 wxPyEndAllowThreads(__tstate);
29458 if (PyErr_Occurred()) SWIG_fail;
29459 }
29460 Py_INCREF(Py_None); resultobj = Py_None;
29461 return resultobj;
29462 fail:
29463 return NULL;
29464 }
29465
29466
29467 static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29468 PyObject *resultobj;
29469 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29470 int result;
29471 PyObject * obj0 = 0 ;
29472 char *kwnames[] = {
29473 (char *) "self", NULL
29474 };
29475
29476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
29477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29478 {
29479 PyThreadState* __tstate = wxPyBeginAllowThreads();
29480 result = (int)(arg1)->GetProportion();
29481
29482 wxPyEndAllowThreads(__tstate);
29483 if (PyErr_Occurred()) SWIG_fail;
29484 }
29485 resultobj = PyInt_FromLong((long)result);
29486 return resultobj;
29487 fail:
29488 return NULL;
29489 }
29490
29491
29492 static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29493 PyObject *resultobj;
29494 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29495 int arg2 ;
29496 PyObject * obj0 = 0 ;
29497 char *kwnames[] = {
29498 (char *) "self",(char *) "flag", NULL
29499 };
29500
29501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetFlag",kwnames,&obj0,&arg2)) goto fail;
29502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29503 {
29504 PyThreadState* __tstate = wxPyBeginAllowThreads();
29505 (arg1)->SetFlag(arg2);
29506
29507 wxPyEndAllowThreads(__tstate);
29508 if (PyErr_Occurred()) SWIG_fail;
29509 }
29510 Py_INCREF(Py_None); resultobj = Py_None;
29511 return resultobj;
29512 fail:
29513 return NULL;
29514 }
29515
29516
29517 static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29518 PyObject *resultobj;
29519 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29520 int result;
29521 PyObject * obj0 = 0 ;
29522 char *kwnames[] = {
29523 (char *) "self", NULL
29524 };
29525
29526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
29527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29528 {
29529 PyThreadState* __tstate = wxPyBeginAllowThreads();
29530 result = (int)(arg1)->GetFlag();
29531
29532 wxPyEndAllowThreads(__tstate);
29533 if (PyErr_Occurred()) SWIG_fail;
29534 }
29535 resultobj = PyInt_FromLong((long)result);
29536 return resultobj;
29537 fail:
29538 return NULL;
29539 }
29540
29541
29542 static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
29543 PyObject *resultobj;
29544 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29545 int arg2 ;
29546 PyObject * obj0 = 0 ;
29547 char *kwnames[] = {
29548 (char *) "self",(char *) "border", NULL
29549 };
29550
29551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetBorder",kwnames,&obj0,&arg2)) goto fail;
29552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29553 {
29554 PyThreadState* __tstate = wxPyBeginAllowThreads();
29555 (arg1)->SetBorder(arg2);
29556
29557 wxPyEndAllowThreads(__tstate);
29558 if (PyErr_Occurred()) SWIG_fail;
29559 }
29560 Py_INCREF(Py_None); resultobj = Py_None;
29561 return resultobj;
29562 fail:
29563 return NULL;
29564 }
29565
29566
29567 static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
29568 PyObject *resultobj;
29569 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29570 int result;
29571 PyObject * obj0 = 0 ;
29572 char *kwnames[] = {
29573 (char *) "self", NULL
29574 };
29575
29576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
29577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29578 {
29579 PyThreadState* __tstate = wxPyBeginAllowThreads();
29580 result = (int)(arg1)->GetBorder();
29581
29582 wxPyEndAllowThreads(__tstate);
29583 if (PyErr_Occurred()) SWIG_fail;
29584 }
29585 resultobj = PyInt_FromLong((long)result);
29586 return resultobj;
29587 fail:
29588 return NULL;
29589 }
29590
29591
29592 static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29593 PyObject *resultobj;
29594 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29595 wxWindow *result;
29596 PyObject * obj0 = 0 ;
29597 char *kwnames[] = {
29598 (char *) "self", NULL
29599 };
29600
29601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
29602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29603 {
29604 PyThreadState* __tstate = wxPyBeginAllowThreads();
29605 result = (wxWindow *)(arg1)->GetWindow();
29606
29607 wxPyEndAllowThreads(__tstate);
29608 if (PyErr_Occurred()) SWIG_fail;
29609 }
29610 {
29611 resultobj = wxPyMake_wxObject(result);
29612 }
29613 return resultobj;
29614 fail:
29615 return NULL;
29616 }
29617
29618
29619 static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29620 PyObject *resultobj;
29621 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29622 wxWindow *arg2 = (wxWindow *) 0 ;
29623 PyObject * obj0 = 0 ;
29624 PyObject * obj1 = 0 ;
29625 char *kwnames[] = {
29626 (char *) "self",(char *) "window", NULL
29627 };
29628
29629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
29630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29632 {
29633 PyThreadState* __tstate = wxPyBeginAllowThreads();
29634 (arg1)->SetWindow(arg2);
29635
29636 wxPyEndAllowThreads(__tstate);
29637 if (PyErr_Occurred()) SWIG_fail;
29638 }
29639 Py_INCREF(Py_None); resultobj = Py_None;
29640 return resultobj;
29641 fail:
29642 return NULL;
29643 }
29644
29645
29646 static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29647 PyObject *resultobj;
29648 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29649 wxSizer *result;
29650 PyObject * obj0 = 0 ;
29651 char *kwnames[] = {
29652 (char *) "self", NULL
29653 };
29654
29655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
29656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29657 {
29658 PyThreadState* __tstate = wxPyBeginAllowThreads();
29659 result = (wxSizer *)(arg1)->GetSizer();
29660
29661 wxPyEndAllowThreads(__tstate);
29662 if (PyErr_Occurred()) SWIG_fail;
29663 }
29664 {
29665 resultobj = wxPyMake_wxSizer(result);
29666 }
29667 return resultobj;
29668 fail:
29669 return NULL;
29670 }
29671
29672
29673 static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29674 PyObject *resultobj;
29675 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29676 wxSizer *arg2 = (wxSizer *) 0 ;
29677 PyObject * obj0 = 0 ;
29678 PyObject * obj1 = 0 ;
29679 char *kwnames[] = {
29680 (char *) "self",(char *) "sizer", NULL
29681 };
29682
29683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
29684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29686 {
29687 PyThreadState* __tstate = wxPyBeginAllowThreads();
29688 (arg1)->SetSizer(arg2);
29689
29690 wxPyEndAllowThreads(__tstate);
29691 if (PyErr_Occurred()) SWIG_fail;
29692 }
29693 Py_INCREF(Py_None); resultobj = Py_None;
29694 return resultobj;
29695 fail:
29696 return NULL;
29697 }
29698
29699
29700 static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29701 PyObject *resultobj;
29702 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29703 wxSize *result;
29704 PyObject * obj0 = 0 ;
29705 char *kwnames[] = {
29706 (char *) "self", NULL
29707 };
29708
29709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
29710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29711 {
29712 PyThreadState* __tstate = wxPyBeginAllowThreads();
29713 {
29714 wxSize const &_result_ref = (arg1)->GetSpacer();
29715 result = (wxSize *) &_result_ref;
29716 }
29717
29718 wxPyEndAllowThreads(__tstate);
29719 if (PyErr_Occurred()) SWIG_fail;
29720 }
29721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
29722 return resultobj;
29723 fail:
29724 return NULL;
29725 }
29726
29727
29728 static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29729 PyObject *resultobj;
29730 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29731 wxSize *arg2 = 0 ;
29732 wxSize temp2 ;
29733 PyObject * obj0 = 0 ;
29734 PyObject * obj1 = 0 ;
29735 char *kwnames[] = {
29736 (char *) "self",(char *) "size", NULL
29737 };
29738
29739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
29740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29741 {
29742 arg2 = &temp2;
29743 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29744 }
29745 {
29746 PyThreadState* __tstate = wxPyBeginAllowThreads();
29747 (arg1)->SetSpacer((wxSize const &)*arg2);
29748
29749 wxPyEndAllowThreads(__tstate);
29750 if (PyErr_Occurred()) SWIG_fail;
29751 }
29752 Py_INCREF(Py_None); resultobj = Py_None;
29753 return resultobj;
29754 fail:
29755 return NULL;
29756 }
29757
29758
29759 static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29760 PyObject *resultobj;
29761 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29762 bool arg2 ;
29763 PyObject * obj0 = 0 ;
29764 PyObject * obj1 = 0 ;
29765 char *kwnames[] = {
29766 (char *) "self",(char *) "show", NULL
29767 };
29768
29769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
29770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29771 arg2 = PyInt_AsLong(obj1) ? true : false;
29772 if (PyErr_Occurred()) SWIG_fail;
29773 {
29774 PyThreadState* __tstate = wxPyBeginAllowThreads();
29775 (arg1)->Show(arg2);
29776
29777 wxPyEndAllowThreads(__tstate);
29778 if (PyErr_Occurred()) SWIG_fail;
29779 }
29780 Py_INCREF(Py_None); resultobj = Py_None;
29781 return resultobj;
29782 fail:
29783 return NULL;
29784 }
29785
29786
29787 static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
29788 PyObject *resultobj;
29789 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29790 bool result;
29791 PyObject * obj0 = 0 ;
29792 char *kwnames[] = {
29793 (char *) "self", NULL
29794 };
29795
29796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
29797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29798 {
29799 PyThreadState* __tstate = wxPyBeginAllowThreads();
29800 result = (bool)(arg1)->IsShown();
29801
29802 wxPyEndAllowThreads(__tstate);
29803 if (PyErr_Occurred()) SWIG_fail;
29804 }
29805 resultobj = PyInt_FromLong((long)result);
29806 return resultobj;
29807 fail:
29808 return NULL;
29809 }
29810
29811
29812 static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29813 PyObject *resultobj;
29814 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29815 wxPoint result;
29816 PyObject * obj0 = 0 ;
29817 char *kwnames[] = {
29818 (char *) "self", NULL
29819 };
29820
29821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
29822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29823 {
29824 PyThreadState* __tstate = wxPyBeginAllowThreads();
29825 result = (arg1)->GetPosition();
29826
29827 wxPyEndAllowThreads(__tstate);
29828 if (PyErr_Occurred()) SWIG_fail;
29829 }
29830 {
29831 wxPoint * resultptr;
29832 resultptr = new wxPoint((wxPoint &) result);
29833 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
29834 }
29835 return resultobj;
29836 fail:
29837 return NULL;
29838 }
29839
29840
29841 static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
29842 PyObject *resultobj;
29843 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29844 PyObject *result;
29845 PyObject * obj0 = 0 ;
29846 char *kwnames[] = {
29847 (char *) "self", NULL
29848 };
29849
29850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
29851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29852 {
29853 PyThreadState* __tstate = wxPyBeginAllowThreads();
29854 result = (PyObject *)wxSizerItem_GetUserData(arg1);
29855
29856 wxPyEndAllowThreads(__tstate);
29857 if (PyErr_Occurred()) SWIG_fail;
29858 }
29859 resultobj = result;
29860 return resultobj;
29861 fail:
29862 return NULL;
29863 }
29864
29865
29866 static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
29867 PyObject *obj;
29868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29869 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
29870 Py_INCREF(obj);
29871 return Py_BuildValue((char *)"");
29872 }
29873 static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29874 PyObject *resultobj;
29875 wxSizer *arg1 = (wxSizer *) 0 ;
29876 PyObject *arg2 = (PyObject *) 0 ;
29877 PyObject * obj0 = 0 ;
29878 PyObject * obj1 = 0 ;
29879 char *kwnames[] = {
29880 (char *) "self",(char *) "_self", NULL
29881 };
29882
29883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
29884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29885 arg2 = obj1;
29886 {
29887 PyThreadState* __tstate = wxPyBeginAllowThreads();
29888 wxSizer__setOORInfo(arg1,arg2);
29889
29890 wxPyEndAllowThreads(__tstate);
29891 if (PyErr_Occurred()) SWIG_fail;
29892 }
29893 Py_INCREF(Py_None); resultobj = Py_None;
29894 return resultobj;
29895 fail:
29896 return NULL;
29897 }
29898
29899
29900 static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
29901 PyObject *resultobj;
29902 wxSizer *arg1 = (wxSizer *) 0 ;
29903 PyObject *arg2 = (PyObject *) 0 ;
29904 int arg3 = (int) 0 ;
29905 int arg4 = (int) 0 ;
29906 int arg5 = (int) 0 ;
29907 PyObject *arg6 = (PyObject *) NULL ;
29908 PyObject * obj0 = 0 ;
29909 PyObject * obj1 = 0 ;
29910 PyObject * obj5 = 0 ;
29911 char *kwnames[] = {
29912 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29913 };
29914
29915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Add",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
29916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29917 arg2 = obj1;
29918 if (obj5) {
29919 arg6 = obj5;
29920 }
29921 {
29922 PyThreadState* __tstate = wxPyBeginAllowThreads();
29923 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
29924
29925 wxPyEndAllowThreads(__tstate);
29926 if (PyErr_Occurred()) SWIG_fail;
29927 }
29928 Py_INCREF(Py_None); resultobj = Py_None;
29929 return resultobj;
29930 fail:
29931 return NULL;
29932 }
29933
29934
29935 static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29936 PyObject *resultobj;
29937 wxSizer *arg1 = (wxSizer *) 0 ;
29938 int arg2 ;
29939 PyObject *arg3 = (PyObject *) 0 ;
29940 int arg4 = (int) 0 ;
29941 int arg5 = (int) 0 ;
29942 int arg6 = (int) 0 ;
29943 PyObject *arg7 = (PyObject *) NULL ;
29944 PyObject * obj0 = 0 ;
29945 PyObject * obj2 = 0 ;
29946 PyObject * obj6 = 0 ;
29947 char *kwnames[] = {
29948 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29949 };
29950
29951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|iiiO:Sizer_Insert",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6)) goto fail;
29952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29953 arg3 = obj2;
29954 if (obj6) {
29955 arg7 = obj6;
29956 }
29957 {
29958 PyThreadState* __tstate = wxPyBeginAllowThreads();
29959 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
29960
29961 wxPyEndAllowThreads(__tstate);
29962 if (PyErr_Occurred()) SWIG_fail;
29963 }
29964 Py_INCREF(Py_None); resultobj = Py_None;
29965 return resultobj;
29966 fail:
29967 return NULL;
29968 }
29969
29970
29971 static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
29972 PyObject *resultobj;
29973 wxSizer *arg1 = (wxSizer *) 0 ;
29974 PyObject *arg2 = (PyObject *) 0 ;
29975 int arg3 = (int) 0 ;
29976 int arg4 = (int) 0 ;
29977 int arg5 = (int) 0 ;
29978 PyObject *arg6 = (PyObject *) NULL ;
29979 PyObject * obj0 = 0 ;
29980 PyObject * obj1 = 0 ;
29981 PyObject * obj5 = 0 ;
29982 char *kwnames[] = {
29983 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29984 };
29985
29986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Prepend",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
29987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29988 arg2 = obj1;
29989 if (obj5) {
29990 arg6 = obj5;
29991 }
29992 {
29993 PyThreadState* __tstate = wxPyBeginAllowThreads();
29994 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
29995
29996 wxPyEndAllowThreads(__tstate);
29997 if (PyErr_Occurred()) SWIG_fail;
29998 }
29999 Py_INCREF(Py_None); resultobj = Py_None;
30000 return resultobj;
30001 fail:
30002 return NULL;
30003 }
30004
30005
30006 static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30007 PyObject *resultobj;
30008 wxSizer *arg1 = (wxSizer *) 0 ;
30009 PyObject *arg2 = (PyObject *) 0 ;
30010 bool result;
30011 PyObject * obj0 = 0 ;
30012 PyObject * obj1 = 0 ;
30013 char *kwnames[] = {
30014 (char *) "self",(char *) "item", NULL
30015 };
30016
30017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
30018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30019 arg2 = obj1;
30020 {
30021 PyThreadState* __tstate = wxPyBeginAllowThreads();
30022 result = (bool)wxSizer_Remove(arg1,arg2);
30023
30024 wxPyEndAllowThreads(__tstate);
30025 if (PyErr_Occurred()) SWIG_fail;
30026 }
30027 resultobj = PyInt_FromLong((long)result);
30028 return resultobj;
30029 fail:
30030 return NULL;
30031 }
30032
30033
30034 static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30035 PyObject *resultobj;
30036 wxSizer *arg1 = (wxSizer *) 0 ;
30037 PyObject *arg2 = (PyObject *) 0 ;
30038 wxSize *arg3 = 0 ;
30039 wxSize temp3 ;
30040 PyObject * obj0 = 0 ;
30041 PyObject * obj1 = 0 ;
30042 PyObject * obj2 = 0 ;
30043 char *kwnames[] = {
30044 (char *) "self",(char *) "item",(char *) "size", NULL
30045 };
30046
30047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30049 arg2 = obj1;
30050 {
30051 arg3 = &temp3;
30052 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
30053 }
30054 {
30055 PyThreadState* __tstate = wxPyBeginAllowThreads();
30056 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
30057
30058 wxPyEndAllowThreads(__tstate);
30059 if (PyErr_Occurred()) SWIG_fail;
30060 }
30061 Py_INCREF(Py_None); resultobj = Py_None;
30062 return resultobj;
30063 fail:
30064 return NULL;
30065 }
30066
30067
30068 static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30069 PyObject *resultobj;
30070 wxSizer *arg1 = (wxSizer *) 0 ;
30071 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30072 PyObject * obj0 = 0 ;
30073 PyObject * obj1 = 0 ;
30074 char *kwnames[] = {
30075 (char *) "self",(char *) "item", NULL
30076 };
30077
30078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
30079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30080 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30081 {
30082 PyThreadState* __tstate = wxPyBeginAllowThreads();
30083 (arg1)->Add(arg2);
30084
30085 wxPyEndAllowThreads(__tstate);
30086 if (PyErr_Occurred()) SWIG_fail;
30087 }
30088 Py_INCREF(Py_None); resultobj = Py_None;
30089 return resultobj;
30090 fail:
30091 return NULL;
30092 }
30093
30094
30095 static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30096 PyObject *resultobj;
30097 wxSizer *arg1 = (wxSizer *) 0 ;
30098 size_t arg2 ;
30099 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
30100 PyObject * obj0 = 0 ;
30101 PyObject * obj1 = 0 ;
30102 PyObject * obj2 = 0 ;
30103 char *kwnames[] = {
30104 (char *) "self",(char *) "index",(char *) "item", NULL
30105 };
30106
30107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30109 arg2 = (size_t) PyInt_AsLong(obj1);
30110 if (PyErr_Occurred()) SWIG_fail;
30111 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30112 {
30113 PyThreadState* __tstate = wxPyBeginAllowThreads();
30114 (arg1)->Insert(arg2,arg3);
30115
30116 wxPyEndAllowThreads(__tstate);
30117 if (PyErr_Occurred()) SWIG_fail;
30118 }
30119 Py_INCREF(Py_None); resultobj = Py_None;
30120 return resultobj;
30121 fail:
30122 return NULL;
30123 }
30124
30125
30126 static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30127 PyObject *resultobj;
30128 wxSizer *arg1 = (wxSizer *) 0 ;
30129 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30130 PyObject * obj0 = 0 ;
30131 PyObject * obj1 = 0 ;
30132 char *kwnames[] = {
30133 (char *) "self",(char *) "item", NULL
30134 };
30135
30136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
30137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30139 {
30140 PyThreadState* __tstate = wxPyBeginAllowThreads();
30141 (arg1)->Prepend(arg2);
30142
30143 wxPyEndAllowThreads(__tstate);
30144 if (PyErr_Occurred()) SWIG_fail;
30145 }
30146 Py_INCREF(Py_None); resultobj = Py_None;
30147 return resultobj;
30148 fail:
30149 return NULL;
30150 }
30151
30152
30153 static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
30154 PyObject *resultobj;
30155 wxSizer *arg1 = (wxSizer *) 0 ;
30156 int arg2 ;
30157 int arg3 ;
30158 int arg4 ;
30159 int arg5 ;
30160 PyObject * obj0 = 0 ;
30161 char *kwnames[] = {
30162 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30163 };
30164
30165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Sizer_SetDimension",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
30166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30167 {
30168 PyThreadState* __tstate = wxPyBeginAllowThreads();
30169 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
30170
30171 wxPyEndAllowThreads(__tstate);
30172 if (PyErr_Occurred()) SWIG_fail;
30173 }
30174 Py_INCREF(Py_None); resultobj = Py_None;
30175 return resultobj;
30176 fail:
30177 return NULL;
30178 }
30179
30180
30181 static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30182 PyObject *resultobj;
30183 wxSizer *arg1 = (wxSizer *) 0 ;
30184 wxSize arg2 ;
30185 wxSize *argp2 ;
30186 PyObject * obj0 = 0 ;
30187 PyObject * obj1 = 0 ;
30188 char *kwnames[] = {
30189 (char *) "self",(char *) "size", NULL
30190 };
30191
30192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
30193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30194 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
30195 arg2 = *argp2;
30196 {
30197 PyThreadState* __tstate = wxPyBeginAllowThreads();
30198 (arg1)->SetMinSize(arg2);
30199
30200 wxPyEndAllowThreads(__tstate);
30201 if (PyErr_Occurred()) SWIG_fail;
30202 }
30203 Py_INCREF(Py_None); resultobj = Py_None;
30204 return resultobj;
30205 fail:
30206 return NULL;
30207 }
30208
30209
30210 static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30211 PyObject *resultobj;
30212 wxSizer *arg1 = (wxSizer *) 0 ;
30213 wxSize result;
30214 PyObject * obj0 = 0 ;
30215 char *kwnames[] = {
30216 (char *) "self", NULL
30217 };
30218
30219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
30220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30221 {
30222 PyThreadState* __tstate = wxPyBeginAllowThreads();
30223 result = (arg1)->GetSize();
30224
30225 wxPyEndAllowThreads(__tstate);
30226 if (PyErr_Occurred()) SWIG_fail;
30227 }
30228 {
30229 wxSize * resultptr;
30230 resultptr = new wxSize((wxSize &) result);
30231 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30232 }
30233 return resultobj;
30234 fail:
30235 return NULL;
30236 }
30237
30238
30239 static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30240 PyObject *resultobj;
30241 wxSizer *arg1 = (wxSizer *) 0 ;
30242 wxPoint result;
30243 PyObject * obj0 = 0 ;
30244 char *kwnames[] = {
30245 (char *) "self", NULL
30246 };
30247
30248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
30249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30250 {
30251 PyThreadState* __tstate = wxPyBeginAllowThreads();
30252 result = (arg1)->GetPosition();
30253
30254 wxPyEndAllowThreads(__tstate);
30255 if (PyErr_Occurred()) SWIG_fail;
30256 }
30257 {
30258 wxPoint * resultptr;
30259 resultptr = new wxPoint((wxPoint &) result);
30260 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30261 }
30262 return resultobj;
30263 fail:
30264 return NULL;
30265 }
30266
30267
30268 static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30269 PyObject *resultobj;
30270 wxSizer *arg1 = (wxSizer *) 0 ;
30271 wxSize result;
30272 PyObject * obj0 = 0 ;
30273 char *kwnames[] = {
30274 (char *) "self", NULL
30275 };
30276
30277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
30278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30279 {
30280 PyThreadState* __tstate = wxPyBeginAllowThreads();
30281 result = (arg1)->GetMinSize();
30282
30283 wxPyEndAllowThreads(__tstate);
30284 if (PyErr_Occurred()) SWIG_fail;
30285 }
30286 {
30287 wxSize * resultptr;
30288 resultptr = new wxSize((wxSize &) result);
30289 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30290 }
30291 return resultobj;
30292 fail:
30293 return NULL;
30294 }
30295
30296
30297 static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30298 PyObject *resultobj;
30299 wxSizer *arg1 = (wxSizer *) 0 ;
30300 PyObject * obj0 = 0 ;
30301 char *kwnames[] = {
30302 (char *) "self", NULL
30303 };
30304
30305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
30306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30307 {
30308 PyThreadState* __tstate = wxPyBeginAllowThreads();
30309 (arg1)->RecalcSizes();
30310
30311 wxPyEndAllowThreads(__tstate);
30312 if (PyErr_Occurred()) SWIG_fail;
30313 }
30314 Py_INCREF(Py_None); resultobj = Py_None;
30315 return resultobj;
30316 fail:
30317 return NULL;
30318 }
30319
30320
30321 static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30322 PyObject *resultobj;
30323 wxSizer *arg1 = (wxSizer *) 0 ;
30324 wxSize result;
30325 PyObject * obj0 = 0 ;
30326 char *kwnames[] = {
30327 (char *) "self", NULL
30328 };
30329
30330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
30331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30332 {
30333 PyThreadState* __tstate = wxPyBeginAllowThreads();
30334 result = (arg1)->CalcMin();
30335
30336 wxPyEndAllowThreads(__tstate);
30337 if (PyErr_Occurred()) SWIG_fail;
30338 }
30339 {
30340 wxSize * resultptr;
30341 resultptr = new wxSize((wxSize &) result);
30342 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30343 }
30344 return resultobj;
30345 fail:
30346 return NULL;
30347 }
30348
30349
30350 static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
30351 PyObject *resultobj;
30352 wxSizer *arg1 = (wxSizer *) 0 ;
30353 PyObject * obj0 = 0 ;
30354 char *kwnames[] = {
30355 (char *) "self", NULL
30356 };
30357
30358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
30359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30360 {
30361 PyThreadState* __tstate = wxPyBeginAllowThreads();
30362 (arg1)->Layout();
30363
30364 wxPyEndAllowThreads(__tstate);
30365 if (PyErr_Occurred()) SWIG_fail;
30366 }
30367 Py_INCREF(Py_None); resultobj = Py_None;
30368 return resultobj;
30369 fail:
30370 return NULL;
30371 }
30372
30373
30374 static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
30375 PyObject *resultobj;
30376 wxSizer *arg1 = (wxSizer *) 0 ;
30377 wxWindow *arg2 = (wxWindow *) 0 ;
30378 wxSize result;
30379 PyObject * obj0 = 0 ;
30380 PyObject * obj1 = 0 ;
30381 char *kwnames[] = {
30382 (char *) "self",(char *) "window", NULL
30383 };
30384
30385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
30386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30388 {
30389 PyThreadState* __tstate = wxPyBeginAllowThreads();
30390 result = (arg1)->Fit(arg2);
30391
30392 wxPyEndAllowThreads(__tstate);
30393 if (PyErr_Occurred()) SWIG_fail;
30394 }
30395 {
30396 wxSize * resultptr;
30397 resultptr = new wxSize((wxSize &) result);
30398 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30399 }
30400 return resultobj;
30401 fail:
30402 return NULL;
30403 }
30404
30405
30406 static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
30407 PyObject *resultobj;
30408 wxSizer *arg1 = (wxSizer *) 0 ;
30409 wxWindow *arg2 = (wxWindow *) 0 ;
30410 PyObject * obj0 = 0 ;
30411 PyObject * obj1 = 0 ;
30412 char *kwnames[] = {
30413 (char *) "self",(char *) "window", NULL
30414 };
30415
30416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
30417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30419 {
30420 PyThreadState* __tstate = wxPyBeginAllowThreads();
30421 (arg1)->FitInside(arg2);
30422
30423 wxPyEndAllowThreads(__tstate);
30424 if (PyErr_Occurred()) SWIG_fail;
30425 }
30426 Py_INCREF(Py_None); resultobj = Py_None;
30427 return resultobj;
30428 fail:
30429 return NULL;
30430 }
30431
30432
30433 static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30434 PyObject *resultobj;
30435 wxSizer *arg1 = (wxSizer *) 0 ;
30436 wxWindow *arg2 = (wxWindow *) 0 ;
30437 PyObject * obj0 = 0 ;
30438 PyObject * obj1 = 0 ;
30439 char *kwnames[] = {
30440 (char *) "self",(char *) "window", NULL
30441 };
30442
30443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
30444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30446 {
30447 PyThreadState* __tstate = wxPyBeginAllowThreads();
30448 (arg1)->SetSizeHints(arg2);
30449
30450 wxPyEndAllowThreads(__tstate);
30451 if (PyErr_Occurred()) SWIG_fail;
30452 }
30453 Py_INCREF(Py_None); resultobj = Py_None;
30454 return resultobj;
30455 fail:
30456 return NULL;
30457 }
30458
30459
30460 static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30461 PyObject *resultobj;
30462 wxSizer *arg1 = (wxSizer *) 0 ;
30463 wxWindow *arg2 = (wxWindow *) 0 ;
30464 PyObject * obj0 = 0 ;
30465 PyObject * obj1 = 0 ;
30466 char *kwnames[] = {
30467 (char *) "self",(char *) "window", NULL
30468 };
30469
30470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
30471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30473 {
30474 PyThreadState* __tstate = wxPyBeginAllowThreads();
30475 (arg1)->SetVirtualSizeHints(arg2);
30476
30477 wxPyEndAllowThreads(__tstate);
30478 if (PyErr_Occurred()) SWIG_fail;
30479 }
30480 Py_INCREF(Py_None); resultobj = Py_None;
30481 return resultobj;
30482 fail:
30483 return NULL;
30484 }
30485
30486
30487 static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30488 PyObject *resultobj;
30489 wxSizer *arg1 = (wxSizer *) 0 ;
30490 bool arg2 = (bool) False ;
30491 PyObject * obj0 = 0 ;
30492 PyObject * obj1 = 0 ;
30493 char *kwnames[] = {
30494 (char *) "self",(char *) "delete_windows", NULL
30495 };
30496
30497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
30498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30499 if (obj1) {
30500 arg2 = PyInt_AsLong(obj1) ? true : false;
30501 if (PyErr_Occurred()) SWIG_fail;
30502 }
30503 {
30504 PyThreadState* __tstate = wxPyBeginAllowThreads();
30505 (arg1)->Clear(arg2);
30506
30507 wxPyEndAllowThreads(__tstate);
30508 if (PyErr_Occurred()) SWIG_fail;
30509 }
30510 Py_INCREF(Py_None); resultobj = Py_None;
30511 return resultobj;
30512 fail:
30513 return NULL;
30514 }
30515
30516
30517 static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
30518 PyObject *resultobj;
30519 wxSizer *arg1 = (wxSizer *) 0 ;
30520 PyObject * obj0 = 0 ;
30521 char *kwnames[] = {
30522 (char *) "self", NULL
30523 };
30524
30525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
30526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 (arg1)->DeleteWindows();
30530
30531 wxPyEndAllowThreads(__tstate);
30532 if (PyErr_Occurred()) SWIG_fail;
30533 }
30534 Py_INCREF(Py_None); resultobj = Py_None;
30535 return resultobj;
30536 fail:
30537 return NULL;
30538 }
30539
30540
30541 static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
30542 PyObject *resultobj;
30543 wxSizer *arg1 = (wxSizer *) 0 ;
30544 PyObject *result;
30545 PyObject * obj0 = 0 ;
30546 char *kwnames[] = {
30547 (char *) "self", NULL
30548 };
30549
30550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
30551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30552 {
30553 PyThreadState* __tstate = wxPyBeginAllowThreads();
30554 result = (PyObject *)wxSizer_GetChildren(arg1);
30555
30556 wxPyEndAllowThreads(__tstate);
30557 if (PyErr_Occurred()) SWIG_fail;
30558 }
30559 resultobj = result;
30560 return resultobj;
30561 fail:
30562 return NULL;
30563 }
30564
30565
30566 static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30567 PyObject *resultobj;
30568 wxSizer *arg1 = (wxSizer *) 0 ;
30569 PyObject *arg2 = (PyObject *) 0 ;
30570 bool arg3 = (bool) True ;
30571 PyObject * obj0 = 0 ;
30572 PyObject * obj1 = 0 ;
30573 PyObject * obj2 = 0 ;
30574 char *kwnames[] = {
30575 (char *) "self",(char *) "item",(char *) "show", NULL
30576 };
30577
30578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
30579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30580 arg2 = obj1;
30581 if (obj2) {
30582 arg3 = PyInt_AsLong(obj2) ? true : false;
30583 if (PyErr_Occurred()) SWIG_fail;
30584 }
30585 {
30586 PyThreadState* __tstate = wxPyBeginAllowThreads();
30587 wxSizer_Show(arg1,arg2,arg3);
30588
30589 wxPyEndAllowThreads(__tstate);
30590 if (PyErr_Occurred()) SWIG_fail;
30591 }
30592 Py_INCREF(Py_None); resultobj = Py_None;
30593 return resultobj;
30594 fail:
30595 return NULL;
30596 }
30597
30598
30599 static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30600 PyObject *resultobj;
30601 wxSizer *arg1 = (wxSizer *) 0 ;
30602 PyObject *arg2 = (PyObject *) 0 ;
30603 PyObject * obj0 = 0 ;
30604 PyObject * obj1 = 0 ;
30605 char *kwnames[] = {
30606 (char *) "self",(char *) "item", NULL
30607 };
30608
30609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
30610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30611 arg2 = obj1;
30612 {
30613 PyThreadState* __tstate = wxPyBeginAllowThreads();
30614 wxSizer_Hide(arg1,arg2);
30615
30616 wxPyEndAllowThreads(__tstate);
30617 if (PyErr_Occurred()) SWIG_fail;
30618 }
30619 Py_INCREF(Py_None); resultobj = Py_None;
30620 return resultobj;
30621 fail:
30622 return NULL;
30623 }
30624
30625
30626 static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
30627 PyObject *resultobj;
30628 wxSizer *arg1 = (wxSizer *) 0 ;
30629 PyObject *arg2 = (PyObject *) 0 ;
30630 bool result;
30631 PyObject * obj0 = 0 ;
30632 PyObject * obj1 = 0 ;
30633 char *kwnames[] = {
30634 (char *) "self",(char *) "item", NULL
30635 };
30636
30637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
30638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30639 arg2 = obj1;
30640 {
30641 PyThreadState* __tstate = wxPyBeginAllowThreads();
30642 result = (bool)wxSizer_IsShown(arg1,arg2);
30643
30644 wxPyEndAllowThreads(__tstate);
30645 if (PyErr_Occurred()) SWIG_fail;
30646 }
30647 resultobj = PyInt_FromLong((long)result);
30648 return resultobj;
30649 fail:
30650 return NULL;
30651 }
30652
30653
30654 static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
30655 PyObject *resultobj;
30656 wxSizer *arg1 = (wxSizer *) 0 ;
30657 bool arg2 ;
30658 PyObject * obj0 = 0 ;
30659 PyObject * obj1 = 0 ;
30660 char *kwnames[] = {
30661 (char *) "self",(char *) "show", NULL
30662 };
30663
30664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
30665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30666 arg2 = PyInt_AsLong(obj1) ? true : false;
30667 if (PyErr_Occurred()) SWIG_fail;
30668 {
30669 PyThreadState* __tstate = wxPyBeginAllowThreads();
30670 (arg1)->ShowItems(arg2);
30671
30672 wxPyEndAllowThreads(__tstate);
30673 if (PyErr_Occurred()) SWIG_fail;
30674 }
30675 Py_INCREF(Py_None); resultobj = Py_None;
30676 return resultobj;
30677 fail:
30678 return NULL;
30679 }
30680
30681
30682 static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
30683 PyObject *obj;
30684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30685 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
30686 Py_INCREF(obj);
30687 return Py_BuildValue((char *)"");
30688 }
30689 static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30690 PyObject *resultobj;
30691 wxPySizer *result;
30692 char *kwnames[] = {
30693 NULL
30694 };
30695
30696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
30697 {
30698 PyThreadState* __tstate = wxPyBeginAllowThreads();
30699 result = (wxPySizer *)new wxPySizer();
30700
30701 wxPyEndAllowThreads(__tstate);
30702 if (PyErr_Occurred()) SWIG_fail;
30703 }
30704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPySizer, 1);
30705 return resultobj;
30706 fail:
30707 return NULL;
30708 }
30709
30710
30711 static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30712 PyObject *resultobj;
30713 wxPySizer *arg1 = (wxPySizer *) 0 ;
30714 PyObject *arg2 = (PyObject *) 0 ;
30715 PyObject *arg3 = (PyObject *) 0 ;
30716 PyObject * obj0 = 0 ;
30717 PyObject * obj1 = 0 ;
30718 PyObject * obj2 = 0 ;
30719 char *kwnames[] = {
30720 (char *) "self",(char *) "self",(char *) "_class", NULL
30721 };
30722
30723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
30724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPySizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30725 arg2 = obj1;
30726 arg3 = obj2;
30727 {
30728 PyThreadState* __tstate = wxPyBeginAllowThreads();
30729 (arg1)->_setCallbackInfo(arg2,arg3);
30730
30731 wxPyEndAllowThreads(__tstate);
30732 if (PyErr_Occurred()) SWIG_fail;
30733 }
30734 Py_INCREF(Py_None); resultobj = Py_None;
30735 return resultobj;
30736 fail:
30737 return NULL;
30738 }
30739
30740
30741 static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
30742 PyObject *obj;
30743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30744 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
30745 Py_INCREF(obj);
30746 return Py_BuildValue((char *)"");
30747 }
30748 static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30749 PyObject *resultobj;
30750 int arg1 = (int) wxHORIZONTAL ;
30751 wxBoxSizer *result;
30752 char *kwnames[] = {
30753 (char *) "orient", NULL
30754 };
30755
30756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_BoxSizer",kwnames,&arg1)) goto fail;
30757 {
30758 PyThreadState* __tstate = wxPyBeginAllowThreads();
30759 result = (wxBoxSizer *)new wxBoxSizer(arg1);
30760
30761 wxPyEndAllowThreads(__tstate);
30762 if (PyErr_Occurred()) SWIG_fail;
30763 }
30764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBoxSizer, 1);
30765 return resultobj;
30766 fail:
30767 return NULL;
30768 }
30769
30770
30771 static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
30772 PyObject *resultobj;
30773 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30774 int result;
30775 PyObject * obj0 = 0 ;
30776 char *kwnames[] = {
30777 (char *) "self", NULL
30778 };
30779
30780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
30781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30782 {
30783 PyThreadState* __tstate = wxPyBeginAllowThreads();
30784 result = (int)(arg1)->GetOrientation();
30785
30786 wxPyEndAllowThreads(__tstate);
30787 if (PyErr_Occurred()) SWIG_fail;
30788 }
30789 resultobj = PyInt_FromLong((long)result);
30790 return resultobj;
30791 fail:
30792 return NULL;
30793 }
30794
30795
30796 static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
30797 PyObject *resultobj;
30798 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30799 int arg2 ;
30800 PyObject * obj0 = 0 ;
30801 char *kwnames[] = {
30802 (char *) "self",(char *) "orient", NULL
30803 };
30804
30805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BoxSizer_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
30806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30807 {
30808 PyThreadState* __tstate = wxPyBeginAllowThreads();
30809 (arg1)->SetOrientation(arg2);
30810
30811 wxPyEndAllowThreads(__tstate);
30812 if (PyErr_Occurred()) SWIG_fail;
30813 }
30814 Py_INCREF(Py_None); resultobj = Py_None;
30815 return resultobj;
30816 fail:
30817 return NULL;
30818 }
30819
30820
30821 static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30822 PyObject *resultobj;
30823 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30824 PyObject * obj0 = 0 ;
30825 char *kwnames[] = {
30826 (char *) "self", NULL
30827 };
30828
30829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
30830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 (arg1)->RecalcSizes();
30834
30835 wxPyEndAllowThreads(__tstate);
30836 if (PyErr_Occurred()) SWIG_fail;
30837 }
30838 Py_INCREF(Py_None); resultobj = Py_None;
30839 return resultobj;
30840 fail:
30841 return NULL;
30842 }
30843
30844
30845 static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30846 PyObject *resultobj;
30847 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30848 wxSize result;
30849 PyObject * obj0 = 0 ;
30850 char *kwnames[] = {
30851 (char *) "self", NULL
30852 };
30853
30854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
30855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30856 {
30857 PyThreadState* __tstate = wxPyBeginAllowThreads();
30858 result = (arg1)->CalcMin();
30859
30860 wxPyEndAllowThreads(__tstate);
30861 if (PyErr_Occurred()) SWIG_fail;
30862 }
30863 {
30864 wxSize * resultptr;
30865 resultptr = new wxSize((wxSize &) result);
30866 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30867 }
30868 return resultobj;
30869 fail:
30870 return NULL;
30871 }
30872
30873
30874 static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
30875 PyObject *obj;
30876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30877 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
30878 Py_INCREF(obj);
30879 return Py_BuildValue((char *)"");
30880 }
30881 static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30882 PyObject *resultobj;
30883 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
30884 int arg2 = (int) wxHORIZONTAL ;
30885 wxStaticBoxSizer *result;
30886 PyObject * obj0 = 0 ;
30887 char *kwnames[] = {
30888 (char *) "box",(char *) "orient", NULL
30889 };
30890
30891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_StaticBoxSizer",kwnames,&obj0,&arg2)) goto fail;
30892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30893 {
30894 PyThreadState* __tstate = wxPyBeginAllowThreads();
30895 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
30896
30897 wxPyEndAllowThreads(__tstate);
30898 if (PyErr_Occurred()) SWIG_fail;
30899 }
30900 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBoxSizer, 1);
30901 return resultobj;
30902 fail:
30903 return NULL;
30904 }
30905
30906
30907 static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
30908 PyObject *resultobj;
30909 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
30910 wxStaticBox *result;
30911 PyObject * obj0 = 0 ;
30912 char *kwnames[] = {
30913 (char *) "self", NULL
30914 };
30915
30916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
30917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30918 {
30919 PyThreadState* __tstate = wxPyBeginAllowThreads();
30920 result = (wxStaticBox *)(arg1)->GetStaticBox();
30921
30922 wxPyEndAllowThreads(__tstate);
30923 if (PyErr_Occurred()) SWIG_fail;
30924 }
30925 {
30926 resultobj = wxPyMake_wxObject(result);
30927 }
30928 return resultobj;
30929 fail:
30930 return NULL;
30931 }
30932
30933
30934 static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30935 PyObject *resultobj;
30936 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
30937 PyObject * obj0 = 0 ;
30938 char *kwnames[] = {
30939 (char *) "self", NULL
30940 };
30941
30942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
30943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30944 {
30945 PyThreadState* __tstate = wxPyBeginAllowThreads();
30946 (arg1)->RecalcSizes();
30947
30948 wxPyEndAllowThreads(__tstate);
30949 if (PyErr_Occurred()) SWIG_fail;
30950 }
30951 Py_INCREF(Py_None); resultobj = Py_None;
30952 return resultobj;
30953 fail:
30954 return NULL;
30955 }
30956
30957
30958 static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30959 PyObject *resultobj;
30960 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
30961 wxSize result;
30962 PyObject * obj0 = 0 ;
30963 char *kwnames[] = {
30964 (char *) "self", NULL
30965 };
30966
30967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
30968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30969 {
30970 PyThreadState* __tstate = wxPyBeginAllowThreads();
30971 result = (arg1)->CalcMin();
30972
30973 wxPyEndAllowThreads(__tstate);
30974 if (PyErr_Occurred()) SWIG_fail;
30975 }
30976 {
30977 wxSize * resultptr;
30978 resultptr = new wxSize((wxSize &) result);
30979 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30980 }
30981 return resultobj;
30982 fail:
30983 return NULL;
30984 }
30985
30986
30987 static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
30988 PyObject *obj;
30989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30990 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
30991 Py_INCREF(obj);
30992 return Py_BuildValue((char *)"");
30993 }
30994 static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30995 PyObject *resultobj;
30996 int arg1 = (int) 1 ;
30997 int arg2 = (int) 0 ;
30998 int arg3 = (int) 0 ;
30999 int arg4 = (int) 0 ;
31000 wxGridSizer *result;
31001 char *kwnames[] = {
31002 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31003 };
31004
31005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_GridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31006 {
31007 PyThreadState* __tstate = wxPyBeginAllowThreads();
31008 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
31009
31010 wxPyEndAllowThreads(__tstate);
31011 if (PyErr_Occurred()) SWIG_fail;
31012 }
31013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizer, 1);
31014 return resultobj;
31015 fail:
31016 return NULL;
31017 }
31018
31019
31020 static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31021 PyObject *resultobj;
31022 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31023 PyObject * obj0 = 0 ;
31024 char *kwnames[] = {
31025 (char *) "self", NULL
31026 };
31027
31028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31030 {
31031 PyThreadState* __tstate = wxPyBeginAllowThreads();
31032 (arg1)->RecalcSizes();
31033
31034 wxPyEndAllowThreads(__tstate);
31035 if (PyErr_Occurred()) SWIG_fail;
31036 }
31037 Py_INCREF(Py_None); resultobj = Py_None;
31038 return resultobj;
31039 fail:
31040 return NULL;
31041 }
31042
31043
31044 static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31045 PyObject *resultobj;
31046 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31047 wxSize result;
31048 PyObject * obj0 = 0 ;
31049 char *kwnames[] = {
31050 (char *) "self", NULL
31051 };
31052
31053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
31054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31055 {
31056 PyThreadState* __tstate = wxPyBeginAllowThreads();
31057 result = (arg1)->CalcMin();
31058
31059 wxPyEndAllowThreads(__tstate);
31060 if (PyErr_Occurred()) SWIG_fail;
31061 }
31062 {
31063 wxSize * resultptr;
31064 resultptr = new wxSize((wxSize &) result);
31065 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31066 }
31067 return resultobj;
31068 fail:
31069 return NULL;
31070 }
31071
31072
31073 static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31074 PyObject *resultobj;
31075 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31076 int arg2 ;
31077 PyObject * obj0 = 0 ;
31078 char *kwnames[] = {
31079 (char *) "self",(char *) "cols", NULL
31080 };
31081
31082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetCols",kwnames,&obj0,&arg2)) goto fail;
31083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31084 {
31085 PyThreadState* __tstate = wxPyBeginAllowThreads();
31086 (arg1)->SetCols(arg2);
31087
31088 wxPyEndAllowThreads(__tstate);
31089 if (PyErr_Occurred()) SWIG_fail;
31090 }
31091 Py_INCREF(Py_None); resultobj = Py_None;
31092 return resultobj;
31093 fail:
31094 return NULL;
31095 }
31096
31097
31098 static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31099 PyObject *resultobj;
31100 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31101 int arg2 ;
31102 PyObject * obj0 = 0 ;
31103 char *kwnames[] = {
31104 (char *) "self",(char *) "rows", NULL
31105 };
31106
31107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetRows",kwnames,&obj0,&arg2)) goto fail;
31108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31109 {
31110 PyThreadState* __tstate = wxPyBeginAllowThreads();
31111 (arg1)->SetRows(arg2);
31112
31113 wxPyEndAllowThreads(__tstate);
31114 if (PyErr_Occurred()) SWIG_fail;
31115 }
31116 Py_INCREF(Py_None); resultobj = Py_None;
31117 return resultobj;
31118 fail:
31119 return NULL;
31120 }
31121
31122
31123 static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31124 PyObject *resultobj;
31125 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31126 int arg2 ;
31127 PyObject * obj0 = 0 ;
31128 char *kwnames[] = {
31129 (char *) "self",(char *) "gap", NULL
31130 };
31131
31132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetVGap",kwnames,&obj0,&arg2)) goto fail;
31133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31134 {
31135 PyThreadState* __tstate = wxPyBeginAllowThreads();
31136 (arg1)->SetVGap(arg2);
31137
31138 wxPyEndAllowThreads(__tstate);
31139 if (PyErr_Occurred()) SWIG_fail;
31140 }
31141 Py_INCREF(Py_None); resultobj = Py_None;
31142 return resultobj;
31143 fail:
31144 return NULL;
31145 }
31146
31147
31148 static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31149 PyObject *resultobj;
31150 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31151 int arg2 ;
31152 PyObject * obj0 = 0 ;
31153 char *kwnames[] = {
31154 (char *) "self",(char *) "gap", NULL
31155 };
31156
31157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetHGap",kwnames,&obj0,&arg2)) goto fail;
31158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31159 {
31160 PyThreadState* __tstate = wxPyBeginAllowThreads();
31161 (arg1)->SetHGap(arg2);
31162
31163 wxPyEndAllowThreads(__tstate);
31164 if (PyErr_Occurred()) SWIG_fail;
31165 }
31166 Py_INCREF(Py_None); resultobj = Py_None;
31167 return resultobj;
31168 fail:
31169 return NULL;
31170 }
31171
31172
31173 static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31174 PyObject *resultobj;
31175 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31176 int result;
31177 PyObject * obj0 = 0 ;
31178 char *kwnames[] = {
31179 (char *) "self", NULL
31180 };
31181
31182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
31183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31184 {
31185 PyThreadState* __tstate = wxPyBeginAllowThreads();
31186 result = (int)(arg1)->GetCols();
31187
31188 wxPyEndAllowThreads(__tstate);
31189 if (PyErr_Occurred()) SWIG_fail;
31190 }
31191 resultobj = PyInt_FromLong((long)result);
31192 return resultobj;
31193 fail:
31194 return NULL;
31195 }
31196
31197
31198 static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31199 PyObject *resultobj;
31200 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31201 int result;
31202 PyObject * obj0 = 0 ;
31203 char *kwnames[] = {
31204 (char *) "self", NULL
31205 };
31206
31207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
31208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31209 {
31210 PyThreadState* __tstate = wxPyBeginAllowThreads();
31211 result = (int)(arg1)->GetRows();
31212
31213 wxPyEndAllowThreads(__tstate);
31214 if (PyErr_Occurred()) SWIG_fail;
31215 }
31216 resultobj = PyInt_FromLong((long)result);
31217 return resultobj;
31218 fail:
31219 return NULL;
31220 }
31221
31222
31223 static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31224 PyObject *resultobj;
31225 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31226 int result;
31227 PyObject * obj0 = 0 ;
31228 char *kwnames[] = {
31229 (char *) "self", NULL
31230 };
31231
31232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
31233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31234 {
31235 PyThreadState* __tstate = wxPyBeginAllowThreads();
31236 result = (int)(arg1)->GetVGap();
31237
31238 wxPyEndAllowThreads(__tstate);
31239 if (PyErr_Occurred()) SWIG_fail;
31240 }
31241 resultobj = PyInt_FromLong((long)result);
31242 return resultobj;
31243 fail:
31244 return NULL;
31245 }
31246
31247
31248 static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31249 PyObject *resultobj;
31250 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31251 int result;
31252 PyObject * obj0 = 0 ;
31253 char *kwnames[] = {
31254 (char *) "self", NULL
31255 };
31256
31257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
31258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31259 {
31260 PyThreadState* __tstate = wxPyBeginAllowThreads();
31261 result = (int)(arg1)->GetHGap();
31262
31263 wxPyEndAllowThreads(__tstate);
31264 if (PyErr_Occurred()) SWIG_fail;
31265 }
31266 resultobj = PyInt_FromLong((long)result);
31267 return resultobj;
31268 fail:
31269 return NULL;
31270 }
31271
31272
31273 static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
31274 PyObject *obj;
31275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31276 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
31277 Py_INCREF(obj);
31278 return Py_BuildValue((char *)"");
31279 }
31280 static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31281 PyObject *resultobj;
31282 int arg1 = (int) 1 ;
31283 int arg2 = (int) 0 ;
31284 int arg3 = (int) 0 ;
31285 int arg4 = (int) 0 ;
31286 wxFlexGridSizer *result;
31287 char *kwnames[] = {
31288 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31289 };
31290
31291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_FlexGridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31292 {
31293 PyThreadState* __tstate = wxPyBeginAllowThreads();
31294 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
31295
31296 wxPyEndAllowThreads(__tstate);
31297 if (PyErr_Occurred()) SWIG_fail;
31298 }
31299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFlexGridSizer, 1);
31300 return resultobj;
31301 fail:
31302 return NULL;
31303 }
31304
31305
31306 static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31307 PyObject *resultobj;
31308 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31309 PyObject * obj0 = 0 ;
31310 char *kwnames[] = {
31311 (char *) "self", NULL
31312 };
31313
31314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31316 {
31317 PyThreadState* __tstate = wxPyBeginAllowThreads();
31318 (arg1)->RecalcSizes();
31319
31320 wxPyEndAllowThreads(__tstate);
31321 if (PyErr_Occurred()) SWIG_fail;
31322 }
31323 Py_INCREF(Py_None); resultobj = Py_None;
31324 return resultobj;
31325 fail:
31326 return NULL;
31327 }
31328
31329
31330 static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31331 PyObject *resultobj;
31332 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31333 wxSize result;
31334 PyObject * obj0 = 0 ;
31335 char *kwnames[] = {
31336 (char *) "self", NULL
31337 };
31338
31339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
31340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31341 {
31342 PyThreadState* __tstate = wxPyBeginAllowThreads();
31343 result = (arg1)->CalcMin();
31344
31345 wxPyEndAllowThreads(__tstate);
31346 if (PyErr_Occurred()) SWIG_fail;
31347 }
31348 {
31349 wxSize * resultptr;
31350 resultptr = new wxSize((wxSize &) result);
31351 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31352 }
31353 return resultobj;
31354 fail:
31355 return NULL;
31356 }
31357
31358
31359 static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31360 PyObject *resultobj;
31361 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31362 size_t arg2 ;
31363 int arg3 = (int) 0 ;
31364 PyObject * obj0 = 0 ;
31365 PyObject * obj1 = 0 ;
31366 char *kwnames[] = {
31367 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31368 };
31369
31370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&arg3)) goto fail;
31371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31372 arg2 = (size_t) PyInt_AsLong(obj1);
31373 if (PyErr_Occurred()) SWIG_fail;
31374 {
31375 PyThreadState* __tstate = wxPyBeginAllowThreads();
31376 (arg1)->AddGrowableRow(arg2,arg3);
31377
31378 wxPyEndAllowThreads(__tstate);
31379 if (PyErr_Occurred()) SWIG_fail;
31380 }
31381 Py_INCREF(Py_None); resultobj = Py_None;
31382 return resultobj;
31383 fail:
31384 return NULL;
31385 }
31386
31387
31388 static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31389 PyObject *resultobj;
31390 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31391 size_t arg2 ;
31392 PyObject * obj0 = 0 ;
31393 PyObject * obj1 = 0 ;
31394 char *kwnames[] = {
31395 (char *) "self",(char *) "idx", NULL
31396 };
31397
31398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
31399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31400 arg2 = (size_t) PyInt_AsLong(obj1);
31401 if (PyErr_Occurred()) SWIG_fail;
31402 {
31403 PyThreadState* __tstate = wxPyBeginAllowThreads();
31404 (arg1)->RemoveGrowableRow(arg2);
31405
31406 wxPyEndAllowThreads(__tstate);
31407 if (PyErr_Occurred()) SWIG_fail;
31408 }
31409 Py_INCREF(Py_None); resultobj = Py_None;
31410 return resultobj;
31411 fail:
31412 return NULL;
31413 }
31414
31415
31416 static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31417 PyObject *resultobj;
31418 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31419 size_t arg2 ;
31420 int arg3 = (int) 0 ;
31421 PyObject * obj0 = 0 ;
31422 PyObject * obj1 = 0 ;
31423 char *kwnames[] = {
31424 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31425 };
31426
31427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&arg3)) goto fail;
31428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31429 arg2 = (size_t) PyInt_AsLong(obj1);
31430 if (PyErr_Occurred()) SWIG_fail;
31431 {
31432 PyThreadState* __tstate = wxPyBeginAllowThreads();
31433 (arg1)->AddGrowableCol(arg2,arg3);
31434
31435 wxPyEndAllowThreads(__tstate);
31436 if (PyErr_Occurred()) SWIG_fail;
31437 }
31438 Py_INCREF(Py_None); resultobj = Py_None;
31439 return resultobj;
31440 fail:
31441 return NULL;
31442 }
31443
31444
31445 static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31446 PyObject *resultobj;
31447 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31448 size_t arg2 ;
31449 PyObject * obj0 = 0 ;
31450 PyObject * obj1 = 0 ;
31451 char *kwnames[] = {
31452 (char *) "self",(char *) "idx", NULL
31453 };
31454
31455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
31456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31457 arg2 = (size_t) PyInt_AsLong(obj1);
31458 if (PyErr_Occurred()) SWIG_fail;
31459 {
31460 PyThreadState* __tstate = wxPyBeginAllowThreads();
31461 (arg1)->RemoveGrowableCol(arg2);
31462
31463 wxPyEndAllowThreads(__tstate);
31464 if (PyErr_Occurred()) SWIG_fail;
31465 }
31466 Py_INCREF(Py_None); resultobj = Py_None;
31467 return resultobj;
31468 fail:
31469 return NULL;
31470 }
31471
31472
31473 static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31474 PyObject *resultobj;
31475 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31476 int arg2 ;
31477 PyObject * obj0 = 0 ;
31478 char *kwnames[] = {
31479 (char *) "self",(char *) "direction", NULL
31480 };
31481
31482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&arg2)) goto fail;
31483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31484 {
31485 PyThreadState* __tstate = wxPyBeginAllowThreads();
31486 (arg1)->SetFlexibleDirection(arg2);
31487
31488 wxPyEndAllowThreads(__tstate);
31489 if (PyErr_Occurred()) SWIG_fail;
31490 }
31491 Py_INCREF(Py_None); resultobj = Py_None;
31492 return resultobj;
31493 fail:
31494 return NULL;
31495 }
31496
31497
31498 static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31499 PyObject *resultobj;
31500 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31501 int result;
31502 PyObject * obj0 = 0 ;
31503 char *kwnames[] = {
31504 (char *) "self", NULL
31505 };
31506
31507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
31508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31509 {
31510 PyThreadState* __tstate = wxPyBeginAllowThreads();
31511 result = (int)(arg1)->GetFlexibleDirection();
31512
31513 wxPyEndAllowThreads(__tstate);
31514 if (PyErr_Occurred()) SWIG_fail;
31515 }
31516 resultobj = PyInt_FromLong((long)result);
31517 return resultobj;
31518 fail:
31519 return NULL;
31520 }
31521
31522
31523 static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31524 PyObject *resultobj;
31525 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31526 int arg2 ;
31527 PyObject * obj0 = 0 ;
31528 char *kwnames[] = {
31529 (char *) "self",(char *) "mode", NULL
31530 };
31531
31532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&arg2)) goto fail;
31533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31534 {
31535 PyThreadState* __tstate = wxPyBeginAllowThreads();
31536 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
31537
31538 wxPyEndAllowThreads(__tstate);
31539 if (PyErr_Occurred()) SWIG_fail;
31540 }
31541 Py_INCREF(Py_None); resultobj = Py_None;
31542 return resultobj;
31543 fail:
31544 return NULL;
31545 }
31546
31547
31548 static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31549 PyObject *resultobj;
31550 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31551 int result;
31552 PyObject * obj0 = 0 ;
31553 char *kwnames[] = {
31554 (char *) "self", NULL
31555 };
31556
31557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
31558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31559 {
31560 PyThreadState* __tstate = wxPyBeginAllowThreads();
31561 result = (int)(arg1)->GetNonFlexibleGrowMode();
31562
31563 wxPyEndAllowThreads(__tstate);
31564 if (PyErr_Occurred()) SWIG_fail;
31565 }
31566 resultobj = PyInt_FromLong((long)result);
31567 return resultobj;
31568 fail:
31569 return NULL;
31570 }
31571
31572
31573 static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
31574 PyObject *resultobj;
31575 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31576 wxArrayInt *result;
31577 PyObject * obj0 = 0 ;
31578 char *kwnames[] = {
31579 (char *) "self", NULL
31580 };
31581
31582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
31583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31584 {
31585 PyThreadState* __tstate = wxPyBeginAllowThreads();
31586 {
31587 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
31588 result = (wxArrayInt *) &_result_ref;
31589 }
31590
31591 wxPyEndAllowThreads(__tstate);
31592 if (PyErr_Occurred()) SWIG_fail;
31593 }
31594 {
31595 resultobj = PyList_New(0);
31596 size_t idx;
31597 for (idx = 0; idx < result->GetCount(); idx += 1) {
31598 PyObject* val = PyInt_FromLong( result->Item(idx) );
31599 PyList_Append(resultobj, val);
31600 Py_DECREF(val);
31601 }
31602 }
31603 return resultobj;
31604 fail:
31605 return NULL;
31606 }
31607
31608
31609 static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
31610 PyObject *resultobj;
31611 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31612 wxArrayInt *result;
31613 PyObject * obj0 = 0 ;
31614 char *kwnames[] = {
31615 (char *) "self", NULL
31616 };
31617
31618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
31619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31620 {
31621 PyThreadState* __tstate = wxPyBeginAllowThreads();
31622 {
31623 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
31624 result = (wxArrayInt *) &_result_ref;
31625 }
31626
31627 wxPyEndAllowThreads(__tstate);
31628 if (PyErr_Occurred()) SWIG_fail;
31629 }
31630 {
31631 resultobj = PyList_New(0);
31632 size_t idx;
31633 for (idx = 0; idx < result->GetCount(); idx += 1) {
31634 PyObject* val = PyInt_FromLong( result->Item(idx) );
31635 PyList_Append(resultobj, val);
31636 Py_DECREF(val);
31637 }
31638 }
31639 return resultobj;
31640 fail:
31641 return NULL;
31642 }
31643
31644
31645 static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
31646 PyObject *obj;
31647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31648 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
31649 Py_INCREF(obj);
31650 return Py_BuildValue((char *)"");
31651 }
31652 static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
31653 PyObject *resultobj;
31654 int arg1 = (int) 0 ;
31655 int arg2 = (int) 0 ;
31656 wxGBPosition *result;
31657 char *kwnames[] = {
31658 (char *) "row",(char *) "col", NULL
31659 };
31660
31661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBPosition",kwnames,&arg1,&arg2)) goto fail;
31662 {
31663 PyThreadState* __tstate = wxPyBeginAllowThreads();
31664 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
31665
31666 wxPyEndAllowThreads(__tstate);
31667 if (PyErr_Occurred()) SWIG_fail;
31668 }
31669 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBPosition, 1);
31670 return resultobj;
31671 fail:
31672 return NULL;
31673 }
31674
31675
31676 static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31677 PyObject *resultobj;
31678 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31679 int result;
31680 PyObject * obj0 = 0 ;
31681 char *kwnames[] = {
31682 (char *) "self", NULL
31683 };
31684
31685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
31686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31687 {
31688 PyThreadState* __tstate = wxPyBeginAllowThreads();
31689 result = (int)((wxGBPosition const *)arg1)->GetRow();
31690
31691 wxPyEndAllowThreads(__tstate);
31692 if (PyErr_Occurred()) SWIG_fail;
31693 }
31694 resultobj = PyInt_FromLong((long)result);
31695 return resultobj;
31696 fail:
31697 return NULL;
31698 }
31699
31700
31701 static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31702 PyObject *resultobj;
31703 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31704 int result;
31705 PyObject * obj0 = 0 ;
31706 char *kwnames[] = {
31707 (char *) "self", NULL
31708 };
31709
31710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
31711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31712 {
31713 PyThreadState* __tstate = wxPyBeginAllowThreads();
31714 result = (int)((wxGBPosition const *)arg1)->GetCol();
31715
31716 wxPyEndAllowThreads(__tstate);
31717 if (PyErr_Occurred()) SWIG_fail;
31718 }
31719 resultobj = PyInt_FromLong((long)result);
31720 return resultobj;
31721 fail:
31722 return NULL;
31723 }
31724
31725
31726 static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31727 PyObject *resultobj;
31728 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31729 int arg2 ;
31730 PyObject * obj0 = 0 ;
31731 char *kwnames[] = {
31732 (char *) "self",(char *) "row", NULL
31733 };
31734
31735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetRow",kwnames,&obj0,&arg2)) goto fail;
31736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31737 {
31738 PyThreadState* __tstate = wxPyBeginAllowThreads();
31739 (arg1)->SetRow(arg2);
31740
31741 wxPyEndAllowThreads(__tstate);
31742 if (PyErr_Occurred()) SWIG_fail;
31743 }
31744 Py_INCREF(Py_None); resultobj = Py_None;
31745 return resultobj;
31746 fail:
31747 return NULL;
31748 }
31749
31750
31751 static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31752 PyObject *resultobj;
31753 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31754 int arg2 ;
31755 PyObject * obj0 = 0 ;
31756 char *kwnames[] = {
31757 (char *) "self",(char *) "col", NULL
31758 };
31759
31760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetCol",kwnames,&obj0,&arg2)) goto fail;
31761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31762 {
31763 PyThreadState* __tstate = wxPyBeginAllowThreads();
31764 (arg1)->SetCol(arg2);
31765
31766 wxPyEndAllowThreads(__tstate);
31767 if (PyErr_Occurred()) SWIG_fail;
31768 }
31769 Py_INCREF(Py_None); resultobj = Py_None;
31770 return resultobj;
31771 fail:
31772 return NULL;
31773 }
31774
31775
31776 static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
31777 PyObject *resultobj;
31778 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31779 wxGBPosition *arg2 = 0 ;
31780 bool result;
31781 wxGBPosition temp2 ;
31782 PyObject * obj0 = 0 ;
31783 PyObject * obj1 = 0 ;
31784 char *kwnames[] = {
31785 (char *) "self",(char *) "p", NULL
31786 };
31787
31788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
31789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31790 {
31791 arg2 = &temp2;
31792 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
31793 }
31794 {
31795 PyThreadState* __tstate = wxPyBeginAllowThreads();
31796 result = (bool)((wxGBPosition const *)arg1)->operator ==((wxGBPosition const &)*arg2);
31797
31798 wxPyEndAllowThreads(__tstate);
31799 if (PyErr_Occurred()) SWIG_fail;
31800 }
31801 resultobj = PyInt_FromLong((long)result);
31802 return resultobj;
31803 fail:
31804 return NULL;
31805 }
31806
31807
31808 static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
31809 PyObject *resultobj;
31810 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31811 wxGBPosition *arg2 = 0 ;
31812 bool result;
31813 wxGBPosition temp2 ;
31814 PyObject * obj0 = 0 ;
31815 PyObject * obj1 = 0 ;
31816 char *kwnames[] = {
31817 (char *) "self",(char *) "p", NULL
31818 };
31819
31820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
31821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31822 {
31823 arg2 = &temp2;
31824 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
31825 }
31826 {
31827 PyThreadState* __tstate = wxPyBeginAllowThreads();
31828 result = (bool)((wxGBPosition const *)arg1)->operator !=((wxGBPosition const &)*arg2);
31829
31830 wxPyEndAllowThreads(__tstate);
31831 if (PyErr_Occurred()) SWIG_fail;
31832 }
31833 resultobj = PyInt_FromLong((long)result);
31834 return resultobj;
31835 fail:
31836 return NULL;
31837 }
31838
31839
31840 static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
31841 PyObject *resultobj;
31842 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31843 int arg2 = (int) 0 ;
31844 int arg3 = (int) 0 ;
31845 PyObject * obj0 = 0 ;
31846 char *kwnames[] = {
31847 (char *) "self",(char *) "row",(char *) "col", NULL
31848 };
31849
31850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBPosition_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
31851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31852 {
31853 PyThreadState* __tstate = wxPyBeginAllowThreads();
31854 wxGBPosition_Set(arg1,arg2,arg3);
31855
31856 wxPyEndAllowThreads(__tstate);
31857 if (PyErr_Occurred()) SWIG_fail;
31858 }
31859 Py_INCREF(Py_None); resultobj = Py_None;
31860 return resultobj;
31861 fail:
31862 return NULL;
31863 }
31864
31865
31866 static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
31867 PyObject *resultobj;
31868 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31869 PyObject *result;
31870 PyObject * obj0 = 0 ;
31871 char *kwnames[] = {
31872 (char *) "self", NULL
31873 };
31874
31875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
31876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31877 {
31878 PyThreadState* __tstate = wxPyBeginAllowThreads();
31879 result = (PyObject *)wxGBPosition_Get(arg1);
31880
31881 wxPyEndAllowThreads(__tstate);
31882 if (PyErr_Occurred()) SWIG_fail;
31883 }
31884 resultobj = result;
31885 return resultobj;
31886 fail:
31887 return NULL;
31888 }
31889
31890
31891 static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
31892 PyObject *obj;
31893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31894 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
31895 Py_INCREF(obj);
31896 return Py_BuildValue((char *)"");
31897 }
31898 static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
31899 PyObject *resultobj;
31900 int arg1 = (int) 1 ;
31901 int arg2 = (int) 1 ;
31902 wxGBSpan *result;
31903 char *kwnames[] = {
31904 (char *) "rowspan",(char *) "colspan", NULL
31905 };
31906
31907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBSpan",kwnames,&arg1,&arg2)) goto fail;
31908 {
31909 PyThreadState* __tstate = wxPyBeginAllowThreads();
31910 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
31911
31912 wxPyEndAllowThreads(__tstate);
31913 if (PyErr_Occurred()) SWIG_fail;
31914 }
31915 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSpan, 1);
31916 return resultobj;
31917 fail:
31918 return NULL;
31919 }
31920
31921
31922 static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
31923 PyObject *resultobj;
31924 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
31925 int result;
31926 PyObject * obj0 = 0 ;
31927 char *kwnames[] = {
31928 (char *) "self", NULL
31929 };
31930
31931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
31932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31933 {
31934 PyThreadState* __tstate = wxPyBeginAllowThreads();
31935 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
31936
31937 wxPyEndAllowThreads(__tstate);
31938 if (PyErr_Occurred()) SWIG_fail;
31939 }
31940 resultobj = PyInt_FromLong((long)result);
31941 return resultobj;
31942 fail:
31943 return NULL;
31944 }
31945
31946
31947 static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
31948 PyObject *resultobj;
31949 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
31950 int result;
31951 PyObject * obj0 = 0 ;
31952 char *kwnames[] = {
31953 (char *) "self", NULL
31954 };
31955
31956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
31957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31958 {
31959 PyThreadState* __tstate = wxPyBeginAllowThreads();
31960 result = (int)((wxGBSpan const *)arg1)->GetColspan();
31961
31962 wxPyEndAllowThreads(__tstate);
31963 if (PyErr_Occurred()) SWIG_fail;
31964 }
31965 resultobj = PyInt_FromLong((long)result);
31966 return resultobj;
31967 fail:
31968 return NULL;
31969 }
31970
31971
31972 static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
31973 PyObject *resultobj;
31974 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
31975 int arg2 ;
31976 PyObject * obj0 = 0 ;
31977 char *kwnames[] = {
31978 (char *) "self",(char *) "rowspan", NULL
31979 };
31980
31981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetRowspan",kwnames,&obj0,&arg2)) goto fail;
31982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31983 {
31984 PyThreadState* __tstate = wxPyBeginAllowThreads();
31985 (arg1)->SetRowspan(arg2);
31986
31987 wxPyEndAllowThreads(__tstate);
31988 if (PyErr_Occurred()) SWIG_fail;
31989 }
31990 Py_INCREF(Py_None); resultobj = Py_None;
31991 return resultobj;
31992 fail:
31993 return NULL;
31994 }
31995
31996
31997 static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
31998 PyObject *resultobj;
31999 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32000 int arg2 ;
32001 PyObject * obj0 = 0 ;
32002 char *kwnames[] = {
32003 (char *) "self",(char *) "colspan", NULL
32004 };
32005
32006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetColspan",kwnames,&obj0,&arg2)) goto fail;
32007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32008 {
32009 PyThreadState* __tstate = wxPyBeginAllowThreads();
32010 (arg1)->SetColspan(arg2);
32011
32012 wxPyEndAllowThreads(__tstate);
32013 if (PyErr_Occurred()) SWIG_fail;
32014 }
32015 Py_INCREF(Py_None); resultobj = Py_None;
32016 return resultobj;
32017 fail:
32018 return NULL;
32019 }
32020
32021
32022 static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32023 PyObject *resultobj;
32024 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32025 wxGBSpan *arg2 = 0 ;
32026 bool result;
32027 wxGBSpan temp2 ;
32028 PyObject * obj0 = 0 ;
32029 PyObject * obj1 = 0 ;
32030 char *kwnames[] = {
32031 (char *) "self",(char *) "o", NULL
32032 };
32033
32034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
32035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32036 {
32037 arg2 = &temp2;
32038 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32039 }
32040 {
32041 PyThreadState* __tstate = wxPyBeginAllowThreads();
32042 result = (bool)((wxGBSpan const *)arg1)->operator ==((wxGBSpan const &)*arg2);
32043
32044 wxPyEndAllowThreads(__tstate);
32045 if (PyErr_Occurred()) SWIG_fail;
32046 }
32047 resultobj = PyInt_FromLong((long)result);
32048 return resultobj;
32049 fail:
32050 return NULL;
32051 }
32052
32053
32054 static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32055 PyObject *resultobj;
32056 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32057 wxGBSpan *arg2 = 0 ;
32058 bool result;
32059 wxGBSpan temp2 ;
32060 PyObject * obj0 = 0 ;
32061 PyObject * obj1 = 0 ;
32062 char *kwnames[] = {
32063 (char *) "self",(char *) "o", NULL
32064 };
32065
32066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
32067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32068 {
32069 arg2 = &temp2;
32070 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32071 }
32072 {
32073 PyThreadState* __tstate = wxPyBeginAllowThreads();
32074 result = (bool)((wxGBSpan const *)arg1)->operator !=((wxGBSpan const &)*arg2);
32075
32076 wxPyEndAllowThreads(__tstate);
32077 if (PyErr_Occurred()) SWIG_fail;
32078 }
32079 resultobj = PyInt_FromLong((long)result);
32080 return resultobj;
32081 fail:
32082 return NULL;
32083 }
32084
32085
32086 static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32087 PyObject *resultobj;
32088 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32089 int arg2 = (int) 1 ;
32090 int arg3 = (int) 1 ;
32091 PyObject * obj0 = 0 ;
32092 char *kwnames[] = {
32093 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32094 };
32095
32096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBSpan_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32098 {
32099 PyThreadState* __tstate = wxPyBeginAllowThreads();
32100 wxGBSpan_Set(arg1,arg2,arg3);
32101
32102 wxPyEndAllowThreads(__tstate);
32103 if (PyErr_Occurred()) SWIG_fail;
32104 }
32105 Py_INCREF(Py_None); resultobj = Py_None;
32106 return resultobj;
32107 fail:
32108 return NULL;
32109 }
32110
32111
32112 static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
32113 PyObject *resultobj;
32114 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32115 PyObject *result;
32116 PyObject * obj0 = 0 ;
32117 char *kwnames[] = {
32118 (char *) "self", NULL
32119 };
32120
32121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
32122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32123 {
32124 PyThreadState* __tstate = wxPyBeginAllowThreads();
32125 result = (PyObject *)wxGBSpan_Get(arg1);
32126
32127 wxPyEndAllowThreads(__tstate);
32128 if (PyErr_Occurred()) SWIG_fail;
32129 }
32130 resultobj = result;
32131 return resultobj;
32132 fail:
32133 return NULL;
32134 }
32135
32136
32137 static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
32138 PyObject *obj;
32139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32140 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
32141 Py_INCREF(obj);
32142 return Py_BuildValue((char *)"");
32143 }
32144 static int _wrap_DefaultSpan_set(PyObject *_val) {
32145 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
32146 return 1;
32147 }
32148
32149
32150 static PyObject *_wrap_DefaultSpan_get() {
32151 PyObject *pyobj;
32152
32153 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSpan, SWIGTYPE_p_wxGBSpan, 0);
32154 return pyobj;
32155 }
32156
32157
32158 static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32159 PyObject *resultobj;
32160 wxGBSizerItem *result;
32161 char *kwnames[] = {
32162 NULL
32163 };
32164
32165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
32166 {
32167 PyThreadState* __tstate = wxPyBeginAllowThreads();
32168 result = (wxGBSizerItem *)new wxGBSizerItem();
32169
32170 wxPyEndAllowThreads(__tstate);
32171 if (PyErr_Occurred()) SWIG_fail;
32172 }
32173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32174 return resultobj;
32175 fail:
32176 return NULL;
32177 }
32178
32179
32180 static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32181 PyObject *resultobj;
32182 wxWindow *arg1 = (wxWindow *) 0 ;
32183 wxGBPosition *arg2 = 0 ;
32184 wxGBSpan *arg3 = 0 ;
32185 int arg4 ;
32186 int arg5 ;
32187 wxObject *arg6 = (wxObject *) 0 ;
32188 wxGBSizerItem *result;
32189 wxGBPosition temp2 ;
32190 wxGBSpan temp3 ;
32191 PyObject * obj0 = 0 ;
32192 PyObject * obj1 = 0 ;
32193 PyObject * obj2 = 0 ;
32194 PyObject * obj5 = 0 ;
32195 char *kwnames[] = {
32196 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32197 };
32198
32199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32201 {
32202 arg2 = &temp2;
32203 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32204 }
32205 {
32206 arg3 = &temp3;
32207 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32208 }
32209 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32210 {
32211 PyThreadState* __tstate = wxPyBeginAllowThreads();
32212 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32213
32214 wxPyEndAllowThreads(__tstate);
32215 if (PyErr_Occurred()) SWIG_fail;
32216 }
32217 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32218 return resultobj;
32219 fail:
32220 return NULL;
32221 }
32222
32223
32224 static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32225 PyObject *resultobj;
32226 wxSizer *arg1 = (wxSizer *) 0 ;
32227 wxGBPosition *arg2 = 0 ;
32228 wxGBSpan *arg3 = 0 ;
32229 int arg4 ;
32230 int arg5 ;
32231 wxObject *arg6 = (wxObject *) 0 ;
32232 wxGBSizerItem *result;
32233 wxGBPosition temp2 ;
32234 wxGBSpan temp3 ;
32235 PyObject * obj0 = 0 ;
32236 PyObject * obj1 = 0 ;
32237 PyObject * obj2 = 0 ;
32238 PyObject * obj5 = 0 ;
32239 char *kwnames[] = {
32240 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32241 };
32242
32243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32245 {
32246 arg2 = &temp2;
32247 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32248 }
32249 {
32250 arg3 = &temp3;
32251 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32252 }
32253 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32254 {
32255 PyThreadState* __tstate = wxPyBeginAllowThreads();
32256 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32257
32258 wxPyEndAllowThreads(__tstate);
32259 if (PyErr_Occurred()) SWIG_fail;
32260 }
32261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32262 return resultobj;
32263 fail:
32264 return NULL;
32265 }
32266
32267
32268 static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32269 PyObject *resultobj;
32270 int arg1 ;
32271 int arg2 ;
32272 wxGBPosition *arg3 = 0 ;
32273 wxGBSpan *arg4 = 0 ;
32274 int arg5 ;
32275 int arg6 ;
32276 wxObject *arg7 = (wxObject *) 0 ;
32277 wxGBSizerItem *result;
32278 wxGBPosition temp3 ;
32279 wxGBSpan temp4 ;
32280 PyObject * obj2 = 0 ;
32281 PyObject * obj3 = 0 ;
32282 PyObject * obj6 = 0 ;
32283 char *kwnames[] = {
32284 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32285 };
32286
32287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames,&arg1,&arg2,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32288 {
32289 arg3 = &temp3;
32290 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32291 }
32292 {
32293 arg4 = &temp4;
32294 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32295 }
32296 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32297 {
32298 PyThreadState* __tstate = wxPyBeginAllowThreads();
32299 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32300
32301 wxPyEndAllowThreads(__tstate);
32302 if (PyErr_Occurred()) SWIG_fail;
32303 }
32304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32305 return resultobj;
32306 fail:
32307 return NULL;
32308 }
32309
32310
32311 static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32312 PyObject *resultobj;
32313 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32314 wxGBPosition result;
32315 PyObject * obj0 = 0 ;
32316 char *kwnames[] = {
32317 (char *) "self", NULL
32318 };
32319
32320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
32321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32322 {
32323 PyThreadState* __tstate = wxPyBeginAllowThreads();
32324 result = ((wxGBSizerItem const *)arg1)->GetPos();
32325
32326 wxPyEndAllowThreads(__tstate);
32327 if (PyErr_Occurred()) SWIG_fail;
32328 }
32329 {
32330 wxGBPosition * resultptr;
32331 resultptr = new wxGBPosition((wxGBPosition &) result);
32332 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32333 }
32334 return resultobj;
32335 fail:
32336 return NULL;
32337 }
32338
32339
32340 static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32341 PyObject *resultobj;
32342 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32343 wxGBSpan result;
32344 PyObject * obj0 = 0 ;
32345 char *kwnames[] = {
32346 (char *) "self", NULL
32347 };
32348
32349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
32350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32351 {
32352 PyThreadState* __tstate = wxPyBeginAllowThreads();
32353 result = ((wxGBSizerItem const *)arg1)->GetSpan();
32354
32355 wxPyEndAllowThreads(__tstate);
32356 if (PyErr_Occurred()) SWIG_fail;
32357 }
32358 {
32359 wxGBSpan * resultptr;
32360 resultptr = new wxGBSpan((wxGBSpan &) result);
32361 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
32362 }
32363 return resultobj;
32364 fail:
32365 return NULL;
32366 }
32367
32368
32369 static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32370 PyObject *resultobj;
32371 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32372 wxGBPosition *arg2 = 0 ;
32373 bool result;
32374 wxGBPosition temp2 ;
32375 PyObject * obj0 = 0 ;
32376 PyObject * obj1 = 0 ;
32377 char *kwnames[] = {
32378 (char *) "self",(char *) "pos", NULL
32379 };
32380
32381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
32382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32383 {
32384 arg2 = &temp2;
32385 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32386 }
32387 {
32388 PyThreadState* __tstate = wxPyBeginAllowThreads();
32389 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
32390
32391 wxPyEndAllowThreads(__tstate);
32392 if (PyErr_Occurred()) SWIG_fail;
32393 }
32394 resultobj = PyInt_FromLong((long)result);
32395 return resultobj;
32396 fail:
32397 return NULL;
32398 }
32399
32400
32401 static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32402 PyObject *resultobj;
32403 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32404 wxGBSpan *arg2 = 0 ;
32405 bool result;
32406 wxGBSpan temp2 ;
32407 PyObject * obj0 = 0 ;
32408 PyObject * obj1 = 0 ;
32409 char *kwnames[] = {
32410 (char *) "self",(char *) "span", NULL
32411 };
32412
32413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
32414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32415 {
32416 arg2 = &temp2;
32417 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32418 }
32419 {
32420 PyThreadState* __tstate = wxPyBeginAllowThreads();
32421 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
32422
32423 wxPyEndAllowThreads(__tstate);
32424 if (PyErr_Occurred()) SWIG_fail;
32425 }
32426 resultobj = PyInt_FromLong((long)result);
32427 return resultobj;
32428 fail:
32429 return NULL;
32430 }
32431
32432
32433 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
32434 PyObject *resultobj;
32435 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32436 wxGBSizerItem *arg2 = 0 ;
32437 bool result;
32438 PyObject * obj0 = 0 ;
32439 PyObject * obj1 = 0 ;
32440
32441 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
32442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32444 if (arg2 == NULL) {
32445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32446 }
32447 {
32448 PyThreadState* __tstate = wxPyBeginAllowThreads();
32449 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
32450
32451 wxPyEndAllowThreads(__tstate);
32452 if (PyErr_Occurred()) SWIG_fail;
32453 }
32454 resultobj = PyInt_FromLong((long)result);
32455 return resultobj;
32456 fail:
32457 return NULL;
32458 }
32459
32460
32461 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
32462 PyObject *resultobj;
32463 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32464 wxGBPosition *arg2 = 0 ;
32465 wxGBSpan *arg3 = 0 ;
32466 bool result;
32467 wxGBPosition temp2 ;
32468 wxGBSpan temp3 ;
32469 PyObject * obj0 = 0 ;
32470 PyObject * obj1 = 0 ;
32471 PyObject * obj2 = 0 ;
32472
32473 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
32474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32475 {
32476 arg2 = &temp2;
32477 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32478 }
32479 {
32480 arg3 = &temp3;
32481 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32482 }
32483 {
32484 PyThreadState* __tstate = wxPyBeginAllowThreads();
32485 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
32486
32487 wxPyEndAllowThreads(__tstate);
32488 if (PyErr_Occurred()) SWIG_fail;
32489 }
32490 resultobj = PyInt_FromLong((long)result);
32491 return resultobj;
32492 fail:
32493 return NULL;
32494 }
32495
32496
32497 static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
32498 int argc;
32499 PyObject *argv[4];
32500 int ii;
32501
32502 argc = PyObject_Length(args);
32503 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
32504 argv[ii] = PyTuple_GetItem(args,ii);
32505 }
32506 if (argc == 2) {
32507 int _v;
32508 {
32509 void *ptr;
32510 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32511 _v = 0;
32512 PyErr_Clear();
32513 } else {
32514 _v = 1;
32515 }
32516 }
32517 if (_v) {
32518 {
32519 void *ptr;
32520 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32521 _v = 0;
32522 PyErr_Clear();
32523 } else {
32524 _v = 1;
32525 }
32526 }
32527 if (_v) {
32528 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
32529 }
32530 }
32531 }
32532 if (argc == 3) {
32533 int _v;
32534 {
32535 void *ptr;
32536 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32537 _v = 0;
32538 PyErr_Clear();
32539 } else {
32540 _v = 1;
32541 }
32542 }
32543 if (_v) {
32544 {
32545 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
32546 }
32547 if (_v) {
32548 {
32549 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
32550 }
32551 if (_v) {
32552 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
32553 }
32554 }
32555 }
32556 }
32557
32558 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
32559 return NULL;
32560 }
32561
32562
32563 static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32564 PyObject *resultobj;
32565 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32566 int *arg2 = 0 ;
32567 int *arg3 = 0 ;
32568 PyObject * obj0 = 0 ;
32569 PyObject * obj1 = 0 ;
32570 PyObject * obj2 = 0 ;
32571 char *kwnames[] = {
32572 (char *) "self",(char *) "row",(char *) "col", NULL
32573 };
32574
32575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
32576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32578 if (arg2 == NULL) {
32579 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32580 }
32581 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32582 if (arg3 == NULL) {
32583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32584 }
32585 {
32586 PyThreadState* __tstate = wxPyBeginAllowThreads();
32587 (arg1)->GetEndPos(*arg2,*arg3);
32588
32589 wxPyEndAllowThreads(__tstate);
32590 if (PyErr_Occurred()) SWIG_fail;
32591 }
32592 Py_INCREF(Py_None); resultobj = Py_None;
32593 return resultobj;
32594 fail:
32595 return NULL;
32596 }
32597
32598
32599 static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32600 PyObject *resultobj;
32601 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32602 wxGridBagSizer *result;
32603 PyObject * obj0 = 0 ;
32604 char *kwnames[] = {
32605 (char *) "self", NULL
32606 };
32607
32608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
32609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32610 {
32611 PyThreadState* __tstate = wxPyBeginAllowThreads();
32612 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
32613
32614 wxPyEndAllowThreads(__tstate);
32615 if (PyErr_Occurred()) SWIG_fail;
32616 }
32617 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 0);
32618 return resultobj;
32619 fail:
32620 return NULL;
32621 }
32622
32623
32624 static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32625 PyObject *resultobj;
32626 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32627 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
32628 PyObject * obj0 = 0 ;
32629 PyObject * obj1 = 0 ;
32630 char *kwnames[] = {
32631 (char *) "self",(char *) "sizer", NULL
32632 };
32633
32634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
32635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32637 {
32638 PyThreadState* __tstate = wxPyBeginAllowThreads();
32639 (arg1)->SetGBSizer(arg2);
32640
32641 wxPyEndAllowThreads(__tstate);
32642 if (PyErr_Occurred()) SWIG_fail;
32643 }
32644 Py_INCREF(Py_None); resultobj = Py_None;
32645 return resultobj;
32646 fail:
32647 return NULL;
32648 }
32649
32650
32651 static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
32652 PyObject *obj;
32653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32654 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
32655 Py_INCREF(obj);
32656 return Py_BuildValue((char *)"");
32657 }
32658 static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32659 PyObject *resultobj;
32660 int arg1 = (int) 0 ;
32661 int arg2 = (int) 0 ;
32662 wxGridBagSizer *result;
32663 char *kwnames[] = {
32664 (char *) "vgap",(char *) "hgap", NULL
32665 };
32666
32667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridBagSizer",kwnames,&arg1,&arg2)) goto fail;
32668 {
32669 PyThreadState* __tstate = wxPyBeginAllowThreads();
32670 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
32671
32672 wxPyEndAllowThreads(__tstate);
32673 if (PyErr_Occurred()) SWIG_fail;
32674 }
32675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 1);
32676 return resultobj;
32677 fail:
32678 return NULL;
32679 }
32680
32681
32682 static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
32683 PyObject *resultobj;
32684 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32685 PyObject *arg2 = (PyObject *) 0 ;
32686 wxGBPosition *arg3 = 0 ;
32687 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
32688 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
32689 int arg5 = (int) 0 ;
32690 int arg6 = (int) 0 ;
32691 PyObject *arg7 = (PyObject *) NULL ;
32692 bool result;
32693 wxGBPosition temp3 ;
32694 wxGBSpan temp4 ;
32695 PyObject * obj0 = 0 ;
32696 PyObject * obj1 = 0 ;
32697 PyObject * obj2 = 0 ;
32698 PyObject * obj3 = 0 ;
32699 PyObject * obj6 = 0 ;
32700 char *kwnames[] = {
32701 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32702 };
32703
32704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32706 arg2 = obj1;
32707 {
32708 arg3 = &temp3;
32709 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32710 }
32711 if (obj3) {
32712 {
32713 arg4 = &temp4;
32714 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32715 }
32716 }
32717 if (obj6) {
32718 arg7 = obj6;
32719 }
32720 {
32721 PyThreadState* __tstate = wxPyBeginAllowThreads();
32722 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32723
32724 wxPyEndAllowThreads(__tstate);
32725 if (PyErr_Occurred()) SWIG_fail;
32726 }
32727 resultobj = PyInt_FromLong((long)result);
32728 return resultobj;
32729 fail:
32730 return NULL;
32731 }
32732
32733
32734 static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32735 PyObject *resultobj;
32736 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32737 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
32738 bool result;
32739 PyObject * obj0 = 0 ;
32740 PyObject * obj1 = 0 ;
32741 char *kwnames[] = {
32742 (char *) "self",(char *) "item", NULL
32743 };
32744
32745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
32746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32748 {
32749 PyThreadState* __tstate = wxPyBeginAllowThreads();
32750 result = (bool)(arg1)->Add(arg2);
32751
32752 wxPyEndAllowThreads(__tstate);
32753 if (PyErr_Occurred()) SWIG_fail;
32754 }
32755 resultobj = PyInt_FromLong((long)result);
32756 return resultobj;
32757 fail:
32758 return NULL;
32759 }
32760
32761
32762 static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32763 PyObject *resultobj;
32764 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32765 wxSize result;
32766 PyObject * obj0 = 0 ;
32767 char *kwnames[] = {
32768 (char *) "self", NULL
32769 };
32770
32771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
32772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32773 {
32774 PyThreadState* __tstate = wxPyBeginAllowThreads();
32775 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
32776
32777 wxPyEndAllowThreads(__tstate);
32778 if (PyErr_Occurred()) SWIG_fail;
32779 }
32780 {
32781 wxSize * resultptr;
32782 resultptr = new wxSize((wxSize &) result);
32783 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
32784 }
32785 return resultobj;
32786 fail:
32787 return NULL;
32788 }
32789
32790
32791 static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32792 PyObject *resultobj;
32793 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32794 wxSize *arg2 = 0 ;
32795 wxSize temp2 ;
32796 PyObject * obj0 = 0 ;
32797 PyObject * obj1 = 0 ;
32798 char *kwnames[] = {
32799 (char *) "self",(char *) "sz", NULL
32800 };
32801
32802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
32803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32804 {
32805 arg2 = &temp2;
32806 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32807 }
32808 {
32809 PyThreadState* __tstate = wxPyBeginAllowThreads();
32810 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
32811
32812 wxPyEndAllowThreads(__tstate);
32813 if (PyErr_Occurred()) SWIG_fail;
32814 }
32815 Py_INCREF(Py_None); resultobj = Py_None;
32816 return resultobj;
32817 fail:
32818 return NULL;
32819 }
32820
32821
32822 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
32823 PyObject *resultobj;
32824 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32825 wxWindow *arg2 = (wxWindow *) 0 ;
32826 wxGBPosition result;
32827 PyObject * obj0 = 0 ;
32828 PyObject * obj1 = 0 ;
32829
32830 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32833 {
32834 PyThreadState* __tstate = wxPyBeginAllowThreads();
32835 result = (arg1)->GetItemPosition(arg2);
32836
32837 wxPyEndAllowThreads(__tstate);
32838 if (PyErr_Occurred()) SWIG_fail;
32839 }
32840 {
32841 wxGBPosition * resultptr;
32842 resultptr = new wxGBPosition((wxGBPosition &) result);
32843 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32844 }
32845 return resultobj;
32846 fail:
32847 return NULL;
32848 }
32849
32850
32851 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
32852 PyObject *resultobj;
32853 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32854 wxSizer *arg2 = (wxSizer *) 0 ;
32855 wxGBPosition result;
32856 PyObject * obj0 = 0 ;
32857 PyObject * obj1 = 0 ;
32858
32859 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32862 {
32863 PyThreadState* __tstate = wxPyBeginAllowThreads();
32864 result = (arg1)->GetItemPosition(arg2);
32865
32866 wxPyEndAllowThreads(__tstate);
32867 if (PyErr_Occurred()) SWIG_fail;
32868 }
32869 {
32870 wxGBPosition * resultptr;
32871 resultptr = new wxGBPosition((wxGBPosition &) result);
32872 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32873 }
32874 return resultobj;
32875 fail:
32876 return NULL;
32877 }
32878
32879
32880 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
32881 PyObject *resultobj;
32882 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32883 size_t arg2 ;
32884 wxGBPosition result;
32885 PyObject * obj0 = 0 ;
32886 PyObject * obj1 = 0 ;
32887
32888 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32890 arg2 = (size_t) PyInt_AsLong(obj1);
32891 if (PyErr_Occurred()) SWIG_fail;
32892 {
32893 PyThreadState* __tstate = wxPyBeginAllowThreads();
32894 result = (arg1)->GetItemPosition(arg2);
32895
32896 wxPyEndAllowThreads(__tstate);
32897 if (PyErr_Occurred()) SWIG_fail;
32898 }
32899 {
32900 wxGBPosition * resultptr;
32901 resultptr = new wxGBPosition((wxGBPosition &) result);
32902 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32903 }
32904 return resultobj;
32905 fail:
32906 return NULL;
32907 }
32908
32909
32910 static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
32911 int argc;
32912 PyObject *argv[3];
32913 int ii;
32914
32915 argc = PyObject_Length(args);
32916 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
32917 argv[ii] = PyTuple_GetItem(args,ii);
32918 }
32919 if (argc == 2) {
32920 int _v;
32921 {
32922 void *ptr;
32923 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
32924 _v = 0;
32925 PyErr_Clear();
32926 } else {
32927 _v = 1;
32928 }
32929 }
32930 if (_v) {
32931 {
32932 void *ptr;
32933 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
32934 _v = 0;
32935 PyErr_Clear();
32936 } else {
32937 _v = 1;
32938 }
32939 }
32940 if (_v) {
32941 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
32942 }
32943 }
32944 }
32945 if (argc == 2) {
32946 int _v;
32947 {
32948 void *ptr;
32949 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
32950 _v = 0;
32951 PyErr_Clear();
32952 } else {
32953 _v = 1;
32954 }
32955 }
32956 if (_v) {
32957 {
32958 void *ptr;
32959 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
32960 _v = 0;
32961 PyErr_Clear();
32962 } else {
32963 _v = 1;
32964 }
32965 }
32966 if (_v) {
32967 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
32968 }
32969 }
32970 }
32971 if (argc == 2) {
32972 int _v;
32973 {
32974 void *ptr;
32975 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
32976 _v = 0;
32977 PyErr_Clear();
32978 } else {
32979 _v = 1;
32980 }
32981 }
32982 if (_v) {
32983 {
32984 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
32985 }
32986 if (_v) {
32987 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
32988 }
32989 }
32990 }
32991
32992 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
32993 return NULL;
32994 }
32995
32996
32997 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
32998 PyObject *resultobj;
32999 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33000 wxWindow *arg2 = (wxWindow *) 0 ;
33001 wxGBPosition *arg3 = 0 ;
33002 bool result;
33003 wxGBPosition temp3 ;
33004 PyObject * obj0 = 0 ;
33005 PyObject * obj1 = 0 ;
33006 PyObject * obj2 = 0 ;
33007
33008 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33010 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33011 {
33012 arg3 = &temp3;
33013 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33014 }
33015 {
33016 PyThreadState* __tstate = wxPyBeginAllowThreads();
33017 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33018
33019 wxPyEndAllowThreads(__tstate);
33020 if (PyErr_Occurred()) SWIG_fail;
33021 }
33022 resultobj = PyInt_FromLong((long)result);
33023 return resultobj;
33024 fail:
33025 return NULL;
33026 }
33027
33028
33029 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33030 PyObject *resultobj;
33031 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33032 wxSizer *arg2 = (wxSizer *) 0 ;
33033 wxGBPosition *arg3 = 0 ;
33034 bool result;
33035 wxGBPosition temp3 ;
33036 PyObject * obj0 = 0 ;
33037 PyObject * obj1 = 0 ;
33038 PyObject * obj2 = 0 ;
33039
33040 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33043 {
33044 arg3 = &temp3;
33045 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33046 }
33047 {
33048 PyThreadState* __tstate = wxPyBeginAllowThreads();
33049 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33050
33051 wxPyEndAllowThreads(__tstate);
33052 if (PyErr_Occurred()) SWIG_fail;
33053 }
33054 resultobj = PyInt_FromLong((long)result);
33055 return resultobj;
33056 fail:
33057 return NULL;
33058 }
33059
33060
33061 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33062 PyObject *resultobj;
33063 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33064 size_t arg2 ;
33065 wxGBPosition *arg3 = 0 ;
33066 bool result;
33067 wxGBPosition temp3 ;
33068 PyObject * obj0 = 0 ;
33069 PyObject * obj1 = 0 ;
33070 PyObject * obj2 = 0 ;
33071
33072 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33074 arg2 = (size_t) PyInt_AsLong(obj1);
33075 if (PyErr_Occurred()) SWIG_fail;
33076 {
33077 arg3 = &temp3;
33078 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33079 }
33080 {
33081 PyThreadState* __tstate = wxPyBeginAllowThreads();
33082 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33083
33084 wxPyEndAllowThreads(__tstate);
33085 if (PyErr_Occurred()) SWIG_fail;
33086 }
33087 resultobj = PyInt_FromLong((long)result);
33088 return resultobj;
33089 fail:
33090 return NULL;
33091 }
33092
33093
33094 static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
33095 int argc;
33096 PyObject *argv[4];
33097 int ii;
33098
33099 argc = PyObject_Length(args);
33100 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33101 argv[ii] = PyTuple_GetItem(args,ii);
33102 }
33103 if (argc == 3) {
33104 int _v;
33105 {
33106 void *ptr;
33107 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33108 _v = 0;
33109 PyErr_Clear();
33110 } else {
33111 _v = 1;
33112 }
33113 }
33114 if (_v) {
33115 {
33116 void *ptr;
33117 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33118 _v = 0;
33119 PyErr_Clear();
33120 } else {
33121 _v = 1;
33122 }
33123 }
33124 if (_v) {
33125 {
33126 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33127 }
33128 if (_v) {
33129 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
33130 }
33131 }
33132 }
33133 }
33134 if (argc == 3) {
33135 int _v;
33136 {
33137 void *ptr;
33138 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33139 _v = 0;
33140 PyErr_Clear();
33141 } else {
33142 _v = 1;
33143 }
33144 }
33145 if (_v) {
33146 {
33147 void *ptr;
33148 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33149 _v = 0;
33150 PyErr_Clear();
33151 } else {
33152 _v = 1;
33153 }
33154 }
33155 if (_v) {
33156 {
33157 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33158 }
33159 if (_v) {
33160 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
33161 }
33162 }
33163 }
33164 }
33165 if (argc == 3) {
33166 int _v;
33167 {
33168 void *ptr;
33169 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33170 _v = 0;
33171 PyErr_Clear();
33172 } else {
33173 _v = 1;
33174 }
33175 }
33176 if (_v) {
33177 {
33178 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33179 }
33180 if (_v) {
33181 {
33182 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33183 }
33184 if (_v) {
33185 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
33186 }
33187 }
33188 }
33189 }
33190
33191 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33192 return NULL;
33193 }
33194
33195
33196 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33197 PyObject *resultobj;
33198 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33199 wxWindow *arg2 = (wxWindow *) 0 ;
33200 wxGBSpan result;
33201 PyObject * obj0 = 0 ;
33202 PyObject * obj1 = 0 ;
33203
33204 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33207 {
33208 PyThreadState* __tstate = wxPyBeginAllowThreads();
33209 result = (arg1)->GetItemSpan(arg2);
33210
33211 wxPyEndAllowThreads(__tstate);
33212 if (PyErr_Occurred()) SWIG_fail;
33213 }
33214 {
33215 wxGBSpan * resultptr;
33216 resultptr = new wxGBSpan((wxGBSpan &) result);
33217 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33218 }
33219 return resultobj;
33220 fail:
33221 return NULL;
33222 }
33223
33224
33225 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33226 PyObject *resultobj;
33227 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33228 wxSizer *arg2 = (wxSizer *) 0 ;
33229 wxGBSpan result;
33230 PyObject * obj0 = 0 ;
33231 PyObject * obj1 = 0 ;
33232
33233 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33235 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33236 {
33237 PyThreadState* __tstate = wxPyBeginAllowThreads();
33238 result = (arg1)->GetItemSpan(arg2);
33239
33240 wxPyEndAllowThreads(__tstate);
33241 if (PyErr_Occurred()) SWIG_fail;
33242 }
33243 {
33244 wxGBSpan * resultptr;
33245 resultptr = new wxGBSpan((wxGBSpan &) result);
33246 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33247 }
33248 return resultobj;
33249 fail:
33250 return NULL;
33251 }
33252
33253
33254 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33255 PyObject *resultobj;
33256 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33257 size_t arg2 ;
33258 wxGBSpan result;
33259 PyObject * obj0 = 0 ;
33260 PyObject * obj1 = 0 ;
33261
33262 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33264 arg2 = (size_t) PyInt_AsLong(obj1);
33265 if (PyErr_Occurred()) SWIG_fail;
33266 {
33267 PyThreadState* __tstate = wxPyBeginAllowThreads();
33268 result = (arg1)->GetItemSpan(arg2);
33269
33270 wxPyEndAllowThreads(__tstate);
33271 if (PyErr_Occurred()) SWIG_fail;
33272 }
33273 {
33274 wxGBSpan * resultptr;
33275 resultptr = new wxGBSpan((wxGBSpan &) result);
33276 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33277 }
33278 return resultobj;
33279 fail:
33280 return NULL;
33281 }
33282
33283
33284 static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
33285 int argc;
33286 PyObject *argv[3];
33287 int ii;
33288
33289 argc = PyObject_Length(args);
33290 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33291 argv[ii] = PyTuple_GetItem(args,ii);
33292 }
33293 if (argc == 2) {
33294 int _v;
33295 {
33296 void *ptr;
33297 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33298 _v = 0;
33299 PyErr_Clear();
33300 } else {
33301 _v = 1;
33302 }
33303 }
33304 if (_v) {
33305 {
33306 void *ptr;
33307 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33308 _v = 0;
33309 PyErr_Clear();
33310 } else {
33311 _v = 1;
33312 }
33313 }
33314 if (_v) {
33315 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
33316 }
33317 }
33318 }
33319 if (argc == 2) {
33320 int _v;
33321 {
33322 void *ptr;
33323 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33324 _v = 0;
33325 PyErr_Clear();
33326 } else {
33327 _v = 1;
33328 }
33329 }
33330 if (_v) {
33331 {
33332 void *ptr;
33333 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33334 _v = 0;
33335 PyErr_Clear();
33336 } else {
33337 _v = 1;
33338 }
33339 }
33340 if (_v) {
33341 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
33342 }
33343 }
33344 }
33345 if (argc == 2) {
33346 int _v;
33347 {
33348 void *ptr;
33349 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33350 _v = 0;
33351 PyErr_Clear();
33352 } else {
33353 _v = 1;
33354 }
33355 }
33356 if (_v) {
33357 {
33358 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33359 }
33360 if (_v) {
33361 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
33362 }
33363 }
33364 }
33365
33366 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33367 return NULL;
33368 }
33369
33370
33371 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33372 PyObject *resultobj;
33373 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33374 wxWindow *arg2 = (wxWindow *) 0 ;
33375 wxGBSpan *arg3 = 0 ;
33376 bool result;
33377 wxGBSpan temp3 ;
33378 PyObject * obj0 = 0 ;
33379 PyObject * obj1 = 0 ;
33380 PyObject * obj2 = 0 ;
33381
33382 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33385 {
33386 arg3 = &temp3;
33387 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33388 }
33389 {
33390 PyThreadState* __tstate = wxPyBeginAllowThreads();
33391 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33392
33393 wxPyEndAllowThreads(__tstate);
33394 if (PyErr_Occurred()) SWIG_fail;
33395 }
33396 resultobj = PyInt_FromLong((long)result);
33397 return resultobj;
33398 fail:
33399 return NULL;
33400 }
33401
33402
33403 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33404 PyObject *resultobj;
33405 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33406 wxSizer *arg2 = (wxSizer *) 0 ;
33407 wxGBSpan *arg3 = 0 ;
33408 bool result;
33409 wxGBSpan temp3 ;
33410 PyObject * obj0 = 0 ;
33411 PyObject * obj1 = 0 ;
33412 PyObject * obj2 = 0 ;
33413
33414 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33417 {
33418 arg3 = &temp3;
33419 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33420 }
33421 {
33422 PyThreadState* __tstate = wxPyBeginAllowThreads();
33423 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33424
33425 wxPyEndAllowThreads(__tstate);
33426 if (PyErr_Occurred()) SWIG_fail;
33427 }
33428 resultobj = PyInt_FromLong((long)result);
33429 return resultobj;
33430 fail:
33431 return NULL;
33432 }
33433
33434
33435 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33436 PyObject *resultobj;
33437 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33438 size_t arg2 ;
33439 wxGBSpan *arg3 = 0 ;
33440 bool result;
33441 wxGBSpan temp3 ;
33442 PyObject * obj0 = 0 ;
33443 PyObject * obj1 = 0 ;
33444 PyObject * obj2 = 0 ;
33445
33446 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33448 arg2 = (size_t) PyInt_AsLong(obj1);
33449 if (PyErr_Occurred()) SWIG_fail;
33450 {
33451 arg3 = &temp3;
33452 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33453 }
33454 {
33455 PyThreadState* __tstate = wxPyBeginAllowThreads();
33456 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33457
33458 wxPyEndAllowThreads(__tstate);
33459 if (PyErr_Occurred()) SWIG_fail;
33460 }
33461 resultobj = PyInt_FromLong((long)result);
33462 return resultobj;
33463 fail:
33464 return NULL;
33465 }
33466
33467
33468 static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
33469 int argc;
33470 PyObject *argv[4];
33471 int ii;
33472
33473 argc = PyObject_Length(args);
33474 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33475 argv[ii] = PyTuple_GetItem(args,ii);
33476 }
33477 if (argc == 3) {
33478 int _v;
33479 {
33480 void *ptr;
33481 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33482 _v = 0;
33483 PyErr_Clear();
33484 } else {
33485 _v = 1;
33486 }
33487 }
33488 if (_v) {
33489 {
33490 void *ptr;
33491 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33492 _v = 0;
33493 PyErr_Clear();
33494 } else {
33495 _v = 1;
33496 }
33497 }
33498 if (_v) {
33499 {
33500 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33501 }
33502 if (_v) {
33503 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
33504 }
33505 }
33506 }
33507 }
33508 if (argc == 3) {
33509 int _v;
33510 {
33511 void *ptr;
33512 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33513 _v = 0;
33514 PyErr_Clear();
33515 } else {
33516 _v = 1;
33517 }
33518 }
33519 if (_v) {
33520 {
33521 void *ptr;
33522 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33523 _v = 0;
33524 PyErr_Clear();
33525 } else {
33526 _v = 1;
33527 }
33528 }
33529 if (_v) {
33530 {
33531 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33532 }
33533 if (_v) {
33534 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
33535 }
33536 }
33537 }
33538 }
33539 if (argc == 3) {
33540 int _v;
33541 {
33542 void *ptr;
33543 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33544 _v = 0;
33545 PyErr_Clear();
33546 } else {
33547 _v = 1;
33548 }
33549 }
33550 if (_v) {
33551 {
33552 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33553 }
33554 if (_v) {
33555 {
33556 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33557 }
33558 if (_v) {
33559 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
33560 }
33561 }
33562 }
33563 }
33564
33565 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
33566 return NULL;
33567 }
33568
33569
33570 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
33571 PyObject *resultobj;
33572 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33573 wxWindow *arg2 = (wxWindow *) 0 ;
33574 wxGBSizerItem *result;
33575 PyObject * obj0 = 0 ;
33576 PyObject * obj1 = 0 ;
33577
33578 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
33579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33581 {
33582 PyThreadState* __tstate = wxPyBeginAllowThreads();
33583 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
33584
33585 wxPyEndAllowThreads(__tstate);
33586 if (PyErr_Occurred()) SWIG_fail;
33587 }
33588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33589 return resultobj;
33590 fail:
33591 return NULL;
33592 }
33593
33594
33595 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
33596 PyObject *resultobj;
33597 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33598 wxSizer *arg2 = (wxSizer *) 0 ;
33599 wxGBSizerItem *result;
33600 PyObject * obj0 = 0 ;
33601 PyObject * obj1 = 0 ;
33602
33603 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
33604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33606 {
33607 PyThreadState* __tstate = wxPyBeginAllowThreads();
33608 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
33609
33610 wxPyEndAllowThreads(__tstate);
33611 if (PyErr_Occurred()) SWIG_fail;
33612 }
33613 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33614 return resultobj;
33615 fail:
33616 return NULL;
33617 }
33618
33619
33620 static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
33621 int argc;
33622 PyObject *argv[3];
33623 int ii;
33624
33625 argc = PyObject_Length(args);
33626 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33627 argv[ii] = PyTuple_GetItem(args,ii);
33628 }
33629 if (argc == 2) {
33630 int _v;
33631 {
33632 void *ptr;
33633 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33634 _v = 0;
33635 PyErr_Clear();
33636 } else {
33637 _v = 1;
33638 }
33639 }
33640 if (_v) {
33641 {
33642 void *ptr;
33643 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33644 _v = 0;
33645 PyErr_Clear();
33646 } else {
33647 _v = 1;
33648 }
33649 }
33650 if (_v) {
33651 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
33652 }
33653 }
33654 }
33655 if (argc == 2) {
33656 int _v;
33657 {
33658 void *ptr;
33659 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33660 _v = 0;
33661 PyErr_Clear();
33662 } else {
33663 _v = 1;
33664 }
33665 }
33666 if (_v) {
33667 {
33668 void *ptr;
33669 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33670 _v = 0;
33671 PyErr_Clear();
33672 } else {
33673 _v = 1;
33674 }
33675 }
33676 if (_v) {
33677 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
33678 }
33679 }
33680 }
33681
33682 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
33683 return NULL;
33684 }
33685
33686
33687 static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
33688 PyObject *resultobj;
33689 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33690 wxGBPosition *arg2 = 0 ;
33691 wxGBSizerItem *result;
33692 wxGBPosition temp2 ;
33693 PyObject * obj0 = 0 ;
33694 PyObject * obj1 = 0 ;
33695 char *kwnames[] = {
33696 (char *) "self",(char *) "pos", NULL
33697 };
33698
33699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
33700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33701 {
33702 arg2 = &temp2;
33703 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33704 }
33705 {
33706 PyThreadState* __tstate = wxPyBeginAllowThreads();
33707 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
33708
33709 wxPyEndAllowThreads(__tstate);
33710 if (PyErr_Occurred()) SWIG_fail;
33711 }
33712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33713 return resultobj;
33714 fail:
33715 return NULL;
33716 }
33717
33718
33719 static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
33720 PyObject *resultobj;
33721 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33722 wxPoint *arg2 = 0 ;
33723 wxGBSizerItem *result;
33724 wxPoint temp2 ;
33725 PyObject * obj0 = 0 ;
33726 PyObject * obj1 = 0 ;
33727 char *kwnames[] = {
33728 (char *) "self",(char *) "pt", NULL
33729 };
33730
33731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
33732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33733 {
33734 arg2 = &temp2;
33735 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33736 }
33737 {
33738 PyThreadState* __tstate = wxPyBeginAllowThreads();
33739 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
33740
33741 wxPyEndAllowThreads(__tstate);
33742 if (PyErr_Occurred()) SWIG_fail;
33743 }
33744 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33745 return resultobj;
33746 fail:
33747 return NULL;
33748 }
33749
33750
33751 static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
33752 PyObject *resultobj;
33753 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33754 wxObject *arg2 = (wxObject *) 0 ;
33755 wxGBSizerItem *result;
33756 PyObject * obj0 = 0 ;
33757 PyObject * obj1 = 0 ;
33758 char *kwnames[] = {
33759 (char *) "self",(char *) "userData", NULL
33760 };
33761
33762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
33763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33765 {
33766 PyThreadState* __tstate = wxPyBeginAllowThreads();
33767 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
33768
33769 wxPyEndAllowThreads(__tstate);
33770 if (PyErr_Occurred()) SWIG_fail;
33771 }
33772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33773 return resultobj;
33774 fail:
33775 return NULL;
33776 }
33777
33778
33779 static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
33780 PyObject *resultobj;
33781 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33782 PyObject * obj0 = 0 ;
33783 char *kwnames[] = {
33784 (char *) "self", NULL
33785 };
33786
33787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
33788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33789 {
33790 PyThreadState* __tstate = wxPyBeginAllowThreads();
33791 (arg1)->RecalcSizes();
33792
33793 wxPyEndAllowThreads(__tstate);
33794 if (PyErr_Occurred()) SWIG_fail;
33795 }
33796 Py_INCREF(Py_None); resultobj = Py_None;
33797 return resultobj;
33798 fail:
33799 return NULL;
33800 }
33801
33802
33803 static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
33804 PyObject *resultobj;
33805 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33806 wxSize result;
33807 PyObject * obj0 = 0 ;
33808 char *kwnames[] = {
33809 (char *) "self", NULL
33810 };
33811
33812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
33813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33814 {
33815 PyThreadState* __tstate = wxPyBeginAllowThreads();
33816 result = (arg1)->CalcMin();
33817
33818 wxPyEndAllowThreads(__tstate);
33819 if (PyErr_Occurred()) SWIG_fail;
33820 }
33821 {
33822 wxSize * resultptr;
33823 resultptr = new wxSize((wxSize &) result);
33824 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33825 }
33826 return resultobj;
33827 fail:
33828 return NULL;
33829 }
33830
33831
33832 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
33833 PyObject *resultobj;
33834 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33835 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
33836 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
33837 bool result;
33838 PyObject * obj0 = 0 ;
33839 PyObject * obj1 = 0 ;
33840 PyObject * obj2 = 0 ;
33841
33842 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
33843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33845 if (obj2) {
33846 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33847 }
33848 {
33849 PyThreadState* __tstate = wxPyBeginAllowThreads();
33850 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
33851
33852 wxPyEndAllowThreads(__tstate);
33853 if (PyErr_Occurred()) SWIG_fail;
33854 }
33855 resultobj = PyInt_FromLong((long)result);
33856 return resultobj;
33857 fail:
33858 return NULL;
33859 }
33860
33861
33862 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
33863 PyObject *resultobj;
33864 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33865 wxGBPosition *arg2 = 0 ;
33866 wxGBSpan *arg3 = 0 ;
33867 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
33868 bool result;
33869 wxGBPosition temp2 ;
33870 wxGBSpan temp3 ;
33871 PyObject * obj0 = 0 ;
33872 PyObject * obj1 = 0 ;
33873 PyObject * obj2 = 0 ;
33874 PyObject * obj3 = 0 ;
33875
33876 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
33877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33878 {
33879 arg2 = &temp2;
33880 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33881 }
33882 {
33883 arg3 = &temp3;
33884 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33885 }
33886 if (obj3) {
33887 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33888 }
33889 {
33890 PyThreadState* __tstate = wxPyBeginAllowThreads();
33891 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
33892
33893 wxPyEndAllowThreads(__tstate);
33894 if (PyErr_Occurred()) SWIG_fail;
33895 }
33896 resultobj = PyInt_FromLong((long)result);
33897 return resultobj;
33898 fail:
33899 return NULL;
33900 }
33901
33902
33903 static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
33904 int argc;
33905 PyObject *argv[5];
33906 int ii;
33907
33908 argc = PyObject_Length(args);
33909 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
33910 argv[ii] = PyTuple_GetItem(args,ii);
33911 }
33912 if ((argc >= 2) && (argc <= 3)) {
33913 int _v;
33914 {
33915 void *ptr;
33916 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33917 _v = 0;
33918 PyErr_Clear();
33919 } else {
33920 _v = 1;
33921 }
33922 }
33923 if (_v) {
33924 {
33925 void *ptr;
33926 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33927 _v = 0;
33928 PyErr_Clear();
33929 } else {
33930 _v = 1;
33931 }
33932 }
33933 if (_v) {
33934 if (argc <= 2) {
33935 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
33936 }
33937 {
33938 void *ptr;
33939 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33940 _v = 0;
33941 PyErr_Clear();
33942 } else {
33943 _v = 1;
33944 }
33945 }
33946 if (_v) {
33947 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
33948 }
33949 }
33950 }
33951 }
33952 if ((argc >= 3) && (argc <= 4)) {
33953 int _v;
33954 {
33955 void *ptr;
33956 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33957 _v = 0;
33958 PyErr_Clear();
33959 } else {
33960 _v = 1;
33961 }
33962 }
33963 if (_v) {
33964 {
33965 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
33966 }
33967 if (_v) {
33968 {
33969 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33970 }
33971 if (_v) {
33972 if (argc <= 3) {
33973 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
33974 }
33975 {
33976 void *ptr;
33977 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33978 _v = 0;
33979 PyErr_Clear();
33980 } else {
33981 _v = 1;
33982 }
33983 }
33984 if (_v) {
33985 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
33986 }
33987 }
33988 }
33989 }
33990 }
33991
33992 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
33993 return NULL;
33994 }
33995
33996
33997 static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
33998 PyObject *obj;
33999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34000 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
34001 Py_INCREF(obj);
34002 return Py_BuildValue((char *)"");
34003 }
34004 static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
34005 PyObject *resultobj;
34006 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34007 int arg2 ;
34008 wxWindow *arg3 = (wxWindow *) 0 ;
34009 int arg4 ;
34010 int arg5 = (int) 0 ;
34011 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
34012 PyObject * obj0 = 0 ;
34013 PyObject * obj2 = 0 ;
34014 char *kwnames[] = {
34015 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34016 };
34017
34018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6)) goto fail;
34019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34020 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34021 {
34022 PyThreadState* __tstate = wxPyBeginAllowThreads();
34023 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
34024
34025 wxPyEndAllowThreads(__tstate);
34026 if (PyErr_Occurred()) SWIG_fail;
34027 }
34028 Py_INCREF(Py_None); resultobj = Py_None;
34029 return resultobj;
34030 fail:
34031 return NULL;
34032 }
34033
34034
34035 static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34036 PyObject *resultobj;
34037 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34038 wxWindow *arg2 = (wxWindow *) 0 ;
34039 int arg3 = (int) 0 ;
34040 PyObject * obj0 = 0 ;
34041 PyObject * obj1 = 0 ;
34042 char *kwnames[] = {
34043 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34044 };
34045
34046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34049 {
34050 PyThreadState* __tstate = wxPyBeginAllowThreads();
34051 (arg1)->LeftOf(arg2,arg3);
34052
34053 wxPyEndAllowThreads(__tstate);
34054 if (PyErr_Occurred()) SWIG_fail;
34055 }
34056 Py_INCREF(Py_None); resultobj = Py_None;
34057 return resultobj;
34058 fail:
34059 return NULL;
34060 }
34061
34062
34063 static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34064 PyObject *resultobj;
34065 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34066 wxWindow *arg2 = (wxWindow *) 0 ;
34067 int arg3 = (int) 0 ;
34068 PyObject * obj0 = 0 ;
34069 PyObject * obj1 = 0 ;
34070 char *kwnames[] = {
34071 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34072 };
34073
34074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34077 {
34078 PyThreadState* __tstate = wxPyBeginAllowThreads();
34079 (arg1)->RightOf(arg2,arg3);
34080
34081 wxPyEndAllowThreads(__tstate);
34082 if (PyErr_Occurred()) SWIG_fail;
34083 }
34084 Py_INCREF(Py_None); resultobj = Py_None;
34085 return resultobj;
34086 fail:
34087 return NULL;
34088 }
34089
34090
34091 static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
34092 PyObject *resultobj;
34093 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34094 wxWindow *arg2 = (wxWindow *) 0 ;
34095 int arg3 = (int) 0 ;
34096 PyObject * obj0 = 0 ;
34097 PyObject * obj1 = 0 ;
34098 char *kwnames[] = {
34099 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34100 };
34101
34102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&arg3)) goto fail;
34103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34105 {
34106 PyThreadState* __tstate = wxPyBeginAllowThreads();
34107 (arg1)->Above(arg2,arg3);
34108
34109 wxPyEndAllowThreads(__tstate);
34110 if (PyErr_Occurred()) SWIG_fail;
34111 }
34112 Py_INCREF(Py_None); resultobj = Py_None;
34113 return resultobj;
34114 fail:
34115 return NULL;
34116 }
34117
34118
34119 static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
34120 PyObject *resultobj;
34121 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34122 wxWindow *arg2 = (wxWindow *) 0 ;
34123 int arg3 = (int) 0 ;
34124 PyObject * obj0 = 0 ;
34125 PyObject * obj1 = 0 ;
34126 char *kwnames[] = {
34127 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34128 };
34129
34130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&arg3)) goto fail;
34131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34132 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34133 {
34134 PyThreadState* __tstate = wxPyBeginAllowThreads();
34135 (arg1)->Below(arg2,arg3);
34136
34137 wxPyEndAllowThreads(__tstate);
34138 if (PyErr_Occurred()) SWIG_fail;
34139 }
34140 Py_INCREF(Py_None); resultobj = Py_None;
34141 return resultobj;
34142 fail:
34143 return NULL;
34144 }
34145
34146
34147 static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
34148 PyObject *resultobj;
34149 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34150 wxWindow *arg2 = (wxWindow *) 0 ;
34151 int arg3 ;
34152 int arg4 = (int) 0 ;
34153 PyObject * obj0 = 0 ;
34154 PyObject * obj1 = 0 ;
34155 char *kwnames[] = {
34156 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34157 };
34158
34159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34162 {
34163 PyThreadState* __tstate = wxPyBeginAllowThreads();
34164 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
34165
34166 wxPyEndAllowThreads(__tstate);
34167 if (PyErr_Occurred()) SWIG_fail;
34168 }
34169 Py_INCREF(Py_None); resultobj = Py_None;
34170 return resultobj;
34171 fail:
34172 return NULL;
34173 }
34174
34175
34176 static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34177 PyObject *resultobj;
34178 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34179 wxWindow *arg2 = (wxWindow *) 0 ;
34180 int arg3 ;
34181 int arg4 ;
34182 PyObject * obj0 = 0 ;
34183 PyObject * obj1 = 0 ;
34184 char *kwnames[] = {
34185 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34186 };
34187
34188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34191 {
34192 PyThreadState* __tstate = wxPyBeginAllowThreads();
34193 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
34194
34195 wxPyEndAllowThreads(__tstate);
34196 if (PyErr_Occurred()) SWIG_fail;
34197 }
34198 Py_INCREF(Py_None); resultobj = Py_None;
34199 return resultobj;
34200 fail:
34201 return NULL;
34202 }
34203
34204
34205 static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
34206 PyObject *resultobj;
34207 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34208 int arg2 ;
34209 PyObject * obj0 = 0 ;
34210 char *kwnames[] = {
34211 (char *) "self",(char *) "val", NULL
34212 };
34213
34214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&arg2)) goto fail;
34215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34216 {
34217 PyThreadState* __tstate = wxPyBeginAllowThreads();
34218 (arg1)->Absolute(arg2);
34219
34220 wxPyEndAllowThreads(__tstate);
34221 if (PyErr_Occurred()) SWIG_fail;
34222 }
34223 Py_INCREF(Py_None); resultobj = Py_None;
34224 return resultobj;
34225 fail:
34226 return NULL;
34227 }
34228
34229
34230 static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
34231 PyObject *resultobj;
34232 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34233 PyObject * obj0 = 0 ;
34234 char *kwnames[] = {
34235 (char *) "self", NULL
34236 };
34237
34238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
34239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34240 {
34241 PyThreadState* __tstate = wxPyBeginAllowThreads();
34242 (arg1)->Unconstrained();
34243
34244 wxPyEndAllowThreads(__tstate);
34245 if (PyErr_Occurred()) SWIG_fail;
34246 }
34247 Py_INCREF(Py_None); resultobj = Py_None;
34248 return resultobj;
34249 fail:
34250 return NULL;
34251 }
34252
34253
34254 static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
34255 PyObject *resultobj;
34256 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34257 PyObject * obj0 = 0 ;
34258 char *kwnames[] = {
34259 (char *) "self", NULL
34260 };
34261
34262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
34263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34264 {
34265 PyThreadState* __tstate = wxPyBeginAllowThreads();
34266 (arg1)->AsIs();
34267
34268 wxPyEndAllowThreads(__tstate);
34269 if (PyErr_Occurred()) SWIG_fail;
34270 }
34271 Py_INCREF(Py_None); resultobj = Py_None;
34272 return resultobj;
34273 fail:
34274 return NULL;
34275 }
34276
34277
34278 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34279 PyObject *resultobj;
34280 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34281 wxWindow *result;
34282 PyObject * obj0 = 0 ;
34283 char *kwnames[] = {
34284 (char *) "self", NULL
34285 };
34286
34287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
34288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34289 {
34290 PyThreadState* __tstate = wxPyBeginAllowThreads();
34291 result = (wxWindow *)(arg1)->GetOtherWindow();
34292
34293 wxPyEndAllowThreads(__tstate);
34294 if (PyErr_Occurred()) SWIG_fail;
34295 }
34296 {
34297 resultobj = wxPyMake_wxObject(result);
34298 }
34299 return resultobj;
34300 fail:
34301 return NULL;
34302 }
34303
34304
34305 static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34306 PyObject *resultobj;
34307 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34308 int result;
34309 PyObject * obj0 = 0 ;
34310 char *kwnames[] = {
34311 (char *) "self", NULL
34312 };
34313
34314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
34315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34316 {
34317 PyThreadState* __tstate = wxPyBeginAllowThreads();
34318 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
34319
34320 wxPyEndAllowThreads(__tstate);
34321 if (PyErr_Occurred()) SWIG_fail;
34322 }
34323 resultobj = PyInt_FromLong((long)result);
34324 return resultobj;
34325 fail:
34326 return NULL;
34327 }
34328
34329
34330 static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34331 PyObject *resultobj;
34332 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34333 int arg2 ;
34334 PyObject * obj0 = 0 ;
34335 char *kwnames[] = {
34336 (char *) "self",(char *) "which", NULL
34337 };
34338
34339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&arg2)) goto fail;
34340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34341 {
34342 PyThreadState* __tstate = wxPyBeginAllowThreads();
34343 (arg1)->SetEdge((wxEdge )arg2);
34344
34345 wxPyEndAllowThreads(__tstate);
34346 if (PyErr_Occurred()) SWIG_fail;
34347 }
34348 Py_INCREF(Py_None); resultobj = Py_None;
34349 return resultobj;
34350 fail:
34351 return NULL;
34352 }
34353
34354
34355 static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34356 PyObject *resultobj;
34357 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34358 int arg2 ;
34359 PyObject * obj0 = 0 ;
34360 char *kwnames[] = {
34361 (char *) "self",(char *) "v", NULL
34362 };
34363
34364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&arg2)) goto fail;
34365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34366 {
34367 PyThreadState* __tstate = wxPyBeginAllowThreads();
34368 (arg1)->SetValue(arg2);
34369
34370 wxPyEndAllowThreads(__tstate);
34371 if (PyErr_Occurred()) SWIG_fail;
34372 }
34373 Py_INCREF(Py_None); resultobj = Py_None;
34374 return resultobj;
34375 fail:
34376 return NULL;
34377 }
34378
34379
34380 static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34381 PyObject *resultobj;
34382 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34383 int result;
34384 PyObject * obj0 = 0 ;
34385 char *kwnames[] = {
34386 (char *) "self", NULL
34387 };
34388
34389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
34390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34391 {
34392 PyThreadState* __tstate = wxPyBeginAllowThreads();
34393 result = (int)(arg1)->GetMargin();
34394
34395 wxPyEndAllowThreads(__tstate);
34396 if (PyErr_Occurred()) SWIG_fail;
34397 }
34398 resultobj = PyInt_FromLong((long)result);
34399 return resultobj;
34400 fail:
34401 return NULL;
34402 }
34403
34404
34405 static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34406 PyObject *resultobj;
34407 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34408 int arg2 ;
34409 PyObject * obj0 = 0 ;
34410 char *kwnames[] = {
34411 (char *) "self",(char *) "m", NULL
34412 };
34413
34414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&arg2)) goto fail;
34415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34416 {
34417 PyThreadState* __tstate = wxPyBeginAllowThreads();
34418 (arg1)->SetMargin(arg2);
34419
34420 wxPyEndAllowThreads(__tstate);
34421 if (PyErr_Occurred()) SWIG_fail;
34422 }
34423 Py_INCREF(Py_None); resultobj = Py_None;
34424 return resultobj;
34425 fail:
34426 return NULL;
34427 }
34428
34429
34430 static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34431 PyObject *resultobj;
34432 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34433 int result;
34434 PyObject * obj0 = 0 ;
34435 char *kwnames[] = {
34436 (char *) "self", NULL
34437 };
34438
34439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
34440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34441 {
34442 PyThreadState* __tstate = wxPyBeginAllowThreads();
34443 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
34444
34445 wxPyEndAllowThreads(__tstate);
34446 if (PyErr_Occurred()) SWIG_fail;
34447 }
34448 resultobj = PyInt_FromLong((long)result);
34449 return resultobj;
34450 fail:
34451 return NULL;
34452 }
34453
34454
34455 static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
34456 PyObject *resultobj;
34457 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34458 int result;
34459 PyObject * obj0 = 0 ;
34460 char *kwnames[] = {
34461 (char *) "self", NULL
34462 };
34463
34464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
34465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34466 {
34467 PyThreadState* __tstate = wxPyBeginAllowThreads();
34468 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
34469
34470 wxPyEndAllowThreads(__tstate);
34471 if (PyErr_Occurred()) SWIG_fail;
34472 }
34473 resultobj = PyInt_FromLong((long)result);
34474 return resultobj;
34475 fail:
34476 return NULL;
34477 }
34478
34479
34480 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34481 PyObject *resultobj;
34482 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34483 int result;
34484 PyObject * obj0 = 0 ;
34485 char *kwnames[] = {
34486 (char *) "self", NULL
34487 };
34488
34489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
34490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34491 {
34492 PyThreadState* __tstate = wxPyBeginAllowThreads();
34493 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
34494
34495 wxPyEndAllowThreads(__tstate);
34496 if (PyErr_Occurred()) SWIG_fail;
34497 }
34498 resultobj = PyInt_FromLong((long)result);
34499 return resultobj;
34500 fail:
34501 return NULL;
34502 }
34503
34504
34505 static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34506 PyObject *resultobj;
34507 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34508 bool result;
34509 PyObject * obj0 = 0 ;
34510 char *kwnames[] = {
34511 (char *) "self", NULL
34512 };
34513
34514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
34515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34516 {
34517 PyThreadState* __tstate = wxPyBeginAllowThreads();
34518 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
34519
34520 wxPyEndAllowThreads(__tstate);
34521 if (PyErr_Occurred()) SWIG_fail;
34522 }
34523 resultobj = PyInt_FromLong((long)result);
34524 return resultobj;
34525 fail:
34526 return NULL;
34527 }
34528
34529
34530 static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34531 PyObject *resultobj;
34532 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34533 bool arg2 ;
34534 PyObject * obj0 = 0 ;
34535 PyObject * obj1 = 0 ;
34536 char *kwnames[] = {
34537 (char *) "self",(char *) "d", NULL
34538 };
34539
34540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
34541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34542 arg2 = PyInt_AsLong(obj1) ? true : false;
34543 if (PyErr_Occurred()) SWIG_fail;
34544 {
34545 PyThreadState* __tstate = wxPyBeginAllowThreads();
34546 (arg1)->SetDone(arg2);
34547
34548 wxPyEndAllowThreads(__tstate);
34549 if (PyErr_Occurred()) SWIG_fail;
34550 }
34551 Py_INCREF(Py_None); resultobj = Py_None;
34552 return resultobj;
34553 fail:
34554 return NULL;
34555 }
34556
34557
34558 static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
34559 PyObject *resultobj;
34560 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34561 int result;
34562 PyObject * obj0 = 0 ;
34563 char *kwnames[] = {
34564 (char *) "self", NULL
34565 };
34566
34567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
34568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34569 {
34570 PyThreadState* __tstate = wxPyBeginAllowThreads();
34571 result = (int)(arg1)->GetRelationship();
34572
34573 wxPyEndAllowThreads(__tstate);
34574 if (PyErr_Occurred()) SWIG_fail;
34575 }
34576 resultobj = PyInt_FromLong((long)result);
34577 return resultobj;
34578 fail:
34579 return NULL;
34580 }
34581
34582
34583 static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
34584 PyObject *resultobj;
34585 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34586 int arg2 ;
34587 PyObject * obj0 = 0 ;
34588 char *kwnames[] = {
34589 (char *) "self",(char *) "r", NULL
34590 };
34591
34592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&arg2)) goto fail;
34593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34594 {
34595 PyThreadState* __tstate = wxPyBeginAllowThreads();
34596 (arg1)->SetRelationship((wxRelationship )arg2);
34597
34598 wxPyEndAllowThreads(__tstate);
34599 if (PyErr_Occurred()) SWIG_fail;
34600 }
34601 Py_INCREF(Py_None); resultobj = Py_None;
34602 return resultobj;
34603 fail:
34604 return NULL;
34605 }
34606
34607
34608 static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
34609 PyObject *resultobj;
34610 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34611 wxWindow *arg2 = (wxWindow *) 0 ;
34612 bool result;
34613 PyObject * obj0 = 0 ;
34614 PyObject * obj1 = 0 ;
34615 char *kwnames[] = {
34616 (char *) "self",(char *) "otherW", NULL
34617 };
34618
34619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
34620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34621 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34622 {
34623 PyThreadState* __tstate = wxPyBeginAllowThreads();
34624 result = (bool)(arg1)->ResetIfWin(arg2);
34625
34626 wxPyEndAllowThreads(__tstate);
34627 if (PyErr_Occurred()) SWIG_fail;
34628 }
34629 resultobj = PyInt_FromLong((long)result);
34630 return resultobj;
34631 fail:
34632 return NULL;
34633 }
34634
34635
34636 static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
34637 PyObject *resultobj;
34638 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34639 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
34640 wxWindow *arg3 = (wxWindow *) 0 ;
34641 bool result;
34642 PyObject * obj0 = 0 ;
34643 PyObject * obj1 = 0 ;
34644 PyObject * obj2 = 0 ;
34645 char *kwnames[] = {
34646 (char *) "self",(char *) "constraints",(char *) "win", NULL
34647 };
34648
34649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
34650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34652 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34653 {
34654 PyThreadState* __tstate = wxPyBeginAllowThreads();
34655 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
34656
34657 wxPyEndAllowThreads(__tstate);
34658 if (PyErr_Occurred()) SWIG_fail;
34659 }
34660 resultobj = PyInt_FromLong((long)result);
34661 return resultobj;
34662 fail:
34663 return NULL;
34664 }
34665
34666
34667 static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34668 PyObject *resultobj;
34669 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34670 int arg2 ;
34671 wxWindow *arg3 = (wxWindow *) 0 ;
34672 wxWindow *arg4 = (wxWindow *) 0 ;
34673 int result;
34674 PyObject * obj0 = 0 ;
34675 PyObject * obj2 = 0 ;
34676 PyObject * obj3 = 0 ;
34677 char *kwnames[] = {
34678 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
34679 };
34680
34681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
34682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34683 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34684 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34685 {
34686 PyThreadState* __tstate = wxPyBeginAllowThreads();
34687 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
34688
34689 wxPyEndAllowThreads(__tstate);
34690 if (PyErr_Occurred()) SWIG_fail;
34691 }
34692 resultobj = PyInt_FromLong((long)result);
34693 return resultobj;
34694 fail:
34695 return NULL;
34696 }
34697
34698
34699 static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
34700 PyObject *obj;
34701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34702 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
34703 Py_INCREF(obj);
34704 return Py_BuildValue((char *)"");
34705 }
34706 static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34707 PyObject *resultobj;
34708 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34709 wxIndividualLayoutConstraint *result;
34710 PyObject * obj0 = 0 ;
34711 char *kwnames[] = {
34712 (char *) "self", NULL
34713 };
34714
34715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
34716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34717 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
34718
34719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34720 return resultobj;
34721 fail:
34722 return NULL;
34723 }
34724
34725
34726 static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34727 PyObject *resultobj;
34728 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34729 wxIndividualLayoutConstraint *result;
34730 PyObject * obj0 = 0 ;
34731 char *kwnames[] = {
34732 (char *) "self", NULL
34733 };
34734
34735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
34736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34737 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
34738
34739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34740 return resultobj;
34741 fail:
34742 return NULL;
34743 }
34744
34745
34746 static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34747 PyObject *resultobj;
34748 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34749 wxIndividualLayoutConstraint *result;
34750 PyObject * obj0 = 0 ;
34751 char *kwnames[] = {
34752 (char *) "self", NULL
34753 };
34754
34755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
34756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34757 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
34758
34759 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34760 return resultobj;
34761 fail:
34762 return NULL;
34763 }
34764
34765
34766 static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34767 PyObject *resultobj;
34768 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34769 wxIndividualLayoutConstraint *result;
34770 PyObject * obj0 = 0 ;
34771 char *kwnames[] = {
34772 (char *) "self", NULL
34773 };
34774
34775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
34776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34777 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
34778
34779 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34780 return resultobj;
34781 fail:
34782 return NULL;
34783 }
34784
34785
34786 static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34787 PyObject *resultobj;
34788 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34789 wxIndividualLayoutConstraint *result;
34790 PyObject * obj0 = 0 ;
34791 char *kwnames[] = {
34792 (char *) "self", NULL
34793 };
34794
34795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
34796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34797 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
34798
34799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34800 return resultobj;
34801 fail:
34802 return NULL;
34803 }
34804
34805
34806 static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34807 PyObject *resultobj;
34808 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34809 wxIndividualLayoutConstraint *result;
34810 PyObject * obj0 = 0 ;
34811 char *kwnames[] = {
34812 (char *) "self", NULL
34813 };
34814
34815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
34816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34817 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
34818
34819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34820 return resultobj;
34821 fail:
34822 return NULL;
34823 }
34824
34825
34826 static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34827 PyObject *resultobj;
34828 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34829 wxIndividualLayoutConstraint *result;
34830 PyObject * obj0 = 0 ;
34831 char *kwnames[] = {
34832 (char *) "self", NULL
34833 };
34834
34835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
34836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34837 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
34838
34839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34840 return resultobj;
34841 fail:
34842 return NULL;
34843 }
34844
34845
34846 static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34847 PyObject *resultobj;
34848 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34849 wxIndividualLayoutConstraint *result;
34850 PyObject * obj0 = 0 ;
34851 char *kwnames[] = {
34852 (char *) "self", NULL
34853 };
34854
34855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
34856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34857 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
34858
34859 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34860 return resultobj;
34861 fail:
34862 return NULL;
34863 }
34864
34865
34866 static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
34867 PyObject *resultobj;
34868 wxLayoutConstraints *result;
34869 char *kwnames[] = {
34870 NULL
34871 };
34872
34873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
34874 {
34875 PyThreadState* __tstate = wxPyBeginAllowThreads();
34876 result = (wxLayoutConstraints *)new wxLayoutConstraints();
34877
34878 wxPyEndAllowThreads(__tstate);
34879 if (PyErr_Occurred()) SWIG_fail;
34880 }
34881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 1);
34882 return resultobj;
34883 fail:
34884 return NULL;
34885 }
34886
34887
34888 static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
34889 PyObject *resultobj;
34890 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34891 wxWindow *arg2 = (wxWindow *) 0 ;
34892 int *arg3 = (int *) 0 ;
34893 bool result;
34894 int temp3 ;
34895 PyObject * obj0 = 0 ;
34896 PyObject * obj1 = 0 ;
34897 char *kwnames[] = {
34898 (char *) "self",(char *) "win", NULL
34899 };
34900
34901 arg3 = &temp3;
34902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
34903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34905 {
34906 PyThreadState* __tstate = wxPyBeginAllowThreads();
34907 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
34908
34909 wxPyEndAllowThreads(__tstate);
34910 if (PyErr_Occurred()) SWIG_fail;
34911 }
34912 resultobj = PyInt_FromLong((long)result);
34913 {
34914 PyObject *o = PyInt_FromLong((long) (*arg3));
34915 resultobj = t_output_helper(resultobj,o);
34916 }
34917 return resultobj;
34918 fail:
34919 return NULL;
34920 }
34921
34922
34923 static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
34924 PyObject *resultobj;
34925 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34926 bool result;
34927 PyObject * obj0 = 0 ;
34928 char *kwnames[] = {
34929 (char *) "self", NULL
34930 };
34931
34932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
34933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34934 {
34935 PyThreadState* __tstate = wxPyBeginAllowThreads();
34936 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
34937
34938 wxPyEndAllowThreads(__tstate);
34939 if (PyErr_Occurred()) SWIG_fail;
34940 }
34941 resultobj = PyInt_FromLong((long)result);
34942 return resultobj;
34943 fail:
34944 return NULL;
34945 }
34946
34947
34948 static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
34949 PyObject *obj;
34950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34951 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
34952 Py_INCREF(obj);
34953 return Py_BuildValue((char *)"");
34954 }
34955 static PyMethodDef SwigMethods[] = {
34956 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
34957 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
34958 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
34959 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
34960 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
34961 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
34962 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
34963 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
34964 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
34965 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
34966 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
34967 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
34968 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
34969 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
34970 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
34971 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
34972 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
34973 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
34974 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
34975 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
34976 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
34977 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
34978 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
34979 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
34980 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
34981 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
34982 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
34983 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
34984 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
34985 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
34986 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
34987 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
34988 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
34989 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
34990 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
34991 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
34992 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
34993 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
34994 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
34995 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
34996 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
34997 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
34998 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
34999 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
35000 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
35001 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
35002 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
35003 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
35004 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
35005 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
35006 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
35007 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
35008 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
35009 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
35010 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
35011 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
35012 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
35013 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
35014 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
35015 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
35016 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
35017 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
35018 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
35019 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
35020 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
35021 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
35022 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
35023 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
35024 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
35025 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
35026 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
35027 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
35028 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
35029 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
35030 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
35031 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
35032 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
35033 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
35034 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
35035 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
35036 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
35037 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
35038 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
35039 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
35040 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
35041 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
35042 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
35043 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
35044 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
35045 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
35046 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
35047 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
35048 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
35049 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
35050 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
35051 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
35052 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
35053 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
35054 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
35055 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
35056 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
35057 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
35058 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
35059 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
35060 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
35061 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35062 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
35063 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35064 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
35065 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
35066 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
35067 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
35068 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
35069 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
35070 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
35071 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
35072 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
35073 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
35074 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
35075 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
35076 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
35077 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
35078 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
35079 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
35080 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
35081 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
35082 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
35083 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
35084 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
35085 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
35086 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
35087 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
35088 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
35089 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
35090 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
35091 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
35092 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
35093 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
35094 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
35095 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
35096 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
35097 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
35098 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
35099 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
35100 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
35101 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
35102 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
35103 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
35104 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
35105 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35106 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
35107 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35108 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
35109 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
35110 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
35111 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
35112 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35113 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35114 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35115 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35116 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35117 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
35118 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
35119 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35120 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
35121 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
35122 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
35123 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
35124 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
35125 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
35126 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
35127 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
35128 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
35129 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
35130 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
35131 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
35132 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
35133 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
35134 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
35135 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
35136 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35137 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35138 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
35139 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
35140 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35141 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35142 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35143 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35144 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
35145 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
35146 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
35147 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
35148 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
35149 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
35150 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35151 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35152 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35153 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35154 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
35155 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
35156 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
35157 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
35158 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35159 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
35160 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
35161 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
35162 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
35163 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
35164 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
35165 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
35166 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
35167 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35168 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
35169 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
35170 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
35171 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
35172 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
35173 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
35174 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
35175 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
35176 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
35177 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
35178 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
35179 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
35180 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
35181 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
35182 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
35183 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
35184 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
35185 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
35186 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
35187 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
35188 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
35189 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35190 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
35191 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
35192 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
35193 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
35194 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
35195 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
35196 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
35197 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
35198 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
35199 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
35200 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
35201 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
35202 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
35203 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
35204 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
35205 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
35206 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
35207 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
35208 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35209 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35210 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
35211 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
35212 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35213 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35214 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
35215 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
35216 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
35217 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
35218 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
35219 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
35220 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
35221 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
35222 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
35223 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
35224 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
35225 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
35226 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
35227 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
35228 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
35229 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
35230 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
35231 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
35232 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
35233 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
35234 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
35235 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
35236 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
35237 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
35238 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
35239 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
35240 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
35241 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
35242 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
35243 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
35244 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
35245 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
35246 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
35247 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
35248 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
35249 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
35250 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
35251 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
35252 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
35253 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
35254 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
35255 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
35256 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
35257 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
35258 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
35259 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
35260 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
35261 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
35262 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
35263 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
35264 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35265 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
35266 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35267 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35268 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35269 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
35270 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
35271 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35272 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
35273 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
35274 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
35275 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
35276 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
35277 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
35278 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
35279 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
35280 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
35281 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
35282 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
35283 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
35284 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
35285 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
35286 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
35287 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
35288 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
35289 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
35290 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
35291 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
35292 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
35293 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
35294 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35295 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35296 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
35297 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35298 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35299 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
35300 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
35301 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
35302 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
35303 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
35304 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
35305 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
35306 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
35307 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
35308 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
35309 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
35310 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
35311 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
35312 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
35313 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35314 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
35315 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
35316 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
35317 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
35318 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35319 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35320 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35321 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35322 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
35323 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
35324 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35325 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35326 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35327 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35328 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
35329 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
35330 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
35331 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
35332 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
35333 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
35334 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
35335 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
35336 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
35337 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35338 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35339 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35340 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35341 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
35342 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
35343 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
35344 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
35345 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
35346 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
35347 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
35348 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
35349 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
35350 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
35351 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
35352 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
35353 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
35354 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
35355 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
35356 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
35357 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35358 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35359 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
35360 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35361 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35362 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
35363 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
35364 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
35365 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
35366 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35367 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35368 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35369 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35370 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
35371 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
35372 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
35373 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
35374 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
35375 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
35376 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35377 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35378 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35379 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35380 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35381 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35382 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35383 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35384 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
35385 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
35386 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
35387 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
35388 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
35389 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
35390 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
35391 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
35392 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35393 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35394 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
35395 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
35396 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
35397 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
35398 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
35399 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35400 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35401 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35402 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35403 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
35404 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
35405 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
35406 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
35407 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
35408 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35409 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35410 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35411 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35412 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35413 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35414 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35415 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35416 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
35417 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
35418 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35419 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35420 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35421 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35422 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35423 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35424 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35425 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35426 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
35427 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
35428 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
35429 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
35430 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
35431 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
35432 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
35433 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
35434 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
35435 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35436 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35437 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
35438 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
35439 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
35440 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35441 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35442 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
35443 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
35444 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35445 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35446 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35447 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35448 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
35449 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
35450 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35451 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35452 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
35453 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
35454 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
35455 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
35456 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
35457 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
35458 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
35459 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
35460 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
35461 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35462 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
35463 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
35464 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
35465 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35466 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
35467 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
35468 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
35469 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
35470 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
35471 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
35472 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
35473 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
35474 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
35475 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
35476 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
35477 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
35478 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35479 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35480 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35481 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
35482 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
35483 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
35484 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
35485 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
35486 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
35487 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
35488 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
35489 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
35490 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
35491 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
35492 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
35493 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
35494 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35495 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
35496 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
35497 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
35498 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
35499 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
35500 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
35501 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
35502 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
35503 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
35504 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
35505 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
35506 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
35507 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
35508 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35509 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35510 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
35511 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
35512 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35513 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35514 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
35515 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
35516 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
35517 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
35518 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
35519 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
35520 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
35521 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
35522 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
35523 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35524 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35525 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
35526 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
35527 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35528 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35529 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
35530 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
35531 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
35532 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
35533 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
35534 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
35535 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35536 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35537 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
35538 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
35539 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35540 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
35541 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
35542 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35543 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
35544 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
35545 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35546 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35547 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
35548 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
35549 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
35550 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
35551 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35552 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35553 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
35554 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
35555 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
35556 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
35557 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
35558 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
35559 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
35560 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
35561 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
35562 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
35563 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
35564 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
35565 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
35566 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
35567 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35568 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
35569 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
35570 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
35571 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
35572 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
35573 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
35574 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
35575 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35576 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
35577 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
35578 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
35579 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
35580 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
35581 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
35582 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
35583 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
35584 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
35585 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
35586 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
35587 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
35588 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
35589 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
35590 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
35591 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
35592 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
35593 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
35594 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
35595 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
35596 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
35597 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
35598 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
35599 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
35600 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
35601 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
35602 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
35603 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
35604 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
35605 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
35606 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
35607 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
35608 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
35609 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
35610 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
35611 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
35612 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
35613 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
35614 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
35615 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
35616 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
35617 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
35618 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
35619 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
35620 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
35621 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
35622 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
35623 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
35624 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
35625 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
35626 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
35627 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
35628 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
35629 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
35630 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
35631 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
35632 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
35633 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
35634 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
35635 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
35636 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
35637 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
35638 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
35639 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
35640 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
35641 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
35642 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
35643 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
35644 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
35645 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
35646 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
35647 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35648 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
35649 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
35650 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
35651 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
35652 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
35653 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
35654 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
35655 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
35656 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
35657 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
35658 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
35659 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
35660 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
35661 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
35662 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
35663 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
35664 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
35665 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
35666 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
35667 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
35668 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
35669 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
35670 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
35671 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
35672 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
35673 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
35674 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
35675 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
35676 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
35677 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
35678 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
35679 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
35680 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35681 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
35682 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
35683 { (char *)"Window_SetWindowStyle", (PyCFunction) _wrap_Window_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
35684 { (char *)"Window_GetWindowStyle", (PyCFunction) _wrap_Window_GetWindowStyle, METH_VARARGS | METH_KEYWORDS },
35685 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
35686 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
35687 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
35688 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
35689 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
35690 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
35691 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
35692 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
35693 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
35694 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
35695 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
35696 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
35697 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
35698 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
35699 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
35700 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
35701 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
35702 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
35703 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
35704 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
35705 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
35706 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
35707 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
35708 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
35709 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
35710 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
35711 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
35712 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
35713 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
35714 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
35715 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
35716 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
35717 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
35718 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
35719 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
35720 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
35721 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
35722 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
35723 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
35724 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
35725 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
35726 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
35727 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
35728 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
35729 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
35730 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
35731 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
35732 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
35733 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
35734 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
35735 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
35736 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
35737 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
35738 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
35739 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
35740 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
35741 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
35742 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
35743 { (char *)"Window_isExposedRect", (PyCFunction) _wrap_Window_isExposedRect, METH_VARARGS | METH_KEYWORDS },
35744 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
35745 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
35746 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
35747 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
35748 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
35749 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
35750 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
35751 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
35752 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
35753 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
35754 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
35755 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
35756 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
35757 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
35758 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
35759 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
35760 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
35761 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
35762 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
35763 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
35764 { (char *)"Window_GetBorderFlags", (PyCFunction) _wrap_Window_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
35765 { (char *)"Window_GetBorder", (PyCFunction) _wrap_Window_GetBorder, METH_VARARGS | METH_KEYWORDS },
35766 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
35767 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
35768 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
35769 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
35770 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
35771 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
35772 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
35773 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
35774 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
35775 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
35776 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
35777 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
35778 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
35779 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
35780 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
35781 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
35782 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
35783 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
35784 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
35785 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
35786 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
35787 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
35788 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
35789 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
35790 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
35791 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
35792 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
35793 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
35794 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
35795 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
35796 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
35797 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
35798 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
35799 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
35800 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
35801 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
35802 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
35803 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
35804 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
35805 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
35806 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
35807 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
35808 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
35809 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
35810 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
35811 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
35812 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
35813 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
35814 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
35815 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
35816 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
35817 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35818 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
35819 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
35820 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
35821 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
35822 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
35823 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
35824 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
35825 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
35826 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
35827 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
35828 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
35829 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
35830 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
35831 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
35832 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
35833 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
35834 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
35835 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
35836 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
35837 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
35838 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
35839 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
35840 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
35841 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
35842 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
35843 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
35844 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
35845 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
35846 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
35847 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
35848 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
35849 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
35850 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
35851 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
35852 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35853 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
35854 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
35855 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
35856 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
35857 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
35858 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
35859 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
35860 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
35861 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
35862 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
35863 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
35864 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
35865 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
35866 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
35867 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
35868 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
35869 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
35870 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
35871 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
35872 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
35873 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
35874 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
35875 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
35876 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
35877 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
35878 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
35879 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
35880 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
35881 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
35882 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
35883 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
35884 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
35885 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
35886 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
35887 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
35888 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
35889 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
35890 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
35891 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35892 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
35893 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
35894 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
35895 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
35896 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
35897 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
35898 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
35899 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
35900 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
35901 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
35902 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
35903 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
35904 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
35905 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
35906 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
35907 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
35908 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
35909 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
35910 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
35911 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
35912 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
35913 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
35914 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
35915 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
35916 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
35917 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
35918 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35919 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
35920 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
35921 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
35922 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
35923 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
35924 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
35925 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
35926 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
35927 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
35928 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
35929 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
35930 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
35931 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
35932 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
35933 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
35934 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
35935 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
35936 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
35937 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
35938 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
35939 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
35940 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
35941 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
35942 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
35943 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
35944 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
35945 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
35946 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
35947 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
35948 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
35949 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
35950 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
35951 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
35952 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
35953 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
35954 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
35955 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
35956 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
35957 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
35958 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
35959 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
35960 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
35961 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
35962 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
35963 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
35964 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
35965 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
35966 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
35967 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
35968 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
35969 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
35970 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
35971 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
35972 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
35973 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
35974 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
35975 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
35976 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
35977 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
35978 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
35979 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
35980 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
35981 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
35982 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
35983 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
35984 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
35985 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
35986 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
35987 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
35988 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
35989 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
35990 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
35991 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
35992 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
35993 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
35994 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
35995 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
35996 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
35997 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
35998 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
35999 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
36000 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
36001 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
36002 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
36003 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36004 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36005 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36006 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
36007 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
36008 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
36009 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36010 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36011 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
36012 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36013 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
36014 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
36015 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
36016 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
36017 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
36018 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
36019 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
36020 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36021 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
36022 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
36023 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36024 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36025 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36026 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36027 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
36028 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
36029 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
36030 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36031 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36032 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
36033 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
36034 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36035 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36036 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
36037 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
36038 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
36039 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
36040 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
36041 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
36042 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
36043 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
36044 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
36045 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
36046 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36047 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36048 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
36049 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
36050 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
36051 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
36052 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36053 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36054 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36055 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36056 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
36057 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
36058 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
36059 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
36060 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
36061 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
36062 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
36063 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
36064 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
36065 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
36066 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
36067 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
36068 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
36069 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
36070 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
36071 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
36072 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
36073 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
36074 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
36075 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
36076 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
36077 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
36078 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
36079 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
36080 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36081 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36082 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36083 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
36084 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
36085 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
36086 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
36087 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
36088 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
36089 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
36090 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
36091 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
36092 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
36093 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
36094 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36095 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36096 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36097 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
36098 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
36099 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
36100 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
36101 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
36102 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
36103 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
36104 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
36105 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36106 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36107 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
36108 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
36109 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
36110 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
36111 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
36112 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
36113 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
36114 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
36115 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
36116 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
36117 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
36118 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
36119 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
36120 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
36121 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
36122 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
36123 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
36124 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
36125 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
36126 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
36127 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
36128 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
36129 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
36130 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
36131 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
36132 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
36133 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
36134 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
36135 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
36136 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
36137 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
36138 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
36139 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
36140 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
36141 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
36142 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
36143 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
36144 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
36145 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
36146 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
36147 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
36148 { NULL, NULL }
36149 };
36150
36151
36152 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36153
36154 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
36155 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
36156 }
36157 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
36158 return (void *)((wxSizer *) ((wxBoxSizer *) x));
36159 }
36160 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
36161 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
36162 }
36163 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
36164 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36165 }
36166 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
36167 return (void *)((wxSizer *) ((wxGridSizer *) x));
36168 }
36169 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
36170 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
36171 }
36172 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36173 return (void *)((wxSizer *) ((wxPySizer *) x));
36174 }
36175 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
36176 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
36177 }
36178 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36179 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36180 }
36181 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36182 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36183 }
36184 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36185 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36186 }
36187 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36188 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36189 }
36190 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36191 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36192 }
36193 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36194 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36195 }
36196 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36197 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36198 }
36199 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36200 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36201 }
36202 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36203 return (void *)((wxEvent *) ((wxPyEvent *) x));
36204 }
36205 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36206 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36207 }
36208 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36209 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36210 }
36211 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36212 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36213 }
36214 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36215 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36216 }
36217 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36218 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36219 }
36220 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36221 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36222 }
36223 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36224 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36225 }
36226 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36227 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36228 }
36229 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36230 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36231 }
36232 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36233 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36234 }
36235 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36236 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36237 }
36238 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36239 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36240 }
36241 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36242 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36243 }
36244 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36245 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36246 }
36247 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36248 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36249 }
36250 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36251 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36252 }
36253 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36254 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36255 }
36256 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36257 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36258 }
36259 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36260 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36261 }
36262 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36263 return (void *)((wxEvent *) ((wxShowEvent *) x));
36264 }
36265 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36266 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36267 }
36268 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36269 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36270 }
36271 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36272 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36273 }
36274 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36275 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36276 }
36277 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36278 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36279 }
36280 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36281 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36282 }
36283 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
36284 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
36285 }
36286 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
36287 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
36288 }
36289 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
36290 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
36291 }
36292 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36293 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36294 }
36295 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36296 return (void *)((wxControl *) ((wxControlWithItems *) x));
36297 }
36298 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36299 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36300 }
36301 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36302 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36303 }
36304 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36305 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36306 }
36307 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36308 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36309 }
36310 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36311 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36312 }
36313 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36314 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36315 }
36316 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36317 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36318 }
36319 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36320 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36321 }
36322 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
36323 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
36324 }
36325 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
36326 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
36327 }
36328 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
36329 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
36330 }
36331 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
36332 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
36333 }
36334 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
36335 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
36336 }
36337 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
36338 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36339 }
36340 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
36341 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
36342 }
36343 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
36344 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
36345 }
36346 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
36347 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36348 }
36349 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
36350 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36351 }
36352 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
36353 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
36354 }
36355 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
36356 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
36357 }
36358 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
36359 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
36360 }
36361 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
36362 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
36363 }
36364 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
36365 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
36366 }
36367 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
36368 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
36369 }
36370 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
36371 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
36372 }
36373 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
36374 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
36375 }
36376 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
36377 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
36378 }
36379 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
36380 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
36381 }
36382 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
36383 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
36384 }
36385 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36386 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36387 }
36388 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36389 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36390 }
36391 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36392 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36393 }
36394 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36395 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36396 }
36397 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36398 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36399 }
36400 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36401 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36402 }
36403 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36404 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36405 }
36406 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36407 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36408 }
36409 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36411 }
36412 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36413 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36414 }
36415 static void *_p_wxSizerTo_p_wxObject(void *x) {
36416 return (void *)((wxObject *) ((wxSizer *) x));
36417 }
36418 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36419 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36420 }
36421 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36422 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36423 }
36424 static void *_p_wxMenuTo_p_wxObject(void *x) {
36425 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36426 }
36427 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36428 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36429 }
36430 static void *_p_wxImageTo_p_wxObject(void *x) {
36431 return (void *)((wxObject *) ((wxImage *) x));
36432 }
36433 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36435 }
36436 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36437 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36438 }
36439 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36440 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36441 }
36442 static void *_p_wxWindowTo_p_wxObject(void *x) {
36443 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36444 }
36445 static void *_p_wxControlTo_p_wxObject(void *x) {
36446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36447 }
36448 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36449 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36450 }
36451 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36452 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36453 }
36454 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36455 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36456 }
36457 static void *_p_wxEventTo_p_wxObject(void *x) {
36458 return (void *)((wxObject *) ((wxEvent *) x));
36459 }
36460 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36461 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36462 }
36463 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36464 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36465 }
36466 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36467 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36468 }
36469 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36470 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36471 }
36472 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36473 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36474 }
36475 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36476 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36477 }
36478 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36479 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36480 }
36481 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36482 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36483 }
36484 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36486 }
36487 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36488 return (void *)((wxObject *) ((wxEvtHandler *) x));
36489 }
36490 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36491 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36492 }
36493 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36494 return (void *)((wxObject *) ((wxImageHandler *) x));
36495 }
36496 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36497 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36498 }
36499 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36500 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36501 }
36502 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36503 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36504 }
36505 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36506 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36507 }
36508 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36509 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36510 }
36511 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36512 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36513 }
36514 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36515 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36516 }
36517 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36518 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36519 }
36520 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36521 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36522 }
36523 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36524 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36525 }
36526 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36527 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36528 }
36529 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36530 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36531 }
36532 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36533 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36534 }
36535 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36536 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36537 }
36538 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36539 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36540 }
36541 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36542 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36543 }
36544 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36545 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36546 }
36547 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36548 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36549 }
36550 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36551 return (void *)((wxObject *) ((wxFileSystem *) x));
36552 }
36553 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36554 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36555 }
36556 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36557 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36558 }
36559 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36560 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36561 }
36562 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36563 return (void *)((wxObject *) ((wxSizerItem *) x));
36564 }
36565 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36566 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36567 }
36568 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36569 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36570 }
36571 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36572 return (void *)((wxObject *) ((wxFSFile *) x));
36573 }
36574 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36575 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36576 }
36577 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36578 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36579 }
36580 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36581 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36582 }
36583 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36584 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36585 }
36586 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36587 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36588 }
36589 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36590 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36591 }
36592 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36593 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36594 }
36595 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36596 return (void *)((wxObject *) ((wxMenuItem *) x));
36597 }
36598 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36599 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36600 }
36601 static void *_p_wxControlTo_p_wxWindow(void *x) {
36602 return (void *)((wxWindow *) ((wxControl *) x));
36603 }
36604 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36605 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36606 }
36607 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36608 return (void *)((wxWindow *) ((wxMenuBar *) x));
36609 }
36610 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36611 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36612 }
36613 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36614 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36615 }
36616 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36617 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36618 }
36619 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36620 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36621 }
36622 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36623 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36624 }
36625 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36626 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36627 }
36628 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36629 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36630 }
36631 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36632 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36633 }
36634 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36635 return (void *)((wxValidator *) ((wxPyValidator *) x));
36636 }
36637 static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
36638 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
36639 static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem},{0}};
36640 static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
36641 static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
36642 static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
36643 static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer},{0}};
36644 static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer},{0}};
36645 static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
36646 static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
36647 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
36648 static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
36649 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
36650 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
36651 static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer},{"_p_wxGridSizer"},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer},{0}};
36652 static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer},{"_p_wxFlexGridSizer"},{0}};
36653 static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
36654 static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
36655 static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
36656 static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
36657 static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
36658 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
36659 static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
36660 static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
36661 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
36662 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
36663 static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
36664 static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
36665 static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
36666 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
36667 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
36668 static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
36669 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
36670 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
36671 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
36672 static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
36673 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
36674 static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
36675 static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
36676 static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
36677 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
36678 static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
36679 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
36680 static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
36681 static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
36682 static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
36683 static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
36684 static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
36685 static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
36686 static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
36687 static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
36688 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
36689 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
36690 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
36691 static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
36692 static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
36693 static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
36694 static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
36695 static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
36696 static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
36697 static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
36698 static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
36699 static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
36700 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}};
36701 static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler},{0}};
36702 static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0},{"_p_wxICOHandler"},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler},{0}};
36703 static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0},{"_p_wxBMPHandler"},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler},{0}};
36704 static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0},{"_p_wxImageHandler"},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler},{0}};
36705 static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0},{"_p_wxFileSystemHandler"},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler},{0}};
36706 static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
36707 static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
36708 static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
36709 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
36710 static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
36711 static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
36712 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
36713 static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
36714 static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
36715 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
36716 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
36717 static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
36718 static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36719 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
36720 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
36721 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{0}};
36722 static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
36723 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
36724 static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
36725 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
36726 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
36727 static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
36728 static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
36729 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}};
36730 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
36731 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
36732 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
36733 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
36734 static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
36735 static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
36736 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36737 static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
36738 static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
36739 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
36740 static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
36741 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{0}};
36742 static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
36743 static swig_type_info _swigt__p_wxDropTarget[] = {{"_p_wxDropTarget", 0, "wxDropTarget *", 0},{"_p_wxDropTarget"},{0}};
36744 static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
36745 static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
36746 static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
36747 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
36748 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
36749 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
36750 static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
36751
36752 static swig_type_info *swig_types_initial[] = {
36753 _swigt__p_wxLayoutConstraints,
36754 _swigt__p_wxRealPoint,
36755 _swigt__p_wxSizerItem,
36756 _swigt__p_wxGBSizerItem,
36757 _swigt__p_wxScrollEvent,
36758 _swigt__p_wxIndividualLayoutConstraint,
36759 _swigt__p_wxSizer,
36760 _swigt__p_wxBoxSizer,
36761 _swigt__p_wxStaticBoxSizer,
36762 _swigt__p_wxGridBagSizer,
36763 _swigt__p_wxAcceleratorEntry,
36764 _swigt__p_wxUpdateUIEvent,
36765 _swigt__p_wxMenu,
36766 _swigt__p_wxEvent,
36767 _swigt__p_wxGridSizer,
36768 _swigt__p_wxFlexGridSizer,
36769 _swigt__p_wxInitDialogEvent,
36770 _swigt__p_wxItemContainer,
36771 _swigt__p_wxNcPaintEvent,
36772 _swigt__p_wxPaintEvent,
36773 _swigt__p_wxSysColourChangedEvent,
36774 _swigt__p_wxMouseCaptureChangedEvent,
36775 _swigt__p_wxDisplayChangedEvent,
36776 _swigt__p_wxPaletteChangedEvent,
36777 _swigt__p_wxControl,
36778 _swigt__p_wxFont,
36779 _swigt__p_wxMenuBarBase,
36780 _swigt__p_wxSetCursorEvent,
36781 _swigt__p_wxFSFile,
36782 _swigt__p_wxCaret,
36783 _swigt__p_wxRegion,
36784 _swigt__p_wxPoint2D,
36785 _swigt__p_int,
36786 _swigt__p_wxSize,
36787 _swigt__p_wxDC,
36788 _swigt__p_wxPySizer,
36789 _swigt__p_wxNotifyEvent,
36790 _swigt__p_wxPyEvent,
36791 _swigt__p_wxPropagationDisabler,
36792 _swigt__p_wxAppTraits,
36793 _swigt__p_wxArrayString,
36794 _swigt__p_wxShowEvent,
36795 _swigt__p_wxToolTip,
36796 _swigt__p_wxMaximizeEvent,
36797 _swigt__p_wxIconizeEvent,
36798 _swigt__p_wxActivateEvent,
36799 _swigt__p_wxMoveEvent,
36800 _swigt__p_wxSizeEvent,
36801 _swigt__p_wxQueryNewPaletteEvent,
36802 _swigt__p_wxWindowCreateEvent,
36803 _swigt__p_wxIdleEvent,
36804 _swigt__p_wxMenuItem,
36805 _swigt__p_wxStaticBox,
36806 _swigt__p_long,
36807 _swigt__p_wxTIFFHandler,
36808 _swigt__p_wxXPMHandler,
36809 _swigt__p_wxPNMHandler,
36810 _swigt__p_wxJPEGHandler,
36811 _swigt__p_wxPCXHandler,
36812 _swigt__p_wxGIFHandler,
36813 _swigt__p_wxPNGHandler,
36814 _swigt__p_wxANIHandler,
36815 _swigt__p_wxMemoryFSHandler,
36816 _swigt__p_wxEvtHandler,
36817 _swigt__p_wxCURHandler,
36818 _swigt__p_wxICOHandler,
36819 _swigt__p_wxBMPHandler,
36820 _swigt__p_wxImageHandler,
36821 _swigt__p_wxFileSystemHandler,
36822 _swigt__p_wxPyFileSystemHandler,
36823 _swigt__p_wxInternetFSHandler,
36824 _swigt__p_wxZipFSHandler,
36825 _swigt__p_wxRect,
36826 _swigt__p_wxGBSpan,
36827 _swigt__p_wxPropagateOnce,
36828 _swigt__p_wxAcceleratorTable,
36829 _swigt__p_wxGBPosition,
36830 _swigt__p_wxImage,
36831 _swigt__p_wxFrame,
36832 _swigt__p_wxScrollWinEvent,
36833 _swigt__p_wxImageHistogram,
36834 _swigt__p_byte,
36835 _swigt__p_wxPoint,
36836 _swigt__p_wxCursor,
36837 _swigt__p_wxObject,
36838 _swigt__p_wxPyInputStream,
36839 _swigt__p_wxOutputStream,
36840 _swigt__p_wxInputStream,
36841 _swigt__p_wxDateTime,
36842 _swigt__p_wxKeyEvent,
36843 _swigt__p_wxNavigationKeyEvent,
36844 _swigt__p_wxWindowDestroyEvent,
36845 _swigt__p_wxWindow,
36846 _swigt__p_wxMenuBar,
36847 _swigt__p_wxString,
36848 _swigt__p_wxFileSystem,
36849 _swigt__p_wxBitmap,
36850 _swigt__p_wxMenuEvent,
36851 _swigt__p_wxContextMenuEvent,
36852 _swigt__p_unsigned_char,
36853 _swigt__p_wxCloseEvent,
36854 _swigt__p_wxEraseEvent,
36855 _swigt__p_wxMouseEvent,
36856 _swigt__p_wxPyApp,
36857 _swigt__p_wxCommandEvent,
36858 _swigt__p_wxPyCommandEvent,
36859 _swigt__p_wxDropTarget,
36860 _swigt__p_wxChildFocusEvent,
36861 _swigt__p_wxFocusEvent,
36862 _swigt__p_wxDropFilesEvent,
36863 _swigt__p_wxControlWithItems,
36864 _swigt__p_wxColour,
36865 _swigt__p_wxValidator,
36866 _swigt__p_wxPyValidator,
36867 0
36868 };
36869
36870
36871 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36872
36873 static swig_const_info swig_const_table[] = {
36874 { SWIG_PY_INT, (char *)"NOT_FOUND", (long) wxNOT_FOUND, 0, 0, 0},
36875 { SWIG_PY_INT, (char *)"VSCROLL", (long) wxVSCROLL, 0, 0, 0},
36876 { SWIG_PY_INT, (char *)"HSCROLL", (long) wxHSCROLL, 0, 0, 0},
36877 { SWIG_PY_INT, (char *)"CAPTION", (long) wxCAPTION, 0, 0, 0},
36878 { SWIG_PY_INT, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER, 0, 0, 0},
36879 { SWIG_PY_INT, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER, 0, 0, 0},
36880 { SWIG_PY_INT, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER, 0, 0, 0},
36881 { SWIG_PY_INT, (char *)"BORDER", (long) wxBORDER, 0, 0, 0},
36882 { SWIG_PY_INT, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER, 0, 0, 0},
36883 { SWIG_PY_INT, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER, 0, 0, 0},
36884 { SWIG_PY_INT, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW, 0, 0, 0},
36885 { SWIG_PY_INT, (char *)"NO_BORDER", (long) wxNO_BORDER, 0, 0, 0},
36886 { SWIG_PY_INT, (char *)"USER_COLOURS", (long) wxUSER_COLOURS, 0, 0, 0},
36887 { SWIG_PY_INT, (char *)"NO_3D", (long) wxNO_3D, 0, 0, 0},
36888 { SWIG_PY_INT, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL, 0, 0, 0},
36889 { SWIG_PY_INT, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS, 0, 0, 0},
36890 { SWIG_PY_INT, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW, 0, 0, 0},
36891 { SWIG_PY_INT, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME, 0, 0, 0},
36892 { SWIG_PY_INT, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN, 0, 0, 0},
36893 { SWIG_PY_INT, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN, 0, 0, 0},
36894 { SWIG_PY_INT, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP, 0, 0, 0},
36895 { SWIG_PY_INT, (char *)"ICONIZE", (long) wxICONIZE, 0, 0, 0},
36896 { SWIG_PY_INT, (char *)"MINIMIZE", (long) wxMINIMIZE, 0, 0, 0},
36897 { SWIG_PY_INT, (char *)"MAXIMIZE", (long) wxMAXIMIZE, 0, 0, 0},
36898 { SWIG_PY_INT, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX, 0, 0, 0},
36899 { SWIG_PY_INT, (char *)"THICK_FRAME", (long) wxTHICK_FRAME, 0, 0, 0},
36900 { SWIG_PY_INT, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU, 0, 0, 0},
36901 { SWIG_PY_INT, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX, 0, 0, 0},
36902 { SWIG_PY_INT, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX, 0, 0, 0},
36903 { SWIG_PY_INT, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ, 0, 0, 0},
36904 { SWIG_PY_INT, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT, 0, 0, 0},
36905 { SWIG_PY_INT, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX, 0, 0, 0},
36906 { SWIG_PY_INT, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER, 0, 0, 0},
36907 { SWIG_PY_INT, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL, 0, 0, 0},
36908 { SWIG_PY_INT, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS, 0, 0, 0},
36909 { SWIG_PY_INT, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT, 0, 0, 0},
36910 { SWIG_PY_INT, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE, 0, 0, 0},
36911 { SWIG_PY_INT, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE, 0, 0, 0},
36912 { SWIG_PY_INT, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW, 0, 0, 0},
36913 { SWIG_PY_INT, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT, 0, 0, 0},
36914 { SWIG_PY_INT, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU, 0, 0, 0},
36915 { SWIG_PY_INT, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR, 0, 0, 0},
36916 { SWIG_PY_INT, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED, 0, 0, 0},
36917 { SWIG_PY_INT, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN, 0, 0, 0},
36918 { SWIG_PY_INT, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM, 0, 0, 0},
36919 { SWIG_PY_INT, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT, 0, 0, 0},
36920 { SWIG_PY_INT, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE, 0, 0, 0},
36921 { SWIG_PY_INT, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE, 0, 0, 0},
36922 { SWIG_PY_INT, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN, 0, 0, 0},
36923 { SWIG_PY_INT, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS, 0, 0, 0},
36924 { SWIG_PY_INT, (char *)"RETAINED", (long) wxRETAINED, 0, 0, 0},
36925 { SWIG_PY_INT, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE, 0, 0, 0},
36926 { SWIG_PY_INT, (char *)"COLOURED", (long) wxCOLOURED, 0, 0, 0},
36927 { SWIG_PY_INT, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH, 0, 0, 0},
36928 { SWIG_PY_INT, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB, 0, 0, 0},
36929 { SWIG_PY_INT, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB, 0, 0, 0},
36930 { SWIG_PY_INT, (char *)"LB_SORT", (long) wxLB_SORT, 0, 0, 0},
36931 { SWIG_PY_INT, (char *)"LB_SINGLE", (long) wxLB_SINGLE, 0, 0, 0},
36932 { SWIG_PY_INT, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE, 0, 0, 0},
36933 { SWIG_PY_INT, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED, 0, 0, 0},
36934 { SWIG_PY_INT, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW, 0, 0, 0},
36935 { SWIG_PY_INT, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL, 0, 0, 0},
36936 { SWIG_PY_INT, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER, 0, 0, 0},
36937 { SWIG_PY_INT, (char *)"PASSWORD", (long) wxPASSWORD, 0, 0, 0},
36938 { SWIG_PY_INT, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE, 0, 0, 0},
36939 { SWIG_PY_INT, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN, 0, 0, 0},
36940 { SWIG_PY_INT, (char *)"CB_SORT", (long) wxCB_SORT, 0, 0, 0},
36941 { SWIG_PY_INT, (char *)"CB_READONLY", (long) wxCB_READONLY, 0, 0, 0},
36942 { SWIG_PY_INT, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL, 0, 0, 0},
36943 { SWIG_PY_INT, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL, 0, 0, 0},
36944 { SWIG_PY_INT, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS, 0, 0, 0},
36945 { SWIG_PY_INT, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS, 0, 0, 0},
36946 { SWIG_PY_INT, (char *)"RB_GROUP", (long) wxRB_GROUP, 0, 0, 0},
36947 { SWIG_PY_INT, (char *)"RB_SINGLE", (long) wxRB_SINGLE, 0, 0, 0},
36948 { SWIG_PY_INT, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL, 0, 0, 0},
36949 { SWIG_PY_INT, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL, 0, 0, 0},
36950 { SWIG_PY_INT, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS, 0, 0, 0},
36951 { SWIG_PY_INT, (char *)"SL_LABELS", (long) wxSL_LABELS, 0, 0, 0},
36952 { SWIG_PY_INT, (char *)"SL_LEFT", (long) wxSL_LEFT, 0, 0, 0},
36953 { SWIG_PY_INT, (char *)"SL_TOP", (long) wxSL_TOP, 0, 0, 0},
36954 { SWIG_PY_INT, (char *)"SL_RIGHT", (long) wxSL_RIGHT, 0, 0, 0},
36955 { SWIG_PY_INT, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM, 0, 0, 0},
36956 { SWIG_PY_INT, (char *)"SL_BOTH", (long) wxSL_BOTH, 0, 0, 0},
36957 { SWIG_PY_INT, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE, 0, 0, 0},
36958 { SWIG_PY_INT, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL, 0, 0, 0},
36959 { SWIG_PY_INT, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL, 0, 0, 0},
36960 { SWIG_PY_INT, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP, 0, 0, 0},
36961 { SWIG_PY_INT, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE, 0, 0, 0},
36962 { SWIG_PY_INT, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE, 0, 0, 0},
36963 { SWIG_PY_INT, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER, 0, 0, 0},
36964 { SWIG_PY_INT, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE, 0, 0, 0},
36965 { SWIG_PY_INT, (char *)"WINDING_RULE", (long) wxWINDING_RULE, 0, 0, 0},
36966 { SWIG_PY_INT, (char *)"TOOL_TOP", (long) wxTOOL_TOP, 0, 0, 0},
36967 { SWIG_PY_INT, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM, 0, 0, 0},
36968 { SWIG_PY_INT, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT, 0, 0, 0},
36969 { SWIG_PY_INT, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT, 0, 0, 0},
36970 { SWIG_PY_INT, (char *)"OK", (long) wxOK, 0, 0, 0},
36971 { SWIG_PY_INT, (char *)"YES_NO", (long) wxYES_NO, 0, 0, 0},
36972 { SWIG_PY_INT, (char *)"CANCEL", (long) wxCANCEL, 0, 0, 0},
36973 { SWIG_PY_INT, (char *)"YES", (long) wxYES, 0, 0, 0},
36974 { SWIG_PY_INT, (char *)"NO", (long) wxNO, 0, 0, 0},
36975 { SWIG_PY_INT, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT, 0, 0, 0},
36976 { SWIG_PY_INT, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT, 0, 0, 0},
36977 { SWIG_PY_INT, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION, 0, 0, 0},
36978 { SWIG_PY_INT, (char *)"ICON_HAND", (long) wxICON_HAND, 0, 0, 0},
36979 { SWIG_PY_INT, (char *)"ICON_QUESTION", (long) wxICON_QUESTION, 0, 0, 0},
36980 { SWIG_PY_INT, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION, 0, 0, 0},
36981 { SWIG_PY_INT, (char *)"ICON_STOP", (long) wxICON_STOP, 0, 0, 0},
36982 { SWIG_PY_INT, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK, 0, 0, 0},
36983 { SWIG_PY_INT, (char *)"ICON_MASK", (long) wxICON_MASK, 0, 0, 0},
36984 { SWIG_PY_INT, (char *)"ICON_WARNING", (long) wxICON_WARNING, 0, 0, 0},
36985 { SWIG_PY_INT, (char *)"ICON_ERROR", (long) wxICON_ERROR, 0, 0, 0},
36986 { SWIG_PY_INT, (char *)"FORWARD", (long) wxFORWARD, 0, 0, 0},
36987 { SWIG_PY_INT, (char *)"BACKWARD", (long) wxBACKWARD, 0, 0, 0},
36988 { SWIG_PY_INT, (char *)"RESET", (long) wxRESET, 0, 0, 0},
36989 { SWIG_PY_INT, (char *)"HELP", (long) wxHELP, 0, 0, 0},
36990 { SWIG_PY_INT, (char *)"MORE", (long) wxMORE, 0, 0, 0},
36991 { SWIG_PY_INT, (char *)"SETUP", (long) wxSETUP, 0, 0, 0},
36992 { SWIG_PY_INT, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH, 0, 0, 0},
36993 { SWIG_PY_INT, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT, 0, 0, 0},
36994 { SWIG_PY_INT, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO, 0, 0, 0},
36995 { SWIG_PY_INT, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING, 0, 0, 0},
36996 { SWIG_PY_INT, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE, 0, 0, 0},
36997 { SWIG_PY_INT, (char *)"PORTRAIT", (long) wxPORTRAIT, 0, 0, 0},
36998 { SWIG_PY_INT, (char *)"LANDSCAPE", (long) wxLANDSCAPE, 0, 0, 0},
36999 { SWIG_PY_INT, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH, 0, 0, 0},
37000 { SWIG_PY_INT, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM, 0, 0, 0},
37001 { SWIG_PY_INT, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW, 0, 0, 0},
37002 { SWIG_PY_INT, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT, 0, 0, 0},
37003 { SWIG_PY_INT, (char *)"ID_ANY", (long) wxID_ANY, 0, 0, 0},
37004 { SWIG_PY_INT, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR, 0, 0, 0},
37005 { SWIG_PY_INT, (char *)"ID_LOWEST", (long) wxID_LOWEST, 0, 0, 0},
37006 { SWIG_PY_INT, (char *)"ID_OPEN", (long) wxID_OPEN, 0, 0, 0},
37007 { SWIG_PY_INT, (char *)"ID_CLOSE", (long) wxID_CLOSE, 0, 0, 0},
37008 { SWIG_PY_INT, (char *)"ID_NEW", (long) wxID_NEW, 0, 0, 0},
37009 { SWIG_PY_INT, (char *)"ID_SAVE", (long) wxID_SAVE, 0, 0, 0},
37010 { SWIG_PY_INT, (char *)"ID_SAVEAS", (long) wxID_SAVEAS, 0, 0, 0},
37011 { SWIG_PY_INT, (char *)"ID_REVERT", (long) wxID_REVERT, 0, 0, 0},
37012 { SWIG_PY_INT, (char *)"ID_EXIT", (long) wxID_EXIT, 0, 0, 0},
37013 { SWIG_PY_INT, (char *)"ID_UNDO", (long) wxID_UNDO, 0, 0, 0},
37014 { SWIG_PY_INT, (char *)"ID_REDO", (long) wxID_REDO, 0, 0, 0},
37015 { SWIG_PY_INT, (char *)"ID_HELP", (long) wxID_HELP, 0, 0, 0},
37016 { SWIG_PY_INT, (char *)"ID_PRINT", (long) wxID_PRINT, 0, 0, 0},
37017 { SWIG_PY_INT, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP, 0, 0, 0},
37018 { SWIG_PY_INT, (char *)"ID_PREVIEW", (long) wxID_PREVIEW, 0, 0, 0},
37019 { SWIG_PY_INT, (char *)"ID_ABOUT", (long) wxID_ABOUT, 0, 0, 0},
37020 { SWIG_PY_INT, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS, 0, 0, 0},
37021 { SWIG_PY_INT, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS, 0, 0, 0},
37022 { SWIG_PY_INT, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES, 0, 0, 0},
37023 { SWIG_PY_INT, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT, 0, 0, 0},
37024 { SWIG_PY_INT, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL, 0, 0, 0},
37025 { SWIG_PY_INT, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES, 0, 0, 0},
37026 { SWIG_PY_INT, (char *)"ID_CUT", (long) wxID_CUT, 0, 0, 0},
37027 { SWIG_PY_INT, (char *)"ID_COPY", (long) wxID_COPY, 0, 0, 0},
37028 { SWIG_PY_INT, (char *)"ID_PASTE", (long) wxID_PASTE, 0, 0, 0},
37029 { SWIG_PY_INT, (char *)"ID_CLEAR", (long) wxID_CLEAR, 0, 0, 0},
37030 { SWIG_PY_INT, (char *)"ID_FIND", (long) wxID_FIND, 0, 0, 0},
37031 { SWIG_PY_INT, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE, 0, 0, 0},
37032 { SWIG_PY_INT, (char *)"ID_SELECTALL", (long) wxID_SELECTALL, 0, 0, 0},
37033 { SWIG_PY_INT, (char *)"ID_DELETE", (long) wxID_DELETE, 0, 0, 0},
37034 { SWIG_PY_INT, (char *)"ID_REPLACE", (long) wxID_REPLACE, 0, 0, 0},
37035 { SWIG_PY_INT, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL, 0, 0, 0},
37036 { SWIG_PY_INT, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES, 0, 0, 0},
37037 { SWIG_PY_INT, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS, 0, 0, 0},
37038 { SWIG_PY_INT, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS, 0, 0, 0},
37039 { SWIG_PY_INT, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS, 0, 0, 0},
37040 { SWIG_PY_INT, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST, 0, 0, 0},
37041 { SWIG_PY_INT, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE, 0, 0, 0},
37042 { SWIG_PY_INT, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME, 0, 0, 0},
37043 { SWIG_PY_INT, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE, 0, 0, 0},
37044 { SWIG_PY_INT, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE, 0, 0, 0},
37045 { SWIG_PY_INT, (char *)"ID_FILE1", (long) wxID_FILE1, 0, 0, 0},
37046 { SWIG_PY_INT, (char *)"ID_FILE2", (long) wxID_FILE2, 0, 0, 0},
37047 { SWIG_PY_INT, (char *)"ID_FILE3", (long) wxID_FILE3, 0, 0, 0},
37048 { SWIG_PY_INT, (char *)"ID_FILE4", (long) wxID_FILE4, 0, 0, 0},
37049 { SWIG_PY_INT, (char *)"ID_FILE5", (long) wxID_FILE5, 0, 0, 0},
37050 { SWIG_PY_INT, (char *)"ID_FILE6", (long) wxID_FILE6, 0, 0, 0},
37051 { SWIG_PY_INT, (char *)"ID_FILE7", (long) wxID_FILE7, 0, 0, 0},
37052 { SWIG_PY_INT, (char *)"ID_FILE8", (long) wxID_FILE8, 0, 0, 0},
37053 { SWIG_PY_INT, (char *)"ID_FILE9", (long) wxID_FILE9, 0, 0, 0},
37054 { SWIG_PY_INT, (char *)"ID_OK", (long) wxID_OK, 0, 0, 0},
37055 { SWIG_PY_INT, (char *)"ID_CANCEL", (long) wxID_CANCEL, 0, 0, 0},
37056 { SWIG_PY_INT, (char *)"ID_APPLY", (long) wxID_APPLY, 0, 0, 0},
37057 { SWIG_PY_INT, (char *)"ID_YES", (long) wxID_YES, 0, 0, 0},
37058 { SWIG_PY_INT, (char *)"ID_NO", (long) wxID_NO, 0, 0, 0},
37059 { SWIG_PY_INT, (char *)"ID_STATIC", (long) wxID_STATIC, 0, 0, 0},
37060 { SWIG_PY_INT, (char *)"ID_FORWARD", (long) wxID_FORWARD, 0, 0, 0},
37061 { SWIG_PY_INT, (char *)"ID_BACKWARD", (long) wxID_BACKWARD, 0, 0, 0},
37062 { SWIG_PY_INT, (char *)"ID_DEFAULT", (long) wxID_DEFAULT, 0, 0, 0},
37063 { SWIG_PY_INT, (char *)"ID_MORE", (long) wxID_MORE, 0, 0, 0},
37064 { SWIG_PY_INT, (char *)"ID_SETUP", (long) wxID_SETUP, 0, 0, 0},
37065 { SWIG_PY_INT, (char *)"ID_RESET", (long) wxID_RESET, 0, 0, 0},
37066 { SWIG_PY_INT, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP, 0, 0, 0},
37067 { SWIG_PY_INT, (char *)"ID_YESTOALL", (long) wxID_YESTOALL, 0, 0, 0},
37068 { SWIG_PY_INT, (char *)"ID_NOTOALL", (long) wxID_NOTOALL, 0, 0, 0},
37069 { SWIG_PY_INT, (char *)"ID_ABORT", (long) wxID_ABORT, 0, 0, 0},
37070 { SWIG_PY_INT, (char *)"ID_RETRY", (long) wxID_RETRY, 0, 0, 0},
37071 { SWIG_PY_INT, (char *)"ID_IGNORE", (long) wxID_IGNORE, 0, 0, 0},
37072 { SWIG_PY_INT, (char *)"ID_HIGHEST", (long) wxID_HIGHEST, 0, 0, 0},
37073 { SWIG_PY_INT, (char *)"OPEN", (long) wxOPEN, 0, 0, 0},
37074 { SWIG_PY_INT, (char *)"SAVE", (long) wxSAVE, 0, 0, 0},
37075 { SWIG_PY_INT, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY, 0, 0, 0},
37076 { SWIG_PY_INT, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT, 0, 0, 0},
37077 { SWIG_PY_INT, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST, 0, 0, 0},
37078 { SWIG_PY_INT, (char *)"MULTIPLE", (long) wxMULTIPLE, 0, 0, 0},
37079 { SWIG_PY_INT, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR, 0, 0, 0},
37080 { SWIG_PY_INT, (char *)"ACCEL_ALT", (long) wxACCEL_ALT, 0, 0, 0},
37081 { SWIG_PY_INT, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL, 0, 0, 0},
37082 { SWIG_PY_INT, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT, 0, 0, 0},
37083 { SWIG_PY_INT, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL, 0, 0, 0},
37084 { SWIG_PY_INT, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE, 0, 0, 0},
37085 { SWIG_PY_INT, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL, 0, 0, 0},
37086 { SWIG_PY_INT, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT, 0, 0, 0},
37087 { SWIG_PY_INT, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME, 0, 0, 0},
37088 { SWIG_PY_INT, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME, 0, 0, 0},
37089 { SWIG_PY_INT, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME, 0, 0, 0},
37090 { SWIG_PY_INT, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON, 0, 0, 0},
37091 { SWIG_PY_INT, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE, 0, 0, 0},
37092 { SWIG_PY_INT, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF, 0, 0, 0},
37093 { SWIG_PY_INT, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE, 0, 0, 0},
37094 { SWIG_PY_INT, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE, 0, 0, 0},
37095 { SWIG_PY_INT, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL, 0, 0, 0},
37096 { SWIG_PY_INT, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL, 0, 0, 0},
37097 { SWIG_PY_INT, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY, 0, 0, 0},
37098 { SWIG_PY_INT, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS, 0, 0, 0},
37099 { SWIG_PY_INT, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT, 0, 0, 0},
37100 { SWIG_PY_INT, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND, 0, 0, 0},
37101 { SWIG_PY_INT, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE, 0, 0, 0},
37102 { SWIG_PY_INT, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES, 0, 0, 0},
37103 { SWIG_PY_INT, (char *)"MM_TEXT", (long) wxMM_TEXT, 0, 0, 0},
37104 { SWIG_PY_INT, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC, 0, 0, 0},
37105 { SWIG_PY_INT, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC, 0, 0, 0},
37106 { SWIG_PY_INT, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH, 0, 0, 0},
37107 { SWIG_PY_INT, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH, 0, 0, 0},
37108 { SWIG_PY_INT, (char *)"MM_TWIPS", (long) wxMM_TWIPS, 0, 0, 0},
37109 { SWIG_PY_INT, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC, 0, 0, 0},
37110 { SWIG_PY_INT, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC, 0, 0, 0},
37111 { SWIG_PY_INT, (char *)"MM_POINTS", (long) wxMM_POINTS, 0, 0, 0},
37112 { SWIG_PY_INT, (char *)"MM_METRIC", (long) wxMM_METRIC, 0, 0, 0},
37113 { SWIG_PY_INT, (char *)"CENTRE", (long) wxCENTRE, 0, 0, 0},
37114 { SWIG_PY_INT, (char *)"CENTER", (long) wxCENTER, 0, 0, 0},
37115 { SWIG_PY_INT, (char *)"HORIZONTAL", (long) wxHORIZONTAL, 0, 0, 0},
37116 { SWIG_PY_INT, (char *)"VERTICAL", (long) wxVERTICAL, 0, 0, 0},
37117 { SWIG_PY_INT, (char *)"BOTH", (long) wxBOTH, 0, 0, 0},
37118 { SWIG_PY_INT, (char *)"LEFT", (long) wxLEFT, 0, 0, 0},
37119 { SWIG_PY_INT, (char *)"RIGHT", (long) wxRIGHT, 0, 0, 0},
37120 { SWIG_PY_INT, (char *)"UP", (long) wxUP, 0, 0, 0},
37121 { SWIG_PY_INT, (char *)"DOWN", (long) wxDOWN, 0, 0, 0},
37122 { SWIG_PY_INT, (char *)"TOP", (long) wxTOP, 0, 0, 0},
37123 { SWIG_PY_INT, (char *)"BOTTOM", (long) wxBOTTOM, 0, 0, 0},
37124 { SWIG_PY_INT, (char *)"NORTH", (long) wxNORTH, 0, 0, 0},
37125 { SWIG_PY_INT, (char *)"SOUTH", (long) wxSOUTH, 0, 0, 0},
37126 { SWIG_PY_INT, (char *)"WEST", (long) wxWEST, 0, 0, 0},
37127 { SWIG_PY_INT, (char *)"EAST", (long) wxEAST, 0, 0, 0},
37128 { SWIG_PY_INT, (char *)"ALL", (long) wxALL, 0, 0, 0},
37129 { SWIG_PY_INT, (char *)"ALIGN_NOT", (long) wxALIGN_NOT, 0, 0, 0},
37130 { SWIG_PY_INT, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL, 0, 0, 0},
37131 { SWIG_PY_INT, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL, 0, 0, 0},
37132 { SWIG_PY_INT, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT, 0, 0, 0},
37133 { SWIG_PY_INT, (char *)"ALIGN_TOP", (long) wxALIGN_TOP, 0, 0, 0},
37134 { SWIG_PY_INT, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT, 0, 0, 0},
37135 { SWIG_PY_INT, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM, 0, 0, 0},
37136 { SWIG_PY_INT, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL, 0, 0, 0},
37137 { SWIG_PY_INT, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL, 0, 0, 0},
37138 { SWIG_PY_INT, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER, 0, 0, 0},
37139 { SWIG_PY_INT, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE, 0, 0, 0},
37140 { SWIG_PY_INT, (char *)"ALIGN_MASK", (long) wxALIGN_MASK, 0, 0, 0},
37141 { SWIG_PY_INT, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT, 0, 0, 0},
37142 { SWIG_PY_INT, (char *)"SHRINK", (long) wxSHRINK, 0, 0, 0},
37143 { SWIG_PY_INT, (char *)"GROW", (long) wxGROW, 0, 0, 0},
37144 { SWIG_PY_INT, (char *)"EXPAND", (long) wxEXPAND, 0, 0, 0},
37145 { SWIG_PY_INT, (char *)"SHAPED", (long) wxSHAPED, 0, 0, 0},
37146 { SWIG_PY_INT, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE, 0, 0, 0},
37147 { SWIG_PY_INT, (char *)"TILE", (long) wxTILE, 0, 0, 0},
37148 { SWIG_PY_INT, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT, 0, 0, 0},
37149 { SWIG_PY_INT, (char *)"BORDER_NONE", (long) wxBORDER_NONE, 0, 0, 0},
37150 { SWIG_PY_INT, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC, 0, 0, 0},
37151 { SWIG_PY_INT, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE, 0, 0, 0},
37152 { SWIG_PY_INT, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED, 0, 0, 0},
37153 { SWIG_PY_INT, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN, 0, 0, 0},
37154 { SWIG_PY_INT, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE, 0, 0, 0},
37155 { SWIG_PY_INT, (char *)"BORDER_MASK", (long) wxBORDER_MASK, 0, 0, 0},
37156 { SWIG_PY_INT, (char *)"DEFAULT", (long) wxDEFAULT, 0, 0, 0},
37157 { SWIG_PY_INT, (char *)"DECORATIVE", (long) wxDECORATIVE, 0, 0, 0},
37158 { SWIG_PY_INT, (char *)"ROMAN", (long) wxROMAN, 0, 0, 0},
37159 { SWIG_PY_INT, (char *)"SCRIPT", (long) wxSCRIPT, 0, 0, 0},
37160 { SWIG_PY_INT, (char *)"SWISS", (long) wxSWISS, 0, 0, 0},
37161 { SWIG_PY_INT, (char *)"MODERN", (long) wxMODERN, 0, 0, 0},
37162 { SWIG_PY_INT, (char *)"TELETYPE", (long) wxTELETYPE, 0, 0, 0},
37163 { SWIG_PY_INT, (char *)"VARIABLE", (long) wxVARIABLE, 0, 0, 0},
37164 { SWIG_PY_INT, (char *)"FIXED", (long) wxFIXED, 0, 0, 0},
37165 { SWIG_PY_INT, (char *)"NORMAL", (long) wxNORMAL, 0, 0, 0},
37166 { SWIG_PY_INT, (char *)"LIGHT", (long) wxLIGHT, 0, 0, 0},
37167 { SWIG_PY_INT, (char *)"BOLD", (long) wxBOLD, 0, 0, 0},
37168 { SWIG_PY_INT, (char *)"ITALIC", (long) wxITALIC, 0, 0, 0},
37169 { SWIG_PY_INT, (char *)"SLANT", (long) wxSLANT, 0, 0, 0},
37170 { SWIG_PY_INT, (char *)"SOLID", (long) wxSOLID, 0, 0, 0},
37171 { SWIG_PY_INT, (char *)"DOT", (long) wxDOT, 0, 0, 0},
37172 { SWIG_PY_INT, (char *)"LONG_DASH", (long) wxLONG_DASH, 0, 0, 0},
37173 { SWIG_PY_INT, (char *)"SHORT_DASH", (long) wxSHORT_DASH, 0, 0, 0},
37174 { SWIG_PY_INT, (char *)"DOT_DASH", (long) wxDOT_DASH, 0, 0, 0},
37175 { SWIG_PY_INT, (char *)"USER_DASH", (long) wxUSER_DASH, 0, 0, 0},
37176 { SWIG_PY_INT, (char *)"TRANSPARENT", (long) wxTRANSPARENT, 0, 0, 0},
37177 { SWIG_PY_INT, (char *)"STIPPLE", (long) wxSTIPPLE, 0, 0, 0},
37178 { SWIG_PY_INT, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH, 0, 0, 0},
37179 { SWIG_PY_INT, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH, 0, 0, 0},
37180 { SWIG_PY_INT, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH, 0, 0, 0},
37181 { SWIG_PY_INT, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH, 0, 0, 0},
37182 { SWIG_PY_INT, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH, 0, 0, 0},
37183 { SWIG_PY_INT, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH, 0, 0, 0},
37184 { SWIG_PY_INT, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL, 0, 0, 0},
37185 { SWIG_PY_INT, (char *)"JOIN_MITER", (long) wxJOIN_MITER, 0, 0, 0},
37186 { SWIG_PY_INT, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND, 0, 0, 0},
37187 { SWIG_PY_INT, (char *)"CAP_ROUND", (long) wxCAP_ROUND, 0, 0, 0},
37188 { SWIG_PY_INT, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING, 0, 0, 0},
37189 { SWIG_PY_INT, (char *)"CAP_BUTT", (long) wxCAP_BUTT, 0, 0, 0},
37190 { SWIG_PY_INT, (char *)"CLEAR", (long) wxCLEAR, 0, 0, 0},
37191 { SWIG_PY_INT, (char *)"XOR", (long) wxXOR, 0, 0, 0},
37192 { SWIG_PY_INT, (char *)"INVERT", (long) wxINVERT, 0, 0, 0},
37193 { SWIG_PY_INT, (char *)"OR_REVERSE", (long) wxOR_REVERSE, 0, 0, 0},
37194 { SWIG_PY_INT, (char *)"AND_REVERSE", (long) wxAND_REVERSE, 0, 0, 0},
37195 { SWIG_PY_INT, (char *)"COPY", (long) wxCOPY, 0, 0, 0},
37196 { SWIG_PY_INT, (char *)"AND", (long) wxAND, 0, 0, 0},
37197 { SWIG_PY_INT, (char *)"AND_INVERT", (long) wxAND_INVERT, 0, 0, 0},
37198 { SWIG_PY_INT, (char *)"NO_OP", (long) wxNO_OP, 0, 0, 0},
37199 { SWIG_PY_INT, (char *)"NOR", (long) wxNOR, 0, 0, 0},
37200 { SWIG_PY_INT, (char *)"EQUIV", (long) wxEQUIV, 0, 0, 0},
37201 { SWIG_PY_INT, (char *)"SRC_INVERT", (long) wxSRC_INVERT, 0, 0, 0},
37202 { SWIG_PY_INT, (char *)"OR_INVERT", (long) wxOR_INVERT, 0, 0, 0},
37203 { SWIG_PY_INT, (char *)"NAND", (long) wxNAND, 0, 0, 0},
37204 { SWIG_PY_INT, (char *)"OR", (long) wxOR, 0, 0, 0},
37205 { SWIG_PY_INT, (char *)"SET", (long) wxSET, 0, 0, 0},
37206 { SWIG_PY_INT, (char *)"WXK_BACK", (long) WXK_BACK, 0, 0, 0},
37207 { SWIG_PY_INT, (char *)"WXK_TAB", (long) WXK_TAB, 0, 0, 0},
37208 { SWIG_PY_INT, (char *)"WXK_RETURN", (long) WXK_RETURN, 0, 0, 0},
37209 { SWIG_PY_INT, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE, 0, 0, 0},
37210 { SWIG_PY_INT, (char *)"WXK_SPACE", (long) WXK_SPACE, 0, 0, 0},
37211 { SWIG_PY_INT, (char *)"WXK_DELETE", (long) WXK_DELETE, 0, 0, 0},
37212 { SWIG_PY_INT, (char *)"WXK_START", (long) WXK_START, 0, 0, 0},
37213 { SWIG_PY_INT, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON, 0, 0, 0},
37214 { SWIG_PY_INT, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON, 0, 0, 0},
37215 { SWIG_PY_INT, (char *)"WXK_CANCEL", (long) WXK_CANCEL, 0, 0, 0},
37216 { SWIG_PY_INT, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON, 0, 0, 0},
37217 { SWIG_PY_INT, (char *)"WXK_CLEAR", (long) WXK_CLEAR, 0, 0, 0},
37218 { SWIG_PY_INT, (char *)"WXK_SHIFT", (long) WXK_SHIFT, 0, 0, 0},
37219 { SWIG_PY_INT, (char *)"WXK_ALT", (long) WXK_ALT, 0, 0, 0},
37220 { SWIG_PY_INT, (char *)"WXK_CONTROL", (long) WXK_CONTROL, 0, 0, 0},
37221 { SWIG_PY_INT, (char *)"WXK_MENU", (long) WXK_MENU, 0, 0, 0},
37222 { SWIG_PY_INT, (char *)"WXK_PAUSE", (long) WXK_PAUSE, 0, 0, 0},
37223 { SWIG_PY_INT, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL, 0, 0, 0},
37224 { SWIG_PY_INT, (char *)"WXK_PRIOR", (long) WXK_PRIOR, 0, 0, 0},
37225 { SWIG_PY_INT, (char *)"WXK_NEXT", (long) WXK_NEXT, 0, 0, 0},
37226 { SWIG_PY_INT, (char *)"WXK_END", (long) WXK_END, 0, 0, 0},
37227 { SWIG_PY_INT, (char *)"WXK_HOME", (long) WXK_HOME, 0, 0, 0},
37228 { SWIG_PY_INT, (char *)"WXK_LEFT", (long) WXK_LEFT, 0, 0, 0},
37229 { SWIG_PY_INT, (char *)"WXK_UP", (long) WXK_UP, 0, 0, 0},
37230 { SWIG_PY_INT, (char *)"WXK_RIGHT", (long) WXK_RIGHT, 0, 0, 0},
37231 { SWIG_PY_INT, (char *)"WXK_DOWN", (long) WXK_DOWN, 0, 0, 0},
37232 { SWIG_PY_INT, (char *)"WXK_SELECT", (long) WXK_SELECT, 0, 0, 0},
37233 { SWIG_PY_INT, (char *)"WXK_PRINT", (long) WXK_PRINT, 0, 0, 0},
37234 { SWIG_PY_INT, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE, 0, 0, 0},
37235 { SWIG_PY_INT, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT, 0, 0, 0},
37236 { SWIG_PY_INT, (char *)"WXK_INSERT", (long) WXK_INSERT, 0, 0, 0},
37237 { SWIG_PY_INT, (char *)"WXK_HELP", (long) WXK_HELP, 0, 0, 0},
37238 { SWIG_PY_INT, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0, 0, 0, 0},
37239 { SWIG_PY_INT, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1, 0, 0, 0},
37240 { SWIG_PY_INT, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2, 0, 0, 0},
37241 { SWIG_PY_INT, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3, 0, 0, 0},
37242 { SWIG_PY_INT, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4, 0, 0, 0},
37243 { SWIG_PY_INT, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5, 0, 0, 0},
37244 { SWIG_PY_INT, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6, 0, 0, 0},
37245 { SWIG_PY_INT, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7, 0, 0, 0},
37246 { SWIG_PY_INT, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8, 0, 0, 0},
37247 { SWIG_PY_INT, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9, 0, 0, 0},
37248 { SWIG_PY_INT, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY, 0, 0, 0},
37249 { SWIG_PY_INT, (char *)"WXK_ADD", (long) WXK_ADD, 0, 0, 0},
37250 { SWIG_PY_INT, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR, 0, 0, 0},
37251 { SWIG_PY_INT, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT, 0, 0, 0},
37252 { SWIG_PY_INT, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL, 0, 0, 0},
37253 { SWIG_PY_INT, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE, 0, 0, 0},
37254 { SWIG_PY_INT, (char *)"WXK_F1", (long) WXK_F1, 0, 0, 0},
37255 { SWIG_PY_INT, (char *)"WXK_F2", (long) WXK_F2, 0, 0, 0},
37256 { SWIG_PY_INT, (char *)"WXK_F3", (long) WXK_F3, 0, 0, 0},
37257 { SWIG_PY_INT, (char *)"WXK_F4", (long) WXK_F4, 0, 0, 0},
37258 { SWIG_PY_INT, (char *)"WXK_F5", (long) WXK_F5, 0, 0, 0},
37259 { SWIG_PY_INT, (char *)"WXK_F6", (long) WXK_F6, 0, 0, 0},
37260 { SWIG_PY_INT, (char *)"WXK_F7", (long) WXK_F7, 0, 0, 0},
37261 { SWIG_PY_INT, (char *)"WXK_F8", (long) WXK_F8, 0, 0, 0},
37262 { SWIG_PY_INT, (char *)"WXK_F9", (long) WXK_F9, 0, 0, 0},
37263 { SWIG_PY_INT, (char *)"WXK_F10", (long) WXK_F10, 0, 0, 0},
37264 { SWIG_PY_INT, (char *)"WXK_F11", (long) WXK_F11, 0, 0, 0},
37265 { SWIG_PY_INT, (char *)"WXK_F12", (long) WXK_F12, 0, 0, 0},
37266 { SWIG_PY_INT, (char *)"WXK_F13", (long) WXK_F13, 0, 0, 0},
37267 { SWIG_PY_INT, (char *)"WXK_F14", (long) WXK_F14, 0, 0, 0},
37268 { SWIG_PY_INT, (char *)"WXK_F15", (long) WXK_F15, 0, 0, 0},
37269 { SWIG_PY_INT, (char *)"WXK_F16", (long) WXK_F16, 0, 0, 0},
37270 { SWIG_PY_INT, (char *)"WXK_F17", (long) WXK_F17, 0, 0, 0},
37271 { SWIG_PY_INT, (char *)"WXK_F18", (long) WXK_F18, 0, 0, 0},
37272 { SWIG_PY_INT, (char *)"WXK_F19", (long) WXK_F19, 0, 0, 0},
37273 { SWIG_PY_INT, (char *)"WXK_F20", (long) WXK_F20, 0, 0, 0},
37274 { SWIG_PY_INT, (char *)"WXK_F21", (long) WXK_F21, 0, 0, 0},
37275 { SWIG_PY_INT, (char *)"WXK_F22", (long) WXK_F22, 0, 0, 0},
37276 { SWIG_PY_INT, (char *)"WXK_F23", (long) WXK_F23, 0, 0, 0},
37277 { SWIG_PY_INT, (char *)"WXK_F24", (long) WXK_F24, 0, 0, 0},
37278 { SWIG_PY_INT, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK, 0, 0, 0},
37279 { SWIG_PY_INT, (char *)"WXK_SCROLL", (long) WXK_SCROLL, 0, 0, 0},
37280 { SWIG_PY_INT, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP, 0, 0, 0},
37281 { SWIG_PY_INT, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN, 0, 0, 0},
37282 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE, 0, 0, 0},
37283 { SWIG_PY_INT, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB, 0, 0, 0},
37284 { SWIG_PY_INT, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER, 0, 0, 0},
37285 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1, 0, 0, 0},
37286 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2, 0, 0, 0},
37287 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3, 0, 0, 0},
37288 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4, 0, 0, 0},
37289 { SWIG_PY_INT, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME, 0, 0, 0},
37290 { SWIG_PY_INT, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT, 0, 0, 0},
37291 { SWIG_PY_INT, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP, 0, 0, 0},
37292 { SWIG_PY_INT, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT, 0, 0, 0},
37293 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN, 0, 0, 0},
37294 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR, 0, 0, 0},
37295 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP, 0, 0, 0},
37296 { SWIG_PY_INT, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT, 0, 0, 0},
37297 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN, 0, 0, 0},
37298 { SWIG_PY_INT, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END, 0, 0, 0},
37299 { SWIG_PY_INT, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN, 0, 0, 0},
37300 { SWIG_PY_INT, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT, 0, 0, 0},
37301 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE, 0, 0, 0},
37302 { SWIG_PY_INT, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL, 0, 0, 0},
37303 { SWIG_PY_INT, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY, 0, 0, 0},
37304 { SWIG_PY_INT, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD, 0, 0, 0},
37305 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR, 0, 0, 0},
37306 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT, 0, 0, 0},
37307 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL, 0, 0, 0},
37308 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE, 0, 0, 0},
37309 { SWIG_PY_INT, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT, 0, 0, 0},
37310 { SWIG_PY_INT, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT, 0, 0, 0},
37311 { SWIG_PY_INT, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU, 0, 0, 0},
37312 { SWIG_PY_INT, (char *)"PAPER_NONE", (long) wxPAPER_NONE, 0, 0, 0},
37313 { SWIG_PY_INT, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER, 0, 0, 0},
37314 { SWIG_PY_INT, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL, 0, 0, 0},
37315 { SWIG_PY_INT, (char *)"PAPER_A4", (long) wxPAPER_A4, 0, 0, 0},
37316 { SWIG_PY_INT, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET, 0, 0, 0},
37317 { SWIG_PY_INT, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET, 0, 0, 0},
37318 { SWIG_PY_INT, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET, 0, 0, 0},
37319 { SWIG_PY_INT, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL, 0, 0, 0},
37320 { SWIG_PY_INT, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID, 0, 0, 0},
37321 { SWIG_PY_INT, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER, 0, 0, 0},
37322 { SWIG_PY_INT, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT, 0, 0, 0},
37323 { SWIG_PY_INT, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE, 0, 0, 0},
37324 { SWIG_PY_INT, (char *)"PAPER_A3", (long) wxPAPER_A3, 0, 0, 0},
37325 { SWIG_PY_INT, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL, 0, 0, 0},
37326 { SWIG_PY_INT, (char *)"PAPER_A5", (long) wxPAPER_A5, 0, 0, 0},
37327 { SWIG_PY_INT, (char *)"PAPER_B4", (long) wxPAPER_B4, 0, 0, 0},
37328 { SWIG_PY_INT, (char *)"PAPER_B5", (long) wxPAPER_B5, 0, 0, 0},
37329 { SWIG_PY_INT, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO, 0, 0, 0},
37330 { SWIG_PY_INT, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO, 0, 0, 0},
37331 { SWIG_PY_INT, (char *)"PAPER_10X14", (long) wxPAPER_10X14, 0, 0, 0},
37332 { SWIG_PY_INT, (char *)"PAPER_11X17", (long) wxPAPER_11X17, 0, 0, 0},
37333 { SWIG_PY_INT, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE, 0, 0, 0},
37334 { SWIG_PY_INT, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9, 0, 0, 0},
37335 { SWIG_PY_INT, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10, 0, 0, 0},
37336 { SWIG_PY_INT, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11, 0, 0, 0},
37337 { SWIG_PY_INT, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12, 0, 0, 0},
37338 { SWIG_PY_INT, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14, 0, 0, 0},
37339 { SWIG_PY_INT, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL, 0, 0, 0},
37340 { SWIG_PY_INT, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5, 0, 0, 0},
37341 { SWIG_PY_INT, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3, 0, 0, 0},
37342 { SWIG_PY_INT, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4, 0, 0, 0},
37343 { SWIG_PY_INT, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6, 0, 0, 0},
37344 { SWIG_PY_INT, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65, 0, 0, 0},
37345 { SWIG_PY_INT, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4, 0, 0, 0},
37346 { SWIG_PY_INT, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5, 0, 0, 0},
37347 { SWIG_PY_INT, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6, 0, 0, 0},
37348 { SWIG_PY_INT, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY, 0, 0, 0},
37349 { SWIG_PY_INT, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH, 0, 0, 0},
37350 { SWIG_PY_INT, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL, 0, 0, 0},
37351 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US, 0, 0, 0},
37352 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN, 0, 0, 0},
37353 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN, 0, 0, 0},
37354 { SWIG_PY_INT, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4, 0, 0, 0},
37355 { SWIG_PY_INT, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD, 0, 0, 0},
37356 { SWIG_PY_INT, (char *)"PAPER_9X11", (long) wxPAPER_9X11, 0, 0, 0},
37357 { SWIG_PY_INT, (char *)"PAPER_10X11", (long) wxPAPER_10X11, 0, 0, 0},
37358 { SWIG_PY_INT, (char *)"PAPER_15X11", (long) wxPAPER_15X11, 0, 0, 0},
37359 { SWIG_PY_INT, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE, 0, 0, 0},
37360 { SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA, 0, 0, 0},
37361 { SWIG_PY_INT, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA, 0, 0, 0},
37362 { SWIG_PY_INT, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA, 0, 0, 0},
37363 { SWIG_PY_INT, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA, 0, 0, 0},
37364 { SWIG_PY_INT, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE, 0, 0, 0},
37365 { SWIG_PY_INT, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE, 0, 0, 0},
37366 { SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE, 0, 0, 0},
37367 { SWIG_PY_INT, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS, 0, 0, 0},
37368 { SWIG_PY_INT, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS, 0, 0, 0},
37369 { SWIG_PY_INT, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS, 0, 0, 0},
37370 { SWIG_PY_INT, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS, 0, 0, 0},
37371 { SWIG_PY_INT, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE, 0, 0, 0},
37372 { SWIG_PY_INT, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE, 0, 0, 0},
37373 { SWIG_PY_INT, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA, 0, 0, 0},
37374 { SWIG_PY_INT, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA, 0, 0, 0},
37375 { SWIG_PY_INT, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA, 0, 0, 0},
37376 { SWIG_PY_INT, (char *)"PAPER_A2", (long) wxPAPER_A2, 0, 0, 0},
37377 { SWIG_PY_INT, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE, 0, 0, 0},
37378 { SWIG_PY_INT, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE, 0, 0, 0},
37379 { SWIG_PY_INT, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX, 0, 0, 0},
37380 { SWIG_PY_INT, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL, 0, 0, 0},
37381 { SWIG_PY_INT, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL, 0, 0, 0},
37382 { SWIG_PY_INT, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR, 0, 0, 0},
37383 { SWIG_PY_INT, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL, 0, 0, 0},
37384 { SWIG_PY_INT, (char *)"ITEM_CHECK", (long) wxITEM_CHECK, 0, 0, 0},
37385 { SWIG_PY_INT, (char *)"ITEM_RADIO", (long) wxITEM_RADIO, 0, 0, 0},
37386 { SWIG_PY_INT, (char *)"ITEM_MAX", (long) wxITEM_MAX, 0, 0, 0},
37387 { SWIG_PY_INT, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE, 0, 0, 0},
37388 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST, 0, 0, 0},
37389 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1, 0, 0, 0},
37390 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2, 0, 0, 0},
37391 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1, 0, 0, 0},
37392 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2, 0, 0, 0},
37393 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB, 0, 0, 0},
37394 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1, 0, 0, 0},
37395 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2, 0, 0, 0},
37396 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST, 0, 0, 0},
37397 { SWIG_PY_INT, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE, 0, 0, 0},
37398 { SWIG_PY_INT, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE, 0, 0, 0},
37399 { SWIG_PY_INT, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR, 0, 0, 0},
37400 { SWIG_PY_INT, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR, 0, 0, 0},
37401 { SWIG_PY_INT, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER, 0, 0, 0},
37402 { SWIG_PY_INT, (char *)"HT_MAX", (long) wxHT_MAX, 0, 0, 0},
37403 { SWIG_PY_INT, (char *)"MOD_NONE", (long) wxMOD_NONE, 0, 0, 0},
37404 { SWIG_PY_INT, (char *)"MOD_ALT", (long) wxMOD_ALT, 0, 0, 0},
37405 { SWIG_PY_INT, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL, 0, 0, 0},
37406 { SWIG_PY_INT, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT, 0, 0, 0},
37407 { SWIG_PY_INT, (char *)"MOD_WIN", (long) wxMOD_WIN, 0, 0, 0},
37408 { SWIG_PY_INT, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE, 0, 0, 0},
37409 { SWIG_PY_INT, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE, 0, 0, 0},
37410 { SWIG_PY_INT, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE, 0, 0, 0},
37411 { SWIG_PY_INT, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID, 0, 0, 0},
37412 { SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP, 0, 0, 0},
37413 { SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE, 0, 0, 0},
37414 { SWIG_PY_INT, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE, 0, 0, 0},
37415 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO, 0, 0, 0},
37416 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE, 0, 0, 0},
37417 { SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR, 0, 0, 0},
37418 { SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE, 0, 0, 0},
37419 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM, 0, 0, 0},
37420 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA, 0, 0, 0},
37421 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM, 0, 0, 0},
37422 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA, 0, 0, 0},
37423 { SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF, 0, 0, 0},
37424 { SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE, 0, 0, 0},
37425 { SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF, 0, 0, 0},
37426 { SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE, 0, 0, 0},
37427 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG, 0, 0, 0},
37428 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE, 0, 0, 0},
37429 { SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG, 0, 0, 0},
37430 { SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE, 0, 0, 0},
37431 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM, 0, 0, 0},
37432 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE, 0, 0, 0},
37433 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX, 0, 0, 0},
37434 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE, 0, 0, 0},
37435 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT, 0, 0, 0},
37436 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE, 0, 0, 0},
37437 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON, 0, 0, 0},
37438 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE, 0, 0, 0},
37439 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI, 0, 0, 0},
37440 { SWIG_PY_INT, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF, 0, 0, 0},
37441 { SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR, 0, 0, 0},
37442 { SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE, 0, 0, 0},
37443 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY, 0, 0, 0},
37444 { SWIG_PY_INT, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE, 0, 0, 0},
37445 { SWIG_PY_INT, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW, 0, 0, 0},
37446 { SWIG_PY_INT, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW, 0, 0, 0},
37447 { SWIG_PY_INT, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE, 0, 0, 0},
37448 { SWIG_PY_INT, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR, 0, 0, 0},
37449 { SWIG_PY_INT, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS, 0, 0, 0},
37450 { SWIG_PY_INT, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND, 0, 0, 0},
37451 { SWIG_PY_INT, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM, 0, 0, 0},
37452 { SWIG_PY_INT, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON, 0, 0, 0},
37453 { SWIG_PY_INT, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER, 0, 0, 0},
37454 { SWIG_PY_INT, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON, 0, 0, 0},
37455 { SWIG_PY_INT, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY, 0, 0, 0},
37456 { SWIG_PY_INT, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH, 0, 0, 0},
37457 { SWIG_PY_INT, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL, 0, 0, 0},
37458 { SWIG_PY_INT, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT, 0, 0, 0},
37459 { SWIG_PY_INT, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT, 0, 0, 0},
37460 { SWIG_PY_INT, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW, 0, 0, 0},
37461 { SWIG_PY_INT, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON, 0, 0, 0},
37462 { SWIG_PY_INT, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW, 0, 0, 0},
37463 { SWIG_PY_INT, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS, 0, 0, 0},
37464 { SWIG_PY_INT, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE, 0, 0, 0},
37465 { SWIG_PY_INT, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE, 0, 0, 0},
37466 { SWIG_PY_INT, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING, 0, 0, 0},
37467 { SWIG_PY_INT, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN, 0, 0, 0},
37468 { SWIG_PY_INT, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT, 0, 0, 0},
37469 { SWIG_PY_INT, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH, 0, 0, 0},
37470 { SWIG_PY_INT, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK, 0, 0, 0},
37471 { SWIG_PY_INT, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT, 0, 0, 0},
37472 { SWIG_PY_INT, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW, 0, 0, 0},
37473 { SWIG_PY_INT, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT, 0, 0, 0},
37474 { SWIG_PY_INT, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX, 0, 0, 0},
37475 { SWIG_PY_INT, (char *)"FromStart", (long) wxFromStart, 0, 0, 0},
37476 { SWIG_PY_INT, (char *)"FromCurrent", (long) wxFromCurrent, 0, 0, 0},
37477 { SWIG_PY_INT, (char *)"FromEnd", (long) wxFromEnd, 0, 0, 0},
37478 { SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES, 0, 0, 0},
37479 { SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM, 0, 0, 0},
37480 { SWIG_PY_INT, (char *)"BMP_24BPP", (long) wxBMP_24BPP, 0, 0, 0},
37481 { SWIG_PY_INT, (char *)"BMP_8BPP", (long) wxBMP_8BPP, 0, 0, 0},
37482 { SWIG_PY_INT, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY, 0, 0, 0},
37483 { SWIG_PY_INT, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY, 0, 0, 0},
37484 { SWIG_PY_INT, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED, 0, 0, 0},
37485 { SWIG_PY_INT, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE, 0, 0, 0},
37486 { SWIG_PY_INT, (char *)"BMP_4BPP", (long) wxBMP_4BPP, 0, 0, 0},
37487 { SWIG_PY_INT, (char *)"BMP_1BPP", (long) wxBMP_1BPP, 0, 0, 0},
37488 { SWIG_PY_INT, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW, 0, 0, 0},
37489 { SWIG_PY_INT, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE, 0, 0, 0},
37490 { SWIG_PY_INT, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX, 0, 0, 0},
37491 { SWIG_PY_INT, (char *)"wxEVT_NULL", (long) wxEVT_NULL, 0, 0, 0},
37492 { SWIG_PY_INT, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST, 0, 0, 0},
37493 { SWIG_PY_INT, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST, 0, 0, 0},
37494 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED, 0, 0, 0},
37495 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED, 0, 0, 0},
37496 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED, 0, 0, 0},
37497 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED, 0, 0, 0},
37498 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 0, 0, 0},
37499 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 0, 0, 0},
37500 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED, 0, 0, 0},
37501 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED, 0, 0, 0},
37502 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED, 0, 0, 0},
37503 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED, 0, 0, 0},
37504 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED, 0, 0, 0},
37505 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED, 0, 0, 0},
37506 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED, 0, 0, 0},
37507 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED, 0, 0, 0},
37508 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED, 0, 0, 0},
37509 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER, 0, 0, 0},
37510 { SWIG_PY_INT, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN, 0, 0, 0},
37511 { SWIG_PY_INT, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP, 0, 0, 0},
37512 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN, 0, 0, 0},
37513 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP, 0, 0, 0},
37514 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN, 0, 0, 0},
37515 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP, 0, 0, 0},
37516 { SWIG_PY_INT, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION, 0, 0, 0},
37517 { SWIG_PY_INT, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW, 0, 0, 0},
37518 { SWIG_PY_INT, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW, 0, 0, 0},
37519 { SWIG_PY_INT, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK, 0, 0, 0},
37520 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK, 0, 0, 0},
37521 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK, 0, 0, 0},
37522 { SWIG_PY_INT, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS, 0, 0, 0},
37523 { SWIG_PY_INT, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS, 0, 0, 0},
37524 { SWIG_PY_INT, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS, 0, 0, 0},
37525 { SWIG_PY_INT, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL, 0, 0, 0},
37526 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN, 0, 0, 0},
37527 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP, 0, 0, 0},
37528 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN, 0, 0, 0},
37529 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP, 0, 0, 0},
37530 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN, 0, 0, 0},
37531 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP, 0, 0, 0},
37532 { SWIG_PY_INT, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION, 0, 0, 0},
37533 { SWIG_PY_INT, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW, 0, 0, 0},
37534 { SWIG_PY_INT, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW, 0, 0, 0},
37535 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK, 0, 0, 0},
37536 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK, 0, 0, 0},
37537 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK, 0, 0, 0},
37538 { SWIG_PY_INT, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR, 0, 0, 0},
37539 { SWIG_PY_INT, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK, 0, 0, 0},
37540 { SWIG_PY_INT, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY, 0, 0, 0},
37541 { SWIG_PY_INT, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN, 0, 0, 0},
37542 { SWIG_PY_INT, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP, 0, 0, 0},
37543 { SWIG_PY_INT, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY, 0, 0, 0},
37544 { SWIG_PY_INT, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR, 0, 0, 0},
37545 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP, 0, 0, 0},
37546 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM, 0, 0, 0},
37547 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP, 0, 0, 0},
37548 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN, 0, 0, 0},
37549 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP, 0, 0, 0},
37550 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN, 0, 0, 0},
37551 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK, 0, 0, 0},
37552 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE, 0, 0, 0},
37553 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL, 0, 0, 0},
37554 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP, 0, 0, 0},
37555 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM, 0, 0, 0},
37556 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP, 0, 0, 0},
37557 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN, 0, 0, 0},
37558 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP, 0, 0, 0},
37559 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN, 0, 0, 0},
37560 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK, 0, 0, 0},
37561 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE, 0, 0, 0},
37562 { SWIG_PY_INT, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE, 0, 0, 0},
37563 { SWIG_PY_INT, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE, 0, 0, 0},
37564 { SWIG_PY_INT, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW, 0, 0, 0},
37565 { SWIG_PY_INT, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION, 0, 0, 0},
37566 { SWIG_PY_INT, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION, 0, 0, 0},
37567 { SWIG_PY_INT, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP, 0, 0, 0},
37568 { SWIG_PY_INT, (char *)"wxEVT_POWER", (long) wxEVT_POWER, 0, 0, 0},
37569 { SWIG_PY_INT, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE, 0, 0, 0},
37570 { SWIG_PY_INT, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE, 0, 0, 0},
37571 { SWIG_PY_INT, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY, 0, 0, 0},
37572 { SWIG_PY_INT, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW, 0, 0, 0},
37573 { SWIG_PY_INT, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE, 0, 0, 0},
37574 { SWIG_PY_INT, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE, 0, 0, 0},
37575 { SWIG_PY_INT, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED, 0, 0, 0},
37576 { SWIG_PY_INT, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT, 0, 0, 0},
37577 { SWIG_PY_INT, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND, 0, 0, 0},
37578 { SWIG_PY_INT, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT, 0, 0, 0},
37579 { SWIG_PY_INT, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON, 0, 0, 0},
37580 { SWIG_PY_INT, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN, 0, 0, 0},
37581 { SWIG_PY_INT, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE, 0, 0, 0},
37582 { SWIG_PY_INT, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT, 0, 0, 0},
37583 { SWIG_PY_INT, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU, 0, 0, 0},
37584 { SWIG_PY_INT, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED, 0, 0, 0},
37585 { SWIG_PY_INT, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED, 0, 0, 0},
37586 { SWIG_PY_INT, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED, 0, 0, 0},
37587 { SWIG_PY_INT, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE, 0, 0, 0},
37588 { SWIG_PY_INT, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED, 0, 0, 0},
37589 { SWIG_PY_INT, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES, 0, 0, 0},
37590 { SWIG_PY_INT, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM, 0, 0, 0},
37591 { SWIG_PY_INT, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM, 0, 0, 0},
37592 { SWIG_PY_INT, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM, 0, 0, 0},
37593 { SWIG_PY_INT, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG, 0, 0, 0},
37594 { SWIG_PY_INT, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE, 0, 0, 0},
37595 { SWIG_PY_INT, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI, 0, 0, 0},
37596 { SWIG_PY_INT, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING, 0, 0, 0},
37597 { SWIG_PY_INT, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING, 0, 0, 0},
37598 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK, 0, 0, 0},
37599 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK, 0, 0, 0},
37600 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK, 0, 0, 0},
37601 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK, 0, 0, 0},
37602 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS, 0, 0, 0},
37603 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS, 0, 0, 0},
37604 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER, 0, 0, 0},
37605 { SWIG_PY_INT, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY, 0, 0, 0},
37606 { SWIG_PY_INT, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE, 0, 0, 0},
37607 { SWIG_PY_INT, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT, 0, 0, 0},
37608 { SWIG_PY_INT, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE, 0, 0, 0},
37609 { SWIG_PY_INT, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT, 0, 0, 0},
37610 { SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL, 0, 0, 0},
37611 { SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED, 0, 0, 0},
37612 { SWIG_PY_INT, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL, 0, 0, 0},
37613 { SWIG_PY_INT, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED, 0, 0, 0},
37614 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS, 0, 0, 0},
37615 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION, 0, 0, 0},
37616 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG, 0, 0, 0},
37617 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG, 0, 0, 0},
37618 { SWIG_PY_INT, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS, 0, 0, 0},
37619 { SWIG_PY_INT, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT, 0, 0, 0},
37620 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE, 0, 0, 0},
37621 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED, 0, 0, 0},
37622 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL, 0, 0, 0},
37623 { SWIG_PY_INT, (char *)"Left", (long) wxLeft, 0, 0, 0},
37624 { SWIG_PY_INT, (char *)"Top", (long) wxTop, 0, 0, 0},
37625 { SWIG_PY_INT, (char *)"Right", (long) wxRight, 0, 0, 0},
37626 { SWIG_PY_INT, (char *)"Bottom", (long) wxBottom, 0, 0, 0},
37627 { SWIG_PY_INT, (char *)"Width", (long) wxWidth, 0, 0, 0},
37628 { SWIG_PY_INT, (char *)"Height", (long) wxHeight, 0, 0, 0},
37629 { SWIG_PY_INT, (char *)"Centre", (long) wxCentre, 0, 0, 0},
37630 { SWIG_PY_INT, (char *)"Center", (long) wxCenter, 0, 0, 0},
37631 { SWIG_PY_INT, (char *)"CentreX", (long) wxCentreX, 0, 0, 0},
37632 { SWIG_PY_INT, (char *)"CentreY", (long) wxCentreY, 0, 0, 0},
37633 { SWIG_PY_INT, (char *)"Unconstrained", (long) wxUnconstrained, 0, 0, 0},
37634 { SWIG_PY_INT, (char *)"AsIs", (long) wxAsIs, 0, 0, 0},
37635 { SWIG_PY_INT, (char *)"PercentOf", (long) wxPercentOf, 0, 0, 0},
37636 { SWIG_PY_INT, (char *)"Above", (long) wxAbove, 0, 0, 0},
37637 { SWIG_PY_INT, (char *)"Below", (long) wxBelow, 0, 0, 0},
37638 { SWIG_PY_INT, (char *)"LeftOf", (long) wxLeftOf, 0, 0, 0},
37639 { SWIG_PY_INT, (char *)"RightOf", (long) wxRightOf, 0, 0, 0},
37640 { SWIG_PY_INT, (char *)"SameAs", (long) wxSameAs, 0, 0, 0},
37641 { SWIG_PY_INT, (char *)"Absolute", (long) wxAbsolute, 0, 0, 0},
37642 {0}};
37643
37644 #ifdef __cplusplus
37645 }
37646 #endif
37647
37648 #ifdef __cplusplus
37649 extern "C"
37650 #endif
37651 SWIGEXPORT(void) SWIG_init(void) {
37652 static PyObject *SWIG_globals = 0;
37653 static int typeinit = 0;
37654 PyObject *m, *d;
37655 int i;
37656 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37657 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37658 d = PyModule_GetDict(m);
37659
37660 if (!typeinit) {
37661 for (i = 0; swig_types_initial[i]; i++) {
37662 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37663 }
37664 typeinit = 1;
37665 }
37666 SWIG_InstallConstants(d,swig_const_table);
37667
37668
37669 #ifndef wxPyUSE_EXPORT
37670 // Make our API structure a CObject so other modules can import it
37671 // from this module.
37672 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
37673 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
37674 Py_XDECREF(cobj);
37675 #endif
37676
37677 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37678 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
37679 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
37680
37681 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
37682
37683
37684 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
37685
37686 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
37687 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
37688 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
37689 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
37690 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
37691 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
37692 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
37693 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
37694 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
37695 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
37696 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
37697 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
37698 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
37699 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
37700 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
37701 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
37702 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
37703 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
37704 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
37705 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
37706 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
37707 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
37708 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
37709 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
37710 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
37711 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
37712 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
37713 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
37714 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
37715 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
37716 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
37717 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
37718 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
37719 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
37720 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
37721 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
37722 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
37723 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
37724 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
37725 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
37726 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
37727 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
37728 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
37729 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
37730 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
37731 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
37732 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
37733 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
37734 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
37735 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
37736 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
37737 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
37738 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
37739 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
37740 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
37741 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
37742 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
37743 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
37744 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
37745 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
37746 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
37747 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
37748 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
37749 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
37750 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
37751 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
37752 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
37753 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
37754 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
37755 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
37756 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
37757 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
37758 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
37759 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
37760 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
37761 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
37762 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
37763 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
37764 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
37765 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
37766 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
37767 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
37768 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
37769 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
37770 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
37771 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
37772 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
37773 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
37774 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
37775 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
37776 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
37777 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
37778 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
37779 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
37780 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
37781 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
37782 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
37783 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
37784 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
37785 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
37786 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
37787 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
37788 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
37789 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
37790 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
37791 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
37792 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
37793 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
37794 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
37795 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
37796 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
37797 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
37798 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
37799 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
37800 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
37801 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
37802 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
37803 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
37804 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
37805 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
37806 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
37807 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
37808 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
37809
37810 // Initialize threading, some globals and such
37811 __wxPyPreStart(d);
37812
37813
37814 // Although these are defined in __version__ they need to be here too so
37815 // that an assert can be done to ensure that the wxPython and the wxWindows
37816 // versions match.
37817 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
37818 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
37819 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
37820
37821 }
37822