]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/core_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / core_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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_OnIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17744 PyObject *resultobj;
17745 wxPyApp *arg1 = (wxPyApp *) 0 ;
17746 wxIdleEvent *arg2 = 0 ;
17747 PyObject * obj0 = 0 ;
17748 PyObject * obj1 = 0 ;
17749 char *kwnames[] = {
17750 (char *) "self",(char *) "event", NULL
17751 };
17752
17753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_OnIdle",kwnames,&obj0,&obj1)) goto fail;
17754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17756 if (arg2 == NULL) {
17757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17758 }
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 (arg1)->OnIdle(*arg2);
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 Py_INCREF(Py_None); resultobj = Py_None;
17767 return resultobj;
17768 fail:
17769 return NULL;
17770 }
17771
17772
17773 static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxPyApp *arg1 = (wxPyApp *) 0 ;
17776 bool result;
17777 PyObject * obj0 = 0 ;
17778 char *kwnames[] = {
17779 (char *) "self", NULL
17780 };
17781
17782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
17783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17784 {
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 result = (bool)((wxPyApp const *)arg1)->IsActive();
17787
17788 wxPyEndAllowThreads(__tstate);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 }
17791 resultobj = PyInt_FromLong((long)result);
17792 return resultobj;
17793 fail:
17794 return NULL;
17795 }
17796
17797
17798 static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17799 PyObject *resultobj;
17800 wxPyApp *arg1 = (wxPyApp *) 0 ;
17801 wxWindow *arg2 = (wxWindow *) 0 ;
17802 PyObject * obj0 = 0 ;
17803 PyObject * obj1 = 0 ;
17804 char *kwnames[] = {
17805 (char *) "self",(char *) "win", NULL
17806 };
17807
17808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
17809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 (arg1)->SetTopWindow(arg2);
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 Py_INCREF(Py_None); resultobj = Py_None;
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17826 PyObject *resultobj;
17827 wxPyApp *arg1 = (wxPyApp *) 0 ;
17828 wxWindow *result;
17829 PyObject * obj0 = 0 ;
17830 char *kwnames[] = {
17831 (char *) "self", NULL
17832 };
17833
17834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
17835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17836 {
17837 PyThreadState* __tstate = wxPyBeginAllowThreads();
17838 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
17839
17840 wxPyEndAllowThreads(__tstate);
17841 if (PyErr_Occurred()) SWIG_fail;
17842 }
17843 {
17844 resultobj = wxPyMake_wxObject(result);
17845 }
17846 return resultobj;
17847 fail:
17848 return NULL;
17849 }
17850
17851
17852 static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17853 PyObject *resultobj;
17854 wxPyApp *arg1 = (wxPyApp *) 0 ;
17855 bool arg2 ;
17856 PyObject * obj0 = 0 ;
17857 PyObject * obj1 = 0 ;
17858 char *kwnames[] = {
17859 (char *) "self",(char *) "flag", NULL
17860 };
17861
17862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
17863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17864 arg2 = PyInt_AsLong(obj1) ? true : false;
17865 if (PyErr_Occurred()) SWIG_fail;
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 (arg1)->SetExitOnFrameDelete(arg2);
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 Py_INCREF(Py_None); resultobj = Py_None;
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj;
17882 wxPyApp *arg1 = (wxPyApp *) 0 ;
17883 bool result;
17884 PyObject * obj0 = 0 ;
17885 char *kwnames[] = {
17886 (char *) "self", NULL
17887 };
17888
17889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
17890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17891 {
17892 PyThreadState* __tstate = wxPyBeginAllowThreads();
17893 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
17894
17895 wxPyEndAllowThreads(__tstate);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 }
17898 resultobj = PyInt_FromLong((long)result);
17899 return resultobj;
17900 fail:
17901 return NULL;
17902 }
17903
17904
17905 static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17906 PyObject *resultobj;
17907 wxPyApp *arg1 = (wxPyApp *) 0 ;
17908 bool arg2 ;
17909 PyObject * obj0 = 0 ;
17910 PyObject * obj1 = 0 ;
17911 char *kwnames[] = {
17912 (char *) "self",(char *) "flag", NULL
17913 };
17914
17915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
17916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17917 arg2 = PyInt_AsLong(obj1) ? true : false;
17918 if (PyErr_Occurred()) SWIG_fail;
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 (arg1)->SetUseBestVisual(arg2);
17922
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 Py_INCREF(Py_None); resultobj = Py_None;
17927 return resultobj;
17928 fail:
17929 return NULL;
17930 }
17931
17932
17933 static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj;
17935 wxPyApp *arg1 = (wxPyApp *) 0 ;
17936 bool result;
17937 PyObject * obj0 = 0 ;
17938 char *kwnames[] = {
17939 (char *) "self", NULL
17940 };
17941
17942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
17943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17944 {
17945 PyThreadState* __tstate = wxPyBeginAllowThreads();
17946 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
17947
17948 wxPyEndAllowThreads(__tstate);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 }
17951 resultobj = PyInt_FromLong((long)result);
17952 return resultobj;
17953 fail:
17954 return NULL;
17955 }
17956
17957
17958 static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17959 PyObject *resultobj;
17960 wxPyApp *arg1 = (wxPyApp *) 0 ;
17961 int arg2 ;
17962 PyObject * obj0 = 0 ;
17963 char *kwnames[] = {
17964 (char *) "self",(char *) "mode", NULL
17965 };
17966
17967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
17968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17969 {
17970 PyThreadState* __tstate = wxPyBeginAllowThreads();
17971 (arg1)->SetPrintMode(arg2);
17972
17973 wxPyEndAllowThreads(__tstate);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
17976 Py_INCREF(Py_None); resultobj = Py_None;
17977 return resultobj;
17978 fail:
17979 return NULL;
17980 }
17981
17982
17983 static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17984 PyObject *resultobj;
17985 wxPyApp *arg1 = (wxPyApp *) 0 ;
17986 int result;
17987 PyObject * obj0 = 0 ;
17988 char *kwnames[] = {
17989 (char *) "self", NULL
17990 };
17991
17992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
17993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17994 {
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
17997
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 resultobj = PyInt_FromLong((long)result);
18002 return resultobj;
18003 fail:
18004 return NULL;
18005 }
18006
18007
18008 static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj;
18010 wxPyApp *arg1 = (wxPyApp *) 0 ;
18011 int result;
18012 PyObject * obj0 = 0 ;
18013 char *kwnames[] = {
18014 (char *) "self", NULL
18015 };
18016
18017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
18018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18019 {
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 result = (int)(arg1)->GetAssertMode();
18022
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 resultobj = PyInt_FromLong((long)result);
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18034 PyObject *resultobj;
18035 wxPyApp *arg1 = (wxPyApp *) 0 ;
18036 int arg2 ;
18037 PyObject * obj0 = 0 ;
18038 char *kwnames[] = {
18039 (char *) "self",(char *) "mode", NULL
18040 };
18041
18042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetAssertMode",kwnames,&obj0,&arg2)) goto fail;
18043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18044 {
18045 PyThreadState* __tstate = wxPyBeginAllowThreads();
18046 (arg1)->SetAssertMode(arg2);
18047
18048 wxPyEndAllowThreads(__tstate);
18049 if (PyErr_Occurred()) SWIG_fail;
18050 }
18051 Py_INCREF(Py_None); resultobj = Py_None;
18052 return resultobj;
18053 fail:
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 bool result;
18061 char *kwnames[] = {
18062 NULL
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
18066 {
18067 PyThreadState* __tstate = wxPyBeginAllowThreads();
18068 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18069
18070 wxPyEndAllowThreads(__tstate);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 resultobj = PyInt_FromLong((long)result);
18074 return resultobj;
18075 fail:
18076 return NULL;
18077 }
18078
18079
18080 static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18081 PyObject *resultobj;
18082 long result;
18083 char *kwnames[] = {
18084 NULL
18085 };
18086
18087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 result = (long)wxPyApp::GetMacAboutMenuItemId();
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 resultobj = PyInt_FromLong((long)result);
18096 return resultobj;
18097 fail:
18098 return NULL;
18099 }
18100
18101
18102 static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18103 PyObject *resultobj;
18104 long result;
18105 char *kwnames[] = {
18106 NULL
18107 };
18108
18109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
18110 {
18111 PyThreadState* __tstate = wxPyBeginAllowThreads();
18112 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
18113
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 resultobj = PyInt_FromLong((long)result);
18118 return resultobj;
18119 fail:
18120 return NULL;
18121 }
18122
18123
18124 static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18125 PyObject *resultobj;
18126 long result;
18127 char *kwnames[] = {
18128 NULL
18129 };
18130
18131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
18132 {
18133 PyThreadState* __tstate = wxPyBeginAllowThreads();
18134 result = (long)wxPyApp::GetMacExitMenuItemId();
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 resultobj = PyInt_FromLong((long)result);
18140 return resultobj;
18141 fail:
18142 return NULL;
18143 }
18144
18145
18146 static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 wxString result;
18149 char *kwnames[] = {
18150 NULL
18151 };
18152
18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
18154 {
18155 PyThreadState* __tstate = wxPyBeginAllowThreads();
18156 result = wxPyApp::GetMacHelpMenuTitleName();
18157
18158 wxPyEndAllowThreads(__tstate);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 {
18162 #if wxUSE_UNICODE
18163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18164 #else
18165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18166 #endif
18167 }
18168 return resultobj;
18169 fail:
18170 return NULL;
18171 }
18172
18173
18174 static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18175 PyObject *resultobj;
18176 bool arg1 ;
18177 PyObject * obj0 = 0 ;
18178 char *kwnames[] = {
18179 (char *) "val", NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
18183 arg1 = PyInt_AsLong(obj0) ? true : false;
18184 if (PyErr_Occurred()) SWIG_fail;
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 Py_INCREF(Py_None); resultobj = Py_None;
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 long arg1 ;
18202 char *kwnames[] = {
18203 (char *) "val", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames,&arg1)) goto fail;
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 wxPyApp::SetMacAboutMenuItemId(arg1);
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
18214 Py_INCREF(Py_None); resultobj = Py_None;
18215 return resultobj;
18216 fail:
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 long arg1 ;
18224 char *kwnames[] = {
18225 (char *) "val", NULL
18226 };
18227
18228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames,&arg1)) goto fail;
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 wxPyApp::SetMacPreferencesMenuItemId(arg1);
18232
18233 wxPyEndAllowThreads(__tstate);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 Py_INCREF(Py_None); resultobj = Py_None;
18237 return resultobj;
18238 fail:
18239 return NULL;
18240 }
18241
18242
18243 static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18244 PyObject *resultobj;
18245 long arg1 ;
18246 char *kwnames[] = {
18247 (char *) "val", NULL
18248 };
18249
18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames,&arg1)) goto fail;
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 wxPyApp::SetMacExitMenuItemId(arg1);
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 Py_INCREF(Py_None); resultobj = Py_None;
18259 return resultobj;
18260 fail:
18261 return NULL;
18262 }
18263
18264
18265 static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj;
18267 wxString *arg1 = 0 ;
18268 bool temp1 = False ;
18269 PyObject * obj0 = 0 ;
18270 char *kwnames[] = {
18271 (char *) "val", NULL
18272 };
18273
18274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
18275 {
18276 arg1 = wxString_in_helper(obj0);
18277 if (arg1 == NULL) SWIG_fail;
18278 temp1 = True;
18279 }
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 Py_INCREF(Py_None); resultobj = Py_None;
18288 {
18289 if (temp1)
18290 delete arg1;
18291 }
18292 return resultobj;
18293 fail:
18294 {
18295 if (temp1)
18296 delete arg1;
18297 }
18298 return NULL;
18299 }
18300
18301
18302 static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18303 PyObject *resultobj;
18304 wxPyApp *arg1 = (wxPyApp *) 0 ;
18305 PyObject * obj0 = 0 ;
18306 char *kwnames[] = {
18307 (char *) "self", NULL
18308 };
18309
18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
18311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 (arg1)->_BootstrapApp();
18315
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 Py_INCREF(Py_None); resultobj = Py_None;
18320 return resultobj;
18321 fail:
18322 return NULL;
18323 }
18324
18325
18326 static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 int result;
18329 char *kwnames[] = {
18330 NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 result = (int)PyApp_GetComCtl32Version();
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 resultobj = PyInt_FromLong((long)result);
18342 return resultobj;
18343 fail:
18344 return NULL;
18345 }
18346
18347
18348 static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
18349 PyObject *obj;
18350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18351 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
18352 Py_INCREF(obj);
18353 return Py_BuildValue((char *)"");
18354 }
18355 static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
18356 PyObject *resultobj;
18357 char *kwnames[] = {
18358 NULL
18359 };
18360
18361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 wxExit();
18365
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 Py_INCREF(Py_None); resultobj = Py_None;
18370 return resultobj;
18371 fail:
18372 return NULL;
18373 }
18374
18375
18376 static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj;
18378 bool result;
18379 char *kwnames[] = {
18380 NULL
18381 };
18382
18383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
18384 {
18385 PyThreadState* __tstate = wxPyBeginAllowThreads();
18386 result = (bool)wxYield();
18387
18388 wxPyEndAllowThreads(__tstate);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 resultobj = PyInt_FromLong((long)result);
18392 return resultobj;
18393 fail:
18394 return NULL;
18395 }
18396
18397
18398 static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
18399 PyObject *resultobj;
18400 bool result;
18401 char *kwnames[] = {
18402 NULL
18403 };
18404
18405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
18406 {
18407 PyThreadState* __tstate = wxPyBeginAllowThreads();
18408 result = (bool)wxYieldIfNeeded();
18409
18410 wxPyEndAllowThreads(__tstate);
18411 if (PyErr_Occurred()) SWIG_fail;
18412 }
18413 resultobj = PyInt_FromLong((long)result);
18414 return resultobj;
18415 fail:
18416 return NULL;
18417 }
18418
18419
18420 static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
18421 PyObject *resultobj;
18422 wxWindow *arg1 = (wxWindow *) NULL ;
18423 bool arg2 = (bool) False ;
18424 bool result;
18425 PyObject * obj0 = 0 ;
18426 PyObject * obj1 = 0 ;
18427 char *kwnames[] = {
18428 (char *) "win",(char *) "onlyIfNeeded", NULL
18429 };
18430
18431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
18432 if (obj0) {
18433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18434 }
18435 if (obj1) {
18436 arg2 = PyInt_AsLong(obj1) ? true : false;
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 result = (bool)wxSafeYield(arg1,arg2);
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 resultobj = PyInt_FromLong((long)result);
18447 return resultobj;
18448 fail:
18449 return NULL;
18450 }
18451
18452
18453 static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 char *kwnames[] = {
18456 NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 wxWakeUpIdle();
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_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
18477 wxEvent *arg2 = 0 ;
18478 PyObject * obj0 = 0 ;
18479 PyObject * obj1 = 0 ;
18480 char *kwnames[] = {
18481 (char *) "dest",(char *) "event", NULL
18482 };
18483
18484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
18485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18487 if (arg2 == NULL) {
18488 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18489 }
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 wxPostEvent(arg1,*arg2);
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 Py_INCREF(Py_None); resultobj = Py_None;
18498 return resultobj;
18499 fail:
18500 return NULL;
18501 }
18502
18503
18504 static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
18505 PyObject *resultobj;
18506 char *kwnames[] = {
18507 NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 wxApp_CleanUp();
18514
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
18518 Py_INCREF(Py_None); resultobj = Py_None;
18519 return resultobj;
18520 fail:
18521 return NULL;
18522 }
18523
18524
18525 static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18526 PyObject *resultobj;
18527 wxPyApp *result;
18528 char *kwnames[] = {
18529 NULL
18530 };
18531
18532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 result = (wxPyApp *)wxGetApp();
18536
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 {
18541 resultobj = wxPyMake_wxObject(result);
18542 }
18543 return resultobj;
18544 fail:
18545 return NULL;
18546 }
18547
18548
18549 static int _wrap_PanelNameStr_set(PyObject *_val) {
18550 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
18551 return 1;
18552 }
18553
18554
18555 static PyObject *_wrap_PanelNameStr_get() {
18556 PyObject *pyobj;
18557
18558 {
18559 #if wxUSE_UNICODE
18560 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18561 #else
18562 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18563 #endif
18564 }
18565 return pyobj;
18566 }
18567
18568
18569 static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj;
18571 wxWindow *arg1 = (wxWindow *) 0 ;
18572 int arg2 ;
18573 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18574 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18575 wxSize const &arg4_defvalue = wxDefaultSize ;
18576 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18577 long arg5 = (long) 0 ;
18578 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18579 wxString *arg6 = (wxString *) &arg6_defvalue ;
18580 wxWindow *result;
18581 wxPoint temp3 ;
18582 wxSize temp4 ;
18583 bool temp6 = False ;
18584 PyObject * obj0 = 0 ;
18585 PyObject * obj2 = 0 ;
18586 PyObject * obj3 = 0 ;
18587 PyObject * obj5 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Window",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
18593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18594 if (obj2) {
18595 {
18596 arg3 = &temp3;
18597 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18598 }
18599 }
18600 if (obj3) {
18601 {
18602 arg4 = &temp4;
18603 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18604 }
18605 }
18606 if (obj5) {
18607 {
18608 arg6 = wxString_in_helper(obj5);
18609 if (arg6 == NULL) SWIG_fail;
18610 temp6 = True;
18611 }
18612 }
18613 {
18614 PyThreadState* __tstate = wxPyBeginAllowThreads();
18615 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18616
18617 wxPyEndAllowThreads(__tstate);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 }
18620 {
18621 resultobj = wxPyMake_wxObject(result);
18622 }
18623 {
18624 if (temp6)
18625 delete arg6;
18626 }
18627 return resultobj;
18628 fail:
18629 {
18630 if (temp6)
18631 delete arg6;
18632 }
18633 return NULL;
18634 }
18635
18636
18637 static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18638 PyObject *resultobj;
18639 wxWindow *result;
18640 char *kwnames[] = {
18641 NULL
18642 };
18643
18644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
18645 {
18646 PyThreadState* __tstate = wxPyBeginAllowThreads();
18647 result = (wxWindow *)new wxWindow();
18648
18649 wxPyEndAllowThreads(__tstate);
18650 if (PyErr_Occurred()) SWIG_fail;
18651 }
18652 {
18653 resultobj = wxPyMake_wxObject(result);
18654 }
18655 return resultobj;
18656 fail:
18657 return NULL;
18658 }
18659
18660
18661 static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18662 PyObject *resultobj;
18663 wxWindow *arg1 = (wxWindow *) 0 ;
18664 wxWindow *arg2 = (wxWindow *) 0 ;
18665 int arg3 ;
18666 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18667 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18668 wxSize const &arg5_defvalue = wxDefaultSize ;
18669 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18670 long arg6 = (long) 0 ;
18671 wxString const &arg7_defvalue = wxPyPanelNameStr ;
18672 wxString *arg7 = (wxString *) &arg7_defvalue ;
18673 bool result;
18674 wxPoint temp4 ;
18675 wxSize temp5 ;
18676 bool temp7 = False ;
18677 PyObject * obj0 = 0 ;
18678 PyObject * obj1 = 0 ;
18679 PyObject * obj3 = 0 ;
18680 PyObject * obj4 = 0 ;
18681 PyObject * obj6 = 0 ;
18682 char *kwnames[] = {
18683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18684 };
18685
18686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Window_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
18687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18689 if (obj3) {
18690 {
18691 arg4 = &temp4;
18692 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18693 }
18694 }
18695 if (obj4) {
18696 {
18697 arg5 = &temp5;
18698 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18699 }
18700 }
18701 if (obj6) {
18702 {
18703 arg7 = wxString_in_helper(obj6);
18704 if (arg7 == NULL) SWIG_fail;
18705 temp7 = True;
18706 }
18707 }
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18711
18712 wxPyEndAllowThreads(__tstate);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 }
18715 resultobj = PyInt_FromLong((long)result);
18716 {
18717 if (temp7)
18718 delete arg7;
18719 }
18720 return resultobj;
18721 fail:
18722 {
18723 if (temp7)
18724 delete arg7;
18725 }
18726 return NULL;
18727 }
18728
18729
18730 static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj;
18732 wxWindow *arg1 = (wxWindow *) 0 ;
18733 bool arg2 = (bool) False ;
18734 bool result;
18735 PyObject * obj0 = 0 ;
18736 PyObject * obj1 = 0 ;
18737 char *kwnames[] = {
18738 (char *) "self",(char *) "force", NULL
18739 };
18740
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
18742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18743 if (obj1) {
18744 arg2 = PyInt_AsLong(obj1) ? true : false;
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 {
18748 PyThreadState* __tstate = wxPyBeginAllowThreads();
18749 result = (bool)(arg1)->Close(arg2);
18750
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 resultobj = PyInt_FromLong((long)result);
18755 return resultobj;
18756 fail:
18757 return NULL;
18758 }
18759
18760
18761 static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj;
18763 wxWindow *arg1 = (wxWindow *) 0 ;
18764 bool result;
18765 PyObject * obj0 = 0 ;
18766 char *kwnames[] = {
18767 (char *) "self", NULL
18768 };
18769
18770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
18771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 result = (bool)(arg1)->Destroy();
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 resultobj = PyInt_FromLong((long)result);
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxWindow *arg1 = (wxWindow *) 0 ;
18789 bool result;
18790 PyObject * obj0 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18797 {
18798 PyThreadState* __tstate = wxPyBeginAllowThreads();
18799 result = (bool)(arg1)->DestroyChildren();
18800
18801 wxPyEndAllowThreads(__tstate);
18802 if (PyErr_Occurred()) SWIG_fail;
18803 }
18804 resultobj = PyInt_FromLong((long)result);
18805 return resultobj;
18806 fail:
18807 return NULL;
18808 }
18809
18810
18811 static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
18812 PyObject *resultobj;
18813 wxWindow *arg1 = (wxWindow *) 0 ;
18814 bool result;
18815 PyObject * obj0 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
18821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18822 {
18823 PyThreadState* __tstate = wxPyBeginAllowThreads();
18824 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
18825
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 resultobj = PyInt_FromLong((long)result);
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxWindow *arg1 = (wxWindow *) 0 ;
18839 wxString *arg2 = 0 ;
18840 bool temp2 = False ;
18841 PyObject * obj0 = 0 ;
18842 PyObject * obj1 = 0 ;
18843 char *kwnames[] = {
18844 (char *) "self",(char *) "title", NULL
18845 };
18846
18847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
18848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18849 {
18850 arg2 = wxString_in_helper(obj1);
18851 if (arg2 == NULL) SWIG_fail;
18852 temp2 = True;
18853 }
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 (arg1)->SetTitle((wxString const &)*arg2);
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 Py_INCREF(Py_None); resultobj = Py_None;
18862 {
18863 if (temp2)
18864 delete arg2;
18865 }
18866 return resultobj;
18867 fail:
18868 {
18869 if (temp2)
18870 delete arg2;
18871 }
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxWindow *arg1 = (wxWindow *) 0 ;
18879 wxString result;
18880 PyObject * obj0 = 0 ;
18881 char *kwnames[] = {
18882 (char *) "self", NULL
18883 };
18884
18885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
18886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18887 {
18888 PyThreadState* __tstate = wxPyBeginAllowThreads();
18889 result = ((wxWindow const *)arg1)->GetTitle();
18890
18891 wxPyEndAllowThreads(__tstate);
18892 if (PyErr_Occurred()) SWIG_fail;
18893 }
18894 {
18895 #if wxUSE_UNICODE
18896 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18897 #else
18898 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18899 #endif
18900 }
18901 return resultobj;
18902 fail:
18903 return NULL;
18904 }
18905
18906
18907 static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18908 PyObject *resultobj;
18909 wxWindow *arg1 = (wxWindow *) 0 ;
18910 wxString *arg2 = 0 ;
18911 bool temp2 = False ;
18912 PyObject * obj0 = 0 ;
18913 PyObject * obj1 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self",(char *) "label", NULL
18916 };
18917
18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
18919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18920 {
18921 arg2 = wxString_in_helper(obj1);
18922 if (arg2 == NULL) SWIG_fail;
18923 temp2 = True;
18924 }
18925 {
18926 PyThreadState* __tstate = wxPyBeginAllowThreads();
18927 (arg1)->SetLabel((wxString const &)*arg2);
18928
18929 wxPyEndAllowThreads(__tstate);
18930 if (PyErr_Occurred()) SWIG_fail;
18931 }
18932 Py_INCREF(Py_None); resultobj = Py_None;
18933 {
18934 if (temp2)
18935 delete arg2;
18936 }
18937 return resultobj;
18938 fail:
18939 {
18940 if (temp2)
18941 delete arg2;
18942 }
18943 return NULL;
18944 }
18945
18946
18947 static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18948 PyObject *resultobj;
18949 wxWindow *arg1 = (wxWindow *) 0 ;
18950 wxString result;
18951 PyObject * obj0 = 0 ;
18952 char *kwnames[] = {
18953 (char *) "self", NULL
18954 };
18955
18956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
18957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18958 {
18959 PyThreadState* __tstate = wxPyBeginAllowThreads();
18960 result = ((wxWindow const *)arg1)->GetLabel();
18961
18962 wxPyEndAllowThreads(__tstate);
18963 if (PyErr_Occurred()) SWIG_fail;
18964 }
18965 {
18966 #if wxUSE_UNICODE
18967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18968 #else
18969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18970 #endif
18971 }
18972 return resultobj;
18973 fail:
18974 return NULL;
18975 }
18976
18977
18978 static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxWindow *arg1 = (wxWindow *) 0 ;
18981 wxString *arg2 = 0 ;
18982 bool temp2 = False ;
18983 PyObject * obj0 = 0 ;
18984 PyObject * obj1 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self",(char *) "name", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
18990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18991 {
18992 arg2 = wxString_in_helper(obj1);
18993 if (arg2 == NULL) SWIG_fail;
18994 temp2 = True;
18995 }
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 (arg1)->SetName((wxString const &)*arg2);
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 Py_INCREF(Py_None); resultobj = Py_None;
19004 {
19005 if (temp2)
19006 delete arg2;
19007 }
19008 return resultobj;
19009 fail:
19010 {
19011 if (temp2)
19012 delete arg2;
19013 }
19014 return NULL;
19015 }
19016
19017
19018 static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxWindow *arg1 = (wxWindow *) 0 ;
19021 wxString result;
19022 PyObject * obj0 = 0 ;
19023 char *kwnames[] = {
19024 (char *) "self", NULL
19025 };
19026
19027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
19028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = ((wxWindow const *)arg1)->GetName();
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 {
19037 #if wxUSE_UNICODE
19038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19039 #else
19040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19041 #endif
19042 }
19043 return resultobj;
19044 fail:
19045 return NULL;
19046 }
19047
19048
19049 static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxWindow *arg1 = (wxWindow *) 0 ;
19052 int arg2 ;
19053 PyObject * obj0 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self",(char *) "winid", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_SetId",kwnames,&obj0,&arg2)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 (arg1)->SetId(arg2);
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 Py_INCREF(Py_None); resultobj = Py_None;
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxWindow *arg1 = (wxWindow *) 0 ;
19077 int result;
19078 PyObject * obj0 = 0 ;
19079 char *kwnames[] = {
19080 (char *) "self", NULL
19081 };
19082
19083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
19084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 result = (int)((wxWindow const *)arg1)->GetId();
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
19092 resultobj = PyInt_FromLong((long)result);
19093 return resultobj;
19094 fail:
19095 return NULL;
19096 }
19097
19098
19099 static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 int result;
19102 char *kwnames[] = {
19103 NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 result = (int)wxWindow::NewControlId();
19110
19111 wxPyEndAllowThreads(__tstate);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 }
19114 resultobj = PyInt_FromLong((long)result);
19115 return resultobj;
19116 fail:
19117 return NULL;
19118 }
19119
19120
19121 static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19122 PyObject *resultobj;
19123 int arg1 ;
19124 int result;
19125 char *kwnames[] = {
19126 (char *) "winid", NULL
19127 };
19128
19129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_NextControlId",kwnames,&arg1)) goto fail;
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 result = (int)wxWindow::NextControlId(arg1);
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 resultobj = PyInt_FromLong((long)result);
19138 return resultobj;
19139 fail:
19140 return NULL;
19141 }
19142
19143
19144 static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19145 PyObject *resultobj;
19146 int arg1 ;
19147 int result;
19148 char *kwnames[] = {
19149 (char *) "winid", NULL
19150 };
19151
19152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_PrevControlId",kwnames,&arg1)) goto fail;
19153 {
19154 PyThreadState* __tstate = wxPyBeginAllowThreads();
19155 result = (int)wxWindow::PrevControlId(arg1);
19156
19157 wxPyEndAllowThreads(__tstate);
19158 if (PyErr_Occurred()) SWIG_fail;
19159 }
19160 resultobj = PyInt_FromLong((long)result);
19161 return resultobj;
19162 fail:
19163 return NULL;
19164 }
19165
19166
19167 static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19168 PyObject *resultobj;
19169 wxWindow *arg1 = (wxWindow *) 0 ;
19170 wxSize *arg2 = 0 ;
19171 wxSize temp2 ;
19172 PyObject * obj0 = 0 ;
19173 PyObject * obj1 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "self",(char *) "size", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
19179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19180 {
19181 arg2 = &temp2;
19182 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19183 }
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 (arg1)->SetSize((wxSize const &)*arg2);
19187
19188 wxPyEndAllowThreads(__tstate);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 Py_INCREF(Py_None); resultobj = Py_None;
19192 return resultobj;
19193 fail:
19194 return NULL;
19195 }
19196
19197
19198 static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
19199 PyObject *resultobj;
19200 wxWindow *arg1 = (wxWindow *) 0 ;
19201 int arg2 ;
19202 int arg3 ;
19203 int arg4 ;
19204 int arg5 ;
19205 int arg6 = (int) wxSIZE_AUTO ;
19206 PyObject * obj0 = 0 ;
19207 char *kwnames[] = {
19208 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19209 };
19210
19211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:Window_SetDimensions",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
19212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 Py_INCREF(Py_None); resultobj = Py_None;
19221 return resultobj;
19222 fail:
19223 return NULL;
19224 }
19225
19226
19227 static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19228 PyObject *resultobj;
19229 wxWindow *arg1 = (wxWindow *) 0 ;
19230 wxRect *arg2 = 0 ;
19231 int arg3 = (int) wxSIZE_AUTO ;
19232 wxRect temp2 ;
19233 PyObject * obj0 = 0 ;
19234 PyObject * obj1 = 0 ;
19235 char *kwnames[] = {
19236 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19237 };
19238
19239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_SetRect",kwnames,&obj0,&obj1,&arg3)) goto fail;
19240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19241 {
19242 arg2 = &temp2;
19243 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19244 }
19245 {
19246 PyThreadState* __tstate = wxPyBeginAllowThreads();
19247 (arg1)->SetSize((wxRect const &)*arg2,arg3);
19248
19249 wxPyEndAllowThreads(__tstate);
19250 if (PyErr_Occurred()) SWIG_fail;
19251 }
19252 Py_INCREF(Py_None); resultobj = Py_None;
19253 return resultobj;
19254 fail:
19255 return NULL;
19256 }
19257
19258
19259 static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19260 PyObject *resultobj;
19261 wxWindow *arg1 = (wxWindow *) 0 ;
19262 int arg2 ;
19263 int arg3 ;
19264 PyObject * obj0 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self",(char *) "width",(char *) "height", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 (arg1)->SetSize(arg2,arg3);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 Py_INCREF(Py_None); resultobj = Py_None;
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxWindow *arg1 = (wxWindow *) 0 ;
19288 wxPoint *arg2 = 0 ;
19289 int arg3 = (int) wxSIZE_USE_EXISTING ;
19290 wxPoint temp2 ;
19291 PyObject * obj0 = 0 ;
19292 PyObject * obj1 = 0 ;
19293 char *kwnames[] = {
19294 (char *) "self",(char *) "pt",(char *) "flags", NULL
19295 };
19296
19297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_Move",kwnames,&obj0,&obj1,&arg3)) goto fail;
19298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19299 {
19300 arg2 = &temp2;
19301 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19302 }
19303 {
19304 PyThreadState* __tstate = wxPyBeginAllowThreads();
19305 (arg1)->Move((wxPoint const &)*arg2,arg3);
19306
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 Py_INCREF(Py_None); resultobj = Py_None;
19311 return resultobj;
19312 fail:
19313 return NULL;
19314 }
19315
19316
19317 static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
19318 PyObject *resultobj;
19319 wxWindow *arg1 = (wxWindow *) 0 ;
19320 int arg2 ;
19321 int arg3 ;
19322 int arg4 = (int) wxSIZE_USE_EXISTING ;
19323 PyObject * obj0 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Window_MoveXY",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19330 {
19331 PyThreadState* __tstate = wxPyBeginAllowThreads();
19332 (arg1)->Move(arg2,arg3,arg4);
19333
19334 wxPyEndAllowThreads(__tstate);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 }
19337 Py_INCREF(Py_None); resultobj = Py_None;
19338 return resultobj;
19339 fail:
19340 return NULL;
19341 }
19342
19343
19344 static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
19345 PyObject *resultobj;
19346 wxWindow *arg1 = (wxWindow *) 0 ;
19347 PyObject * obj0 = 0 ;
19348 char *kwnames[] = {
19349 (char *) "self", NULL
19350 };
19351
19352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
19353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 (arg1)->Raise();
19357
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
19361 Py_INCREF(Py_None); resultobj = Py_None;
19362 return resultobj;
19363 fail:
19364 return NULL;
19365 }
19366
19367
19368 static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
19369 PyObject *resultobj;
19370 wxWindow *arg1 = (wxWindow *) 0 ;
19371 PyObject * obj0 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
19377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 (arg1)->Lower();
19381
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 Py_INCREF(Py_None); resultobj = Py_None;
19386 return resultobj;
19387 fail:
19388 return NULL;
19389 }
19390
19391
19392 static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19393 PyObject *resultobj;
19394 wxWindow *arg1 = (wxWindow *) 0 ;
19395 wxSize *arg2 = 0 ;
19396 wxSize temp2 ;
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj1 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self",(char *) "size", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19405 {
19406 arg2 = &temp2;
19407 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19408 }
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 (arg1)->SetClientSize((wxSize const &)*arg2);
19412
19413 wxPyEndAllowThreads(__tstate);
19414 if (PyErr_Occurred()) SWIG_fail;
19415 }
19416 Py_INCREF(Py_None); resultobj = Py_None;
19417 return resultobj;
19418 fail:
19419 return NULL;
19420 }
19421
19422
19423 static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19424 PyObject *resultobj;
19425 wxWindow *arg1 = (wxWindow *) 0 ;
19426 int arg2 ;
19427 int arg3 ;
19428 PyObject * obj0 = 0 ;
19429 char *kwnames[] = {
19430 (char *) "self",(char *) "width",(char *) "height", NULL
19431 };
19432
19433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetClientSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19435 {
19436 PyThreadState* __tstate = wxPyBeginAllowThreads();
19437 (arg1)->SetClientSize(arg2,arg3);
19438
19439 wxPyEndAllowThreads(__tstate);
19440 if (PyErr_Occurred()) SWIG_fail;
19441 }
19442 Py_INCREF(Py_None); resultobj = Py_None;
19443 return resultobj;
19444 fail:
19445 return NULL;
19446 }
19447
19448
19449 static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19450 PyObject *resultobj;
19451 wxWindow *arg1 = (wxWindow *) 0 ;
19452 wxRect *arg2 = 0 ;
19453 wxRect temp2 ;
19454 PyObject * obj0 = 0 ;
19455 PyObject * obj1 = 0 ;
19456 char *kwnames[] = {
19457 (char *) "self",(char *) "rect", NULL
19458 };
19459
19460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
19461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19462 {
19463 arg2 = &temp2;
19464 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19465 }
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 (arg1)->SetClientSize((wxRect const &)*arg2);
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 Py_INCREF(Py_None); resultobj = Py_None;
19474 return resultobj;
19475 fail:
19476 return NULL;
19477 }
19478
19479
19480 static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj;
19482 wxWindow *arg1 = (wxWindow *) 0 ;
19483 wxPoint result;
19484 PyObject * obj0 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
19490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19491 {
19492 PyThreadState* __tstate = wxPyBeginAllowThreads();
19493 result = (arg1)->GetPosition();
19494
19495 wxPyEndAllowThreads(__tstate);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
19498 {
19499 wxPoint * resultptr;
19500 resultptr = new wxPoint((wxPoint &) result);
19501 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19502 }
19503 return resultobj;
19504 fail:
19505 return NULL;
19506 }
19507
19508
19509 static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj;
19511 wxWindow *arg1 = (wxWindow *) 0 ;
19512 int *arg2 = (int *) 0 ;
19513 int *arg3 = (int *) 0 ;
19514 int temp2 ;
19515 int temp3 ;
19516 PyObject * obj0 = 0 ;
19517 char *kwnames[] = {
19518 (char *) "self", NULL
19519 };
19520
19521 arg2 = &temp2;
19522 arg3 = &temp3;
19523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
19524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 (arg1)->GetPosition(arg2,arg3);
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 Py_INCREF(Py_None); resultobj = Py_None;
19533 {
19534 PyObject *o = PyInt_FromLong((long) (*arg2));
19535 resultobj = t_output_helper(resultobj,o);
19536 }
19537 {
19538 PyObject *o = PyInt_FromLong((long) (*arg3));
19539 resultobj = t_output_helper(resultobj,o);
19540 }
19541 return resultobj;
19542 fail:
19543 return NULL;
19544 }
19545
19546
19547 static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj;
19549 wxWindow *arg1 = (wxWindow *) 0 ;
19550 wxSize result;
19551 PyObject * obj0 = 0 ;
19552 char *kwnames[] = {
19553 (char *) "self", NULL
19554 };
19555
19556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
19557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 result = ((wxWindow const *)arg1)->GetSize();
19561
19562 wxPyEndAllowThreads(__tstate);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 }
19565 {
19566 wxSize * resultptr;
19567 resultptr = new wxSize((wxSize &) result);
19568 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19569 }
19570 return resultobj;
19571 fail:
19572 return NULL;
19573 }
19574
19575
19576 static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj;
19578 wxWindow *arg1 = (wxWindow *) 0 ;
19579 int *arg2 = (int *) 0 ;
19580 int *arg3 = (int *) 0 ;
19581 int temp2 ;
19582 int temp3 ;
19583 PyObject * obj0 = 0 ;
19584 char *kwnames[] = {
19585 (char *) "self", NULL
19586 };
19587
19588 arg2 = &temp2;
19589 arg3 = &temp3;
19590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
19591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
19595
19596 wxPyEndAllowThreads(__tstate);
19597 if (PyErr_Occurred()) SWIG_fail;
19598 }
19599 Py_INCREF(Py_None); resultobj = Py_None;
19600 {
19601 PyObject *o = PyInt_FromLong((long) (*arg2));
19602 resultobj = t_output_helper(resultobj,o);
19603 }
19604 {
19605 PyObject *o = PyInt_FromLong((long) (*arg3));
19606 resultobj = t_output_helper(resultobj,o);
19607 }
19608 return resultobj;
19609 fail:
19610 return NULL;
19611 }
19612
19613
19614 static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj;
19616 wxWindow *arg1 = (wxWindow *) 0 ;
19617 wxRect result;
19618 PyObject * obj0 = 0 ;
19619 char *kwnames[] = {
19620 (char *) "self", NULL
19621 };
19622
19623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
19624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = ((wxWindow const *)arg1)->GetRect();
19628
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 {
19633 wxRect * resultptr;
19634 resultptr = new wxRect((wxRect &) result);
19635 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19636 }
19637 return resultobj;
19638 fail:
19639 return NULL;
19640 }
19641
19642
19643 static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19644 PyObject *resultobj;
19645 wxWindow *arg1 = (wxWindow *) 0 ;
19646 wxSize result;
19647 PyObject * obj0 = 0 ;
19648 char *kwnames[] = {
19649 (char *) "self", NULL
19650 };
19651
19652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
19653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19654 {
19655 PyThreadState* __tstate = wxPyBeginAllowThreads();
19656 result = ((wxWindow const *)arg1)->GetClientSize();
19657
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 {
19662 wxSize * resultptr;
19663 resultptr = new wxSize((wxSize &) result);
19664 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19665 }
19666 return resultobj;
19667 fail:
19668 return NULL;
19669 }
19670
19671
19672 static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19673 PyObject *resultobj;
19674 wxWindow *arg1 = (wxWindow *) 0 ;
19675 int *arg2 = (int *) 0 ;
19676 int *arg3 = (int *) 0 ;
19677 int temp2 ;
19678 int temp3 ;
19679 PyObject * obj0 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self", NULL
19682 };
19683
19684 arg2 = &temp2;
19685 arg3 = &temp3;
19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
19687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
19691
19692 wxPyEndAllowThreads(__tstate);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 }
19695 Py_INCREF(Py_None); resultobj = Py_None;
19696 {
19697 PyObject *o = PyInt_FromLong((long) (*arg2));
19698 resultobj = t_output_helper(resultobj,o);
19699 }
19700 {
19701 PyObject *o = PyInt_FromLong((long) (*arg3));
19702 resultobj = t_output_helper(resultobj,o);
19703 }
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj;
19712 wxWindow *arg1 = (wxWindow *) 0 ;
19713 wxPoint result;
19714 PyObject * obj0 = 0 ;
19715 char *kwnames[] = {
19716 (char *) "self", NULL
19717 };
19718
19719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
19720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 {
19729 wxPoint * resultptr;
19730 resultptr = new wxPoint((wxPoint &) result);
19731 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19732 }
19733 return resultobj;
19734 fail:
19735 return NULL;
19736 }
19737
19738
19739 static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxWindow *arg1 = (wxWindow *) 0 ;
19742 wxRect result;
19743 PyObject * obj0 = 0 ;
19744 char *kwnames[] = {
19745 (char *) "self", NULL
19746 };
19747
19748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
19749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 result = ((wxWindow const *)arg1)->GetClientRect();
19753
19754 wxPyEndAllowThreads(__tstate);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 }
19757 {
19758 wxRect * resultptr;
19759 resultptr = new wxRect((wxRect &) result);
19760 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19761 }
19762 return resultobj;
19763 fail:
19764 return NULL;
19765 }
19766
19767
19768 static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19769 PyObject *resultobj;
19770 wxWindow *arg1 = (wxWindow *) 0 ;
19771 wxSize result;
19772 PyObject * obj0 = 0 ;
19773 char *kwnames[] = {
19774 (char *) "self", NULL
19775 };
19776
19777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
19778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19779 {
19780 PyThreadState* __tstate = wxPyBeginAllowThreads();
19781 result = ((wxWindow const *)arg1)->GetBestSize();
19782
19783 wxPyEndAllowThreads(__tstate);
19784 if (PyErr_Occurred()) SWIG_fail;
19785 }
19786 {
19787 wxSize * resultptr;
19788 resultptr = new wxSize((wxSize &) result);
19789 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19790 }
19791 return resultobj;
19792 fail:
19793 return NULL;
19794 }
19795
19796
19797 static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj;
19799 wxWindow *arg1 = (wxWindow *) 0 ;
19800 int *arg2 = (int *) 0 ;
19801 int *arg3 = (int *) 0 ;
19802 int temp2 ;
19803 int temp3 ;
19804 PyObject * obj0 = 0 ;
19805 char *kwnames[] = {
19806 (char *) "self", NULL
19807 };
19808
19809 arg2 = &temp2;
19810 arg3 = &temp3;
19811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
19812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 Py_INCREF(Py_None); resultobj = Py_None;
19821 {
19822 PyObject *o = PyInt_FromLong((long) (*arg2));
19823 resultobj = t_output_helper(resultobj,o);
19824 }
19825 {
19826 PyObject *o = PyInt_FromLong((long) (*arg3));
19827 resultobj = t_output_helper(resultobj,o);
19828 }
19829 return resultobj;
19830 fail:
19831 return NULL;
19832 }
19833
19834
19835 static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj;
19837 wxWindow *arg1 = (wxWindow *) 0 ;
19838 wxSize result;
19839 PyObject * obj0 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "self", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
19845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19846 {
19847 PyThreadState* __tstate = wxPyBeginAllowThreads();
19848 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
19849
19850 wxPyEndAllowThreads(__tstate);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
19853 {
19854 wxSize * resultptr;
19855 resultptr = new wxSize((wxSize &) result);
19856 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19857 }
19858 return resultobj;
19859 fail:
19860 return NULL;
19861 }
19862
19863
19864 static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxWindow *arg1 = (wxWindow *) 0 ;
19867 int arg2 = (int) wxBOTH ;
19868 PyObject * obj0 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self",(char *) "direction", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_Center",kwnames,&obj0,&arg2)) goto fail;
19874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 (arg1)->Center(arg2);
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 Py_INCREF(Py_None); resultobj = Py_None;
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj;
19891 wxWindow *arg1 = (wxWindow *) 0 ;
19892 int arg2 = (int) wxBOTH ;
19893 PyObject * obj0 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self",(char *) "dir", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnScreen",kwnames,&obj0,&arg2)) goto fail;
19899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19900 {
19901 PyThreadState* __tstate = wxPyBeginAllowThreads();
19902 (arg1)->CenterOnScreen(arg2);
19903
19904 wxPyEndAllowThreads(__tstate);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 }
19907 Py_INCREF(Py_None); resultobj = Py_None;
19908 return resultobj;
19909 fail:
19910 return NULL;
19911 }
19912
19913
19914 static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
19915 PyObject *resultobj;
19916 wxWindow *arg1 = (wxWindow *) 0 ;
19917 int arg2 = (int) wxBOTH ;
19918 PyObject * obj0 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self",(char *) "dir", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnParent",kwnames,&obj0,&arg2)) goto fail;
19924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 (arg1)->CenterOnParent(arg2);
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 Py_INCREF(Py_None); resultobj = Py_None;
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxWindow *arg1 = (wxWindow *) 0 ;
19942 PyObject * obj0 = 0 ;
19943 char *kwnames[] = {
19944 (char *) "self", NULL
19945 };
19946
19947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
19948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 (arg1)->Fit();
19952
19953 wxPyEndAllowThreads(__tstate);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 }
19956 Py_INCREF(Py_None); resultobj = Py_None;
19957 return resultobj;
19958 fail:
19959 return NULL;
19960 }
19961
19962
19963 static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
19964 PyObject *resultobj;
19965 wxWindow *arg1 = (wxWindow *) 0 ;
19966 PyObject * obj0 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) 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)->FitInside();
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_SetSizeHints(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 int arg6 = (int) -1 ;
19995 int arg7 = (int) -1 ;
19996 PyObject * obj0 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiii:Window_SetSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
20006
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 Py_INCREF(Py_None); resultobj = Py_None;
20011 return resultobj;
20012 fail:
20013 return NULL;
20014 }
20015
20016
20017 static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20018 PyObject *resultobj;
20019 wxWindow *arg1 = (wxWindow *) 0 ;
20020 int arg2 ;
20021 int arg3 ;
20022 int arg4 = (int) -1 ;
20023 int arg5 = (int) -1 ;
20024 PyObject * obj0 = 0 ;
20025 char *kwnames[] = {
20026 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20027 };
20028
20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
20030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 Py_INCREF(Py_None); resultobj = Py_None;
20039 return resultobj;
20040 fail:
20041 return NULL;
20042 }
20043
20044
20045 static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20046 PyObject *resultobj;
20047 wxWindow *arg1 = (wxWindow *) 0 ;
20048 int result;
20049 PyObject * obj0 = 0 ;
20050 char *kwnames[] = {
20051 (char *) "self", NULL
20052 };
20053
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
20055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20056 {
20057 PyThreadState* __tstate = wxPyBeginAllowThreads();
20058 result = (int)((wxWindow const *)arg1)->GetMinWidth();
20059
20060 wxPyEndAllowThreads(__tstate);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 }
20063 resultobj = PyInt_FromLong((long)result);
20064 return resultobj;
20065 fail:
20066 return NULL;
20067 }
20068
20069
20070 static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20071 PyObject *resultobj;
20072 wxWindow *arg1 = (wxWindow *) 0 ;
20073 int result;
20074 PyObject * obj0 = 0 ;
20075 char *kwnames[] = {
20076 (char *) "self", NULL
20077 };
20078
20079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
20080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20081 {
20082 PyThreadState* __tstate = wxPyBeginAllowThreads();
20083 result = (int)((wxWindow const *)arg1)->GetMinHeight();
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 resultobj = PyInt_FromLong((long)result);
20089 return resultobj;
20090 fail:
20091 return NULL;
20092 }
20093
20094
20095 static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20096 PyObject *resultobj;
20097 wxWindow *arg1 = (wxWindow *) 0 ;
20098 int result;
20099 PyObject * obj0 = 0 ;
20100 char *kwnames[] = {
20101 (char *) "self", NULL
20102 };
20103
20104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
20105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 resultobj = PyInt_FromLong((long)result);
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxWindow *arg1 = (wxWindow *) 0 ;
20123 int result;
20124 PyObject * obj0 = 0 ;
20125 char *kwnames[] = {
20126 (char *) "self", NULL
20127 };
20128
20129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
20130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20131 {
20132 PyThreadState* __tstate = wxPyBeginAllowThreads();
20133 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
20134
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
20138 resultobj = PyInt_FromLong((long)result);
20139 return resultobj;
20140 fail:
20141 return NULL;
20142 }
20143
20144
20145 static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20146 PyObject *resultobj;
20147 wxWindow *arg1 = (wxWindow *) 0 ;
20148 wxSize result;
20149 PyObject * obj0 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
20155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20156 {
20157 PyThreadState* __tstate = wxPyBeginAllowThreads();
20158 result = ((wxWindow const *)arg1)->GetMaxSize();
20159
20160 wxPyEndAllowThreads(__tstate);
20161 if (PyErr_Occurred()) SWIG_fail;
20162 }
20163 {
20164 wxSize * resultptr;
20165 resultptr = new wxSize((wxSize &) result);
20166 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20167 }
20168 return resultobj;
20169 fail:
20170 return NULL;
20171 }
20172
20173
20174 static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj;
20176 wxWindow *arg1 = (wxWindow *) 0 ;
20177 wxSize *arg2 = 0 ;
20178 wxSize temp2 ;
20179 PyObject * obj0 = 0 ;
20180 PyObject * obj1 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self",(char *) "size", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20187 {
20188 arg2 = &temp2;
20189 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20190 }
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 (arg1)->SetVirtualSize((wxSize const &)*arg2);
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 Py_INCREF(Py_None); resultobj = Py_None;
20199 return resultobj;
20200 fail:
20201 return NULL;
20202 }
20203
20204
20205 static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxWindow *arg1 = (wxWindow *) 0 ;
20208 int arg2 ;
20209 int arg3 ;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "w",(char *) "h", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetVirtualSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 (arg1)->SetVirtualSize(arg2,arg3);
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 Py_INCREF(Py_None); resultobj = Py_None;
20225 return resultobj;
20226 fail:
20227 return NULL;
20228 }
20229
20230
20231 static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxWindow *arg1 = (wxWindow *) 0 ;
20234 wxSize result;
20235 PyObject * obj0 = 0 ;
20236 char *kwnames[] = {
20237 (char *) "self", NULL
20238 };
20239
20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
20241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20242 {
20243 PyThreadState* __tstate = wxPyBeginAllowThreads();
20244 result = ((wxWindow const *)arg1)->GetVirtualSize();
20245
20246 wxPyEndAllowThreads(__tstate);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 }
20249 {
20250 wxSize * resultptr;
20251 resultptr = new wxSize((wxSize &) result);
20252 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20253 }
20254 return resultobj;
20255 fail:
20256 return NULL;
20257 }
20258
20259
20260 static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj;
20262 wxWindow *arg1 = (wxWindow *) 0 ;
20263 int *arg2 = (int *) 0 ;
20264 int *arg3 = (int *) 0 ;
20265 int temp2 ;
20266 int temp3 ;
20267 PyObject * obj0 = 0 ;
20268 char *kwnames[] = {
20269 (char *) "self", NULL
20270 };
20271
20272 arg2 = &temp2;
20273 arg3 = &temp3;
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 Py_INCREF(Py_None); resultobj = Py_None;
20284 {
20285 PyObject *o = PyInt_FromLong((long) (*arg2));
20286 resultobj = t_output_helper(resultobj,o);
20287 }
20288 {
20289 PyObject *o = PyInt_FromLong((long) (*arg3));
20290 resultobj = t_output_helper(resultobj,o);
20291 }
20292 return resultobj;
20293 fail:
20294 return NULL;
20295 }
20296
20297
20298 static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20299 PyObject *resultobj;
20300 wxWindow *arg1 = (wxWindow *) 0 ;
20301 wxSize result;
20302 PyObject * obj0 = 0 ;
20303 char *kwnames[] = {
20304 (char *) "self", NULL
20305 };
20306
20307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
20308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20309 {
20310 PyThreadState* __tstate = wxPyBeginAllowThreads();
20311 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
20312
20313 wxPyEndAllowThreads(__tstate);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 }
20316 {
20317 wxSize * resultptr;
20318 resultptr = new wxSize((wxSize &) result);
20319 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20320 }
20321 return resultobj;
20322 fail:
20323 return NULL;
20324 }
20325
20326
20327 static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
20328 PyObject *resultobj;
20329 wxWindow *arg1 = (wxWindow *) 0 ;
20330 bool arg2 = (bool) True ;
20331 bool result;
20332 PyObject * obj0 = 0 ;
20333 PyObject * obj1 = 0 ;
20334 char *kwnames[] = {
20335 (char *) "self",(char *) "show", NULL
20336 };
20337
20338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
20339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20340 if (obj1) {
20341 arg2 = PyInt_AsLong(obj1) ? true : false;
20342 if (PyErr_Occurred()) SWIG_fail;
20343 }
20344 {
20345 PyThreadState* __tstate = wxPyBeginAllowThreads();
20346 result = (bool)(arg1)->Show(arg2);
20347
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 resultobj = PyInt_FromLong((long)result);
20352 return resultobj;
20353 fail:
20354 return NULL;
20355 }
20356
20357
20358 static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
20359 PyObject *resultobj;
20360 wxWindow *arg1 = (wxWindow *) 0 ;
20361 bool result;
20362 PyObject * obj0 = 0 ;
20363 char *kwnames[] = {
20364 (char *) "self", NULL
20365 };
20366
20367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
20368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20369 {
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 result = (bool)(arg1)->Hide();
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 resultobj = PyInt_FromLong((long)result);
20377 return resultobj;
20378 fail:
20379 return NULL;
20380 }
20381
20382
20383 static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
20384 PyObject *resultobj;
20385 wxWindow *arg1 = (wxWindow *) 0 ;
20386 bool arg2 = (bool) True ;
20387 bool result;
20388 PyObject * obj0 = 0 ;
20389 PyObject * obj1 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self",(char *) "enable", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
20395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20396 if (obj1) {
20397 arg2 = PyInt_AsLong(obj1) ? true : false;
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (bool)(arg1)->Enable(arg2);
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
20407 resultobj = PyInt_FromLong((long)result);
20408 return resultobj;
20409 fail:
20410 return NULL;
20411 }
20412
20413
20414 static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
20415 PyObject *resultobj;
20416 wxWindow *arg1 = (wxWindow *) 0 ;
20417 bool result;
20418 PyObject * obj0 = 0 ;
20419 char *kwnames[] = {
20420 (char *) "self", NULL
20421 };
20422
20423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
20424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = (bool)(arg1)->Disable();
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 resultobj = PyInt_FromLong((long)result);
20433 return resultobj;
20434 fail:
20435 return NULL;
20436 }
20437
20438
20439 static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxWindow *arg1 = (wxWindow *) 0 ;
20442 bool result;
20443 PyObject * obj0 = 0 ;
20444 char *kwnames[] = {
20445 (char *) "self", NULL
20446 };
20447
20448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
20449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20450 {
20451 PyThreadState* __tstate = wxPyBeginAllowThreads();
20452 result = (bool)((wxWindow const *)arg1)->IsShown();
20453
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
20457 resultobj = PyInt_FromLong((long)result);
20458 return resultobj;
20459 fail:
20460 return NULL;
20461 }
20462
20463
20464 static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20465 PyObject *resultobj;
20466 wxWindow *arg1 = (wxWindow *) 0 ;
20467 bool result;
20468 PyObject * obj0 = 0 ;
20469 char *kwnames[] = {
20470 (char *) "self", NULL
20471 };
20472
20473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
20474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 result = (bool)((wxWindow const *)arg1)->IsEnabled();
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 resultobj = PyInt_FromLong((long)result);
20483 return resultobj;
20484 fail:
20485 return NULL;
20486 }
20487
20488
20489 static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxWindow *arg1 = (wxWindow *) 0 ;
20492 long arg2 ;
20493 PyObject * obj0 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self",(char *) "style", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
20499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 (arg1)->SetWindowStyleFlag(arg2);
20503
20504 wxPyEndAllowThreads(__tstate);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 }
20507 Py_INCREF(Py_None); resultobj = Py_None;
20508 return resultobj;
20509 fail:
20510 return NULL;
20511 }
20512
20513
20514 static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20515 PyObject *resultobj;
20516 wxWindow *arg1 = (wxWindow *) 0 ;
20517 long result;
20518 PyObject * obj0 = 0 ;
20519 char *kwnames[] = {
20520 (char *) "self", NULL
20521 };
20522
20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
20524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
20532 resultobj = PyInt_FromLong((long)result);
20533 return resultobj;
20534 fail:
20535 return NULL;
20536 }
20537
20538
20539 static PyObject *_wrap_Window_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20540 PyObject *resultobj;
20541 wxWindow *arg1 = (wxWindow *) 0 ;
20542 long arg2 ;
20543 PyObject * obj0 = 0 ;
20544 char *kwnames[] = {
20545 (char *) "self",(char *) "style", NULL
20546 };
20547
20548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyle",kwnames,&obj0,&arg2)) goto fail;
20549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 (arg1)->SetWindowStyle(arg2);
20553
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 Py_INCREF(Py_None); resultobj = Py_None;
20558 return resultobj;
20559 fail:
20560 return NULL;
20561 }
20562
20563
20564 static PyObject *_wrap_Window_GetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20565 PyObject *resultobj;
20566 wxWindow *arg1 = (wxWindow *) 0 ;
20567 long result;
20568 PyObject * obj0 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "self", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyle",kwnames,&obj0)) goto fail;
20574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20575 {
20576 PyThreadState* __tstate = wxPyBeginAllowThreads();
20577 result = (long)((wxWindow const *)arg1)->GetWindowStyle();
20578
20579 wxPyEndAllowThreads(__tstate);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 }
20582 resultobj = PyInt_FromLong((long)result);
20583 return resultobj;
20584 fail:
20585 return NULL;
20586 }
20587
20588
20589 static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20590 PyObject *resultobj;
20591 wxWindow *arg1 = (wxWindow *) 0 ;
20592 int arg2 ;
20593 bool result;
20594 PyObject * obj0 = 0 ;
20595 char *kwnames[] = {
20596 (char *) "self",(char *) "flag", NULL
20597 };
20598
20599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasFlag",kwnames,&obj0,&arg2)) goto fail;
20600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
20603 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 resultobj = PyInt_FromLong((long)result);
20609 return resultobj;
20610 fail:
20611 return NULL;
20612 }
20613
20614
20615 static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
20616 PyObject *resultobj;
20617 wxWindow *arg1 = (wxWindow *) 0 ;
20618 bool result;
20619 PyObject * obj0 = 0 ;
20620 char *kwnames[] = {
20621 (char *) "self", NULL
20622 };
20623
20624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
20625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 result = (bool)((wxWindow const *)arg1)->IsRetained();
20629
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 resultobj = PyInt_FromLong((long)result);
20634 return resultobj;
20635 fail:
20636 return NULL;
20637 }
20638
20639
20640 static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20641 PyObject *resultobj;
20642 wxWindow *arg1 = (wxWindow *) 0 ;
20643 long arg2 ;
20644 PyObject * obj0 = 0 ;
20645 char *kwnames[] = {
20646 (char *) "self",(char *) "exStyle", NULL
20647 };
20648
20649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetExtraStyle",kwnames,&obj0,&arg2)) goto fail;
20650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 (arg1)->SetExtraStyle(arg2);
20654
20655 wxPyEndAllowThreads(__tstate);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 }
20658 Py_INCREF(Py_None); resultobj = Py_None;
20659 return resultobj;
20660 fail:
20661 return NULL;
20662 }
20663
20664
20665 static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20666 PyObject *resultobj;
20667 wxWindow *arg1 = (wxWindow *) 0 ;
20668 long result;
20669 PyObject * obj0 = 0 ;
20670 char *kwnames[] = {
20671 (char *) "self", NULL
20672 };
20673
20674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
20675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 resultobj = PyInt_FromLong((long)result);
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxWindow *arg1 = (wxWindow *) 0 ;
20693 bool arg2 = (bool) True ;
20694 PyObject * obj0 = 0 ;
20695 PyObject * obj1 = 0 ;
20696 char *kwnames[] = {
20697 (char *) "self",(char *) "modal", NULL
20698 };
20699
20700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
20701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20702 if (obj1) {
20703 arg2 = PyInt_AsLong(obj1) ? true : false;
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 {
20707 PyThreadState* __tstate = wxPyBeginAllowThreads();
20708 (arg1)->MakeModal(arg2);
20709
20710 wxPyEndAllowThreads(__tstate);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
20713 Py_INCREF(Py_None); resultobj = Py_None;
20714 return resultobj;
20715 fail:
20716 return NULL;
20717 }
20718
20719
20720 static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20721 PyObject *resultobj;
20722 wxWindow *arg1 = (wxWindow *) 0 ;
20723 bool arg2 ;
20724 PyObject * obj0 = 0 ;
20725 PyObject * obj1 = 0 ;
20726 char *kwnames[] = {
20727 (char *) "self",(char *) "enableTheme", NULL
20728 };
20729
20730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
20731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20732 arg2 = PyInt_AsLong(obj1) ? true : false;
20733 if (PyErr_Occurred()) SWIG_fail;
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 (arg1)->SetThemeEnabled(arg2);
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 Py_INCREF(Py_None); resultobj = Py_None;
20742 return resultobj;
20743 fail:
20744 return NULL;
20745 }
20746
20747
20748 static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20749 PyObject *resultobj;
20750 wxWindow *arg1 = (wxWindow *) 0 ;
20751 bool result;
20752 PyObject * obj0 = 0 ;
20753 char *kwnames[] = {
20754 (char *) "self", NULL
20755 };
20756
20757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
20758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 resultobj = PyInt_FromLong((long)result);
20767 return resultobj;
20768 fail:
20769 return NULL;
20770 }
20771
20772
20773 static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
20774 PyObject *resultobj;
20775 wxWindow *arg1 = (wxWindow *) 0 ;
20776 bool result;
20777 PyObject * obj0 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
20783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20784 {
20785 PyThreadState* __tstate = wxPyBeginAllowThreads();
20786 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
20787
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 resultobj = PyInt_FromLong((long)result);
20792 return resultobj;
20793 fail:
20794 return NULL;
20795 }
20796
20797
20798 static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20799 PyObject *resultobj;
20800 wxWindow *arg1 = (wxWindow *) 0 ;
20801 PyObject * obj0 = 0 ;
20802 char *kwnames[] = {
20803 (char *) "self", NULL
20804 };
20805
20806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
20807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20808 {
20809 PyThreadState* __tstate = wxPyBeginAllowThreads();
20810 (arg1)->SetFocus();
20811
20812 wxPyEndAllowThreads(__tstate);
20813 if (PyErr_Occurred()) SWIG_fail;
20814 }
20815 Py_INCREF(Py_None); resultobj = Py_None;
20816 return resultobj;
20817 fail:
20818 return NULL;
20819 }
20820
20821
20822 static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
20823 PyObject *resultobj;
20824 wxWindow *arg1 = (wxWindow *) 0 ;
20825 PyObject * obj0 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
20831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 (arg1)->SetFocusFromKbd();
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
20839 Py_INCREF(Py_None); resultobj = Py_None;
20840 return resultobj;
20841 fail:
20842 return NULL;
20843 }
20844
20845
20846 static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxWindow *result;
20849 char *kwnames[] = {
20850 NULL
20851 };
20852
20853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (wxWindow *)wxWindow::FindFocus();
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 {
20862 resultobj = wxPyMake_wxObject(result);
20863 }
20864 return resultobj;
20865 fail:
20866 return NULL;
20867 }
20868
20869
20870 static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20871 PyObject *resultobj;
20872 wxWindow *arg1 = (wxWindow *) 0 ;
20873 bool result;
20874 PyObject * obj0 = 0 ;
20875 char *kwnames[] = {
20876 (char *) "self", NULL
20877 };
20878
20879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
20880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
20884
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 resultobj = PyInt_FromLong((long)result);
20889 return resultobj;
20890 fail:
20891 return NULL;
20892 }
20893
20894
20895 static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
20896 PyObject *resultobj;
20897 wxWindow *arg1 = (wxWindow *) 0 ;
20898 bool result;
20899 PyObject * obj0 = 0 ;
20900 char *kwnames[] = {
20901 (char *) "self", NULL
20902 };
20903
20904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 resultobj = PyInt_FromLong((long)result);
20914 return resultobj;
20915 fail:
20916 return NULL;
20917 }
20918
20919
20920 static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20921 PyObject *resultobj;
20922 wxWindow *arg1 = (wxWindow *) 0 ;
20923 wxWindow *result;
20924 PyObject * obj0 = 0 ;
20925 char *kwnames[] = {
20926 (char *) "self", NULL
20927 };
20928
20929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
20930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20931 {
20932 PyThreadState* __tstate = wxPyBeginAllowThreads();
20933 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
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_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20948 PyObject *resultobj;
20949 wxWindow *arg1 = (wxWindow *) 0 ;
20950 wxWindow *arg2 = (wxWindow *) 0 ;
20951 wxWindow *result;
20952 PyObject * obj0 = 0 ;
20953 PyObject * obj1 = 0 ;
20954 char *kwnames[] = {
20955 (char *) "self",(char *) "child", NULL
20956 };
20957
20958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
20959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 {
20969 resultobj = wxPyMake_wxObject(result);
20970 }
20971 return resultobj;
20972 fail:
20973 return NULL;
20974 }
20975
20976
20977 static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20978 PyObject *resultobj;
20979 wxWindow *arg1 = (wxWindow *) 0 ;
20980 wxWindow *arg2 = (wxWindow *) 0 ;
20981 PyObject * obj0 = 0 ;
20982 PyObject * obj1 = 0 ;
20983 char *kwnames[] = {
20984 (char *) "self",(char *) "win", NULL
20985 };
20986
20987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
20988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20990 {
20991 PyThreadState* __tstate = wxPyBeginAllowThreads();
20992 (arg1)->SetTmpDefaultItem(arg2);
20993
20994 wxPyEndAllowThreads(__tstate);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 }
20997 Py_INCREF(Py_None); resultobj = Py_None;
20998 return resultobj;
20999 fail:
21000 return NULL;
21001 }
21002
21003
21004 static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21005 PyObject *resultobj;
21006 wxWindow *arg1 = (wxWindow *) 0 ;
21007 PyObject *result;
21008 PyObject * obj0 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "self", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
21014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21015 {
21016 PyThreadState* __tstate = wxPyBeginAllowThreads();
21017 result = (PyObject *)wxWindow_GetChildren(arg1);
21018
21019 wxPyEndAllowThreads(__tstate);
21020 if (PyErr_Occurred()) SWIG_fail;
21021 }
21022 resultobj = result;
21023 return resultobj;
21024 fail:
21025 return NULL;
21026 }
21027
21028
21029 static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21030 PyObject *resultobj;
21031 wxWindow *arg1 = (wxWindow *) 0 ;
21032 wxWindow *result;
21033 PyObject * obj0 = 0 ;
21034 char *kwnames[] = {
21035 (char *) "self", NULL
21036 };
21037
21038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
21039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
21043
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 {
21048 resultobj = wxPyMake_wxObject(result);
21049 }
21050 return resultobj;
21051 fail:
21052 return NULL;
21053 }
21054
21055
21056 static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21057 PyObject *resultobj;
21058 wxWindow *arg1 = (wxWindow *) 0 ;
21059 wxWindow *result;
21060 PyObject * obj0 = 0 ;
21061 char *kwnames[] = {
21062 (char *) "self", NULL
21063 };
21064
21065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
21066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 {
21075 resultobj = wxPyMake_wxObject(result);
21076 }
21077 return resultobj;
21078 fail:
21079 return NULL;
21080 }
21081
21082
21083 static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
21084 PyObject *resultobj;
21085 wxWindow *arg1 = (wxWindow *) 0 ;
21086 bool result;
21087 PyObject * obj0 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
21093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 resultobj = PyInt_FromLong((long)result);
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj;
21110 wxWindow *arg1 = (wxWindow *) 0 ;
21111 wxWindow *arg2 = (wxWindow *) 0 ;
21112 bool result;
21113 PyObject * obj0 = 0 ;
21114 PyObject * obj1 = 0 ;
21115 char *kwnames[] = {
21116 (char *) "self",(char *) "newParent", NULL
21117 };
21118
21119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
21120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 result = (bool)(arg1)->Reparent(arg2);
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 resultobj = PyInt_FromLong((long)result);
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxWindow *arg1 = (wxWindow *) 0 ;
21139 wxWindow *arg2 = (wxWindow *) 0 ;
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self",(char *) "child", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
21147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21149 {
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 (arg1)->AddChild(arg2);
21152
21153 wxPyEndAllowThreads(__tstate);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 }
21156 Py_INCREF(Py_None); resultobj = Py_None;
21157 return resultobj;
21158 fail:
21159 return NULL;
21160 }
21161
21162
21163 static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21164 PyObject *resultobj;
21165 wxWindow *arg1 = (wxWindow *) 0 ;
21166 wxWindow *arg2 = (wxWindow *) 0 ;
21167 PyObject * obj0 = 0 ;
21168 PyObject * obj1 = 0 ;
21169 char *kwnames[] = {
21170 (char *) "self",(char *) "child", NULL
21171 };
21172
21173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
21174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21175 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21176 {
21177 PyThreadState* __tstate = wxPyBeginAllowThreads();
21178 (arg1)->RemoveChild(arg2);
21179
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 Py_INCREF(Py_None); resultobj = Py_None;
21184 return resultobj;
21185 fail:
21186 return NULL;
21187 }
21188
21189
21190 static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj;
21192 wxWindow *arg1 = (wxWindow *) 0 ;
21193 long arg2 ;
21194 wxWindow *result;
21195 PyObject * obj0 = 0 ;
21196 char *kwnames[] = {
21197 (char *) "self",(char *) "winid", NULL
21198 };
21199
21200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_FindWindowById",kwnames,&obj0,&arg2)) goto fail;
21201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 result = (wxWindow *)(arg1)->FindWindow(arg2);
21205
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
21209 {
21210 resultobj = wxPyMake_wxObject(result);
21211 }
21212 return resultobj;
21213 fail:
21214 return NULL;
21215 }
21216
21217
21218 static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
21219 PyObject *resultobj;
21220 wxWindow *arg1 = (wxWindow *) 0 ;
21221 wxString *arg2 = 0 ;
21222 wxWindow *result;
21223 bool temp2 = False ;
21224 PyObject * obj0 = 0 ;
21225 PyObject * obj1 = 0 ;
21226 char *kwnames[] = {
21227 (char *) "self",(char *) "name", NULL
21228 };
21229
21230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
21231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21232 {
21233 arg2 = wxString_in_helper(obj1);
21234 if (arg2 == NULL) SWIG_fail;
21235 temp2 = True;
21236 }
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 {
21245 resultobj = wxPyMake_wxObject(result);
21246 }
21247 {
21248 if (temp2)
21249 delete arg2;
21250 }
21251 return resultobj;
21252 fail:
21253 {
21254 if (temp2)
21255 delete arg2;
21256 }
21257 return NULL;
21258 }
21259
21260
21261 static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj;
21263 wxWindow *arg1 = (wxWindow *) 0 ;
21264 wxEvtHandler *result;
21265 PyObject * obj0 = 0 ;
21266 char *kwnames[] = {
21267 (char *) "self", NULL
21268 };
21269
21270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
21271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21272 {
21273 PyThreadState* __tstate = wxPyBeginAllowThreads();
21274 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
21275
21276 wxPyEndAllowThreads(__tstate);
21277 if (PyErr_Occurred()) SWIG_fail;
21278 }
21279 {
21280 resultobj = wxPyMake_wxObject(result);
21281 }
21282 return resultobj;
21283 fail:
21284 return NULL;
21285 }
21286
21287
21288 static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21289 PyObject *resultobj;
21290 wxWindow *arg1 = (wxWindow *) 0 ;
21291 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21292 PyObject * obj0 = 0 ;
21293 PyObject * obj1 = 0 ;
21294 char *kwnames[] = {
21295 (char *) "self",(char *) "handler", NULL
21296 };
21297
21298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
21299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21301 {
21302 PyThreadState* __tstate = wxPyBeginAllowThreads();
21303 (arg1)->SetEventHandler(arg2);
21304
21305 wxPyEndAllowThreads(__tstate);
21306 if (PyErr_Occurred()) SWIG_fail;
21307 }
21308 Py_INCREF(Py_None); resultobj = Py_None;
21309 return resultobj;
21310 fail:
21311 return NULL;
21312 }
21313
21314
21315 static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21316 PyObject *resultobj;
21317 wxWindow *arg1 = (wxWindow *) 0 ;
21318 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21319 PyObject * obj0 = 0 ;
21320 PyObject * obj1 = 0 ;
21321 char *kwnames[] = {
21322 (char *) "self",(char *) "handler", NULL
21323 };
21324
21325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
21326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21328 {
21329 PyThreadState* __tstate = wxPyBeginAllowThreads();
21330 (arg1)->PushEventHandler(arg2);
21331
21332 wxPyEndAllowThreads(__tstate);
21333 if (PyErr_Occurred()) SWIG_fail;
21334 }
21335 Py_INCREF(Py_None); resultobj = Py_None;
21336 return resultobj;
21337 fail:
21338 return NULL;
21339 }
21340
21341
21342 static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21343 PyObject *resultobj;
21344 wxWindow *arg1 = (wxWindow *) 0 ;
21345 bool arg2 = (bool) False ;
21346 wxEvtHandler *result;
21347 PyObject * obj0 = 0 ;
21348 PyObject * obj1 = 0 ;
21349 char *kwnames[] = {
21350 (char *) "self",(char *) "deleteHandler", NULL
21351 };
21352
21353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
21354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21355 if (obj1) {
21356 arg2 = PyInt_AsLong(obj1) ? true : false;
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 {
21367 resultobj = wxPyMake_wxObject(result);
21368 }
21369 return resultobj;
21370 fail:
21371 return NULL;
21372 }
21373
21374
21375 static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21376 PyObject *resultobj;
21377 wxWindow *arg1 = (wxWindow *) 0 ;
21378 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21379 bool result;
21380 PyObject * obj0 = 0 ;
21381 PyObject * obj1 = 0 ;
21382 char *kwnames[] = {
21383 (char *) "self",(char *) "handler", NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
21387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21389 {
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
21391 result = (bool)(arg1)->RemoveEventHandler(arg2);
21392
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 resultobj = PyInt_FromLong((long)result);
21397 return resultobj;
21398 fail:
21399 return NULL;
21400 }
21401
21402
21403 static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21404 PyObject *resultobj;
21405 wxWindow *arg1 = (wxWindow *) 0 ;
21406 wxValidator *arg2 = 0 ;
21407 PyObject * obj0 = 0 ;
21408 PyObject * obj1 = 0 ;
21409 char *kwnames[] = {
21410 (char *) "self",(char *) "validator", NULL
21411 };
21412
21413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
21414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21416 if (arg2 == NULL) {
21417 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21418 }
21419 {
21420 PyThreadState* __tstate = wxPyBeginAllowThreads();
21421 (arg1)->SetValidator((wxValidator const &)*arg2);
21422
21423 wxPyEndAllowThreads(__tstate);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 }
21426 Py_INCREF(Py_None); resultobj = Py_None;
21427 return resultobj;
21428 fail:
21429 return NULL;
21430 }
21431
21432
21433 static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj;
21435 wxWindow *arg1 = (wxWindow *) 0 ;
21436 wxValidator *result;
21437 PyObject * obj0 = 0 ;
21438 char *kwnames[] = {
21439 (char *) "self", NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
21443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21444 {
21445 PyThreadState* __tstate = wxPyBeginAllowThreads();
21446 result = (wxValidator *)(arg1)->GetValidator();
21447
21448 wxPyEndAllowThreads(__tstate);
21449 if (PyErr_Occurred()) SWIG_fail;
21450 }
21451 {
21452 resultobj = wxPyMake_wxObject(result);
21453 }
21454 return resultobj;
21455 fail:
21456 return NULL;
21457 }
21458
21459
21460 static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj;
21462 wxWindow *arg1 = (wxWindow *) 0 ;
21463 wxAcceleratorTable *arg2 = 0 ;
21464 PyObject * obj0 = 0 ;
21465 PyObject * obj1 = 0 ;
21466 char *kwnames[] = {
21467 (char *) "self",(char *) "accel", NULL
21468 };
21469
21470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
21471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21473 if (arg2 == NULL) {
21474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21475 }
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 Py_INCREF(Py_None); resultobj = Py_None;
21484 return resultobj;
21485 fail:
21486 return NULL;
21487 }
21488
21489
21490 static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21491 PyObject *resultobj;
21492 wxWindow *arg1 = (wxWindow *) 0 ;
21493 wxAcceleratorTable *result;
21494 PyObject * obj0 = 0 ;
21495 char *kwnames[] = {
21496 (char *) "self", NULL
21497 };
21498
21499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
21500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21501 {
21502 PyThreadState* __tstate = wxPyBeginAllowThreads();
21503 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
21504
21505 wxPyEndAllowThreads(__tstate);
21506 if (PyErr_Occurred()) SWIG_fail;
21507 }
21508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 0);
21509 return resultobj;
21510 fail:
21511 return NULL;
21512 }
21513
21514
21515 static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21516 PyObject *resultobj;
21517 wxWindow *arg1 = (wxWindow *) 0 ;
21518 int arg2 ;
21519 int arg3 ;
21520 int arg4 ;
21521 bool result;
21522 PyObject * obj0 = 0 ;
21523 char *kwnames[] = {
21524 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21525 };
21526
21527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:Window_RegisterHotKey",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
21528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21529 {
21530 PyThreadState* __tstate = wxPyBeginAllowThreads();
21531 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
21532
21533 wxPyEndAllowThreads(__tstate);
21534 if (PyErr_Occurred()) SWIG_fail;
21535 }
21536 resultobj = PyInt_FromLong((long)result);
21537 return resultobj;
21538 fail:
21539 return NULL;
21540 }
21541
21542
21543 static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21544 PyObject *resultobj;
21545 wxWindow *arg1 = (wxWindow *) 0 ;
21546 int arg2 ;
21547 bool result;
21548 PyObject * obj0 = 0 ;
21549 char *kwnames[] = {
21550 (char *) "self",(char *) "hotkeyId", NULL
21551 };
21552
21553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_UnregisterHotKey",kwnames,&obj0,&arg2)) goto fail;
21554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21555 {
21556 PyThreadState* __tstate = wxPyBeginAllowThreads();
21557 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
21558
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 resultobj = PyInt_FromLong((long)result);
21563 return resultobj;
21564 fail:
21565 return NULL;
21566 }
21567
21568
21569 static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21570 PyObject *resultobj;
21571 wxWindow *arg1 = (wxWindow *) 0 ;
21572 wxPoint *arg2 = 0 ;
21573 wxPoint result;
21574 wxPoint temp2 ;
21575 PyObject * obj0 = 0 ;
21576 PyObject * obj1 = 0 ;
21577 char *kwnames[] = {
21578 (char *) "self",(char *) "pt", NULL
21579 };
21580
21581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
21582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21583 {
21584 arg2 = &temp2;
21585 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21586 }
21587 {
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21590
21591 wxPyEndAllowThreads(__tstate);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 }
21594 {
21595 wxPoint * resultptr;
21596 resultptr = new wxPoint((wxPoint &) result);
21597 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21598 }
21599 return resultobj;
21600 fail:
21601 return NULL;
21602 }
21603
21604
21605 static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21606 PyObject *resultobj;
21607 wxWindow *arg1 = (wxWindow *) 0 ;
21608 wxSize *arg2 = 0 ;
21609 wxSize result;
21610 wxSize temp2 ;
21611 PyObject * obj0 = 0 ;
21612 PyObject * obj1 = 0 ;
21613 char *kwnames[] = {
21614 (char *) "self",(char *) "sz", NULL
21615 };
21616
21617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
21618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21619 {
21620 arg2 = &temp2;
21621 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21622 }
21623 {
21624 PyThreadState* __tstate = wxPyBeginAllowThreads();
21625 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21626
21627 wxPyEndAllowThreads(__tstate);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 {
21631 wxSize * resultptr;
21632 resultptr = new wxSize((wxSize &) result);
21633 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21634 }
21635 return resultobj;
21636 fail:
21637 return NULL;
21638 }
21639
21640
21641 static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
21642 PyObject *resultobj;
21643 wxWindow *arg1 = (wxWindow *) 0 ;
21644 wxPoint *arg2 = 0 ;
21645 wxPoint result;
21646 wxPoint temp2 ;
21647 PyObject * obj0 = 0 ;
21648 PyObject * obj1 = 0 ;
21649 char *kwnames[] = {
21650 (char *) "self",(char *) "pt", NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
21654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21655 {
21656 arg2 = &temp2;
21657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21658 }
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 {
21667 wxPoint * resultptr;
21668 resultptr = new wxPoint((wxPoint &) result);
21669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21670 }
21671 return resultobj;
21672 fail:
21673 return NULL;
21674 }
21675
21676
21677 static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
21678 PyObject *resultobj;
21679 wxWindow *arg1 = (wxWindow *) 0 ;
21680 wxSize *arg2 = 0 ;
21681 wxSize result;
21682 wxSize temp2 ;
21683 PyObject * obj0 = 0 ;
21684 PyObject * obj1 = 0 ;
21685 char *kwnames[] = {
21686 (char *) "self",(char *) "sz", NULL
21687 };
21688
21689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
21690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21691 {
21692 arg2 = &temp2;
21693 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21694 }
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 {
21703 wxSize * resultptr;
21704 resultptr = new wxSize((wxSize &) result);
21705 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21706 }
21707 return resultobj;
21708 fail:
21709 return NULL;
21710 }
21711
21712
21713 static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxWindow *arg1 = (wxWindow *) 0 ;
21716 wxPoint *arg2 = 0 ;
21717 wxPoint result;
21718 wxPoint temp2 ;
21719 PyObject * obj0 = 0 ;
21720 PyObject * obj1 = 0 ;
21721 char *kwnames[] = {
21722 (char *) "self",(char *) "pt", NULL
21723 };
21724
21725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
21726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21727 {
21728 arg2 = &temp2;
21729 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21730 }
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 {
21739 wxPoint * resultptr;
21740 resultptr = new wxPoint((wxPoint &) result);
21741 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21742 }
21743 return resultobj;
21744 fail:
21745 return NULL;
21746 }
21747
21748
21749 static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21750 PyObject *resultobj;
21751 wxWindow *arg1 = (wxWindow *) 0 ;
21752 wxSize *arg2 = 0 ;
21753 wxSize result;
21754 wxSize temp2 ;
21755 PyObject * obj0 = 0 ;
21756 PyObject * obj1 = 0 ;
21757 char *kwnames[] = {
21758 (char *) "self",(char *) "sz", NULL
21759 };
21760
21761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
21762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21763 {
21764 arg2 = &temp2;
21765 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21766 }
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 {
21775 wxSize * resultptr;
21776 resultptr = new wxSize((wxSize &) result);
21777 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21778 }
21779 return resultobj;
21780 fail:
21781 return NULL;
21782 }
21783
21784
21785 static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
21786 PyObject *resultobj;
21787 wxWindow *arg1 = (wxWindow *) 0 ;
21788 int arg2 ;
21789 int arg3 ;
21790 PyObject * obj0 = 0 ;
21791 char *kwnames[] = {
21792 (char *) "self",(char *) "x",(char *) "y", NULL
21793 };
21794
21795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_WarpPointer",kwnames,&obj0,&arg2,&arg3)) goto fail;
21796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21797 {
21798 PyThreadState* __tstate = wxPyBeginAllowThreads();
21799 (arg1)->WarpPointer(arg2,arg3);
21800
21801 wxPyEndAllowThreads(__tstate);
21802 if (PyErr_Occurred()) SWIG_fail;
21803 }
21804 Py_INCREF(Py_None); resultobj = Py_None;
21805 return resultobj;
21806 fail:
21807 return NULL;
21808 }
21809
21810
21811 static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21812 PyObject *resultobj;
21813 wxWindow *arg1 = (wxWindow *) 0 ;
21814 PyObject * obj0 = 0 ;
21815 char *kwnames[] = {
21816 (char *) "self", NULL
21817 };
21818
21819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
21820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21821 {
21822 PyThreadState* __tstate = wxPyBeginAllowThreads();
21823 (arg1)->CaptureMouse();
21824
21825 wxPyEndAllowThreads(__tstate);
21826 if (PyErr_Occurred()) SWIG_fail;
21827 }
21828 Py_INCREF(Py_None); resultobj = Py_None;
21829 return resultobj;
21830 fail:
21831 return NULL;
21832 }
21833
21834
21835 static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21836 PyObject *resultobj;
21837 wxWindow *arg1 = (wxWindow *) 0 ;
21838 PyObject * obj0 = 0 ;
21839 char *kwnames[] = {
21840 (char *) "self", NULL
21841 };
21842
21843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
21844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21845 {
21846 PyThreadState* __tstate = wxPyBeginAllowThreads();
21847 (arg1)->ReleaseMouse();
21848
21849 wxPyEndAllowThreads(__tstate);
21850 if (PyErr_Occurred()) SWIG_fail;
21851 }
21852 Py_INCREF(Py_None); resultobj = Py_None;
21853 return resultobj;
21854 fail:
21855 return NULL;
21856 }
21857
21858
21859 static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21860 PyObject *resultobj;
21861 wxWindow *result;
21862 char *kwnames[] = {
21863 NULL
21864 };
21865
21866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 result = (wxWindow *)wxWindow::GetCapture();
21870
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 {
21875 resultobj = wxPyMake_wxObject(result);
21876 }
21877 return resultobj;
21878 fail:
21879 return NULL;
21880 }
21881
21882
21883 static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj;
21885 wxWindow *arg1 = (wxWindow *) 0 ;
21886 bool result;
21887 PyObject * obj0 = 0 ;
21888 char *kwnames[] = {
21889 (char *) "self", NULL
21890 };
21891
21892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
21893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 result = (bool)((wxWindow const *)arg1)->HasCapture();
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 resultobj = PyInt_FromLong((long)result);
21902 return resultobj;
21903 fail:
21904 return NULL;
21905 }
21906
21907
21908 static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
21909 PyObject *resultobj;
21910 wxWindow *arg1 = (wxWindow *) 0 ;
21911 bool arg2 = (bool) True ;
21912 wxRect *arg3 = (wxRect *) NULL ;
21913 PyObject * obj0 = 0 ;
21914 PyObject * obj1 = 0 ;
21915 PyObject * obj2 = 0 ;
21916 char *kwnames[] = {
21917 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
21918 };
21919
21920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
21921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21922 if (obj1) {
21923 arg2 = PyInt_AsLong(obj1) ? true : false;
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 if (obj2) {
21927 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21928 }
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 (arg1)->Refresh(arg2,(wxRect const *)arg3);
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 Py_INCREF(Py_None); resultobj = Py_None;
21937 return resultobj;
21938 fail:
21939 return NULL;
21940 }
21941
21942
21943 static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj;
21945 wxWindow *arg1 = (wxWindow *) 0 ;
21946 wxRect *arg2 = 0 ;
21947 wxRect temp2 ;
21948 PyObject * obj0 = 0 ;
21949 PyObject * obj1 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self",(char *) "rect", NULL
21952 };
21953
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
21955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21956 {
21957 arg2 = &temp2;
21958 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21959 }
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 (arg1)->RefreshRect((wxRect const &)*arg2);
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 Py_INCREF(Py_None); resultobj = Py_None;
21968 return resultobj;
21969 fail:
21970 return NULL;
21971 }
21972
21973
21974 static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
21975 PyObject *resultobj;
21976 wxWindow *arg1 = (wxWindow *) 0 ;
21977 PyObject * obj0 = 0 ;
21978 char *kwnames[] = {
21979 (char *) "self", NULL
21980 };
21981
21982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
21983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21984 {
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 (arg1)->Update();
21987
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 Py_INCREF(Py_None); resultobj = Py_None;
21992 return resultobj;
21993 fail:
21994 return NULL;
21995 }
21996
21997
21998 static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
21999 PyObject *resultobj;
22000 wxWindow *arg1 = (wxWindow *) 0 ;
22001 PyObject * obj0 = 0 ;
22002 char *kwnames[] = {
22003 (char *) "self", NULL
22004 };
22005
22006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
22007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 (arg1)->ClearBackground();
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 Py_INCREF(Py_None); resultobj = Py_None;
22016 return resultobj;
22017 fail:
22018 return NULL;
22019 }
22020
22021
22022 static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
22023 PyObject *resultobj;
22024 wxWindow *arg1 = (wxWindow *) 0 ;
22025 PyObject * obj0 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "self", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
22031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22032 {
22033 PyThreadState* __tstate = wxPyBeginAllowThreads();
22034 (arg1)->Freeze();
22035
22036 wxPyEndAllowThreads(__tstate);
22037 if (PyErr_Occurred()) SWIG_fail;
22038 }
22039 Py_INCREF(Py_None); resultobj = Py_None;
22040 return resultobj;
22041 fail:
22042 return NULL;
22043 }
22044
22045
22046 static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
22047 PyObject *resultobj;
22048 wxWindow *arg1 = (wxWindow *) 0 ;
22049 PyObject * obj0 = 0 ;
22050 char *kwnames[] = {
22051 (char *) "self", NULL
22052 };
22053
22054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
22055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 (arg1)->Thaw();
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_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 wxWindow *arg1 = (wxWindow *) 0 ;
22073 wxDC *arg2 = 0 ;
22074 PyObject * obj0 = 0 ;
22075 PyObject * obj1 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "self",(char *) "dc", NULL
22078 };
22079
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
22081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22083 if (arg2 == NULL) {
22084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22085 }
22086 {
22087 PyThreadState* __tstate = wxPyBeginAllowThreads();
22088 (arg1)->PrepareDC(*arg2);
22089
22090 wxPyEndAllowThreads(__tstate);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 }
22093 Py_INCREF(Py_None); resultobj = Py_None;
22094 return resultobj;
22095 fail:
22096 return NULL;
22097 }
22098
22099
22100 static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
22101 PyObject *resultobj;
22102 wxWindow *arg1 = (wxWindow *) 0 ;
22103 wxRegion *result;
22104 PyObject * obj0 = 0 ;
22105 char *kwnames[] = {
22106 (char *) "self", NULL
22107 };
22108
22109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
22110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 {
22114 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
22115 result = (wxRegion *) &_result_ref;
22116 }
22117
22118 wxPyEndAllowThreads(__tstate);
22119 if (PyErr_Occurred()) SWIG_fail;
22120 }
22121 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRegion, 0);
22122 return resultobj;
22123 fail:
22124 return NULL;
22125 }
22126
22127
22128 static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22129 PyObject *resultobj;
22130 wxWindow *arg1 = (wxWindow *) 0 ;
22131 wxRect result;
22132 PyObject * obj0 = 0 ;
22133 char *kwnames[] = {
22134 (char *) "self", NULL
22135 };
22136
22137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
22138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 {
22147 wxRect * resultptr;
22148 resultptr = new wxRect((wxRect &) result);
22149 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
22150 }
22151 return resultobj;
22152 fail:
22153 return NULL;
22154 }
22155
22156
22157 static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
22158 PyObject *resultobj;
22159 wxWindow *arg1 = (wxWindow *) 0 ;
22160 int arg2 ;
22161 int arg3 ;
22162 int arg4 = (int) 1 ;
22163 int arg5 = (int) 1 ;
22164 bool result;
22165 PyObject * obj0 = 0 ;
22166 char *kwnames[] = {
22167 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22168 };
22169
22170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_IsExposed",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22172 {
22173 PyThreadState* __tstate = wxPyBeginAllowThreads();
22174 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
22175
22176 wxPyEndAllowThreads(__tstate);
22177 if (PyErr_Occurred()) SWIG_fail;
22178 }
22179 resultobj = PyInt_FromLong((long)result);
22180 return resultobj;
22181 fail:
22182 return NULL;
22183 }
22184
22185
22186 static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj;
22188 wxWindow *arg1 = (wxWindow *) 0 ;
22189 wxPoint *arg2 = 0 ;
22190 bool result;
22191 wxPoint temp2 ;
22192 PyObject * obj0 = 0 ;
22193 PyObject * obj1 = 0 ;
22194 char *kwnames[] = {
22195 (char *) "self",(char *) "pt", NULL
22196 };
22197
22198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
22199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22200 {
22201 arg2 = &temp2;
22202 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22203 }
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 resultobj = PyInt_FromLong((long)result);
22212 return resultobj;
22213 fail:
22214 return NULL;
22215 }
22216
22217
22218 static PyObject *_wrap_Window_isExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22219 PyObject *resultobj;
22220 wxWindow *arg1 = (wxWindow *) 0 ;
22221 wxRect *arg2 = 0 ;
22222 bool result;
22223 wxRect temp2 ;
22224 PyObject * obj0 = 0 ;
22225 PyObject * obj1 = 0 ;
22226 char *kwnames[] = {
22227 (char *) "self",(char *) "rect", NULL
22228 };
22229
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_isExposedRect",kwnames,&obj0,&obj1)) goto fail;
22231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22232 {
22233 arg2 = &temp2;
22234 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22235 }
22236 {
22237 PyThreadState* __tstate = wxPyBeginAllowThreads();
22238 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
22239
22240 wxPyEndAllowThreads(__tstate);
22241 if (PyErr_Occurred()) SWIG_fail;
22242 }
22243 resultobj = PyInt_FromLong((long)result);
22244 return resultobj;
22245 fail:
22246 return NULL;
22247 }
22248
22249
22250 static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22251 PyObject *resultobj;
22252 wxWindow *arg1 = (wxWindow *) 0 ;
22253 wxColour *arg2 = 0 ;
22254 bool result;
22255 wxColour temp2 ;
22256 PyObject * obj0 = 0 ;
22257 PyObject * obj1 = 0 ;
22258 char *kwnames[] = {
22259 (char *) "self",(char *) "colour", NULL
22260 };
22261
22262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22264 {
22265 arg2 = &temp2;
22266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22267 }
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
22271
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 resultobj = PyInt_FromLong((long)result);
22276 return resultobj;
22277 fail:
22278 return NULL;
22279 }
22280
22281
22282 static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22283 PyObject *resultobj;
22284 wxWindow *arg1 = (wxWindow *) 0 ;
22285 wxColour *arg2 = 0 ;
22286 bool result;
22287 wxColour temp2 ;
22288 PyObject * obj0 = 0 ;
22289 PyObject * obj1 = 0 ;
22290 char *kwnames[] = {
22291 (char *) "self",(char *) "colour", NULL
22292 };
22293
22294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
22295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22296 {
22297 arg2 = &temp2;
22298 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22299 }
22300 {
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
22303
22304 wxPyEndAllowThreads(__tstate);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 }
22307 resultobj = PyInt_FromLong((long)result);
22308 return resultobj;
22309 fail:
22310 return NULL;
22311 }
22312
22313
22314 static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22315 PyObject *resultobj;
22316 wxWindow *arg1 = (wxWindow *) 0 ;
22317 wxColour result;
22318 PyObject * obj0 = 0 ;
22319 char *kwnames[] = {
22320 (char *) "self", NULL
22321 };
22322
22323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
22324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 result = ((wxWindow const *)arg1)->GetBackgroundColour();
22328
22329 wxPyEndAllowThreads(__tstate);
22330 if (PyErr_Occurred()) SWIG_fail;
22331 }
22332 {
22333 wxColour * resultptr;
22334 resultptr = new wxColour((wxColour &) result);
22335 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22336 }
22337 return resultobj;
22338 fail:
22339 return NULL;
22340 }
22341
22342
22343 static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22344 PyObject *resultobj;
22345 wxWindow *arg1 = (wxWindow *) 0 ;
22346 wxColour result;
22347 PyObject * obj0 = 0 ;
22348 char *kwnames[] = {
22349 (char *) "self", NULL
22350 };
22351
22352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
22353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 result = ((wxWindow const *)arg1)->GetForegroundColour();
22357
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 {
22362 wxColour * resultptr;
22363 resultptr = new wxColour((wxColour &) result);
22364 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22365 }
22366 return resultobj;
22367 fail:
22368 return NULL;
22369 }
22370
22371
22372 static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22373 PyObject *resultobj;
22374 wxWindow *arg1 = (wxWindow *) 0 ;
22375 wxCursor *arg2 = 0 ;
22376 bool result;
22377 PyObject * obj0 = 0 ;
22378 PyObject * obj1 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self",(char *) "cursor", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
22384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22386 if (arg2 == NULL) {
22387 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22388 }
22389 {
22390 PyThreadState* __tstate = wxPyBeginAllowThreads();
22391 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
22392
22393 wxPyEndAllowThreads(__tstate);
22394 if (PyErr_Occurred()) SWIG_fail;
22395 }
22396 resultobj = PyInt_FromLong((long)result);
22397 return resultobj;
22398 fail:
22399 return NULL;
22400 }
22401
22402
22403 static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22404 PyObject *resultobj;
22405 wxWindow *arg1 = (wxWindow *) 0 ;
22406 wxCursor *result;
22407 PyObject * obj0 = 0 ;
22408 char *kwnames[] = {
22409 (char *) "self", NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
22413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 {
22417 wxCursor &_result_ref = (arg1)->GetCursor();
22418 result = (wxCursor *) &_result_ref;
22419 }
22420
22421 wxPyEndAllowThreads(__tstate);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
22425 return resultobj;
22426 fail:
22427 return NULL;
22428 }
22429
22430
22431 static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22432 PyObject *resultobj;
22433 wxWindow *arg1 = (wxWindow *) 0 ;
22434 wxFont *arg2 = 0 ;
22435 bool result;
22436 PyObject * obj0 = 0 ;
22437 PyObject * obj1 = 0 ;
22438 char *kwnames[] = {
22439 (char *) "self",(char *) "font", NULL
22440 };
22441
22442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
22443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22445 if (arg2 == NULL) {
22446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22447 }
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 resultobj = PyInt_FromLong((long)result);
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj;
22464 wxWindow *arg1 = (wxWindow *) 0 ;
22465 wxFont *result;
22466 PyObject * obj0 = 0 ;
22467 char *kwnames[] = {
22468 (char *) "self", NULL
22469 };
22470
22471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
22472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22473 {
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 {
22476 wxFont &_result_ref = (arg1)->GetFont();
22477 result = (wxFont *) &_result_ref;
22478 }
22479
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
22484 return resultobj;
22485 fail:
22486 return NULL;
22487 }
22488
22489
22490 static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22491 PyObject *resultobj;
22492 wxWindow *arg1 = (wxWindow *) 0 ;
22493 wxCaret *arg2 = (wxCaret *) 0 ;
22494 PyObject * obj0 = 0 ;
22495 PyObject * obj1 = 0 ;
22496 char *kwnames[] = {
22497 (char *) "self",(char *) "caret", NULL
22498 };
22499
22500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
22501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22503 {
22504 PyThreadState* __tstate = wxPyBeginAllowThreads();
22505 (arg1)->SetCaret(arg2);
22506
22507 wxPyEndAllowThreads(__tstate);
22508 if (PyErr_Occurred()) SWIG_fail;
22509 }
22510 Py_INCREF(Py_None); resultobj = Py_None;
22511 return resultobj;
22512 fail:
22513 return NULL;
22514 }
22515
22516
22517 static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22518 PyObject *resultobj;
22519 wxWindow *arg1 = (wxWindow *) 0 ;
22520 wxCaret *result;
22521 PyObject * obj0 = 0 ;
22522 char *kwnames[] = {
22523 (char *) "self", NULL
22524 };
22525
22526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
22527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22528 {
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 0);
22536 return resultobj;
22537 fail:
22538 return NULL;
22539 }
22540
22541
22542 static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22543 PyObject *resultobj;
22544 wxWindow *arg1 = (wxWindow *) 0 ;
22545 int result;
22546 PyObject * obj0 = 0 ;
22547 char *kwnames[] = {
22548 (char *) "self", NULL
22549 };
22550
22551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
22552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22553 {
22554 PyThreadState* __tstate = wxPyBeginAllowThreads();
22555 result = (int)((wxWindow const *)arg1)->GetCharHeight();
22556
22557 wxPyEndAllowThreads(__tstate);
22558 if (PyErr_Occurred()) SWIG_fail;
22559 }
22560 resultobj = PyInt_FromLong((long)result);
22561 return resultobj;
22562 fail:
22563 return NULL;
22564 }
22565
22566
22567 static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22568 PyObject *resultobj;
22569 wxWindow *arg1 = (wxWindow *) 0 ;
22570 int result;
22571 PyObject * obj0 = 0 ;
22572 char *kwnames[] = {
22573 (char *) "self", NULL
22574 };
22575
22576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
22577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22578 {
22579 PyThreadState* __tstate = wxPyBeginAllowThreads();
22580 result = (int)((wxWindow const *)arg1)->GetCharWidth();
22581
22582 wxPyEndAllowThreads(__tstate);
22583 if (PyErr_Occurred()) SWIG_fail;
22584 }
22585 resultobj = PyInt_FromLong((long)result);
22586 return resultobj;
22587 fail:
22588 return NULL;
22589 }
22590
22591
22592 static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22593 PyObject *resultobj;
22594 wxWindow *arg1 = (wxWindow *) 0 ;
22595 wxString *arg2 = 0 ;
22596 int *arg3 = (int *) 0 ;
22597 int *arg4 = (int *) 0 ;
22598 bool temp2 = False ;
22599 int temp3 ;
22600 int temp4 ;
22601 PyObject * obj0 = 0 ;
22602 PyObject * obj1 = 0 ;
22603 char *kwnames[] = {
22604 (char *) "self",(char *) "string", NULL
22605 };
22606
22607 arg3 = &temp3;
22608 arg4 = &temp4;
22609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
22610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22611 {
22612 arg2 = wxString_in_helper(obj1);
22613 if (arg2 == NULL) SWIG_fail;
22614 temp2 = True;
22615 }
22616 {
22617 PyThreadState* __tstate = wxPyBeginAllowThreads();
22618 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
22619
22620 wxPyEndAllowThreads(__tstate);
22621 if (PyErr_Occurred()) SWIG_fail;
22622 }
22623 Py_INCREF(Py_None); resultobj = Py_None;
22624 {
22625 PyObject *o = PyInt_FromLong((long) (*arg3));
22626 resultobj = t_output_helper(resultobj,o);
22627 }
22628 {
22629 PyObject *o = PyInt_FromLong((long) (*arg4));
22630 resultobj = t_output_helper(resultobj,o);
22631 }
22632 {
22633 if (temp2)
22634 delete arg2;
22635 }
22636 return resultobj;
22637 fail:
22638 {
22639 if (temp2)
22640 delete arg2;
22641 }
22642 return NULL;
22643 }
22644
22645
22646 static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22647 PyObject *resultobj;
22648 wxWindow *arg1 = (wxWindow *) 0 ;
22649 wxString *arg2 = 0 ;
22650 int *arg3 = (int *) 0 ;
22651 int *arg4 = (int *) 0 ;
22652 int *arg5 = (int *) 0 ;
22653 int *arg6 = (int *) 0 ;
22654 wxFont *arg7 = (wxFont *) NULL ;
22655 bool temp2 = False ;
22656 int temp3 ;
22657 int temp4 ;
22658 int temp5 ;
22659 int temp6 ;
22660 PyObject * obj0 = 0 ;
22661 PyObject * obj1 = 0 ;
22662 PyObject * obj2 = 0 ;
22663 char *kwnames[] = {
22664 (char *) "self",(char *) "string",(char *) "font", NULL
22665 };
22666
22667 arg3 = &temp3;
22668 arg4 = &temp4;
22669 arg5 = &temp5;
22670 arg6 = &temp6;
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
22672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22673 {
22674 arg2 = wxString_in_helper(obj1);
22675 if (arg2 == NULL) SWIG_fail;
22676 temp2 = True;
22677 }
22678 if (obj2) {
22679 if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22680 }
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
22683 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
22684
22685 wxPyEndAllowThreads(__tstate);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
22688 Py_INCREF(Py_None); resultobj = Py_None;
22689 {
22690 PyObject *o = PyInt_FromLong((long) (*arg3));
22691 resultobj = t_output_helper(resultobj,o);
22692 }
22693 {
22694 PyObject *o = PyInt_FromLong((long) (*arg4));
22695 resultobj = t_output_helper(resultobj,o);
22696 }
22697 {
22698 PyObject *o = PyInt_FromLong((long) (*arg5));
22699 resultobj = t_output_helper(resultobj,o);
22700 }
22701 {
22702 PyObject *o = PyInt_FromLong((long) (*arg6));
22703 resultobj = t_output_helper(resultobj,o);
22704 }
22705 {
22706 if (temp2)
22707 delete arg2;
22708 }
22709 return resultobj;
22710 fail:
22711 {
22712 if (temp2)
22713 delete arg2;
22714 }
22715 return NULL;
22716 }
22717
22718
22719 static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj;
22721 wxWindow *arg1 = (wxWindow *) 0 ;
22722 int *arg2 = (int *) 0 ;
22723 int *arg3 = (int *) 0 ;
22724 int temp2 ;
22725 int temp3 ;
22726 PyObject * obj0 = 0 ;
22727 PyObject * obj1 = 0 ;
22728 PyObject * obj2 = 0 ;
22729 char *kwnames[] = {
22730 (char *) "self",(char *) "x",(char *) "y", NULL
22731 };
22732
22733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22735 {
22736 temp2 = PyInt_AsLong(obj1);
22737 if (PyErr_Occurred()) SWIG_fail;
22738 arg2 = &temp2;
22739 }
22740 {
22741 temp3 = PyInt_AsLong(obj2);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 arg3 = &temp3;
22744 }
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
22748
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 Py_INCREF(Py_None); resultobj = Py_None;
22753 {
22754 PyObject *o = PyInt_FromLong((long) (*arg2));
22755 resultobj = t_output_helper(resultobj,o);
22756 }
22757 {
22758 PyObject *o = PyInt_FromLong((long) (*arg3));
22759 resultobj = t_output_helper(resultobj,o);
22760 }
22761 return resultobj;
22762 fail:
22763 return NULL;
22764 }
22765
22766
22767 static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22768 PyObject *resultobj;
22769 wxWindow *arg1 = (wxWindow *) 0 ;
22770 int *arg2 = (int *) 0 ;
22771 int *arg3 = (int *) 0 ;
22772 int temp2 ;
22773 int temp3 ;
22774 PyObject * obj0 = 0 ;
22775 PyObject * obj1 = 0 ;
22776 PyObject * obj2 = 0 ;
22777 char *kwnames[] = {
22778 (char *) "self",(char *) "x",(char *) "y", NULL
22779 };
22780
22781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22783 {
22784 temp2 = PyInt_AsLong(obj1);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 arg2 = &temp2;
22787 }
22788 {
22789 temp3 = PyInt_AsLong(obj2);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 arg3 = &temp3;
22792 }
22793 {
22794 PyThreadState* __tstate = wxPyBeginAllowThreads();
22795 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
22796
22797 wxPyEndAllowThreads(__tstate);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 Py_INCREF(Py_None); resultobj = Py_None;
22801 {
22802 PyObject *o = PyInt_FromLong((long) (*arg2));
22803 resultobj = t_output_helper(resultobj,o);
22804 }
22805 {
22806 PyObject *o = PyInt_FromLong((long) (*arg3));
22807 resultobj = t_output_helper(resultobj,o);
22808 }
22809 return resultobj;
22810 fail:
22811 return NULL;
22812 }
22813
22814
22815 static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22816 PyObject *resultobj;
22817 wxWindow *arg1 = (wxWindow *) 0 ;
22818 wxPoint *arg2 = 0 ;
22819 wxPoint result;
22820 wxPoint temp2 ;
22821 PyObject * obj0 = 0 ;
22822 PyObject * obj1 = 0 ;
22823 char *kwnames[] = {
22824 (char *) "self",(char *) "pt", NULL
22825 };
22826
22827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
22828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22829 {
22830 arg2 = &temp2;
22831 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22832 }
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
22836
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
22840 {
22841 wxPoint * resultptr;
22842 resultptr = new wxPoint((wxPoint &) result);
22843 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22844 }
22845 return resultobj;
22846 fail:
22847 return NULL;
22848 }
22849
22850
22851 static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
22852 PyObject *resultobj;
22853 wxWindow *arg1 = (wxWindow *) 0 ;
22854 wxPoint *arg2 = 0 ;
22855 wxPoint result;
22856 wxPoint temp2 ;
22857 PyObject * obj0 = 0 ;
22858 PyObject * obj1 = 0 ;
22859 char *kwnames[] = {
22860 (char *) "self",(char *) "pt", NULL
22861 };
22862
22863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
22864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22865 {
22866 arg2 = &temp2;
22867 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22868 }
22869 {
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
22872
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
22876 {
22877 wxPoint * resultptr;
22878 resultptr = new wxPoint((wxPoint &) result);
22879 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22880 }
22881 return resultobj;
22882 fail:
22883 return NULL;
22884 }
22885
22886
22887 static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22888 PyObject *resultobj;
22889 wxWindow *arg1 = (wxWindow *) 0 ;
22890 int arg2 ;
22891 int arg3 ;
22892 int result;
22893 PyObject * obj0 = 0 ;
22894 char *kwnames[] = {
22895 (char *) "self",(char *) "x",(char *) "y", NULL
22896 };
22897
22898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
22899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
22903
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 resultobj = PyInt_FromLong((long)result);
22908 return resultobj;
22909 fail:
22910 return NULL;
22911 }
22912
22913
22914 static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22915 PyObject *resultobj;
22916 wxWindow *arg1 = (wxWindow *) 0 ;
22917 wxPoint *arg2 = 0 ;
22918 int result;
22919 wxPoint temp2 ;
22920 PyObject * obj0 = 0 ;
22921 PyObject * obj1 = 0 ;
22922 char *kwnames[] = {
22923 (char *) "self",(char *) "pt", NULL
22924 };
22925
22926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
22927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22928 {
22929 arg2 = &temp2;
22930 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22931 }
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
22935
22936 wxPyEndAllowThreads(__tstate);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 resultobj = PyInt_FromLong((long)result);
22940 return resultobj;
22941 fail:
22942 return NULL;
22943 }
22944
22945
22946 static PyObject *_wrap_Window_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
22947 PyObject *resultobj;
22948 wxWindow *arg1 = (wxWindow *) 0 ;
22949 long arg2 ;
22950 int result;
22951 PyObject * obj0 = 0 ;
22952 char *kwnames[] = {
22953 (char *) "self",(char *) "flags", NULL
22954 };
22955
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_GetBorderFlags",kwnames,&obj0,&arg2)) goto fail;
22957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
22961
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
22965 resultobj = PyInt_FromLong((long)result);
22966 return resultobj;
22967 fail:
22968 return NULL;
22969 }
22970
22971
22972 static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
22973 PyObject *resultobj;
22974 wxWindow *arg1 = (wxWindow *) 0 ;
22975 int result;
22976 PyObject * obj0 = 0 ;
22977 char *kwnames[] = {
22978 (char *) "self", NULL
22979 };
22980
22981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBorder",kwnames,&obj0)) goto fail;
22982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22983 {
22984 PyThreadState* __tstate = wxPyBeginAllowThreads();
22985 result = (int)((wxWindow const *)arg1)->GetBorder();
22986
22987 wxPyEndAllowThreads(__tstate);
22988 if (PyErr_Occurred()) SWIG_fail;
22989 }
22990 resultobj = PyInt_FromLong((long)result);
22991 return resultobj;
22992 fail:
22993 return NULL;
22994 }
22995
22996
22997 static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
22998 PyObject *resultobj;
22999 wxWindow *arg1 = (wxWindow *) 0 ;
23000 long arg2 = (long) wxUPDATE_UI_NONE ;
23001 PyObject * obj0 = 0 ;
23002 char *kwnames[] = {
23003 (char *) "self",(char *) "flags", NULL
23004 };
23005
23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Window_UpdateWindowUI",kwnames,&obj0,&arg2)) goto fail;
23007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23008 {
23009 PyThreadState* __tstate = wxPyBeginAllowThreads();
23010 (arg1)->UpdateWindowUI(arg2);
23011
23012 wxPyEndAllowThreads(__tstate);
23013 if (PyErr_Occurred()) SWIG_fail;
23014 }
23015 Py_INCREF(Py_None); resultobj = Py_None;
23016 return resultobj;
23017 fail:
23018 return NULL;
23019 }
23020
23021
23022 static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23023 PyObject *resultobj;
23024 wxWindow *arg1 = (wxWindow *) 0 ;
23025 wxMenu *arg2 = (wxMenu *) 0 ;
23026 int arg3 ;
23027 int arg4 ;
23028 bool result;
23029 PyObject * obj0 = 0 ;
23030 PyObject * obj1 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Window_PopupMenuXY",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
23036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 resultobj = PyInt_FromLong((long)result);
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj;
23054 wxWindow *arg1 = (wxWindow *) 0 ;
23055 wxMenu *arg2 = (wxMenu *) 0 ;
23056 wxPoint *arg3 = 0 ;
23057 bool result;
23058 wxPoint temp3 ;
23059 PyObject * obj0 = 0 ;
23060 PyObject * obj1 = 0 ;
23061 PyObject * obj2 = 0 ;
23062 char *kwnames[] = {
23063 (char *) "self",(char *) "menu",(char *) "pos", NULL
23064 };
23065
23066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
23067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23069 {
23070 arg3 = &temp3;
23071 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23072 }
23073 {
23074 PyThreadState* __tstate = wxPyBeginAllowThreads();
23075 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
23076
23077 wxPyEndAllowThreads(__tstate);
23078 if (PyErr_Occurred()) SWIG_fail;
23079 }
23080 resultobj = PyInt_FromLong((long)result);
23081 return resultobj;
23082 fail:
23083 return NULL;
23084 }
23085
23086
23087 static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
23088 PyObject *resultobj;
23089 wxWindow *arg1 = (wxWindow *) 0 ;
23090 long result;
23091 PyObject * obj0 = 0 ;
23092 char *kwnames[] = {
23093 (char *) "self", NULL
23094 };
23095
23096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
23097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23098 {
23099 PyThreadState* __tstate = wxPyBeginAllowThreads();
23100 result = (long)wxWindow_GetHandle(arg1);
23101
23102 wxPyEndAllowThreads(__tstate);
23103 if (PyErr_Occurred()) SWIG_fail;
23104 }
23105 resultobj = PyInt_FromLong((long)result);
23106 return resultobj;
23107 fail:
23108 return NULL;
23109 }
23110
23111
23112 static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23113 PyObject *resultobj;
23114 wxWindow *arg1 = (wxWindow *) 0 ;
23115 int arg2 ;
23116 bool result;
23117 PyObject * obj0 = 0 ;
23118 char *kwnames[] = {
23119 (char *) "self",(char *) "orient", NULL
23120 };
23121
23122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasScrollbar",kwnames,&obj0,&arg2)) goto fail;
23123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
23127
23128 wxPyEndAllowThreads(__tstate);
23129 if (PyErr_Occurred()) SWIG_fail;
23130 }
23131 resultobj = PyInt_FromLong((long)result);
23132 return resultobj;
23133 fail:
23134 return NULL;
23135 }
23136
23137
23138 static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23139 PyObject *resultobj;
23140 wxWindow *arg1 = (wxWindow *) 0 ;
23141 int arg2 ;
23142 int arg3 ;
23143 int arg4 ;
23144 int arg5 ;
23145 bool arg6 = (bool) True ;
23146 PyObject * obj0 = 0 ;
23147 PyObject * obj5 = 0 ;
23148 char *kwnames[] = {
23149 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23150 };
23151
23152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Window_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
23153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23154 if (obj5) {
23155 arg6 = PyInt_AsLong(obj5) ? true : false;
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 {
23159 PyThreadState* __tstate = wxPyBeginAllowThreads();
23160 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
23161
23162 wxPyEndAllowThreads(__tstate);
23163 if (PyErr_Occurred()) SWIG_fail;
23164 }
23165 Py_INCREF(Py_None); resultobj = Py_None;
23166 return resultobj;
23167 fail:
23168 return NULL;
23169 }
23170
23171
23172 static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23173 PyObject *resultobj;
23174 wxWindow *arg1 = (wxWindow *) 0 ;
23175 int arg2 ;
23176 int arg3 ;
23177 bool arg4 = (bool) True ;
23178 PyObject * obj0 = 0 ;
23179 PyObject * obj3 = 0 ;
23180 char *kwnames[] = {
23181 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23182 };
23183
23184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_SetScrollPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23186 if (obj3) {
23187 arg4 = PyInt_AsLong(obj3) ? true : false;
23188 if (PyErr_Occurred()) SWIG_fail;
23189 }
23190 {
23191 PyThreadState* __tstate = wxPyBeginAllowThreads();
23192 (arg1)->SetScrollPos(arg2,arg3,arg4);
23193
23194 wxPyEndAllowThreads(__tstate);
23195 if (PyErr_Occurred()) SWIG_fail;
23196 }
23197 Py_INCREF(Py_None); resultobj = Py_None;
23198 return resultobj;
23199 fail:
23200 return NULL;
23201 }
23202
23203
23204 static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23205 PyObject *resultobj;
23206 wxWindow *arg1 = (wxWindow *) 0 ;
23207 int arg2 ;
23208 int result;
23209 PyObject * obj0 = 0 ;
23210 char *kwnames[] = {
23211 (char *) "self",(char *) "orient", NULL
23212 };
23213
23214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollPos",kwnames,&obj0,&arg2)) goto fail;
23215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23216 {
23217 PyThreadState* __tstate = wxPyBeginAllowThreads();
23218 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
23219
23220 wxPyEndAllowThreads(__tstate);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 }
23223 resultobj = PyInt_FromLong((long)result);
23224 return resultobj;
23225 fail:
23226 return NULL;
23227 }
23228
23229
23230 static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
23231 PyObject *resultobj;
23232 wxWindow *arg1 = (wxWindow *) 0 ;
23233 int arg2 ;
23234 int result;
23235 PyObject * obj0 = 0 ;
23236 char *kwnames[] = {
23237 (char *) "self",(char *) "orient", NULL
23238 };
23239
23240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollThumb",kwnames,&obj0,&arg2)) goto fail;
23241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
23245
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 resultobj = PyInt_FromLong((long)result);
23250 return resultobj;
23251 fail:
23252 return NULL;
23253 }
23254
23255
23256 static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
23257 PyObject *resultobj;
23258 wxWindow *arg1 = (wxWindow *) 0 ;
23259 int arg2 ;
23260 int result;
23261 PyObject * obj0 = 0 ;
23262 char *kwnames[] = {
23263 (char *) "self",(char *) "orient", NULL
23264 };
23265
23266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollRange",kwnames,&obj0,&arg2)) goto fail;
23267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
23271
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
23275 resultobj = PyInt_FromLong((long)result);
23276 return resultobj;
23277 fail:
23278 return NULL;
23279 }
23280
23281
23282 static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23283 PyObject *resultobj;
23284 wxWindow *arg1 = (wxWindow *) 0 ;
23285 int arg2 ;
23286 int arg3 ;
23287 wxRect *arg4 = (wxRect *) NULL ;
23288 PyObject * obj0 = 0 ;
23289 PyObject * obj3 = 0 ;
23290 char *kwnames[] = {
23291 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23292 };
23293
23294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_ScrollWindow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23296 if (obj3) {
23297 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23298 }
23299 {
23300 PyThreadState* __tstate = wxPyBeginAllowThreads();
23301 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
23302
23303 wxPyEndAllowThreads(__tstate);
23304 if (PyErr_Occurred()) SWIG_fail;
23305 }
23306 Py_INCREF(Py_None); resultobj = Py_None;
23307 return resultobj;
23308 fail:
23309 return NULL;
23310 }
23311
23312
23313 static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
23314 PyObject *resultobj;
23315 wxWindow *arg1 = (wxWindow *) 0 ;
23316 int arg2 ;
23317 bool result;
23318 PyObject * obj0 = 0 ;
23319 char *kwnames[] = {
23320 (char *) "self",(char *) "lines", NULL
23321 };
23322
23323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
23324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23325 {
23326 PyThreadState* __tstate = wxPyBeginAllowThreads();
23327 result = (bool)(arg1)->ScrollLines(arg2);
23328
23329 wxPyEndAllowThreads(__tstate);
23330 if (PyErr_Occurred()) SWIG_fail;
23331 }
23332 resultobj = PyInt_FromLong((long)result);
23333 return resultobj;
23334 fail:
23335 return NULL;
23336 }
23337
23338
23339 static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
23340 PyObject *resultobj;
23341 wxWindow *arg1 = (wxWindow *) 0 ;
23342 int arg2 ;
23343 bool result;
23344 PyObject * obj0 = 0 ;
23345 char *kwnames[] = {
23346 (char *) "self",(char *) "pages", NULL
23347 };
23348
23349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
23350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 result = (bool)(arg1)->ScrollPages(arg2);
23354
23355 wxPyEndAllowThreads(__tstate);
23356 if (PyErr_Occurred()) SWIG_fail;
23357 }
23358 resultobj = PyInt_FromLong((long)result);
23359 return resultobj;
23360 fail:
23361 return NULL;
23362 }
23363
23364
23365 static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23366 PyObject *resultobj;
23367 wxWindow *arg1 = (wxWindow *) 0 ;
23368 bool result;
23369 PyObject * obj0 = 0 ;
23370 char *kwnames[] = {
23371 (char *) "self", NULL
23372 };
23373
23374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
23375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23376 {
23377 PyThreadState* __tstate = wxPyBeginAllowThreads();
23378 result = (bool)(arg1)->LineUp();
23379
23380 wxPyEndAllowThreads(__tstate);
23381 if (PyErr_Occurred()) SWIG_fail;
23382 }
23383 resultobj = PyInt_FromLong((long)result);
23384 return resultobj;
23385 fail:
23386 return NULL;
23387 }
23388
23389
23390 static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23391 PyObject *resultobj;
23392 wxWindow *arg1 = (wxWindow *) 0 ;
23393 bool result;
23394 PyObject * obj0 = 0 ;
23395 char *kwnames[] = {
23396 (char *) "self", NULL
23397 };
23398
23399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
23400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 result = (bool)(arg1)->LineDown();
23404
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 resultobj = PyInt_FromLong((long)result);
23409 return resultobj;
23410 fail:
23411 return NULL;
23412 }
23413
23414
23415 static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23416 PyObject *resultobj;
23417 wxWindow *arg1 = (wxWindow *) 0 ;
23418 bool result;
23419 PyObject * obj0 = 0 ;
23420 char *kwnames[] = {
23421 (char *) "self", NULL
23422 };
23423
23424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
23425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23426 {
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 result = (bool)(arg1)->PageUp();
23429
23430 wxPyEndAllowThreads(__tstate);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 resultobj = PyInt_FromLong((long)result);
23434 return resultobj;
23435 fail:
23436 return NULL;
23437 }
23438
23439
23440 static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23441 PyObject *resultobj;
23442 wxWindow *arg1 = (wxWindow *) 0 ;
23443 bool result;
23444 PyObject * obj0 = 0 ;
23445 char *kwnames[] = {
23446 (char *) "self", NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
23450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23451 {
23452 PyThreadState* __tstate = wxPyBeginAllowThreads();
23453 result = (bool)(arg1)->PageDown();
23454
23455 wxPyEndAllowThreads(__tstate);
23456 if (PyErr_Occurred()) SWIG_fail;
23457 }
23458 resultobj = PyInt_FromLong((long)result);
23459 return resultobj;
23460 fail:
23461 return NULL;
23462 }
23463
23464
23465 static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23466 PyObject *resultobj;
23467 wxWindow *arg1 = (wxWindow *) 0 ;
23468 wxString *arg2 = 0 ;
23469 bool temp2 = False ;
23470 PyObject * obj0 = 0 ;
23471 PyObject * obj1 = 0 ;
23472 char *kwnames[] = {
23473 (char *) "self",(char *) "text", NULL
23474 };
23475
23476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
23477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23478 {
23479 arg2 = wxString_in_helper(obj1);
23480 if (arg2 == NULL) SWIG_fail;
23481 temp2 = True;
23482 }
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 (arg1)->SetHelpText((wxString const &)*arg2);
23486
23487 wxPyEndAllowThreads(__tstate);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
23490 Py_INCREF(Py_None); resultobj = Py_None;
23491 {
23492 if (temp2)
23493 delete arg2;
23494 }
23495 return resultobj;
23496 fail:
23497 {
23498 if (temp2)
23499 delete arg2;
23500 }
23501 return NULL;
23502 }
23503
23504
23505 static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
23506 PyObject *resultobj;
23507 wxWindow *arg1 = (wxWindow *) 0 ;
23508 wxString *arg2 = 0 ;
23509 bool temp2 = False ;
23510 PyObject * obj0 = 0 ;
23511 PyObject * obj1 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "self",(char *) "text", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
23517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23518 {
23519 arg2 = wxString_in_helper(obj1);
23520 if (arg2 == NULL) SWIG_fail;
23521 temp2 = True;
23522 }
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 (arg1)->SetHelpTextForId((wxString const &)*arg2);
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
23530 Py_INCREF(Py_None); resultobj = Py_None;
23531 {
23532 if (temp2)
23533 delete arg2;
23534 }
23535 return resultobj;
23536 fail:
23537 {
23538 if (temp2)
23539 delete arg2;
23540 }
23541 return NULL;
23542 }
23543
23544
23545 static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23546 PyObject *resultobj;
23547 wxWindow *arg1 = (wxWindow *) 0 ;
23548 wxString result;
23549 PyObject * obj0 = 0 ;
23550 char *kwnames[] = {
23551 (char *) "self", NULL
23552 };
23553
23554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
23555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23556 {
23557 PyThreadState* __tstate = wxPyBeginAllowThreads();
23558 result = ((wxWindow const *)arg1)->GetHelpText();
23559
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 {
23564 #if wxUSE_UNICODE
23565 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23566 #else
23567 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23568 #endif
23569 }
23570 return resultobj;
23571 fail:
23572 return NULL;
23573 }
23574
23575
23576 static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
23577 PyObject *resultobj;
23578 wxWindow *arg1 = (wxWindow *) 0 ;
23579 wxString *arg2 = 0 ;
23580 bool temp2 = False ;
23581 PyObject * obj0 = 0 ;
23582 PyObject * obj1 = 0 ;
23583 char *kwnames[] = {
23584 (char *) "self",(char *) "tip", NULL
23585 };
23586
23587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
23588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23589 {
23590 arg2 = wxString_in_helper(obj1);
23591 if (arg2 == NULL) SWIG_fail;
23592 temp2 = True;
23593 }
23594 {
23595 PyThreadState* __tstate = wxPyBeginAllowThreads();
23596 (arg1)->SetToolTip((wxString const &)*arg2);
23597
23598 wxPyEndAllowThreads(__tstate);
23599 if (PyErr_Occurred()) SWIG_fail;
23600 }
23601 Py_INCREF(Py_None); resultobj = Py_None;
23602 {
23603 if (temp2)
23604 delete arg2;
23605 }
23606 return resultobj;
23607 fail:
23608 {
23609 if (temp2)
23610 delete arg2;
23611 }
23612 return NULL;
23613 }
23614
23615
23616 static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23617 PyObject *resultobj;
23618 wxWindow *arg1 = (wxWindow *) 0 ;
23619 wxToolTip *arg2 = (wxToolTip *) 0 ;
23620 PyObject * obj0 = 0 ;
23621 PyObject * obj1 = 0 ;
23622 char *kwnames[] = {
23623 (char *) "self",(char *) "tip", NULL
23624 };
23625
23626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23629 {
23630 PyThreadState* __tstate = wxPyBeginAllowThreads();
23631 (arg1)->SetToolTip(arg2);
23632
23633 wxPyEndAllowThreads(__tstate);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
23636 Py_INCREF(Py_None); resultobj = Py_None;
23637 return resultobj;
23638 fail:
23639 return NULL;
23640 }
23641
23642
23643 static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23644 PyObject *resultobj;
23645 wxWindow *arg1 = (wxWindow *) 0 ;
23646 wxToolTip *result;
23647 PyObject * obj0 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "self", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
23653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
23657
23658 wxPyEndAllowThreads(__tstate);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 {
23662 resultobj = wxPyMake_wxObject(result);
23663 }
23664 return resultobj;
23665 fail:
23666 return NULL;
23667 }
23668
23669
23670 static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23671 PyObject *resultobj;
23672 wxWindow *arg1 = (wxWindow *) 0 ;
23673 wxDropTarget *arg2 = (wxDropTarget *) 0 ;
23674 PyObject * obj0 = 0 ;
23675 PyObject * obj1 = 0 ;
23676 char *kwnames[] = {
23677 (char *) "self",(char *) "dropTarget", NULL
23678 };
23679
23680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
23681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23683 {
23684 PyThreadState* __tstate = wxPyBeginAllowThreads();
23685 (arg1)->SetDropTarget(arg2);
23686
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 Py_INCREF(Py_None); resultobj = Py_None;
23691 return resultobj;
23692 fail:
23693 return NULL;
23694 }
23695
23696
23697 static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23698 PyObject *resultobj;
23699 wxWindow *arg1 = (wxWindow *) 0 ;
23700 wxDropTarget *result;
23701 PyObject * obj0 = 0 ;
23702 char *kwnames[] = {
23703 (char *) "self", NULL
23704 };
23705
23706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
23707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 result = (wxDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
23711
23712 wxPyEndAllowThreads(__tstate);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDropTarget, 0);
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxWindow *arg1 = (wxWindow *) 0 ;
23725 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
23726 PyObject * obj0 = 0 ;
23727 PyObject * obj1 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self",(char *) "constraints", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
23733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 (arg1)->SetConstraints(arg2);
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 Py_INCREF(Py_None); resultobj = Py_None;
23743 return resultobj;
23744 fail:
23745 return NULL;
23746 }
23747
23748
23749 static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23750 PyObject *resultobj;
23751 wxWindow *arg1 = (wxWindow *) 0 ;
23752 wxLayoutConstraints *result;
23753 PyObject * obj0 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
23759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23760 {
23761 PyThreadState* __tstate = wxPyBeginAllowThreads();
23762 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
23763
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 0);
23768 return resultobj;
23769 fail:
23770 return NULL;
23771 }
23772
23773
23774 static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23775 PyObject *resultobj;
23776 wxWindow *arg1 = (wxWindow *) 0 ;
23777 bool arg2 ;
23778 PyObject * obj0 = 0 ;
23779 PyObject * obj1 = 0 ;
23780 char *kwnames[] = {
23781 (char *) "self",(char *) "autoLayout", NULL
23782 };
23783
23784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
23785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23786 arg2 = PyInt_AsLong(obj1) ? true : false;
23787 if (PyErr_Occurred()) SWIG_fail;
23788 {
23789 PyThreadState* __tstate = wxPyBeginAllowThreads();
23790 (arg1)->SetAutoLayout(arg2);
23791
23792 wxPyEndAllowThreads(__tstate);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
23795 Py_INCREF(Py_None); resultobj = Py_None;
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23803 PyObject *resultobj;
23804 wxWindow *arg1 = (wxWindow *) 0 ;
23805 bool result;
23806 PyObject * obj0 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self", NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
23812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
23816
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 resultobj = PyInt_FromLong((long)result);
23821 return resultobj;
23822 fail:
23823 return NULL;
23824 }
23825
23826
23827 static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
23828 PyObject *resultobj;
23829 wxWindow *arg1 = (wxWindow *) 0 ;
23830 bool result;
23831 PyObject * obj0 = 0 ;
23832 char *kwnames[] = {
23833 (char *) "self", NULL
23834 };
23835
23836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
23837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23838 {
23839 PyThreadState* __tstate = wxPyBeginAllowThreads();
23840 result = (bool)(arg1)->Layout();
23841
23842 wxPyEndAllowThreads(__tstate);
23843 if (PyErr_Occurred()) SWIG_fail;
23844 }
23845 resultobj = PyInt_FromLong((long)result);
23846 return resultobj;
23847 fail:
23848 return NULL;
23849 }
23850
23851
23852 static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23853 PyObject *resultobj;
23854 wxWindow *arg1 = (wxWindow *) 0 ;
23855 wxSizer *arg2 = (wxSizer *) 0 ;
23856 bool arg3 = (bool) True ;
23857 PyObject * obj0 = 0 ;
23858 PyObject * obj1 = 0 ;
23859 PyObject * obj2 = 0 ;
23860 char *kwnames[] = {
23861 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23862 };
23863
23864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
23865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23867 if (obj2) {
23868 arg3 = PyInt_AsLong(obj2) ? true : false;
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 (arg1)->SetSizer(arg2,arg3);
23874
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 Py_INCREF(Py_None); resultobj = Py_None;
23879 return resultobj;
23880 fail:
23881 return NULL;
23882 }
23883
23884
23885 static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj;
23887 wxWindow *arg1 = (wxWindow *) 0 ;
23888 wxSizer *arg2 = (wxSizer *) 0 ;
23889 bool arg3 = (bool) True ;
23890 PyObject * obj0 = 0 ;
23891 PyObject * obj1 = 0 ;
23892 PyObject * obj2 = 0 ;
23893 char *kwnames[] = {
23894 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23895 };
23896
23897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
23898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23900 if (obj2) {
23901 arg3 = PyInt_AsLong(obj2) ? true : false;
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 (arg1)->SetSizerAndFit(arg2,arg3);
23907
23908 wxPyEndAllowThreads(__tstate);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 }
23911 Py_INCREF(Py_None); resultobj = Py_None;
23912 return resultobj;
23913 fail:
23914 return NULL;
23915 }
23916
23917
23918 static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23919 PyObject *resultobj;
23920 wxWindow *arg1 = (wxWindow *) 0 ;
23921 wxSizer *result;
23922 PyObject * obj0 = 0 ;
23923 char *kwnames[] = {
23924 (char *) "self", NULL
23925 };
23926
23927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
23928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23929 {
23930 PyThreadState* __tstate = wxPyBeginAllowThreads();
23931 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
23932
23933 wxPyEndAllowThreads(__tstate);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 {
23937 resultobj = wxPyMake_wxSizer(result);
23938 }
23939 return resultobj;
23940 fail:
23941 return NULL;
23942 }
23943
23944
23945 static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23946 PyObject *resultobj;
23947 wxWindow *arg1 = (wxWindow *) 0 ;
23948 wxSizer *arg2 = (wxSizer *) 0 ;
23949 PyObject * obj0 = 0 ;
23950 PyObject * obj1 = 0 ;
23951 char *kwnames[] = {
23952 (char *) "self",(char *) "sizer", NULL
23953 };
23954
23955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
23956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23958 {
23959 PyThreadState* __tstate = wxPyBeginAllowThreads();
23960 (arg1)->SetContainingSizer(arg2);
23961
23962 wxPyEndAllowThreads(__tstate);
23963 if (PyErr_Occurred()) SWIG_fail;
23964 }
23965 Py_INCREF(Py_None); resultobj = Py_None;
23966 return resultobj;
23967 fail:
23968 return NULL;
23969 }
23970
23971
23972 static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23973 PyObject *resultobj;
23974 wxWindow *arg1 = (wxWindow *) 0 ;
23975 wxSizer *result;
23976 PyObject * obj0 = 0 ;
23977 char *kwnames[] = {
23978 (char *) "self", NULL
23979 };
23980
23981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
23982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
23986
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 {
23991 resultobj = wxPyMake_wxSizer(result);
23992 }
23993 return resultobj;
23994 fail:
23995 return NULL;
23996 }
23997
23998
23999 static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
24000 PyObject *obj;
24001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24002 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
24003 Py_INCREF(obj);
24004 return Py_BuildValue((char *)"");
24005 }
24006 static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24007 PyObject *resultobj;
24008 long arg1 ;
24009 wxWindow *arg2 = (wxWindow *) NULL ;
24010 wxWindow *result;
24011 PyObject * obj1 = 0 ;
24012 char *kwnames[] = {
24013 (char *) "id",(char *) "parent", NULL
24014 };
24015
24016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l|O:FindWindowById",kwnames,&arg1,&obj1)) goto fail;
24017 if (obj1) {
24018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24019 }
24020 {
24021 PyThreadState* __tstate = wxPyBeginAllowThreads();
24022 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
24023
24024 wxPyEndAllowThreads(__tstate);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 {
24028 resultobj = wxPyMake_wxObject(result);
24029 }
24030 return resultobj;
24031 fail:
24032 return NULL;
24033 }
24034
24035
24036 static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24037 PyObject *resultobj;
24038 wxString *arg1 = 0 ;
24039 wxWindow *arg2 = (wxWindow *) NULL ;
24040 wxWindow *result;
24041 bool temp1 = False ;
24042 PyObject * obj0 = 0 ;
24043 PyObject * obj1 = 0 ;
24044 char *kwnames[] = {
24045 (char *) "name",(char *) "parent", NULL
24046 };
24047
24048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24049 {
24050 arg1 = wxString_in_helper(obj0);
24051 if (arg1 == NULL) SWIG_fail;
24052 temp1 = True;
24053 }
24054 if (obj1) {
24055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24056 }
24057 {
24058 PyThreadState* __tstate = wxPyBeginAllowThreads();
24059 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
24060
24061 wxPyEndAllowThreads(__tstate);
24062 if (PyErr_Occurred()) SWIG_fail;
24063 }
24064 {
24065 resultobj = wxPyMake_wxObject(result);
24066 }
24067 {
24068 if (temp1)
24069 delete arg1;
24070 }
24071 return resultobj;
24072 fail:
24073 {
24074 if (temp1)
24075 delete arg1;
24076 }
24077 return NULL;
24078 }
24079
24080
24081 static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24082 PyObject *resultobj;
24083 wxString *arg1 = 0 ;
24084 wxWindow *arg2 = (wxWindow *) NULL ;
24085 wxWindow *result;
24086 bool temp1 = False ;
24087 PyObject * obj0 = 0 ;
24088 PyObject * obj1 = 0 ;
24089 char *kwnames[] = {
24090 (char *) "label",(char *) "parent", NULL
24091 };
24092
24093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
24094 {
24095 arg1 = wxString_in_helper(obj0);
24096 if (arg1 == NULL) SWIG_fail;
24097 temp1 = True;
24098 }
24099 if (obj1) {
24100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24101 }
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
24105
24106 wxPyEndAllowThreads(__tstate);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 }
24109 {
24110 resultobj = wxPyMake_wxObject(result);
24111 }
24112 {
24113 if (temp1)
24114 delete arg1;
24115 }
24116 return resultobj;
24117 fail:
24118 {
24119 if (temp1)
24120 delete arg1;
24121 }
24122 return NULL;
24123 }
24124
24125
24126 static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
24127 PyObject *resultobj;
24128 unsigned long arg1 ;
24129 wxWindow *result;
24130 PyObject * obj0 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "hWnd", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FromHWND",kwnames,&obj0)) goto fail;
24136 arg1 = (unsigned long) PyInt_AsLong(obj0);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 {
24139 PyThreadState* __tstate = wxPyBeginAllowThreads();
24140 result = (wxWindow *)wxWindow_FromHWND(arg1);
24141
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 {
24146 resultobj = wxPyMake_wxObject(result);
24147 }
24148 return resultobj;
24149 fail:
24150 return NULL;
24151 }
24152
24153
24154 static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
24155 PyObject *resultobj;
24156 wxValidator *result;
24157 char *kwnames[] = {
24158 NULL
24159 };
24160
24161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
24162 {
24163 PyThreadState* __tstate = wxPyBeginAllowThreads();
24164 result = (wxValidator *)new wxValidator();
24165
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 {
24170 resultobj = wxPyMake_wxObject(result);
24171 }
24172 return resultobj;
24173 fail:
24174 return NULL;
24175 }
24176
24177
24178 static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
24179 PyObject *resultobj;
24180 wxValidator *arg1 = (wxValidator *) 0 ;
24181 wxValidator *result;
24182 PyObject * obj0 = 0 ;
24183 char *kwnames[] = {
24184 (char *) "self", NULL
24185 };
24186
24187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
24188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 result = (wxValidator *)(arg1)->Clone();
24192
24193 wxPyEndAllowThreads(__tstate);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 {
24197 resultobj = wxPyMake_wxObject(result);
24198 }
24199 return resultobj;
24200 fail:
24201 return NULL;
24202 }
24203
24204
24205 static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24206 PyObject *resultobj;
24207 wxValidator *arg1 = (wxValidator *) 0 ;
24208 wxWindow *arg2 = (wxWindow *) 0 ;
24209 bool result;
24210 PyObject * obj0 = 0 ;
24211 PyObject * obj1 = 0 ;
24212 char *kwnames[] = {
24213 (char *) "self",(char *) "parent", NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
24217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24219 {
24220 PyThreadState* __tstate = wxPyBeginAllowThreads();
24221 result = (bool)(arg1)->Validate(arg2);
24222
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 resultobj = PyInt_FromLong((long)result);
24227 return resultobj;
24228 fail:
24229 return NULL;
24230 }
24231
24232
24233 static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24234 PyObject *resultobj;
24235 wxValidator *arg1 = (wxValidator *) 0 ;
24236 bool result;
24237 PyObject * obj0 = 0 ;
24238 char *kwnames[] = {
24239 (char *) "self", NULL
24240 };
24241
24242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
24243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24244 {
24245 PyThreadState* __tstate = wxPyBeginAllowThreads();
24246 result = (bool)(arg1)->TransferToWindow();
24247
24248 wxPyEndAllowThreads(__tstate);
24249 if (PyErr_Occurred()) SWIG_fail;
24250 }
24251 resultobj = PyInt_FromLong((long)result);
24252 return resultobj;
24253 fail:
24254 return NULL;
24255 }
24256
24257
24258 static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24259 PyObject *resultobj;
24260 wxValidator *arg1 = (wxValidator *) 0 ;
24261 bool result;
24262 PyObject * obj0 = 0 ;
24263 char *kwnames[] = {
24264 (char *) "self", NULL
24265 };
24266
24267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
24268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 result = (bool)(arg1)->TransferFromWindow();
24272
24273 wxPyEndAllowThreads(__tstate);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
24276 resultobj = PyInt_FromLong((long)result);
24277 return resultobj;
24278 fail:
24279 return NULL;
24280 }
24281
24282
24283 static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24284 PyObject *resultobj;
24285 wxValidator *arg1 = (wxValidator *) 0 ;
24286 wxWindow *result;
24287 PyObject * obj0 = 0 ;
24288 char *kwnames[] = {
24289 (char *) "self", NULL
24290 };
24291
24292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
24293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24294 {
24295 PyThreadState* __tstate = wxPyBeginAllowThreads();
24296 result = (wxWindow *)(arg1)->GetWindow();
24297
24298 wxPyEndAllowThreads(__tstate);
24299 if (PyErr_Occurred()) SWIG_fail;
24300 }
24301 {
24302 resultobj = wxPyMake_wxObject(result);
24303 }
24304 return resultobj;
24305 fail:
24306 return NULL;
24307 }
24308
24309
24310 static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24311 PyObject *resultobj;
24312 wxValidator *arg1 = (wxValidator *) 0 ;
24313 wxWindow *arg2 = (wxWindow *) 0 ;
24314 PyObject * obj0 = 0 ;
24315 PyObject * obj1 = 0 ;
24316 char *kwnames[] = {
24317 (char *) "self",(char *) "window", NULL
24318 };
24319
24320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
24321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24323 {
24324 PyThreadState* __tstate = wxPyBeginAllowThreads();
24325 (arg1)->SetWindow(arg2);
24326
24327 wxPyEndAllowThreads(__tstate);
24328 if (PyErr_Occurred()) SWIG_fail;
24329 }
24330 Py_INCREF(Py_None); resultobj = Py_None;
24331 return resultobj;
24332 fail:
24333 return NULL;
24334 }
24335
24336
24337 static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
24338 PyObject *resultobj;
24339 bool result;
24340 char *kwnames[] = {
24341 NULL
24342 };
24343
24344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
24345 {
24346 PyThreadState* __tstate = wxPyBeginAllowThreads();
24347 result = (bool)wxValidator::IsSilent();
24348
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 resultobj = PyInt_FromLong((long)result);
24353 return resultobj;
24354 fail:
24355 return NULL;
24356 }
24357
24358
24359 static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
24360 PyObject *resultobj;
24361 int arg1 = (int) True ;
24362 char *kwnames[] = {
24363 (char *) "doIt", NULL
24364 };
24365
24366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:Validator_SetBellOnError",kwnames,&arg1)) goto fail;
24367 {
24368 PyThreadState* __tstate = wxPyBeginAllowThreads();
24369 wxValidator::SetBellOnError(arg1);
24370
24371 wxPyEndAllowThreads(__tstate);
24372 if (PyErr_Occurred()) SWIG_fail;
24373 }
24374 Py_INCREF(Py_None); resultobj = Py_None;
24375 return resultobj;
24376 fail:
24377 return NULL;
24378 }
24379
24380
24381 static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
24382 PyObject *obj;
24383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24384 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
24385 Py_INCREF(obj);
24386 return Py_BuildValue((char *)"");
24387 }
24388 static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj;
24390 wxPyValidator *result;
24391 char *kwnames[] = {
24392 NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
24396 {
24397 PyThreadState* __tstate = wxPyBeginAllowThreads();
24398 result = (wxPyValidator *)new wxPyValidator();
24399
24400 wxPyEndAllowThreads(__tstate);
24401 if (PyErr_Occurred()) SWIG_fail;
24402 }
24403 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyValidator, 1);
24404 return resultobj;
24405 fail:
24406 return NULL;
24407 }
24408
24409
24410 static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24411 PyObject *resultobj;
24412 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
24413 PyObject *arg2 = (PyObject *) 0 ;
24414 PyObject *arg3 = (PyObject *) 0 ;
24415 int arg4 = (int) True ;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 PyObject * obj2 = 0 ;
24419 char *kwnames[] = {
24420 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24421 };
24422
24423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
24424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24425 arg2 = obj1;
24426 arg3 = obj2;
24427 {
24428 PyThreadState* __tstate = wxPyBeginAllowThreads();
24429 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
24430
24431 wxPyEndAllowThreads(__tstate);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 }
24434 Py_INCREF(Py_None); resultobj = Py_None;
24435 return resultobj;
24436 fail:
24437 return NULL;
24438 }
24439
24440
24441 static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
24442 PyObject *obj;
24443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24444 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
24445 Py_INCREF(obj);
24446 return Py_BuildValue((char *)"");
24447 }
24448 static int _wrap_DefaultValidator_set(PyObject *_val) {
24449 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
24450 return 1;
24451 }
24452
24453
24454 static PyObject *_wrap_DefaultValidator_get() {
24455 PyObject *pyobj;
24456
24457 pyobj = SWIG_NewPointerObj((void *) &wxDefaultValidator, SWIGTYPE_p_wxValidator, 0);
24458 return pyobj;
24459 }
24460
24461
24462 static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
24463 PyObject *resultobj;
24464 wxString const &arg1_defvalue = wxPyEmptyString ;
24465 wxString *arg1 = (wxString *) &arg1_defvalue ;
24466 long arg2 = (long) 0 ;
24467 wxMenu *result;
24468 bool temp1 = False ;
24469 PyObject * obj0 = 0 ;
24470 char *kwnames[] = {
24471 (char *) "title",(char *) "style", NULL
24472 };
24473
24474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Ol:new_Menu",kwnames,&obj0,&arg2)) goto fail;
24475 if (obj0) {
24476 {
24477 arg1 = wxString_in_helper(obj0);
24478 if (arg1 == NULL) SWIG_fail;
24479 temp1 = True;
24480 }
24481 }
24482 {
24483 PyThreadState* __tstate = wxPyBeginAllowThreads();
24484 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
24485
24486 wxPyEndAllowThreads(__tstate);
24487 if (PyErr_Occurred()) SWIG_fail;
24488 }
24489 {
24490 resultobj = wxPyMake_wxObject(result);
24491 }
24492 {
24493 if (temp1)
24494 delete arg1;
24495 }
24496 return resultobj;
24497 fail:
24498 {
24499 if (temp1)
24500 delete arg1;
24501 }
24502 return NULL;
24503 }
24504
24505
24506 static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
24507 PyObject *resultobj;
24508 wxMenu *arg1 = (wxMenu *) 0 ;
24509 int arg2 ;
24510 wxString *arg3 = 0 ;
24511 wxString const &arg4_defvalue = wxPyEmptyString ;
24512 wxString *arg4 = (wxString *) &arg4_defvalue ;
24513 int arg5 = (int) wxITEM_NORMAL ;
24514 bool temp3 = False ;
24515 bool temp4 = False ;
24516 PyObject * obj0 = 0 ;
24517 PyObject * obj2 = 0 ;
24518 PyObject * obj3 = 0 ;
24519 char *kwnames[] = {
24520 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24521 };
24522
24523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Append",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24525 {
24526 arg3 = wxString_in_helper(obj2);
24527 if (arg3 == NULL) SWIG_fail;
24528 temp3 = True;
24529 }
24530 if (obj3) {
24531 {
24532 arg4 = wxString_in_helper(obj3);
24533 if (arg4 == NULL) SWIG_fail;
24534 temp4 = True;
24535 }
24536 }
24537 {
24538 PyThreadState* __tstate = wxPyBeginAllowThreads();
24539 (arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
24540
24541 wxPyEndAllowThreads(__tstate);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 }
24544 Py_INCREF(Py_None); resultobj = Py_None;
24545 {
24546 if (temp3)
24547 delete arg3;
24548 }
24549 {
24550 if (temp4)
24551 delete arg4;
24552 }
24553 return resultobj;
24554 fail:
24555 {
24556 if (temp3)
24557 delete arg3;
24558 }
24559 {
24560 if (temp4)
24561 delete arg4;
24562 }
24563 return NULL;
24564 }
24565
24566
24567 static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24568 PyObject *resultobj;
24569 wxMenu *arg1 = (wxMenu *) 0 ;
24570 PyObject * obj0 = 0 ;
24571 char *kwnames[] = {
24572 (char *) "self", NULL
24573 };
24574
24575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
24576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 (arg1)->AppendSeparator();
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 Py_INCREF(Py_None); resultobj = Py_None;
24585 return resultobj;
24586 fail:
24587 return NULL;
24588 }
24589
24590
24591 static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24592 PyObject *resultobj;
24593 wxMenu *arg1 = (wxMenu *) 0 ;
24594 int arg2 ;
24595 wxString *arg3 = 0 ;
24596 wxString const &arg4_defvalue = wxPyEmptyString ;
24597 wxString *arg4 = (wxString *) &arg4_defvalue ;
24598 bool temp3 = False ;
24599 bool temp4 = False ;
24600 PyObject * obj0 = 0 ;
24601 PyObject * obj2 = 0 ;
24602 PyObject * obj3 = 0 ;
24603 char *kwnames[] = {
24604 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24605 };
24606
24607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24609 {
24610 arg3 = wxString_in_helper(obj2);
24611 if (arg3 == NULL) SWIG_fail;
24612 temp3 = True;
24613 }
24614 if (obj3) {
24615 {
24616 arg4 = wxString_in_helper(obj3);
24617 if (arg4 == NULL) SWIG_fail;
24618 temp4 = True;
24619 }
24620 }
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
24623 (arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24624
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
24628 Py_INCREF(Py_None); resultobj = Py_None;
24629 {
24630 if (temp3)
24631 delete arg3;
24632 }
24633 {
24634 if (temp4)
24635 delete arg4;
24636 }
24637 return resultobj;
24638 fail:
24639 {
24640 if (temp3)
24641 delete arg3;
24642 }
24643 {
24644 if (temp4)
24645 delete arg4;
24646 }
24647 return NULL;
24648 }
24649
24650
24651 static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24652 PyObject *resultobj;
24653 wxMenu *arg1 = (wxMenu *) 0 ;
24654 int arg2 ;
24655 wxString *arg3 = 0 ;
24656 wxString const &arg4_defvalue = wxPyEmptyString ;
24657 wxString *arg4 = (wxString *) &arg4_defvalue ;
24658 bool temp3 = False ;
24659 bool temp4 = False ;
24660 PyObject * obj0 = 0 ;
24661 PyObject * obj2 = 0 ;
24662 PyObject * obj3 = 0 ;
24663 char *kwnames[] = {
24664 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24665 };
24666
24667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24669 {
24670 arg3 = wxString_in_helper(obj2);
24671 if (arg3 == NULL) SWIG_fail;
24672 temp3 = True;
24673 }
24674 if (obj3) {
24675 {
24676 arg4 = wxString_in_helper(obj3);
24677 if (arg4 == NULL) SWIG_fail;
24678 temp4 = True;
24679 }
24680 }
24681 {
24682 PyThreadState* __tstate = wxPyBeginAllowThreads();
24683 (arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24684
24685 wxPyEndAllowThreads(__tstate);
24686 if (PyErr_Occurred()) SWIG_fail;
24687 }
24688 Py_INCREF(Py_None); resultobj = Py_None;
24689 {
24690 if (temp3)
24691 delete arg3;
24692 }
24693 {
24694 if (temp4)
24695 delete arg4;
24696 }
24697 return resultobj;
24698 fail:
24699 {
24700 if (temp3)
24701 delete arg3;
24702 }
24703 {
24704 if (temp4)
24705 delete arg4;
24706 }
24707 return NULL;
24708 }
24709
24710
24711 static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
24712 PyObject *resultobj;
24713 wxMenu *arg1 = (wxMenu *) 0 ;
24714 int arg2 ;
24715 wxString *arg3 = 0 ;
24716 wxMenu *arg4 = (wxMenu *) 0 ;
24717 wxString const &arg5_defvalue = wxPyEmptyString ;
24718 wxString *arg5 = (wxString *) &arg5_defvalue ;
24719 bool temp3 = False ;
24720 bool temp5 = False ;
24721 PyObject * obj0 = 0 ;
24722 PyObject * obj2 = 0 ;
24723 PyObject * obj3 = 0 ;
24724 PyObject * obj4 = 0 ;
24725 char *kwnames[] = {
24726 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
24727 };
24728
24729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_AppendMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
24730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24731 {
24732 arg3 = wxString_in_helper(obj2);
24733 if (arg3 == NULL) SWIG_fail;
24734 temp3 = True;
24735 }
24736 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24737 if (obj4) {
24738 {
24739 arg5 = wxString_in_helper(obj4);
24740 if (arg5 == NULL) SWIG_fail;
24741 temp5 = True;
24742 }
24743 }
24744 {
24745 PyThreadState* __tstate = wxPyBeginAllowThreads();
24746 (arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
24747
24748 wxPyEndAllowThreads(__tstate);
24749 if (PyErr_Occurred()) SWIG_fail;
24750 }
24751 Py_INCREF(Py_None); resultobj = Py_None;
24752 {
24753 if (temp3)
24754 delete arg3;
24755 }
24756 {
24757 if (temp5)
24758 delete arg5;
24759 }
24760 return resultobj;
24761 fail:
24762 {
24763 if (temp3)
24764 delete arg3;
24765 }
24766 {
24767 if (temp5)
24768 delete arg5;
24769 }
24770 return NULL;
24771 }
24772
24773
24774 static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24775 PyObject *resultobj;
24776 wxMenu *arg1 = (wxMenu *) 0 ;
24777 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
24778 PyObject * obj0 = 0 ;
24779 PyObject * obj1 = 0 ;
24780 char *kwnames[] = {
24781 (char *) "self",(char *) "item", NULL
24782 };
24783
24784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
24785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 (arg1)->Append(arg2);
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 Py_INCREF(Py_None); resultobj = Py_None;
24795 return resultobj;
24796 fail:
24797 return NULL;
24798 }
24799
24800
24801 static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
24802 PyObject *resultobj;
24803 wxMenu *arg1 = (wxMenu *) 0 ;
24804 PyObject * obj0 = 0 ;
24805 char *kwnames[] = {
24806 (char *) "self", NULL
24807 };
24808
24809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
24810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24811 {
24812 PyThreadState* __tstate = wxPyBeginAllowThreads();
24813 (arg1)->Break();
24814
24815 wxPyEndAllowThreads(__tstate);
24816 if (PyErr_Occurred()) SWIG_fail;
24817 }
24818 Py_INCREF(Py_None); resultobj = Py_None;
24819 return resultobj;
24820 fail:
24821 return NULL;
24822 }
24823
24824
24825 static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24826 PyObject *resultobj;
24827 wxMenu *arg1 = (wxMenu *) 0 ;
24828 size_t arg2 ;
24829 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
24830 bool result;
24831 PyObject * obj0 = 0 ;
24832 PyObject * obj1 = 0 ;
24833 PyObject * obj2 = 0 ;
24834 char *kwnames[] = {
24835 (char *) "self",(char *) "pos",(char *) "item", NULL
24836 };
24837
24838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24840 arg2 = (size_t) PyInt_AsLong(obj1);
24841 if (PyErr_Occurred()) SWIG_fail;
24842 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 result = (bool)(arg1)->Insert(arg2,arg3);
24846
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 resultobj = PyInt_FromLong((long)result);
24851 return resultobj;
24852 fail:
24853 return NULL;
24854 }
24855
24856
24857 static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxMenu *arg1 = (wxMenu *) 0 ;
24860 size_t arg2 ;
24861 int arg3 ;
24862 wxString *arg4 = 0 ;
24863 wxString const &arg5_defvalue = wxPyEmptyString ;
24864 wxString *arg5 = (wxString *) &arg5_defvalue ;
24865 int arg6 = (int) wxITEM_NORMAL ;
24866 bool temp4 = False ;
24867 bool temp5 = False ;
24868 PyObject * obj0 = 0 ;
24869 PyObject * obj1 = 0 ;
24870 PyObject * obj3 = 0 ;
24871 PyObject * obj4 = 0 ;
24872 char *kwnames[] = {
24873 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24874 };
24875
24876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|Oi:Menu_Insert",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24878 arg2 = (size_t) PyInt_AsLong(obj1);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 {
24881 arg4 = wxString_in_helper(obj3);
24882 if (arg4 == NULL) SWIG_fail;
24883 temp4 = True;
24884 }
24885 if (obj4) {
24886 {
24887 arg5 = wxString_in_helper(obj4);
24888 if (arg5 == NULL) SWIG_fail;
24889 temp5 = True;
24890 }
24891 }
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
24895
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
24899 Py_INCREF(Py_None); resultobj = Py_None;
24900 {
24901 if (temp4)
24902 delete arg4;
24903 }
24904 {
24905 if (temp5)
24906 delete arg5;
24907 }
24908 return resultobj;
24909 fail:
24910 {
24911 if (temp4)
24912 delete arg4;
24913 }
24914 {
24915 if (temp5)
24916 delete arg5;
24917 }
24918 return NULL;
24919 }
24920
24921
24922 static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24923 PyObject *resultobj;
24924 wxMenu *arg1 = (wxMenu *) 0 ;
24925 size_t arg2 ;
24926 PyObject * obj0 = 0 ;
24927 PyObject * obj1 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self",(char *) "pos", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
24933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24934 arg2 = (size_t) PyInt_AsLong(obj1);
24935 if (PyErr_Occurred()) SWIG_fail;
24936 {
24937 PyThreadState* __tstate = wxPyBeginAllowThreads();
24938 (arg1)->InsertSeparator(arg2);
24939
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 Py_INCREF(Py_None); resultobj = Py_None;
24944 return resultobj;
24945 fail:
24946 return NULL;
24947 }
24948
24949
24950 static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj;
24952 wxMenu *arg1 = (wxMenu *) 0 ;
24953 size_t arg2 ;
24954 int arg3 ;
24955 wxString *arg4 = 0 ;
24956 wxString const &arg5_defvalue = wxPyEmptyString ;
24957 wxString *arg5 = (wxString *) &arg5_defvalue ;
24958 bool temp4 = False ;
24959 bool temp5 = False ;
24960 PyObject * obj0 = 0 ;
24961 PyObject * obj1 = 0 ;
24962 PyObject * obj3 = 0 ;
24963 PyObject * obj4 = 0 ;
24964 char *kwnames[] = {
24965 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
24966 };
24967
24968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
24969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24970 arg2 = (size_t) PyInt_AsLong(obj1);
24971 if (PyErr_Occurred()) SWIG_fail;
24972 {
24973 arg4 = wxString_in_helper(obj3);
24974 if (arg4 == NULL) SWIG_fail;
24975 temp4 = True;
24976 }
24977 if (obj4) {
24978 {
24979 arg5 = wxString_in_helper(obj4);
24980 if (arg5 == NULL) SWIG_fail;
24981 temp5 = True;
24982 }
24983 }
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 (arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 Py_INCREF(Py_None); resultobj = Py_None;
24992 {
24993 if (temp4)
24994 delete arg4;
24995 }
24996 {
24997 if (temp5)
24998 delete arg5;
24999 }
25000 return resultobj;
25001 fail:
25002 {
25003 if (temp4)
25004 delete arg4;
25005 }
25006 {
25007 if (temp5)
25008 delete arg5;
25009 }
25010 return NULL;
25011 }
25012
25013
25014 static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25015 PyObject *resultobj;
25016 wxMenu *arg1 = (wxMenu *) 0 ;
25017 size_t arg2 ;
25018 int arg3 ;
25019 wxString *arg4 = 0 ;
25020 wxString const &arg5_defvalue = wxPyEmptyString ;
25021 wxString *arg5 = (wxString *) &arg5_defvalue ;
25022 bool temp4 = False ;
25023 bool temp5 = False ;
25024 PyObject * obj0 = 0 ;
25025 PyObject * obj1 = 0 ;
25026 PyObject * obj3 = 0 ;
25027 PyObject * obj4 = 0 ;
25028 char *kwnames[] = {
25029 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25030 };
25031
25032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25034 arg2 = (size_t) PyInt_AsLong(obj1);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 {
25037 arg4 = wxString_in_helper(obj3);
25038 if (arg4 == NULL) SWIG_fail;
25039 temp4 = True;
25040 }
25041 if (obj4) {
25042 {
25043 arg5 = wxString_in_helper(obj4);
25044 if (arg5 == NULL) SWIG_fail;
25045 temp5 = True;
25046 }
25047 }
25048 {
25049 PyThreadState* __tstate = wxPyBeginAllowThreads();
25050 (arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25051
25052 wxPyEndAllowThreads(__tstate);
25053 if (PyErr_Occurred()) SWIG_fail;
25054 }
25055 Py_INCREF(Py_None); resultobj = Py_None;
25056 {
25057 if (temp4)
25058 delete arg4;
25059 }
25060 {
25061 if (temp5)
25062 delete arg5;
25063 }
25064 return resultobj;
25065 fail:
25066 {
25067 if (temp4)
25068 delete arg4;
25069 }
25070 {
25071 if (temp5)
25072 delete arg5;
25073 }
25074 return NULL;
25075 }
25076
25077
25078 static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25079 PyObject *resultobj;
25080 wxMenu *arg1 = (wxMenu *) 0 ;
25081 size_t arg2 ;
25082 int arg3 ;
25083 wxString *arg4 = 0 ;
25084 wxMenu *arg5 = (wxMenu *) 0 ;
25085 wxString const &arg6_defvalue = wxPyEmptyString ;
25086 wxString *arg6 = (wxString *) &arg6_defvalue ;
25087 bool temp4 = False ;
25088 bool temp6 = False ;
25089 PyObject * obj0 = 0 ;
25090 PyObject * obj1 = 0 ;
25091 PyObject * obj3 = 0 ;
25092 PyObject * obj4 = 0 ;
25093 PyObject * obj5 = 0 ;
25094 char *kwnames[] = {
25095 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25096 };
25097
25098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5)) goto fail;
25099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25100 arg2 = (size_t) PyInt_AsLong(obj1);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 {
25103 arg4 = wxString_in_helper(obj3);
25104 if (arg4 == NULL) SWIG_fail;
25105 temp4 = True;
25106 }
25107 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25108 if (obj5) {
25109 {
25110 arg6 = wxString_in_helper(obj5);
25111 if (arg6 == NULL) SWIG_fail;
25112 temp6 = True;
25113 }
25114 }
25115 {
25116 PyThreadState* __tstate = wxPyBeginAllowThreads();
25117 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
25118
25119 wxPyEndAllowThreads(__tstate);
25120 if (PyErr_Occurred()) SWIG_fail;
25121 }
25122 Py_INCREF(Py_None); resultobj = Py_None;
25123 {
25124 if (temp4)
25125 delete arg4;
25126 }
25127 {
25128 if (temp6)
25129 delete arg6;
25130 }
25131 return resultobj;
25132 fail:
25133 {
25134 if (temp4)
25135 delete arg4;
25136 }
25137 {
25138 if (temp6)
25139 delete arg6;
25140 }
25141 return NULL;
25142 }
25143
25144
25145 static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25146 PyObject *resultobj;
25147 wxMenu *arg1 = (wxMenu *) 0 ;
25148 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25149 PyObject * obj0 = 0 ;
25150 PyObject * obj1 = 0 ;
25151 char *kwnames[] = {
25152 (char *) "self",(char *) "item", NULL
25153 };
25154
25155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
25156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 (arg1)->Prepend(arg2);
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 Py_INCREF(Py_None); resultobj = Py_None;
25166 return resultobj;
25167 fail:
25168 return NULL;
25169 }
25170
25171
25172 static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
25173 PyObject *resultobj;
25174 wxMenu *arg1 = (wxMenu *) 0 ;
25175 int arg2 ;
25176 wxString *arg3 = 0 ;
25177 wxString const &arg4_defvalue = wxPyEmptyString ;
25178 wxString *arg4 = (wxString *) &arg4_defvalue ;
25179 int arg5 = (int) wxITEM_NORMAL ;
25180 bool temp3 = False ;
25181 bool temp4 = False ;
25182 PyObject * obj0 = 0 ;
25183 PyObject * obj2 = 0 ;
25184 PyObject * obj3 = 0 ;
25185 char *kwnames[] = {
25186 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25187 };
25188
25189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Prepend",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25191 {
25192 arg3 = wxString_in_helper(obj2);
25193 if (arg3 == NULL) SWIG_fail;
25194 temp3 = True;
25195 }
25196 if (obj3) {
25197 {
25198 arg4 = wxString_in_helper(obj3);
25199 if (arg4 == NULL) SWIG_fail;
25200 temp4 = True;
25201 }
25202 }
25203 {
25204 PyThreadState* __tstate = wxPyBeginAllowThreads();
25205 (arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
25206
25207 wxPyEndAllowThreads(__tstate);
25208 if (PyErr_Occurred()) SWIG_fail;
25209 }
25210 Py_INCREF(Py_None); resultobj = Py_None;
25211 {
25212 if (temp3)
25213 delete arg3;
25214 }
25215 {
25216 if (temp4)
25217 delete arg4;
25218 }
25219 return resultobj;
25220 fail:
25221 {
25222 if (temp3)
25223 delete arg3;
25224 }
25225 {
25226 if (temp4)
25227 delete arg4;
25228 }
25229 return NULL;
25230 }
25231
25232
25233 static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25234 PyObject *resultobj;
25235 wxMenu *arg1 = (wxMenu *) 0 ;
25236 PyObject * obj0 = 0 ;
25237 char *kwnames[] = {
25238 (char *) "self", NULL
25239 };
25240
25241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
25242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25243 {
25244 PyThreadState* __tstate = wxPyBeginAllowThreads();
25245 (arg1)->PrependSeparator();
25246
25247 wxPyEndAllowThreads(__tstate);
25248 if (PyErr_Occurred()) SWIG_fail;
25249 }
25250 Py_INCREF(Py_None); resultobj = Py_None;
25251 return resultobj;
25252 fail:
25253 return NULL;
25254 }
25255
25256
25257 static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25258 PyObject *resultobj;
25259 wxMenu *arg1 = (wxMenu *) 0 ;
25260 int arg2 ;
25261 wxString *arg3 = 0 ;
25262 wxString const &arg4_defvalue = wxPyEmptyString ;
25263 wxString *arg4 = (wxString *) &arg4_defvalue ;
25264 bool temp3 = False ;
25265 bool temp4 = False ;
25266 PyObject * obj0 = 0 ;
25267 PyObject * obj2 = 0 ;
25268 PyObject * obj3 = 0 ;
25269 char *kwnames[] = {
25270 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25271 };
25272
25273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25275 {
25276 arg3 = wxString_in_helper(obj2);
25277 if (arg3 == NULL) SWIG_fail;
25278 temp3 = True;
25279 }
25280 if (obj3) {
25281 {
25282 arg4 = wxString_in_helper(obj3);
25283 if (arg4 == NULL) SWIG_fail;
25284 temp4 = True;
25285 }
25286 }
25287 {
25288 PyThreadState* __tstate = wxPyBeginAllowThreads();
25289 (arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25290
25291 wxPyEndAllowThreads(__tstate);
25292 if (PyErr_Occurred()) SWIG_fail;
25293 }
25294 Py_INCREF(Py_None); resultobj = Py_None;
25295 {
25296 if (temp3)
25297 delete arg3;
25298 }
25299 {
25300 if (temp4)
25301 delete arg4;
25302 }
25303 return resultobj;
25304 fail:
25305 {
25306 if (temp3)
25307 delete arg3;
25308 }
25309 {
25310 if (temp4)
25311 delete arg4;
25312 }
25313 return NULL;
25314 }
25315
25316
25317 static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25318 PyObject *resultobj;
25319 wxMenu *arg1 = (wxMenu *) 0 ;
25320 int arg2 ;
25321 wxString *arg3 = 0 ;
25322 wxString const &arg4_defvalue = wxPyEmptyString ;
25323 wxString *arg4 = (wxString *) &arg4_defvalue ;
25324 bool temp3 = False ;
25325 bool temp4 = False ;
25326 PyObject * obj0 = 0 ;
25327 PyObject * obj2 = 0 ;
25328 PyObject * obj3 = 0 ;
25329 char *kwnames[] = {
25330 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25331 };
25332
25333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25335 {
25336 arg3 = wxString_in_helper(obj2);
25337 if (arg3 == NULL) SWIG_fail;
25338 temp3 = True;
25339 }
25340 if (obj3) {
25341 {
25342 arg4 = wxString_in_helper(obj3);
25343 if (arg4 == NULL) SWIG_fail;
25344 temp4 = True;
25345 }
25346 }
25347 {
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 (arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25350
25351 wxPyEndAllowThreads(__tstate);
25352 if (PyErr_Occurred()) SWIG_fail;
25353 }
25354 Py_INCREF(Py_None); resultobj = Py_None;
25355 {
25356 if (temp3)
25357 delete arg3;
25358 }
25359 {
25360 if (temp4)
25361 delete arg4;
25362 }
25363 return resultobj;
25364 fail:
25365 {
25366 if (temp3)
25367 delete arg3;
25368 }
25369 {
25370 if (temp4)
25371 delete arg4;
25372 }
25373 return NULL;
25374 }
25375
25376
25377 static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25378 PyObject *resultobj;
25379 wxMenu *arg1 = (wxMenu *) 0 ;
25380 int arg2 ;
25381 wxString *arg3 = 0 ;
25382 wxMenu *arg4 = (wxMenu *) 0 ;
25383 wxString const &arg5_defvalue = wxPyEmptyString ;
25384 wxString *arg5 = (wxString *) &arg5_defvalue ;
25385 bool temp3 = False ;
25386 bool temp5 = False ;
25387 PyObject * obj0 = 0 ;
25388 PyObject * obj2 = 0 ;
25389 PyObject * obj3 = 0 ;
25390 PyObject * obj4 = 0 ;
25391 char *kwnames[] = {
25392 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25393 };
25394
25395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_PrependMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25397 {
25398 arg3 = wxString_in_helper(obj2);
25399 if (arg3 == NULL) SWIG_fail;
25400 temp3 = True;
25401 }
25402 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25403 if (obj4) {
25404 {
25405 arg5 = wxString_in_helper(obj4);
25406 if (arg5 == NULL) SWIG_fail;
25407 temp5 = True;
25408 }
25409 }
25410 {
25411 PyThreadState* __tstate = wxPyBeginAllowThreads();
25412 (arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25413
25414 wxPyEndAllowThreads(__tstate);
25415 if (PyErr_Occurred()) SWIG_fail;
25416 }
25417 Py_INCREF(Py_None); resultobj = Py_None;
25418 {
25419 if (temp3)
25420 delete arg3;
25421 }
25422 {
25423 if (temp5)
25424 delete arg5;
25425 }
25426 return resultobj;
25427 fail:
25428 {
25429 if (temp3)
25430 delete arg3;
25431 }
25432 {
25433 if (temp5)
25434 delete arg5;
25435 }
25436 return NULL;
25437 }
25438
25439
25440 static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
25441 PyObject *resultobj;
25442 wxMenu *arg1 = (wxMenu *) 0 ;
25443 int arg2 ;
25444 wxMenuItem *result;
25445 PyObject * obj0 = 0 ;
25446 char *kwnames[] = {
25447 (char *) "self",(char *) "itemid", NULL
25448 };
25449
25450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Remove",kwnames,&obj0,&arg2)) goto fail;
25451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,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_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25469 PyObject *resultobj;
25470 wxMenu *arg1 = (wxMenu *) 0 ;
25471 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25472 wxMenuItem *result;
25473 PyObject * obj0 = 0 ;
25474 PyObject * obj1 = 0 ;
25475 char *kwnames[] = {
25476 (char *) "self",(char *) "item", NULL
25477 };
25478
25479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
25480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25482 {
25483 PyThreadState* __tstate = wxPyBeginAllowThreads();
25484 result = (wxMenuItem *)(arg1)->Remove(arg2);
25485
25486 wxPyEndAllowThreads(__tstate);
25487 if (PyErr_Occurred()) SWIG_fail;
25488 }
25489 {
25490 resultobj = wxPyMake_wxObject(result);
25491 }
25492 return resultobj;
25493 fail:
25494 return NULL;
25495 }
25496
25497
25498 static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25499 PyObject *resultobj;
25500 wxMenu *arg1 = (wxMenu *) 0 ;
25501 int arg2 ;
25502 bool result;
25503 PyObject * obj0 = 0 ;
25504 char *kwnames[] = {
25505 (char *) "self",(char *) "itemid", NULL
25506 };
25507
25508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Delete",kwnames,&obj0,&arg2)) goto fail;
25509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 result = (bool)(arg1)->Delete(arg2);
25513
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 resultobj = PyInt_FromLong((long)result);
25518 return resultobj;
25519 fail:
25520 return NULL;
25521 }
25522
25523
25524 static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25525 PyObject *resultobj;
25526 wxMenu *arg1 = (wxMenu *) 0 ;
25527 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25528 bool result;
25529 PyObject * obj0 = 0 ;
25530 PyObject * obj1 = 0 ;
25531 char *kwnames[] = {
25532 (char *) "self",(char *) "item", NULL
25533 };
25534
25535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25538 {
25539 PyThreadState* __tstate = wxPyBeginAllowThreads();
25540 result = (bool)(arg1)->Delete(arg2);
25541
25542 wxPyEndAllowThreads(__tstate);
25543 if (PyErr_Occurred()) SWIG_fail;
25544 }
25545 resultobj = PyInt_FromLong((long)result);
25546 return resultobj;
25547 fail:
25548 return NULL;
25549 }
25550
25551
25552 static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25553 PyObject *resultobj;
25554 wxMenu *arg1 = (wxMenu *) 0 ;
25555 PyObject * obj0 = 0 ;
25556 char *kwnames[] = {
25557 (char *) "self", NULL
25558 };
25559
25560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
25561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25562 {
25563 PyThreadState* __tstate = wxPyBeginAllowThreads();
25564 wxMenu_Destroy(arg1);
25565
25566 wxPyEndAllowThreads(__tstate);
25567 if (PyErr_Occurred()) SWIG_fail;
25568 }
25569 Py_INCREF(Py_None); resultobj = Py_None;
25570 return resultobj;
25571 fail:
25572 return NULL;
25573 }
25574
25575
25576 static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
25577 PyObject *resultobj;
25578 wxMenu *arg1 = (wxMenu *) 0 ;
25579 int arg2 ;
25580 bool result;
25581 PyObject * obj0 = 0 ;
25582 char *kwnames[] = {
25583 (char *) "self",(char *) "itemid", NULL
25584 };
25585
25586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_DestroyId",kwnames,&obj0,&arg2)) goto fail;
25587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25588 {
25589 PyThreadState* __tstate = wxPyBeginAllowThreads();
25590 result = (bool)(arg1)->Destroy(arg2);
25591
25592 wxPyEndAllowThreads(__tstate);
25593 if (PyErr_Occurred()) SWIG_fail;
25594 }
25595 resultobj = PyInt_FromLong((long)result);
25596 return resultobj;
25597 fail:
25598 return NULL;
25599 }
25600
25601
25602 static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25603 PyObject *resultobj;
25604 wxMenu *arg1 = (wxMenu *) 0 ;
25605 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25606 bool result;
25607 PyObject * obj0 = 0 ;
25608 PyObject * obj1 = 0 ;
25609 char *kwnames[] = {
25610 (char *) "self",(char *) "item", NULL
25611 };
25612
25613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
25614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25616 {
25617 PyThreadState* __tstate = wxPyBeginAllowThreads();
25618 result = (bool)(arg1)->Destroy(arg2);
25619
25620 wxPyEndAllowThreads(__tstate);
25621 if (PyErr_Occurred()) SWIG_fail;
25622 }
25623 resultobj = PyInt_FromLong((long)result);
25624 return resultobj;
25625 fail:
25626 return NULL;
25627 }
25628
25629
25630 static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25631 PyObject *resultobj;
25632 wxMenu *arg1 = (wxMenu *) 0 ;
25633 size_t result;
25634 PyObject * obj0 = 0 ;
25635 char *kwnames[] = {
25636 (char *) "self", NULL
25637 };
25638
25639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
25640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25641 {
25642 PyThreadState* __tstate = wxPyBeginAllowThreads();
25643 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
25644
25645 wxPyEndAllowThreads(__tstate);
25646 if (PyErr_Occurred()) SWIG_fail;
25647 }
25648 resultobj = PyInt_FromLong((long)result);
25649 return resultobj;
25650 fail:
25651 return NULL;
25652 }
25653
25654
25655 static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25656 PyObject *resultobj;
25657 wxMenu *arg1 = (wxMenu *) 0 ;
25658 PyObject *result;
25659 PyObject * obj0 = 0 ;
25660 char *kwnames[] = {
25661 (char *) "self", NULL
25662 };
25663
25664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
25665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 result = (PyObject *)wxMenu_GetMenuItems(arg1);
25669
25670 wxPyEndAllowThreads(__tstate);
25671 if (PyErr_Occurred()) SWIG_fail;
25672 }
25673 resultobj = result;
25674 return resultobj;
25675 fail:
25676 return NULL;
25677 }
25678
25679
25680 static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25681 PyObject *resultobj;
25682 wxMenu *arg1 = (wxMenu *) 0 ;
25683 wxString *arg2 = 0 ;
25684 int result;
25685 bool temp2 = False ;
25686 PyObject * obj0 = 0 ;
25687 PyObject * obj1 = 0 ;
25688 char *kwnames[] = {
25689 (char *) "self",(char *) "item", NULL
25690 };
25691
25692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
25693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25694 {
25695 arg2 = wxString_in_helper(obj1);
25696 if (arg2 == NULL) SWIG_fail;
25697 temp2 = True;
25698 }
25699 {
25700 PyThreadState* __tstate = wxPyBeginAllowThreads();
25701 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
25702
25703 wxPyEndAllowThreads(__tstate);
25704 if (PyErr_Occurred()) SWIG_fail;
25705 }
25706 resultobj = PyInt_FromLong((long)result);
25707 {
25708 if (temp2)
25709 delete arg2;
25710 }
25711 return resultobj;
25712 fail:
25713 {
25714 if (temp2)
25715 delete arg2;
25716 }
25717 return NULL;
25718 }
25719
25720
25721 static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
25722 PyObject *resultobj;
25723 wxMenu *arg1 = (wxMenu *) 0 ;
25724 int arg2 ;
25725 wxMenuItem *result;
25726 PyObject * obj0 = 0 ;
25727 char *kwnames[] = {
25728 (char *) "self",(char *) "itemid", NULL
25729 };
25730
25731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_FindItemById",kwnames,&obj0,&arg2)) goto fail;
25732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25733 {
25734 PyThreadState* __tstate = wxPyBeginAllowThreads();
25735 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
25736
25737 wxPyEndAllowThreads(__tstate);
25738 if (PyErr_Occurred()) SWIG_fail;
25739 }
25740 {
25741 resultobj = wxPyMake_wxObject(result);
25742 }
25743 return resultobj;
25744 fail:
25745 return NULL;
25746 }
25747
25748
25749 static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25750 PyObject *resultobj;
25751 wxMenu *arg1 = (wxMenu *) 0 ;
25752 size_t arg2 ;
25753 wxMenuItem *result;
25754 PyObject * obj0 = 0 ;
25755 PyObject * obj1 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "self",(char *) "position", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
25761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25762 arg2 = (size_t) PyInt_AsLong(obj1);
25763 if (PyErr_Occurred()) SWIG_fail;
25764 {
25765 PyThreadState* __tstate = wxPyBeginAllowThreads();
25766 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
25767
25768 wxPyEndAllowThreads(__tstate);
25769 if (PyErr_Occurred()) SWIG_fail;
25770 }
25771 {
25772 resultobj = wxPyMake_wxObject(result);
25773 }
25774 return resultobj;
25775 fail:
25776 return NULL;
25777 }
25778
25779
25780 static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
25781 PyObject *resultobj;
25782 wxMenu *arg1 = (wxMenu *) 0 ;
25783 int arg2 ;
25784 bool arg3 ;
25785 PyObject * obj0 = 0 ;
25786 PyObject * obj2 = 0 ;
25787 char *kwnames[] = {
25788 (char *) "self",(char *) "itemid",(char *) "enable", NULL
25789 };
25790
25791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
25792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25793 arg3 = PyInt_AsLong(obj2) ? true : false;
25794 if (PyErr_Occurred()) SWIG_fail;
25795 {
25796 PyThreadState* __tstate = wxPyBeginAllowThreads();
25797 (arg1)->Enable(arg2,arg3);
25798
25799 wxPyEndAllowThreads(__tstate);
25800 if (PyErr_Occurred()) SWIG_fail;
25801 }
25802 Py_INCREF(Py_None); resultobj = Py_None;
25803 return resultobj;
25804 fail:
25805 return NULL;
25806 }
25807
25808
25809 static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
25810 PyObject *resultobj;
25811 wxMenu *arg1 = (wxMenu *) 0 ;
25812 int arg2 ;
25813 bool result;
25814 PyObject * obj0 = 0 ;
25815 char *kwnames[] = {
25816 (char *) "self",(char *) "itemid", NULL
25817 };
25818
25819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
25820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
25824
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 resultobj = PyInt_FromLong((long)result);
25829 return resultobj;
25830 fail:
25831 return NULL;
25832 }
25833
25834
25835 static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
25836 PyObject *resultobj;
25837 wxMenu *arg1 = (wxMenu *) 0 ;
25838 int arg2 ;
25839 bool arg3 ;
25840 PyObject * obj0 = 0 ;
25841 PyObject * obj2 = 0 ;
25842 char *kwnames[] = {
25843 (char *) "self",(char *) "itemid",(char *) "check", NULL
25844 };
25845
25846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
25847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25848 arg3 = PyInt_AsLong(obj2) ? true : false;
25849 if (PyErr_Occurred()) SWIG_fail;
25850 {
25851 PyThreadState* __tstate = wxPyBeginAllowThreads();
25852 (arg1)->Check(arg2,arg3);
25853
25854 wxPyEndAllowThreads(__tstate);
25855 if (PyErr_Occurred()) SWIG_fail;
25856 }
25857 Py_INCREF(Py_None); resultobj = Py_None;
25858 return resultobj;
25859 fail:
25860 return NULL;
25861 }
25862
25863
25864 static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
25865 PyObject *resultobj;
25866 wxMenu *arg1 = (wxMenu *) 0 ;
25867 int arg2 ;
25868 bool result;
25869 PyObject * obj0 = 0 ;
25870 char *kwnames[] = {
25871 (char *) "self",(char *) "itemid", NULL
25872 };
25873
25874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsChecked",kwnames,&obj0,&arg2)) goto fail;
25875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25876 {
25877 PyThreadState* __tstate = wxPyBeginAllowThreads();
25878 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
25879
25880 wxPyEndAllowThreads(__tstate);
25881 if (PyErr_Occurred()) SWIG_fail;
25882 }
25883 resultobj = PyInt_FromLong((long)result);
25884 return resultobj;
25885 fail:
25886 return NULL;
25887 }
25888
25889
25890 static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25891 PyObject *resultobj;
25892 wxMenu *arg1 = (wxMenu *) 0 ;
25893 int arg2 ;
25894 wxString *arg3 = 0 ;
25895 bool temp3 = False ;
25896 PyObject * obj0 = 0 ;
25897 PyObject * obj2 = 0 ;
25898 char *kwnames[] = {
25899 (char *) "self",(char *) "itemid",(char *) "label", NULL
25900 };
25901
25902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
25903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25904 {
25905 arg3 = wxString_in_helper(obj2);
25906 if (arg3 == NULL) SWIG_fail;
25907 temp3 = True;
25908 }
25909 {
25910 PyThreadState* __tstate = wxPyBeginAllowThreads();
25911 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
25912
25913 wxPyEndAllowThreads(__tstate);
25914 if (PyErr_Occurred()) SWIG_fail;
25915 }
25916 Py_INCREF(Py_None); resultobj = Py_None;
25917 {
25918 if (temp3)
25919 delete arg3;
25920 }
25921 return resultobj;
25922 fail:
25923 {
25924 if (temp3)
25925 delete arg3;
25926 }
25927 return NULL;
25928 }
25929
25930
25931 static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25932 PyObject *resultobj;
25933 wxMenu *arg1 = (wxMenu *) 0 ;
25934 int arg2 ;
25935 wxString result;
25936 PyObject * obj0 = 0 ;
25937 char *kwnames[] = {
25938 (char *) "self",(char *) "itemid", NULL
25939 };
25940
25941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetLabel",kwnames,&obj0,&arg2)) goto fail;
25942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25943 {
25944 PyThreadState* __tstate = wxPyBeginAllowThreads();
25945 result = ((wxMenu const *)arg1)->GetLabel(arg2);
25946
25947 wxPyEndAllowThreads(__tstate);
25948 if (PyErr_Occurred()) SWIG_fail;
25949 }
25950 {
25951 #if wxUSE_UNICODE
25952 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25953 #else
25954 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25955 #endif
25956 }
25957 return resultobj;
25958 fail:
25959 return NULL;
25960 }
25961
25962
25963 static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
25964 PyObject *resultobj;
25965 wxMenu *arg1 = (wxMenu *) 0 ;
25966 int arg2 ;
25967 wxString *arg3 = 0 ;
25968 bool temp3 = False ;
25969 PyObject * obj0 = 0 ;
25970 PyObject * obj2 = 0 ;
25971 char *kwnames[] = {
25972 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
25973 };
25974
25975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
25976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25977 {
25978 arg3 = wxString_in_helper(obj2);
25979 if (arg3 == NULL) SWIG_fail;
25980 temp3 = True;
25981 }
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 Py_INCREF(Py_None); resultobj = Py_None;
25990 {
25991 if (temp3)
25992 delete arg3;
25993 }
25994 return resultobj;
25995 fail:
25996 {
25997 if (temp3)
25998 delete arg3;
25999 }
26000 return NULL;
26001 }
26002
26003
26004 static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26005 PyObject *resultobj;
26006 wxMenu *arg1 = (wxMenu *) 0 ;
26007 int arg2 ;
26008 wxString result;
26009 PyObject * obj0 = 0 ;
26010 char *kwnames[] = {
26011 (char *) "self",(char *) "itemid", NULL
26012 };
26013
26014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
26015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26016 {
26017 PyThreadState* __tstate = wxPyBeginAllowThreads();
26018 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
26019
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 {
26024 #if wxUSE_UNICODE
26025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26026 #else
26027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26028 #endif
26029 }
26030 return resultobj;
26031 fail:
26032 return NULL;
26033 }
26034
26035
26036 static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26037 PyObject *resultobj;
26038 wxMenu *arg1 = (wxMenu *) 0 ;
26039 wxString *arg2 = 0 ;
26040 bool temp2 = False ;
26041 PyObject * obj0 = 0 ;
26042 PyObject * obj1 = 0 ;
26043 char *kwnames[] = {
26044 (char *) "self",(char *) "title", NULL
26045 };
26046
26047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
26048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26049 {
26050 arg2 = wxString_in_helper(obj1);
26051 if (arg2 == NULL) SWIG_fail;
26052 temp2 = True;
26053 }
26054 {
26055 PyThreadState* __tstate = wxPyBeginAllowThreads();
26056 (arg1)->SetTitle((wxString const &)*arg2);
26057
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
26061 Py_INCREF(Py_None); resultobj = Py_None;
26062 {
26063 if (temp2)
26064 delete arg2;
26065 }
26066 return resultobj;
26067 fail:
26068 {
26069 if (temp2)
26070 delete arg2;
26071 }
26072 return NULL;
26073 }
26074
26075
26076 static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26077 PyObject *resultobj;
26078 wxMenu *arg1 = (wxMenu *) 0 ;
26079 wxString result;
26080 PyObject * obj0 = 0 ;
26081 char *kwnames[] = {
26082 (char *) "self", NULL
26083 };
26084
26085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
26086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26087 {
26088 PyThreadState* __tstate = wxPyBeginAllowThreads();
26089 result = ((wxMenu const *)arg1)->GetTitle();
26090
26091 wxPyEndAllowThreads(__tstate);
26092 if (PyErr_Occurred()) SWIG_fail;
26093 }
26094 {
26095 #if wxUSE_UNICODE
26096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26097 #else
26098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26099 #endif
26100 }
26101 return resultobj;
26102 fail:
26103 return NULL;
26104 }
26105
26106
26107 static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26108 PyObject *resultobj;
26109 wxMenu *arg1 = (wxMenu *) 0 ;
26110 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
26111 PyObject * obj0 = 0 ;
26112 PyObject * obj1 = 0 ;
26113 char *kwnames[] = {
26114 (char *) "self",(char *) "handler", NULL
26115 };
26116
26117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
26118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26120 {
26121 PyThreadState* __tstate = wxPyBeginAllowThreads();
26122 (arg1)->SetEventHandler(arg2);
26123
26124 wxPyEndAllowThreads(__tstate);
26125 if (PyErr_Occurred()) SWIG_fail;
26126 }
26127 Py_INCREF(Py_None); resultobj = Py_None;
26128 return resultobj;
26129 fail:
26130 return NULL;
26131 }
26132
26133
26134 static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26135 PyObject *resultobj;
26136 wxMenu *arg1 = (wxMenu *) 0 ;
26137 wxEvtHandler *result;
26138 PyObject * obj0 = 0 ;
26139 char *kwnames[] = {
26140 (char *) "self", NULL
26141 };
26142
26143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
26144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26145 {
26146 PyThreadState* __tstate = wxPyBeginAllowThreads();
26147 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
26148
26149 wxPyEndAllowThreads(__tstate);
26150 if (PyErr_Occurred()) SWIG_fail;
26151 }
26152 {
26153 resultobj = wxPyMake_wxObject(result);
26154 }
26155 return resultobj;
26156 fail:
26157 return NULL;
26158 }
26159
26160
26161 static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26162 PyObject *resultobj;
26163 wxMenu *arg1 = (wxMenu *) 0 ;
26164 wxWindow *arg2 = (wxWindow *) 0 ;
26165 PyObject * obj0 = 0 ;
26166 PyObject * obj1 = 0 ;
26167 char *kwnames[] = {
26168 (char *) "self",(char *) "win", NULL
26169 };
26170
26171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
26172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26174 {
26175 PyThreadState* __tstate = wxPyBeginAllowThreads();
26176 (arg1)->SetInvokingWindow(arg2);
26177
26178 wxPyEndAllowThreads(__tstate);
26179 if (PyErr_Occurred()) SWIG_fail;
26180 }
26181 Py_INCREF(Py_None); resultobj = Py_None;
26182 return resultobj;
26183 fail:
26184 return NULL;
26185 }
26186
26187
26188 static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26189 PyObject *resultobj;
26190 wxMenu *arg1 = (wxMenu *) 0 ;
26191 wxWindow *result;
26192 PyObject * obj0 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
26198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26199 {
26200 PyThreadState* __tstate = wxPyBeginAllowThreads();
26201 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
26202
26203 wxPyEndAllowThreads(__tstate);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 }
26206 {
26207 resultobj = wxPyMake_wxObject(result);
26208 }
26209 return resultobj;
26210 fail:
26211 return NULL;
26212 }
26213
26214
26215 static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
26216 PyObject *resultobj;
26217 wxMenu *arg1 = (wxMenu *) 0 ;
26218 long result;
26219 PyObject * obj0 = 0 ;
26220 char *kwnames[] = {
26221 (char *) "self", NULL
26222 };
26223
26224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
26225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 result = (long)((wxMenu const *)arg1)->GetStyle();
26229
26230 wxPyEndAllowThreads(__tstate);
26231 if (PyErr_Occurred()) SWIG_fail;
26232 }
26233 resultobj = PyInt_FromLong((long)result);
26234 return resultobj;
26235 fail:
26236 return NULL;
26237 }
26238
26239
26240 static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26241 PyObject *resultobj;
26242 wxMenu *arg1 = (wxMenu *) 0 ;
26243 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
26244 PyObject * obj0 = 0 ;
26245 PyObject * obj1 = 0 ;
26246 char *kwnames[] = {
26247 (char *) "self",(char *) "source", NULL
26248 };
26249
26250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
26251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26252 if (obj1) {
26253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26254 }
26255 {
26256 PyThreadState* __tstate = wxPyBeginAllowThreads();
26257 (arg1)->UpdateUI(arg2);
26258
26259 wxPyEndAllowThreads(__tstate);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 }
26262 Py_INCREF(Py_None); resultobj = Py_None;
26263 return resultobj;
26264 fail:
26265 return NULL;
26266 }
26267
26268
26269 static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26270 PyObject *resultobj;
26271 wxMenu *arg1 = (wxMenu *) 0 ;
26272 wxMenuBar *result;
26273 PyObject * obj0 = 0 ;
26274 char *kwnames[] = {
26275 (char *) "self", NULL
26276 };
26277
26278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
26279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
26283
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 {
26288 resultobj = wxPyMake_wxObject(result);
26289 }
26290 return resultobj;
26291 fail:
26292 return NULL;
26293 }
26294
26295
26296 static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
26297 PyObject *resultobj;
26298 wxMenu *arg1 = (wxMenu *) 0 ;
26299 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
26300 PyObject * obj0 = 0 ;
26301 PyObject * obj1 = 0 ;
26302 char *kwnames[] = {
26303 (char *) "self",(char *) "menubar", NULL
26304 };
26305
26306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
26307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26309 {
26310 PyThreadState* __tstate = wxPyBeginAllowThreads();
26311 (arg1)->Attach(arg2);
26312
26313 wxPyEndAllowThreads(__tstate);
26314 if (PyErr_Occurred()) SWIG_fail;
26315 }
26316 Py_INCREF(Py_None); resultobj = Py_None;
26317 return resultobj;
26318 fail:
26319 return NULL;
26320 }
26321
26322
26323 static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
26324 PyObject *resultobj;
26325 wxMenu *arg1 = (wxMenu *) 0 ;
26326 PyObject * obj0 = 0 ;
26327 char *kwnames[] = {
26328 (char *) "self", NULL
26329 };
26330
26331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
26332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
26335 (arg1)->Detach();
26336
26337 wxPyEndAllowThreads(__tstate);
26338 if (PyErr_Occurred()) SWIG_fail;
26339 }
26340 Py_INCREF(Py_None); resultobj = Py_None;
26341 return resultobj;
26342 fail:
26343 return NULL;
26344 }
26345
26346
26347 static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
26348 PyObject *resultobj;
26349 wxMenu *arg1 = (wxMenu *) 0 ;
26350 bool result;
26351 PyObject * obj0 = 0 ;
26352 char *kwnames[] = {
26353 (char *) "self", NULL
26354 };
26355
26356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
26357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26358 {
26359 PyThreadState* __tstate = wxPyBeginAllowThreads();
26360 result = (bool)((wxMenu const *)arg1)->IsAttached();
26361
26362 wxPyEndAllowThreads(__tstate);
26363 if (PyErr_Occurred()) SWIG_fail;
26364 }
26365 resultobj = PyInt_FromLong((long)result);
26366 return resultobj;
26367 fail:
26368 return NULL;
26369 }
26370
26371
26372 static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26373 PyObject *resultobj;
26374 wxMenu *arg1 = (wxMenu *) 0 ;
26375 wxMenu *arg2 = (wxMenu *) 0 ;
26376 PyObject * obj0 = 0 ;
26377 PyObject * obj1 = 0 ;
26378 char *kwnames[] = {
26379 (char *) "self",(char *) "parent", NULL
26380 };
26381
26382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
26383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26385 {
26386 PyThreadState* __tstate = wxPyBeginAllowThreads();
26387 (arg1)->SetParent(arg2);
26388
26389 wxPyEndAllowThreads(__tstate);
26390 if (PyErr_Occurred()) SWIG_fail;
26391 }
26392 Py_INCREF(Py_None); resultobj = Py_None;
26393 return resultobj;
26394 fail:
26395 return NULL;
26396 }
26397
26398
26399 static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26400 PyObject *resultobj;
26401 wxMenu *arg1 = (wxMenu *) 0 ;
26402 wxMenu *result;
26403 PyObject * obj0 = 0 ;
26404 char *kwnames[] = {
26405 (char *) "self", NULL
26406 };
26407
26408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
26409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26410 {
26411 PyThreadState* __tstate = wxPyBeginAllowThreads();
26412 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
26413
26414 wxPyEndAllowThreads(__tstate);
26415 if (PyErr_Occurred()) SWIG_fail;
26416 }
26417 {
26418 resultobj = wxPyMake_wxObject(result);
26419 }
26420 return resultobj;
26421 fail:
26422 return NULL;
26423 }
26424
26425
26426 static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
26427 PyObject *obj;
26428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26429 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
26430 Py_INCREF(obj);
26431 return Py_BuildValue((char *)"");
26432 }
26433 static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26434 PyObject *resultobj;
26435 long arg1 = (long) 0 ;
26436 wxMenuBar *result;
26437 char *kwnames[] = {
26438 (char *) "style", NULL
26439 };
26440
26441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|l:new_MenuBar",kwnames,&arg1)) goto fail;
26442 {
26443 PyThreadState* __tstate = wxPyBeginAllowThreads();
26444 result = (wxMenuBar *)new wxMenuBar(arg1);
26445
26446 wxPyEndAllowThreads(__tstate);
26447 if (PyErr_Occurred()) SWIG_fail;
26448 }
26449 {
26450 resultobj = wxPyMake_wxObject(result);
26451 }
26452 return resultobj;
26453 fail:
26454 return NULL;
26455 }
26456
26457
26458 static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
26459 PyObject *resultobj;
26460 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26461 wxMenu *arg2 = (wxMenu *) 0 ;
26462 wxString *arg3 = 0 ;
26463 bool result;
26464 bool temp3 = False ;
26465 PyObject * obj0 = 0 ;
26466 PyObject * obj1 = 0 ;
26467 PyObject * obj2 = 0 ;
26468 char *kwnames[] = {
26469 (char *) "self",(char *) "menu",(char *) "title", NULL
26470 };
26471
26472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
26473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26475 {
26476 arg3 = wxString_in_helper(obj2);
26477 if (arg3 == NULL) SWIG_fail;
26478 temp3 = True;
26479 }
26480 {
26481 PyThreadState* __tstate = wxPyBeginAllowThreads();
26482 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
26483
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 resultobj = PyInt_FromLong((long)result);
26488 {
26489 if (temp3)
26490 delete arg3;
26491 }
26492 return resultobj;
26493 fail:
26494 {
26495 if (temp3)
26496 delete arg3;
26497 }
26498 return NULL;
26499 }
26500
26501
26502 static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
26503 PyObject *resultobj;
26504 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26505 size_t arg2 ;
26506 wxMenu *arg3 = (wxMenu *) 0 ;
26507 wxString *arg4 = 0 ;
26508 bool result;
26509 bool temp4 = False ;
26510 PyObject * obj0 = 0 ;
26511 PyObject * obj1 = 0 ;
26512 PyObject * obj2 = 0 ;
26513 PyObject * obj3 = 0 ;
26514 char *kwnames[] = {
26515 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26516 };
26517
26518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26520 arg2 = (size_t) PyInt_AsLong(obj1);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26523 {
26524 arg4 = wxString_in_helper(obj3);
26525 if (arg4 == NULL) SWIG_fail;
26526 temp4 = True;
26527 }
26528 {
26529 PyThreadState* __tstate = wxPyBeginAllowThreads();
26530 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
26531
26532 wxPyEndAllowThreads(__tstate);
26533 if (PyErr_Occurred()) SWIG_fail;
26534 }
26535 resultobj = PyInt_FromLong((long)result);
26536 {
26537 if (temp4)
26538 delete arg4;
26539 }
26540 return resultobj;
26541 fail:
26542 {
26543 if (temp4)
26544 delete arg4;
26545 }
26546 return NULL;
26547 }
26548
26549
26550 static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26551 PyObject *resultobj;
26552 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26553 size_t result;
26554 PyObject * obj0 = 0 ;
26555 char *kwnames[] = {
26556 (char *) "self", NULL
26557 };
26558
26559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
26560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26561 {
26562 PyThreadState* __tstate = wxPyBeginAllowThreads();
26563 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
26564
26565 wxPyEndAllowThreads(__tstate);
26566 if (PyErr_Occurred()) SWIG_fail;
26567 }
26568 resultobj = PyInt_FromLong((long)result);
26569 return resultobj;
26570 fail:
26571 return NULL;
26572 }
26573
26574
26575 static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26576 PyObject *resultobj;
26577 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26578 size_t arg2 ;
26579 wxMenu *result;
26580 PyObject * obj0 = 0 ;
26581 PyObject * obj1 = 0 ;
26582 char *kwnames[] = {
26583 (char *) "self",(char *) "pos", NULL
26584 };
26585
26586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
26587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26588 arg2 = (size_t) PyInt_AsLong(obj1);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 {
26591 PyThreadState* __tstate = wxPyBeginAllowThreads();
26592 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
26593
26594 wxPyEndAllowThreads(__tstate);
26595 if (PyErr_Occurred()) SWIG_fail;
26596 }
26597 {
26598 resultobj = wxPyMake_wxObject(result);
26599 }
26600 return resultobj;
26601 fail:
26602 return NULL;
26603 }
26604
26605
26606 static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
26607 PyObject *resultobj;
26608 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26609 size_t arg2 ;
26610 wxMenu *arg3 = (wxMenu *) 0 ;
26611 wxString *arg4 = 0 ;
26612 wxMenu *result;
26613 bool temp4 = False ;
26614 PyObject * obj0 = 0 ;
26615 PyObject * obj1 = 0 ;
26616 PyObject * obj2 = 0 ;
26617 PyObject * obj3 = 0 ;
26618 char *kwnames[] = {
26619 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26620 };
26621
26622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26624 arg2 = (size_t) PyInt_AsLong(obj1);
26625 if (PyErr_Occurred()) SWIG_fail;
26626 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26627 {
26628 arg4 = wxString_in_helper(obj3);
26629 if (arg4 == NULL) SWIG_fail;
26630 temp4 = True;
26631 }
26632 {
26633 PyThreadState* __tstate = wxPyBeginAllowThreads();
26634 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
26635
26636 wxPyEndAllowThreads(__tstate);
26637 if (PyErr_Occurred()) SWIG_fail;
26638 }
26639 {
26640 resultobj = wxPyMake_wxObject(result);
26641 }
26642 {
26643 if (temp4)
26644 delete arg4;
26645 }
26646 return resultobj;
26647 fail:
26648 {
26649 if (temp4)
26650 delete arg4;
26651 }
26652 return NULL;
26653 }
26654
26655
26656 static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
26657 PyObject *resultobj;
26658 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26659 size_t arg2 ;
26660 wxMenu *result;
26661 PyObject * obj0 = 0 ;
26662 PyObject * obj1 = 0 ;
26663 char *kwnames[] = {
26664 (char *) "self",(char *) "pos", NULL
26665 };
26666
26667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
26668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26669 arg2 = (size_t) PyInt_AsLong(obj1);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 {
26672 PyThreadState* __tstate = wxPyBeginAllowThreads();
26673 result = (wxMenu *)(arg1)->Remove(arg2);
26674
26675 wxPyEndAllowThreads(__tstate);
26676 if (PyErr_Occurred()) SWIG_fail;
26677 }
26678 {
26679 resultobj = wxPyMake_wxObject(result);
26680 }
26681 return resultobj;
26682 fail:
26683 return NULL;
26684 }
26685
26686
26687 static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26688 PyObject *resultobj;
26689 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26690 size_t arg2 ;
26691 bool arg3 ;
26692 PyObject * obj0 = 0 ;
26693 PyObject * obj1 = 0 ;
26694 PyObject * obj2 = 0 ;
26695 char *kwnames[] = {
26696 (char *) "self",(char *) "pos",(char *) "enable", NULL
26697 };
26698
26699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26701 arg2 = (size_t) PyInt_AsLong(obj1);
26702 if (PyErr_Occurred()) SWIG_fail;
26703 arg3 = PyInt_AsLong(obj2) ? true : false;
26704 if (PyErr_Occurred()) SWIG_fail;
26705 {
26706 PyThreadState* __tstate = wxPyBeginAllowThreads();
26707 (arg1)->EnableTop(arg2,arg3);
26708
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 Py_INCREF(Py_None); resultobj = Py_None;
26713 return resultobj;
26714 fail:
26715 return NULL;
26716 }
26717
26718
26719 static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26720 PyObject *resultobj;
26721 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26722 size_t arg2 ;
26723 bool result;
26724 PyObject * obj0 = 0 ;
26725 PyObject * obj1 = 0 ;
26726 char *kwnames[] = {
26727 (char *) "self",(char *) "pos", NULL
26728 };
26729
26730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
26731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26732 arg2 = (size_t) PyInt_AsLong(obj1);
26733 if (PyErr_Occurred()) SWIG_fail;
26734 {
26735 PyThreadState* __tstate = wxPyBeginAllowThreads();
26736 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
26737
26738 wxPyEndAllowThreads(__tstate);
26739 if (PyErr_Occurred()) SWIG_fail;
26740 }
26741 resultobj = PyInt_FromLong((long)result);
26742 return resultobj;
26743 fail:
26744 return NULL;
26745 }
26746
26747
26748 static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26749 PyObject *resultobj;
26750 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26751 size_t arg2 ;
26752 wxString *arg3 = 0 ;
26753 bool temp3 = False ;
26754 PyObject * obj0 = 0 ;
26755 PyObject * obj1 = 0 ;
26756 PyObject * obj2 = 0 ;
26757 char *kwnames[] = {
26758 (char *) "self",(char *) "pos",(char *) "label", NULL
26759 };
26760
26761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26763 arg2 = (size_t) PyInt_AsLong(obj1);
26764 if (PyErr_Occurred()) SWIG_fail;
26765 {
26766 arg3 = wxString_in_helper(obj2);
26767 if (arg3 == NULL) SWIG_fail;
26768 temp3 = True;
26769 }
26770 {
26771 PyThreadState* __tstate = wxPyBeginAllowThreads();
26772 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
26773
26774 wxPyEndAllowThreads(__tstate);
26775 if (PyErr_Occurred()) SWIG_fail;
26776 }
26777 Py_INCREF(Py_None); resultobj = Py_None;
26778 {
26779 if (temp3)
26780 delete arg3;
26781 }
26782 return resultobj;
26783 fail:
26784 {
26785 if (temp3)
26786 delete arg3;
26787 }
26788 return NULL;
26789 }
26790
26791
26792 static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26793 PyObject *resultobj;
26794 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26795 size_t arg2 ;
26796 wxString result;
26797 PyObject * obj0 = 0 ;
26798 PyObject * obj1 = 0 ;
26799 char *kwnames[] = {
26800 (char *) "self",(char *) "pos", NULL
26801 };
26802
26803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
26804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26805 arg2 = (size_t) PyInt_AsLong(obj1);
26806 if (PyErr_Occurred()) SWIG_fail;
26807 {
26808 PyThreadState* __tstate = wxPyBeginAllowThreads();
26809 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
26810
26811 wxPyEndAllowThreads(__tstate);
26812 if (PyErr_Occurred()) SWIG_fail;
26813 }
26814 {
26815 #if wxUSE_UNICODE
26816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26817 #else
26818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26819 #endif
26820 }
26821 return resultobj;
26822 fail:
26823 return NULL;
26824 }
26825
26826
26827 static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26828 PyObject *resultobj;
26829 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26830 wxString *arg2 = 0 ;
26831 wxString *arg3 = 0 ;
26832 int result;
26833 bool temp2 = False ;
26834 bool temp3 = False ;
26835 PyObject * obj0 = 0 ;
26836 PyObject * obj1 = 0 ;
26837 PyObject * obj2 = 0 ;
26838 char *kwnames[] = {
26839 (char *) "self",(char *) "menu",(char *) "item", NULL
26840 };
26841
26842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26844 {
26845 arg2 = wxString_in_helper(obj1);
26846 if (arg2 == NULL) SWIG_fail;
26847 temp2 = True;
26848 }
26849 {
26850 arg3 = wxString_in_helper(obj2);
26851 if (arg3 == NULL) SWIG_fail;
26852 temp3 = True;
26853 }
26854 {
26855 PyThreadState* __tstate = wxPyBeginAllowThreads();
26856 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
26857
26858 wxPyEndAllowThreads(__tstate);
26859 if (PyErr_Occurred()) SWIG_fail;
26860 }
26861 resultobj = PyInt_FromLong((long)result);
26862 {
26863 if (temp2)
26864 delete arg2;
26865 }
26866 {
26867 if (temp3)
26868 delete arg3;
26869 }
26870 return resultobj;
26871 fail:
26872 {
26873 if (temp2)
26874 delete arg2;
26875 }
26876 {
26877 if (temp3)
26878 delete arg3;
26879 }
26880 return NULL;
26881 }
26882
26883
26884 static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
26885 PyObject *resultobj;
26886 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26887 int arg2 ;
26888 wxMenuItem *result;
26889 PyObject * obj0 = 0 ;
26890 char *kwnames[] = {
26891 (char *) "self",(char *) "itemid", NULL
26892 };
26893
26894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_FindItemById",kwnames,&obj0,&arg2)) goto fail;
26895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26896 {
26897 PyThreadState* __tstate = wxPyBeginAllowThreads();
26898 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
26899
26900 wxPyEndAllowThreads(__tstate);
26901 if (PyErr_Occurred()) SWIG_fail;
26902 }
26903 {
26904 resultobj = wxPyMake_wxObject(result);
26905 }
26906 return resultobj;
26907 fail:
26908 return NULL;
26909 }
26910
26911
26912 static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26913 PyObject *resultobj;
26914 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26915 wxString *arg2 = 0 ;
26916 int result;
26917 bool temp2 = False ;
26918 PyObject * obj0 = 0 ;
26919 PyObject * obj1 = 0 ;
26920 char *kwnames[] = {
26921 (char *) "self",(char *) "title", NULL
26922 };
26923
26924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
26925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26926 {
26927 arg2 = wxString_in_helper(obj1);
26928 if (arg2 == NULL) SWIG_fail;
26929 temp2 = True;
26930 }
26931 {
26932 PyThreadState* __tstate = wxPyBeginAllowThreads();
26933 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
26934
26935 wxPyEndAllowThreads(__tstate);
26936 if (PyErr_Occurred()) SWIG_fail;
26937 }
26938 resultobj = PyInt_FromLong((long)result);
26939 {
26940 if (temp2)
26941 delete arg2;
26942 }
26943 return resultobj;
26944 fail:
26945 {
26946 if (temp2)
26947 delete arg2;
26948 }
26949 return NULL;
26950 }
26951
26952
26953 static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
26954 PyObject *resultobj;
26955 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26956 int arg2 ;
26957 bool arg3 ;
26958 PyObject * obj0 = 0 ;
26959 PyObject * obj2 = 0 ;
26960 char *kwnames[] = {
26961 (char *) "self",(char *) "itemid",(char *) "enable", NULL
26962 };
26963
26964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
26965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26966 arg3 = PyInt_AsLong(obj2) ? true : false;
26967 if (PyErr_Occurred()) SWIG_fail;
26968 {
26969 PyThreadState* __tstate = wxPyBeginAllowThreads();
26970 (arg1)->Enable(arg2,arg3);
26971
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 Py_INCREF(Py_None); resultobj = Py_None;
26976 return resultobj;
26977 fail:
26978 return NULL;
26979 }
26980
26981
26982 static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
26983 PyObject *resultobj;
26984 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26985 int arg2 ;
26986 bool arg3 ;
26987 PyObject * obj0 = 0 ;
26988 PyObject * obj2 = 0 ;
26989 char *kwnames[] = {
26990 (char *) "self",(char *) "itemid",(char *) "check", NULL
26991 };
26992
26993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
26994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26995 arg3 = PyInt_AsLong(obj2) ? true : false;
26996 if (PyErr_Occurred()) SWIG_fail;
26997 {
26998 PyThreadState* __tstate = wxPyBeginAllowThreads();
26999 (arg1)->Check(arg2,arg3);
27000
27001 wxPyEndAllowThreads(__tstate);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 }
27004 Py_INCREF(Py_None); resultobj = Py_None;
27005 return resultobj;
27006 fail:
27007 return NULL;
27008 }
27009
27010
27011 static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27012 PyObject *resultobj;
27013 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27014 int arg2 ;
27015 bool result;
27016 PyObject * obj0 = 0 ;
27017 char *kwnames[] = {
27018 (char *) "self",(char *) "itemid", NULL
27019 };
27020
27021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsChecked",kwnames,&obj0,&arg2)) goto fail;
27022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27023 {
27024 PyThreadState* __tstate = wxPyBeginAllowThreads();
27025 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
27026
27027 wxPyEndAllowThreads(__tstate);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 }
27030 resultobj = PyInt_FromLong((long)result);
27031 return resultobj;
27032 fail:
27033 return NULL;
27034 }
27035
27036
27037 static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27038 PyObject *resultobj;
27039 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27040 int arg2 ;
27041 bool result;
27042 PyObject * obj0 = 0 ;
27043 char *kwnames[] = {
27044 (char *) "self",(char *) "itemid", NULL
27045 };
27046
27047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
27048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27049 {
27050 PyThreadState* __tstate = wxPyBeginAllowThreads();
27051 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
27052
27053 wxPyEndAllowThreads(__tstate);
27054 if (PyErr_Occurred()) SWIG_fail;
27055 }
27056 resultobj = PyInt_FromLong((long)result);
27057 return resultobj;
27058 fail:
27059 return NULL;
27060 }
27061
27062
27063 static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27064 PyObject *resultobj;
27065 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27066 int arg2 ;
27067 wxString *arg3 = 0 ;
27068 bool temp3 = False ;
27069 PyObject * obj0 = 0 ;
27070 PyObject * obj2 = 0 ;
27071 char *kwnames[] = {
27072 (char *) "self",(char *) "itemid",(char *) "label", NULL
27073 };
27074
27075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
27076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27077 {
27078 arg3 = wxString_in_helper(obj2);
27079 if (arg3 == NULL) SWIG_fail;
27080 temp3 = True;
27081 }
27082 {
27083 PyThreadState* __tstate = wxPyBeginAllowThreads();
27084 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
27085
27086 wxPyEndAllowThreads(__tstate);
27087 if (PyErr_Occurred()) SWIG_fail;
27088 }
27089 Py_INCREF(Py_None); resultobj = Py_None;
27090 {
27091 if (temp3)
27092 delete arg3;
27093 }
27094 return resultobj;
27095 fail:
27096 {
27097 if (temp3)
27098 delete arg3;
27099 }
27100 return NULL;
27101 }
27102
27103
27104 static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27105 PyObject *resultobj;
27106 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27107 int arg2 ;
27108 wxString result;
27109 PyObject * obj0 = 0 ;
27110 char *kwnames[] = {
27111 (char *) "self",(char *) "itemid", NULL
27112 };
27113
27114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetLabel",kwnames,&obj0,&arg2)) goto fail;
27115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 {
27124 #if wxUSE_UNICODE
27125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27126 #else
27127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27128 #endif
27129 }
27130 return resultobj;
27131 fail:
27132 return NULL;
27133 }
27134
27135
27136 static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27137 PyObject *resultobj;
27138 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27139 int arg2 ;
27140 wxString *arg3 = 0 ;
27141 bool temp3 = False ;
27142 PyObject * obj0 = 0 ;
27143 PyObject * obj2 = 0 ;
27144 char *kwnames[] = {
27145 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27146 };
27147
27148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
27149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27150 {
27151 arg3 = wxString_in_helper(obj2);
27152 if (arg3 == NULL) SWIG_fail;
27153 temp3 = True;
27154 }
27155 {
27156 PyThreadState* __tstate = wxPyBeginAllowThreads();
27157 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
27158
27159 wxPyEndAllowThreads(__tstate);
27160 if (PyErr_Occurred()) SWIG_fail;
27161 }
27162 Py_INCREF(Py_None); resultobj = Py_None;
27163 {
27164 if (temp3)
27165 delete arg3;
27166 }
27167 return resultobj;
27168 fail:
27169 {
27170 if (temp3)
27171 delete arg3;
27172 }
27173 return NULL;
27174 }
27175
27176
27177 static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27178 PyObject *resultobj;
27179 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27180 int arg2 ;
27181 wxString result;
27182 PyObject * obj0 = 0 ;
27183 char *kwnames[] = {
27184 (char *) "self",(char *) "itemid", NULL
27185 };
27186
27187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
27188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27189 {
27190 PyThreadState* __tstate = wxPyBeginAllowThreads();
27191 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
27192
27193 wxPyEndAllowThreads(__tstate);
27194 if (PyErr_Occurred()) SWIG_fail;
27195 }
27196 {
27197 #if wxUSE_UNICODE
27198 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27199 #else
27200 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27201 #endif
27202 }
27203 return resultobj;
27204 fail:
27205 return NULL;
27206 }
27207
27208
27209 static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
27210 PyObject *resultobj;
27211 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27212 wxFrame *result;
27213 PyObject * obj0 = 0 ;
27214 char *kwnames[] = {
27215 (char *) "self", NULL
27216 };
27217
27218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
27219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
27223
27224 wxPyEndAllowThreads(__tstate);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 {
27228 resultobj = wxPyMake_wxObject(result);
27229 }
27230 return resultobj;
27231 fail:
27232 return NULL;
27233 }
27234
27235
27236 static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
27237 PyObject *resultobj;
27238 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27239 bool result;
27240 PyObject * obj0 = 0 ;
27241 char *kwnames[] = {
27242 (char *) "self", NULL
27243 };
27244
27245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
27246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27247 {
27248 PyThreadState* __tstate = wxPyBeginAllowThreads();
27249 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
27250
27251 wxPyEndAllowThreads(__tstate);
27252 if (PyErr_Occurred()) SWIG_fail;
27253 }
27254 resultobj = PyInt_FromLong((long)result);
27255 return resultobj;
27256 fail:
27257 return NULL;
27258 }
27259
27260
27261 static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
27262 PyObject *resultobj;
27263 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27264 wxFrame *arg2 = (wxFrame *) 0 ;
27265 PyObject * obj0 = 0 ;
27266 PyObject * obj1 = 0 ;
27267 char *kwnames[] = {
27268 (char *) "self",(char *) "frame", NULL
27269 };
27270
27271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
27272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27274 {
27275 PyThreadState* __tstate = wxPyBeginAllowThreads();
27276 (arg1)->Attach(arg2);
27277
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 Py_INCREF(Py_None); resultobj = Py_None;
27282 return resultobj;
27283 fail:
27284 return NULL;
27285 }
27286
27287
27288 static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
27289 PyObject *resultobj;
27290 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27291 PyObject * obj0 = 0 ;
27292 char *kwnames[] = {
27293 (char *) "self", NULL
27294 };
27295
27296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
27297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27298 {
27299 PyThreadState* __tstate = wxPyBeginAllowThreads();
27300 (arg1)->Detach();
27301
27302 wxPyEndAllowThreads(__tstate);
27303 if (PyErr_Occurred()) SWIG_fail;
27304 }
27305 Py_INCREF(Py_None); resultobj = Py_None;
27306 return resultobj;
27307 fail:
27308 return NULL;
27309 }
27310
27311
27312 static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
27313 PyObject *obj;
27314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27315 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
27316 Py_INCREF(obj);
27317 return Py_BuildValue((char *)"");
27318 }
27319 static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27320 PyObject *resultobj;
27321 wxMenu *arg1 = (wxMenu *) NULL ;
27322 int arg2 = (int) wxID_SEPARATOR ;
27323 wxString const &arg3_defvalue = wxPyEmptyString ;
27324 wxString *arg3 = (wxString *) &arg3_defvalue ;
27325 wxString const &arg4_defvalue = wxPyEmptyString ;
27326 wxString *arg4 = (wxString *) &arg4_defvalue ;
27327 int arg5 = (int) wxITEM_NORMAL ;
27328 wxMenu *arg6 = (wxMenu *) NULL ;
27329 wxMenuItem *result;
27330 bool temp3 = False ;
27331 bool temp4 = False ;
27332 PyObject * obj0 = 0 ;
27333 PyObject * obj2 = 0 ;
27334 PyObject * obj3 = 0 ;
27335 PyObject * obj5 = 0 ;
27336 char *kwnames[] = {
27337 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27338 };
27339
27340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOiO:new_MenuItem",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
27341 if (obj0) {
27342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27343 }
27344 if (obj2) {
27345 {
27346 arg3 = wxString_in_helper(obj2);
27347 if (arg3 == NULL) SWIG_fail;
27348 temp3 = True;
27349 }
27350 }
27351 if (obj3) {
27352 {
27353 arg4 = wxString_in_helper(obj3);
27354 if (arg4 == NULL) SWIG_fail;
27355 temp4 = True;
27356 }
27357 }
27358 if (obj5) {
27359 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27360 }
27361 {
27362 PyThreadState* __tstate = wxPyBeginAllowThreads();
27363 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
27364
27365 wxPyEndAllowThreads(__tstate);
27366 if (PyErr_Occurred()) SWIG_fail;
27367 }
27368 {
27369 resultobj = wxPyMake_wxObject(result);
27370 }
27371 {
27372 if (temp3)
27373 delete arg3;
27374 }
27375 {
27376 if (temp4)
27377 delete arg4;
27378 }
27379 return resultobj;
27380 fail:
27381 {
27382 if (temp3)
27383 delete arg3;
27384 }
27385 {
27386 if (temp4)
27387 delete arg4;
27388 }
27389 return NULL;
27390 }
27391
27392
27393 static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27394 PyObject *resultobj;
27395 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27396 wxMenu *result;
27397 PyObject * obj0 = 0 ;
27398 char *kwnames[] = {
27399 (char *) "self", NULL
27400 };
27401
27402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
27403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27404 {
27405 PyThreadState* __tstate = wxPyBeginAllowThreads();
27406 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
27407
27408 wxPyEndAllowThreads(__tstate);
27409 if (PyErr_Occurred()) SWIG_fail;
27410 }
27411 {
27412 resultobj = wxPyMake_wxObject(result);
27413 }
27414 return resultobj;
27415 fail:
27416 return NULL;
27417 }
27418
27419
27420 static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27421 PyObject *resultobj;
27422 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27423 wxMenu *arg2 = (wxMenu *) 0 ;
27424 PyObject * obj0 = 0 ;
27425 PyObject * obj1 = 0 ;
27426 char *kwnames[] = {
27427 (char *) "self",(char *) "menu", NULL
27428 };
27429
27430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
27431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27432 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27433 {
27434 PyThreadState* __tstate = wxPyBeginAllowThreads();
27435 (arg1)->SetMenu(arg2);
27436
27437 wxPyEndAllowThreads(__tstate);
27438 if (PyErr_Occurred()) SWIG_fail;
27439 }
27440 Py_INCREF(Py_None); resultobj = Py_None;
27441 return resultobj;
27442 fail:
27443 return NULL;
27444 }
27445
27446
27447 static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27448 PyObject *resultobj;
27449 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27450 int arg2 ;
27451 PyObject * obj0 = 0 ;
27452 char *kwnames[] = {
27453 (char *) "self",(char *) "itemid", NULL
27454 };
27455
27456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetId",kwnames,&obj0,&arg2)) goto fail;
27457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27458 {
27459 PyThreadState* __tstate = wxPyBeginAllowThreads();
27460 (arg1)->SetId(arg2);
27461
27462 wxPyEndAllowThreads(__tstate);
27463 if (PyErr_Occurred()) SWIG_fail;
27464 }
27465 Py_INCREF(Py_None); resultobj = Py_None;
27466 return resultobj;
27467 fail:
27468 return NULL;
27469 }
27470
27471
27472 static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27473 PyObject *resultobj;
27474 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27475 int result;
27476 PyObject * obj0 = 0 ;
27477 char *kwnames[] = {
27478 (char *) "self", NULL
27479 };
27480
27481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
27482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27483 {
27484 PyThreadState* __tstate = wxPyBeginAllowThreads();
27485 result = (int)((wxMenuItem const *)arg1)->GetId();
27486
27487 wxPyEndAllowThreads(__tstate);
27488 if (PyErr_Occurred()) SWIG_fail;
27489 }
27490 resultobj = PyInt_FromLong((long)result);
27491 return resultobj;
27492 fail:
27493 return NULL;
27494 }
27495
27496
27497 static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27498 PyObject *resultobj;
27499 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27500 bool result;
27501 PyObject * obj0 = 0 ;
27502 char *kwnames[] = {
27503 (char *) "self", NULL
27504 };
27505
27506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
27507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
27511
27512 wxPyEndAllowThreads(__tstate);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 resultobj = PyInt_FromLong((long)result);
27516 return resultobj;
27517 fail:
27518 return NULL;
27519 }
27520
27521
27522 static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27523 PyObject *resultobj;
27524 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27525 wxString *arg2 = 0 ;
27526 bool temp2 = False ;
27527 PyObject * obj0 = 0 ;
27528 PyObject * obj1 = 0 ;
27529 char *kwnames[] = {
27530 (char *) "self",(char *) "str", NULL
27531 };
27532
27533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
27534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27535 {
27536 arg2 = wxString_in_helper(obj1);
27537 if (arg2 == NULL) SWIG_fail;
27538 temp2 = True;
27539 }
27540 {
27541 PyThreadState* __tstate = wxPyBeginAllowThreads();
27542 (arg1)->SetText((wxString const &)*arg2);
27543
27544 wxPyEndAllowThreads(__tstate);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 }
27547 Py_INCREF(Py_None); resultobj = Py_None;
27548 {
27549 if (temp2)
27550 delete arg2;
27551 }
27552 return resultobj;
27553 fail:
27554 {
27555 if (temp2)
27556 delete arg2;
27557 }
27558 return NULL;
27559 }
27560
27561
27562 static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27563 PyObject *resultobj;
27564 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27565 wxString result;
27566 PyObject * obj0 = 0 ;
27567 char *kwnames[] = {
27568 (char *) "self", NULL
27569 };
27570
27571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
27572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27573 {
27574 PyThreadState* __tstate = wxPyBeginAllowThreads();
27575 result = ((wxMenuItem const *)arg1)->GetLabel();
27576
27577 wxPyEndAllowThreads(__tstate);
27578 if (PyErr_Occurred()) SWIG_fail;
27579 }
27580 {
27581 #if wxUSE_UNICODE
27582 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27583 #else
27584 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27585 #endif
27586 }
27587 return resultobj;
27588 fail:
27589 return NULL;
27590 }
27591
27592
27593 static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27594 PyObject *resultobj;
27595 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27596 wxString *result;
27597 PyObject * obj0 = 0 ;
27598 char *kwnames[] = {
27599 (char *) "self", NULL
27600 };
27601
27602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
27603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27604 {
27605 PyThreadState* __tstate = wxPyBeginAllowThreads();
27606 {
27607 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
27608 result = (wxString *) &_result_ref;
27609 }
27610
27611 wxPyEndAllowThreads(__tstate);
27612 if (PyErr_Occurred()) SWIG_fail;
27613 }
27614 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
27615 return resultobj;
27616 fail:
27617 return NULL;
27618 }
27619
27620
27621 static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
27622 PyObject *resultobj;
27623 wxString *arg1 = 0 ;
27624 wxString result;
27625 bool temp1 = False ;
27626 PyObject * obj0 = 0 ;
27627 char *kwnames[] = {
27628 (char *) "text", NULL
27629 };
27630
27631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
27632 {
27633 arg1 = wxString_in_helper(obj0);
27634 if (arg1 == NULL) SWIG_fail;
27635 temp1 = True;
27636 }
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 {
27645 #if wxUSE_UNICODE
27646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27647 #else
27648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27649 #endif
27650 }
27651 {
27652 if (temp1)
27653 delete arg1;
27654 }
27655 return resultobj;
27656 fail:
27657 {
27658 if (temp1)
27659 delete arg1;
27660 }
27661 return NULL;
27662 }
27663
27664
27665 static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
27666 PyObject *resultobj;
27667 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27668 int result;
27669 PyObject * obj0 = 0 ;
27670 char *kwnames[] = {
27671 (char *) "self", NULL
27672 };
27673
27674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
27675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27676 {
27677 PyThreadState* __tstate = wxPyBeginAllowThreads();
27678 result = (int)((wxMenuItem const *)arg1)->GetKind();
27679
27680 wxPyEndAllowThreads(__tstate);
27681 if (PyErr_Occurred()) SWIG_fail;
27682 }
27683 resultobj = PyInt_FromLong((long)result);
27684 return resultobj;
27685 fail:
27686 return NULL;
27687 }
27688
27689
27690 static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27691 PyObject *resultobj;
27692 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27693 bool arg2 ;
27694 PyObject * obj0 = 0 ;
27695 PyObject * obj1 = 0 ;
27696 char *kwnames[] = {
27697 (char *) "self",(char *) "checkable", NULL
27698 };
27699
27700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
27701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27702 arg2 = PyInt_AsLong(obj1) ? true : false;
27703 if (PyErr_Occurred()) SWIG_fail;
27704 {
27705 PyThreadState* __tstate = wxPyBeginAllowThreads();
27706 (arg1)->SetCheckable(arg2);
27707
27708 wxPyEndAllowThreads(__tstate);
27709 if (PyErr_Occurred()) SWIG_fail;
27710 }
27711 Py_INCREF(Py_None); resultobj = Py_None;
27712 return resultobj;
27713 fail:
27714 return NULL;
27715 }
27716
27717
27718 static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27719 PyObject *resultobj;
27720 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27721 bool result;
27722 PyObject * obj0 = 0 ;
27723 char *kwnames[] = {
27724 (char *) "self", NULL
27725 };
27726
27727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
27728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27729 {
27730 PyThreadState* __tstate = wxPyBeginAllowThreads();
27731 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
27732
27733 wxPyEndAllowThreads(__tstate);
27734 if (PyErr_Occurred()) SWIG_fail;
27735 }
27736 resultobj = PyInt_FromLong((long)result);
27737 return resultobj;
27738 fail:
27739 return NULL;
27740 }
27741
27742
27743 static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27744 PyObject *resultobj;
27745 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27746 bool result;
27747 PyObject * obj0 = 0 ;
27748 char *kwnames[] = {
27749 (char *) "self", NULL
27750 };
27751
27752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
27753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27754 {
27755 PyThreadState* __tstate = wxPyBeginAllowThreads();
27756 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
27757
27758 wxPyEndAllowThreads(__tstate);
27759 if (PyErr_Occurred()) SWIG_fail;
27760 }
27761 resultobj = PyInt_FromLong((long)result);
27762 return resultobj;
27763 fail:
27764 return NULL;
27765 }
27766
27767
27768 static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27769 PyObject *resultobj;
27770 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27771 wxMenu *arg2 = (wxMenu *) 0 ;
27772 PyObject * obj0 = 0 ;
27773 PyObject * obj1 = 0 ;
27774 char *kwnames[] = {
27775 (char *) "self",(char *) "menu", NULL
27776 };
27777
27778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
27779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27780 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27781 {
27782 PyThreadState* __tstate = wxPyBeginAllowThreads();
27783 (arg1)->SetSubMenu(arg2);
27784
27785 wxPyEndAllowThreads(__tstate);
27786 if (PyErr_Occurred()) SWIG_fail;
27787 }
27788 Py_INCREF(Py_None); resultobj = Py_None;
27789 return resultobj;
27790 fail:
27791 return NULL;
27792 }
27793
27794
27795 static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27796 PyObject *resultobj;
27797 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27798 wxMenu *result;
27799 PyObject * obj0 = 0 ;
27800 char *kwnames[] = {
27801 (char *) "self", NULL
27802 };
27803
27804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
27805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27806 {
27807 PyThreadState* __tstate = wxPyBeginAllowThreads();
27808 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
27809
27810 wxPyEndAllowThreads(__tstate);
27811 if (PyErr_Occurred()) SWIG_fail;
27812 }
27813 {
27814 resultobj = wxPyMake_wxObject(result);
27815 }
27816 return resultobj;
27817 fail:
27818 return NULL;
27819 }
27820
27821
27822 static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27823 PyObject *resultobj;
27824 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27825 bool arg2 = (bool) True ;
27826 PyObject * obj0 = 0 ;
27827 PyObject * obj1 = 0 ;
27828 char *kwnames[] = {
27829 (char *) "self",(char *) "enable", NULL
27830 };
27831
27832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
27833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27834 if (obj1) {
27835 arg2 = PyInt_AsLong(obj1) ? true : false;
27836 if (PyErr_Occurred()) SWIG_fail;
27837 }
27838 {
27839 PyThreadState* __tstate = wxPyBeginAllowThreads();
27840 (arg1)->Enable(arg2);
27841
27842 wxPyEndAllowThreads(__tstate);
27843 if (PyErr_Occurred()) SWIG_fail;
27844 }
27845 Py_INCREF(Py_None); resultobj = Py_None;
27846 return resultobj;
27847 fail:
27848 return NULL;
27849 }
27850
27851
27852 static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27853 PyObject *resultobj;
27854 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27855 bool result;
27856 PyObject * obj0 = 0 ;
27857 char *kwnames[] = {
27858 (char *) "self", NULL
27859 };
27860
27861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
27862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27863 {
27864 PyThreadState* __tstate = wxPyBeginAllowThreads();
27865 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
27866
27867 wxPyEndAllowThreads(__tstate);
27868 if (PyErr_Occurred()) SWIG_fail;
27869 }
27870 resultobj = PyInt_FromLong((long)result);
27871 return resultobj;
27872 fail:
27873 return NULL;
27874 }
27875
27876
27877 static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27878 PyObject *resultobj;
27879 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27880 bool arg2 = (bool) True ;
27881 PyObject * obj0 = 0 ;
27882 PyObject * obj1 = 0 ;
27883 char *kwnames[] = {
27884 (char *) "self",(char *) "check", NULL
27885 };
27886
27887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
27888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27889 if (obj1) {
27890 arg2 = PyInt_AsLong(obj1) ? true : false;
27891 if (PyErr_Occurred()) SWIG_fail;
27892 }
27893 {
27894 PyThreadState* __tstate = wxPyBeginAllowThreads();
27895 (arg1)->Check(arg2);
27896
27897 wxPyEndAllowThreads(__tstate);
27898 if (PyErr_Occurred()) SWIG_fail;
27899 }
27900 Py_INCREF(Py_None); resultobj = Py_None;
27901 return resultobj;
27902 fail:
27903 return NULL;
27904 }
27905
27906
27907 static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27908 PyObject *resultobj;
27909 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27910 bool result;
27911 PyObject * obj0 = 0 ;
27912 char *kwnames[] = {
27913 (char *) "self", NULL
27914 };
27915
27916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
27917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27918 {
27919 PyThreadState* __tstate = wxPyBeginAllowThreads();
27920 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
27921
27922 wxPyEndAllowThreads(__tstate);
27923 if (PyErr_Occurred()) SWIG_fail;
27924 }
27925 resultobj = PyInt_FromLong((long)result);
27926 return resultobj;
27927 fail:
27928 return NULL;
27929 }
27930
27931
27932 static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27933 PyObject *resultobj;
27934 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27935 PyObject * obj0 = 0 ;
27936 char *kwnames[] = {
27937 (char *) "self", NULL
27938 };
27939
27940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
27941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27942 {
27943 PyThreadState* __tstate = wxPyBeginAllowThreads();
27944 (arg1)->Toggle();
27945
27946 wxPyEndAllowThreads(__tstate);
27947 if (PyErr_Occurred()) SWIG_fail;
27948 }
27949 Py_INCREF(Py_None); resultobj = Py_None;
27950 return resultobj;
27951 fail:
27952 return NULL;
27953 }
27954
27955
27956 static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27957 PyObject *resultobj;
27958 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27959 wxString *arg2 = 0 ;
27960 bool temp2 = False ;
27961 PyObject * obj0 = 0 ;
27962 PyObject * obj1 = 0 ;
27963 char *kwnames[] = {
27964 (char *) "self",(char *) "str", NULL
27965 };
27966
27967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
27968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27969 {
27970 arg2 = wxString_in_helper(obj1);
27971 if (arg2 == NULL) SWIG_fail;
27972 temp2 = True;
27973 }
27974 {
27975 PyThreadState* __tstate = wxPyBeginAllowThreads();
27976 (arg1)->SetHelp((wxString const &)*arg2);
27977
27978 wxPyEndAllowThreads(__tstate);
27979 if (PyErr_Occurred()) SWIG_fail;
27980 }
27981 Py_INCREF(Py_None); resultobj = Py_None;
27982 {
27983 if (temp2)
27984 delete arg2;
27985 }
27986 return resultobj;
27987 fail:
27988 {
27989 if (temp2)
27990 delete arg2;
27991 }
27992 return NULL;
27993 }
27994
27995
27996 static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27997 PyObject *resultobj;
27998 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27999 wxString *result;
28000 PyObject * obj0 = 0 ;
28001 char *kwnames[] = {
28002 (char *) "self", NULL
28003 };
28004
28005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
28006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28007 {
28008 PyThreadState* __tstate = wxPyBeginAllowThreads();
28009 {
28010 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
28011 result = (wxString *) &_result_ref;
28012 }
28013
28014 wxPyEndAllowThreads(__tstate);
28015 if (PyErr_Occurred()) SWIG_fail;
28016 }
28017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
28018 return resultobj;
28019 fail:
28020 return NULL;
28021 }
28022
28023
28024 static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28025 PyObject *resultobj;
28026 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28027 wxAcceleratorEntry *result;
28028 PyObject * obj0 = 0 ;
28029 char *kwnames[] = {
28030 (char *) "self", NULL
28031 };
28032
28033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
28034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28035 {
28036 PyThreadState* __tstate = wxPyBeginAllowThreads();
28037 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
28038
28039 wxPyEndAllowThreads(__tstate);
28040 if (PyErr_Occurred()) SWIG_fail;
28041 }
28042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
28043 return resultobj;
28044 fail:
28045 return NULL;
28046 }
28047
28048
28049 static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28050 PyObject *resultobj;
28051 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28052 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
28053 PyObject * obj0 = 0 ;
28054 PyObject * obj1 = 0 ;
28055 char *kwnames[] = {
28056 (char *) "self",(char *) "accel", NULL
28057 };
28058
28059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
28060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28062 {
28063 PyThreadState* __tstate = wxPyBeginAllowThreads();
28064 (arg1)->SetAccel(arg2);
28065
28066 wxPyEndAllowThreads(__tstate);
28067 if (PyErr_Occurred()) SWIG_fail;
28068 }
28069 Py_INCREF(Py_None); resultobj = Py_None;
28070 return resultobj;
28071 fail:
28072 return NULL;
28073 }
28074
28075
28076 static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28077 PyObject *resultobj;
28078 int result;
28079 char *kwnames[] = {
28080 NULL
28081 };
28082
28083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
28084 {
28085 PyThreadState* __tstate = wxPyBeginAllowThreads();
28086 result = (int)MenuItem_GetDefaultMarginWidth();
28087
28088 wxPyEndAllowThreads(__tstate);
28089 if (PyErr_Occurred()) SWIG_fail;
28090 }
28091 resultobj = PyInt_FromLong((long)result);
28092 return resultobj;
28093 fail:
28094 return NULL;
28095 }
28096
28097
28098 static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28099 PyObject *resultobj;
28100 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28101 wxBitmap *arg2 = 0 ;
28102 PyObject * obj0 = 0 ;
28103 PyObject * obj1 = 0 ;
28104 char *kwnames[] = {
28105 (char *) "self",(char *) "bitmap", NULL
28106 };
28107
28108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
28109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28111 if (arg2 == NULL) {
28112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28113 }
28114 {
28115 PyThreadState* __tstate = wxPyBeginAllowThreads();
28116 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28117
28118 wxPyEndAllowThreads(__tstate);
28119 if (PyErr_Occurred()) SWIG_fail;
28120 }
28121 Py_INCREF(Py_None); resultobj = Py_None;
28122 return resultobj;
28123 fail:
28124 return NULL;
28125 }
28126
28127
28128 static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28129 PyObject *resultobj;
28130 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28131 wxBitmap *result;
28132 PyObject * obj0 = 0 ;
28133 char *kwnames[] = {
28134 (char *) "self", NULL
28135 };
28136
28137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
28138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28139 {
28140 PyThreadState* __tstate = wxPyBeginAllowThreads();
28141 {
28142 wxBitmap const &_result_ref = (arg1)->GetBitmap();
28143 result = (wxBitmap *) &_result_ref;
28144 }
28145
28146 wxPyEndAllowThreads(__tstate);
28147 if (PyErr_Occurred()) SWIG_fail;
28148 }
28149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28150 return resultobj;
28151 fail:
28152 return NULL;
28153 }
28154
28155
28156 static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
28157 PyObject *obj;
28158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28159 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
28160 Py_INCREF(obj);
28161 return Py_BuildValue((char *)"");
28162 }
28163 static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
28164 PyObject *resultobj;
28165 wxWindow *arg1 = (wxWindow *) 0 ;
28166 int arg2 ;
28167 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28168 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28169 wxSize const &arg4_defvalue = wxDefaultSize ;
28170 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28171 long arg5 = (long) 0 ;
28172 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28173 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28174 wxString const &arg7_defvalue = wxPyControlNameStr ;
28175 wxString *arg7 = (wxString *) &arg7_defvalue ;
28176 wxControl *result;
28177 wxPoint temp3 ;
28178 wxSize temp4 ;
28179 bool temp7 = False ;
28180 PyObject * obj0 = 0 ;
28181 PyObject * obj2 = 0 ;
28182 PyObject * obj3 = 0 ;
28183 PyObject * obj5 = 0 ;
28184 PyObject * obj6 = 0 ;
28185 char *kwnames[] = {
28186 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28187 };
28188
28189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_Control",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
28190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28191 if (obj2) {
28192 {
28193 arg3 = &temp3;
28194 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28195 }
28196 }
28197 if (obj3) {
28198 {
28199 arg4 = &temp4;
28200 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28201 }
28202 }
28203 if (obj5) {
28204 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28205 if (arg6 == NULL) {
28206 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28207 }
28208 }
28209 if (obj6) {
28210 {
28211 arg7 = wxString_in_helper(obj6);
28212 if (arg7 == NULL) SWIG_fail;
28213 temp7 = True;
28214 }
28215 }
28216 {
28217 PyThreadState* __tstate = wxPyBeginAllowThreads();
28218 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28219
28220 wxPyEndAllowThreads(__tstate);
28221 if (PyErr_Occurred()) SWIG_fail;
28222 }
28223 {
28224 resultobj = wxPyMake_wxObject(result);
28225 }
28226 {
28227 if (temp7)
28228 delete arg7;
28229 }
28230 return resultobj;
28231 fail:
28232 {
28233 if (temp7)
28234 delete arg7;
28235 }
28236 return NULL;
28237 }
28238
28239
28240 static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28241 PyObject *resultobj;
28242 wxControl *result;
28243 char *kwnames[] = {
28244 NULL
28245 };
28246
28247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
28248 {
28249 PyThreadState* __tstate = wxPyBeginAllowThreads();
28250 result = (wxControl *)new wxControl();
28251
28252 wxPyEndAllowThreads(__tstate);
28253 if (PyErr_Occurred()) SWIG_fail;
28254 }
28255 {
28256 resultobj = wxPyMake_wxObject(result);
28257 }
28258 return resultobj;
28259 fail:
28260 return NULL;
28261 }
28262
28263
28264 static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28265 PyObject *resultobj;
28266 wxControl *arg1 = (wxControl *) 0 ;
28267 wxWindow *arg2 = (wxWindow *) 0 ;
28268 int arg3 ;
28269 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28270 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28271 wxSize const &arg5_defvalue = wxDefaultSize ;
28272 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28273 long arg6 = (long) 0 ;
28274 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28275 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28276 wxString const &arg8_defvalue = wxPyControlNameStr ;
28277 wxString *arg8 = (wxString *) &arg8_defvalue ;
28278 bool result;
28279 wxPoint temp4 ;
28280 wxSize temp5 ;
28281 bool temp8 = False ;
28282 PyObject * obj0 = 0 ;
28283 PyObject * obj1 = 0 ;
28284 PyObject * obj3 = 0 ;
28285 PyObject * obj4 = 0 ;
28286 PyObject * obj6 = 0 ;
28287 PyObject * obj7 = 0 ;
28288 char *kwnames[] = {
28289 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28290 };
28291
28292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlOO:Control_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
28293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28295 if (obj3) {
28296 {
28297 arg4 = &temp4;
28298 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28299 }
28300 }
28301 if (obj4) {
28302 {
28303 arg5 = &temp5;
28304 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28305 }
28306 }
28307 if (obj6) {
28308 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28309 if (arg7 == NULL) {
28310 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28311 }
28312 }
28313 if (obj7) {
28314 {
28315 arg8 = wxString_in_helper(obj7);
28316 if (arg8 == NULL) SWIG_fail;
28317 temp8 = True;
28318 }
28319 }
28320 {
28321 PyThreadState* __tstate = wxPyBeginAllowThreads();
28322 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28323
28324 wxPyEndAllowThreads(__tstate);
28325 if (PyErr_Occurred()) SWIG_fail;
28326 }
28327 resultobj = PyInt_FromLong((long)result);
28328 {
28329 if (temp8)
28330 delete arg8;
28331 }
28332 return resultobj;
28333 fail:
28334 {
28335 if (temp8)
28336 delete arg8;
28337 }
28338 return NULL;
28339 }
28340
28341
28342 static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
28343 PyObject *resultobj;
28344 wxControl *arg1 = (wxControl *) 0 ;
28345 wxCommandEvent *arg2 = 0 ;
28346 PyObject * obj0 = 0 ;
28347 PyObject * obj1 = 0 ;
28348 char *kwnames[] = {
28349 (char *) "self",(char *) "event", NULL
28350 };
28351
28352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
28353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28355 if (arg2 == NULL) {
28356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28357 }
28358 {
28359 PyThreadState* __tstate = wxPyBeginAllowThreads();
28360 (arg1)->Command(*arg2);
28361
28362 wxPyEndAllowThreads(__tstate);
28363 if (PyErr_Occurred()) SWIG_fail;
28364 }
28365 Py_INCREF(Py_None); resultobj = Py_None;
28366 return resultobj;
28367 fail:
28368 return NULL;
28369 }
28370
28371
28372 static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28373 PyObject *resultobj;
28374 wxControl *arg1 = (wxControl *) 0 ;
28375 wxString result;
28376 PyObject * obj0 = 0 ;
28377 char *kwnames[] = {
28378 (char *) "self", NULL
28379 };
28380
28381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
28382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 result = (arg1)->GetLabel();
28386
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 {
28391 #if wxUSE_UNICODE
28392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28393 #else
28394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28395 #endif
28396 }
28397 return resultobj;
28398 fail:
28399 return NULL;
28400 }
28401
28402
28403 static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28404 PyObject *resultobj;
28405 wxControl *arg1 = (wxControl *) 0 ;
28406 wxString *arg2 = 0 ;
28407 bool temp2 = False ;
28408 PyObject * obj0 = 0 ;
28409 PyObject * obj1 = 0 ;
28410 char *kwnames[] = {
28411 (char *) "self",(char *) "label", NULL
28412 };
28413
28414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
28415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28416 {
28417 arg2 = wxString_in_helper(obj1);
28418 if (arg2 == NULL) SWIG_fail;
28419 temp2 = True;
28420 }
28421 {
28422 PyThreadState* __tstate = wxPyBeginAllowThreads();
28423 (arg1)->SetLabel((wxString const &)*arg2);
28424
28425 wxPyEndAllowThreads(__tstate);
28426 if (PyErr_Occurred()) SWIG_fail;
28427 }
28428 Py_INCREF(Py_None); resultobj = Py_None;
28429 {
28430 if (temp2)
28431 delete arg2;
28432 }
28433 return resultobj;
28434 fail:
28435 {
28436 if (temp2)
28437 delete arg2;
28438 }
28439 return NULL;
28440 }
28441
28442
28443 static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
28444 PyObject *obj;
28445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28446 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
28447 Py_INCREF(obj);
28448 return Py_BuildValue((char *)"");
28449 }
28450 static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28451 PyObject *resultobj;
28452 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28453 wxString *arg2 = 0 ;
28454 PyObject *arg3 = (PyObject *) NULL ;
28455 int result;
28456 bool temp2 = False ;
28457 PyObject * obj0 = 0 ;
28458 PyObject * obj1 = 0 ;
28459 PyObject * obj2 = 0 ;
28460 char *kwnames[] = {
28461 (char *) "self",(char *) "item",(char *) "clientData", NULL
28462 };
28463
28464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
28465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28466 {
28467 arg2 = wxString_in_helper(obj1);
28468 if (arg2 == NULL) SWIG_fail;
28469 temp2 = True;
28470 }
28471 if (obj2) {
28472 arg3 = obj2;
28473 }
28474 {
28475 PyThreadState* __tstate = wxPyBeginAllowThreads();
28476 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
28477
28478 wxPyEndAllowThreads(__tstate);
28479 if (PyErr_Occurred()) SWIG_fail;
28480 }
28481 resultobj = PyInt_FromLong((long)result);
28482 {
28483 if (temp2)
28484 delete arg2;
28485 }
28486 return resultobj;
28487 fail:
28488 {
28489 if (temp2)
28490 delete arg2;
28491 }
28492 return NULL;
28493 }
28494
28495
28496 static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
28497 PyObject *resultobj;
28498 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28499 wxArrayString *arg2 = 0 ;
28500 PyObject * obj0 = 0 ;
28501 PyObject * obj1 = 0 ;
28502 char *kwnames[] = {
28503 (char *) "self",(char *) "strings", NULL
28504 };
28505
28506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
28507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28508 {
28509 if (! PySequence_Check(obj1)) {
28510 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
28511 SWIG_fail;
28512 }
28513 arg2 = new wxArrayString;
28514 int i, len=PySequence_Length(obj1);
28515 for (i=0; i<len; i++) {
28516 PyObject* item = PySequence_GetItem(obj1, i);
28517 #if wxUSE_UNICODE
28518 PyObject* str = PyObject_Unicode(item);
28519 #else
28520 PyObject* str = PyObject_Str(item);
28521 #endif
28522 arg2->Add(Py2wxString(str));
28523 Py_DECREF(item);
28524 Py_DECREF(str);
28525 }
28526 }
28527 {
28528 PyThreadState* __tstate = wxPyBeginAllowThreads();
28529 (arg1)->Append((wxArrayString const &)*arg2);
28530
28531 wxPyEndAllowThreads(__tstate);
28532 if (PyErr_Occurred()) SWIG_fail;
28533 }
28534 Py_INCREF(Py_None); resultobj = Py_None;
28535 {
28536 if (arg2) delete arg2;
28537 }
28538 return resultobj;
28539 fail:
28540 {
28541 if (arg2) delete arg2;
28542 }
28543 return NULL;
28544 }
28545
28546
28547 static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
28548 PyObject *resultobj;
28549 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28550 wxString *arg2 = 0 ;
28551 int arg3 ;
28552 PyObject *arg4 = (PyObject *) NULL ;
28553 int result;
28554 bool temp2 = False ;
28555 PyObject * obj0 = 0 ;
28556 PyObject * obj1 = 0 ;
28557 PyObject * obj3 = 0 ;
28558 char *kwnames[] = {
28559 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
28560 };
28561
28562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
28563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28564 {
28565 arg2 = wxString_in_helper(obj1);
28566 if (arg2 == NULL) SWIG_fail;
28567 temp2 = True;
28568 }
28569 if (obj3) {
28570 arg4 = obj3;
28571 }
28572 {
28573 PyThreadState* __tstate = wxPyBeginAllowThreads();
28574 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
28575
28576 wxPyEndAllowThreads(__tstate);
28577 if (PyErr_Occurred()) SWIG_fail;
28578 }
28579 resultobj = PyInt_FromLong((long)result);
28580 {
28581 if (temp2)
28582 delete arg2;
28583 }
28584 return resultobj;
28585 fail:
28586 {
28587 if (temp2)
28588 delete arg2;
28589 }
28590 return NULL;
28591 }
28592
28593
28594 static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
28595 PyObject *resultobj;
28596 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28597 PyObject * obj0 = 0 ;
28598 char *kwnames[] = {
28599 (char *) "self", NULL
28600 };
28601
28602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
28603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28604 {
28605 PyThreadState* __tstate = wxPyBeginAllowThreads();
28606 (arg1)->Clear();
28607
28608 wxPyEndAllowThreads(__tstate);
28609 if (PyErr_Occurred()) SWIG_fail;
28610 }
28611 Py_INCREF(Py_None); resultobj = Py_None;
28612 return resultobj;
28613 fail:
28614 return NULL;
28615 }
28616
28617
28618 static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
28619 PyObject *resultobj;
28620 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28621 int arg2 ;
28622 PyObject * obj0 = 0 ;
28623 char *kwnames[] = {
28624 (char *) "self",(char *) "n", NULL
28625 };
28626
28627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Delete",kwnames,&obj0,&arg2)) goto fail;
28628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28629 {
28630 PyThreadState* __tstate = wxPyBeginAllowThreads();
28631 (arg1)->Delete(arg2);
28632
28633 wxPyEndAllowThreads(__tstate);
28634 if (PyErr_Occurred()) SWIG_fail;
28635 }
28636 Py_INCREF(Py_None); resultobj = Py_None;
28637 return resultobj;
28638 fail:
28639 return NULL;
28640 }
28641
28642
28643 static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
28644 PyObject *resultobj;
28645 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28646 int result;
28647 PyObject * obj0 = 0 ;
28648 char *kwnames[] = {
28649 (char *) "self", NULL
28650 };
28651
28652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
28653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28654 {
28655 PyThreadState* __tstate = wxPyBeginAllowThreads();
28656 result = (int)((wxItemContainer const *)arg1)->GetCount();
28657
28658 wxPyEndAllowThreads(__tstate);
28659 if (PyErr_Occurred()) SWIG_fail;
28660 }
28661 resultobj = PyInt_FromLong((long)result);
28662 return resultobj;
28663 fail:
28664 return NULL;
28665 }
28666
28667
28668 static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
28669 PyObject *resultobj;
28670 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28671 bool result;
28672 PyObject * obj0 = 0 ;
28673 char *kwnames[] = {
28674 (char *) "self", NULL
28675 };
28676
28677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
28678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28679 {
28680 PyThreadState* __tstate = wxPyBeginAllowThreads();
28681 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
28682
28683 wxPyEndAllowThreads(__tstate);
28684 if (PyErr_Occurred()) SWIG_fail;
28685 }
28686 resultobj = PyInt_FromLong((long)result);
28687 return resultobj;
28688 fail:
28689 return NULL;
28690 }
28691
28692
28693 static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
28694 PyObject *resultobj;
28695 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28696 int arg2 ;
28697 wxString result;
28698 PyObject * obj0 = 0 ;
28699 char *kwnames[] = {
28700 (char *) "self",(char *) "n", NULL
28701 };
28702
28703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetString",kwnames,&obj0,&arg2)) goto fail;
28704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28705 {
28706 PyThreadState* __tstate = wxPyBeginAllowThreads();
28707 result = ((wxItemContainer const *)arg1)->GetString(arg2);
28708
28709 wxPyEndAllowThreads(__tstate);
28710 if (PyErr_Occurred()) SWIG_fail;
28711 }
28712 {
28713 #if wxUSE_UNICODE
28714 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28715 #else
28716 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28717 #endif
28718 }
28719 return resultobj;
28720 fail:
28721 return NULL;
28722 }
28723
28724
28725 static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
28726 PyObject *resultobj;
28727 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28728 wxArrayString result;
28729 PyObject * obj0 = 0 ;
28730 char *kwnames[] = {
28731 (char *) "self", NULL
28732 };
28733
28734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
28735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28736 {
28737 PyThreadState* __tstate = wxPyBeginAllowThreads();
28738 result = ((wxItemContainer const *)arg1)->GetStrings();
28739
28740 wxPyEndAllowThreads(__tstate);
28741 if (PyErr_Occurred()) SWIG_fail;
28742 }
28743 {
28744 resultobj = wxArrayString2PyList_helper(result);
28745 }
28746 return resultobj;
28747 fail:
28748 return NULL;
28749 }
28750
28751
28752 static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
28753 PyObject *resultobj;
28754 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28755 int arg2 ;
28756 wxString *arg3 = 0 ;
28757 bool temp3 = False ;
28758 PyObject * obj0 = 0 ;
28759 PyObject * obj2 = 0 ;
28760 char *kwnames[] = {
28761 (char *) "self",(char *) "n",(char *) "s", NULL
28762 };
28763
28764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
28765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28766 {
28767 arg3 = wxString_in_helper(obj2);
28768 if (arg3 == NULL) SWIG_fail;
28769 temp3 = True;
28770 }
28771 {
28772 PyThreadState* __tstate = wxPyBeginAllowThreads();
28773 (arg1)->SetString(arg2,(wxString const &)*arg3);
28774
28775 wxPyEndAllowThreads(__tstate);
28776 if (PyErr_Occurred()) SWIG_fail;
28777 }
28778 Py_INCREF(Py_None); resultobj = Py_None;
28779 {
28780 if (temp3)
28781 delete arg3;
28782 }
28783 return resultobj;
28784 fail:
28785 {
28786 if (temp3)
28787 delete arg3;
28788 }
28789 return NULL;
28790 }
28791
28792
28793 static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
28794 PyObject *resultobj;
28795 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28796 wxString *arg2 = 0 ;
28797 int result;
28798 bool temp2 = False ;
28799 PyObject * obj0 = 0 ;
28800 PyObject * obj1 = 0 ;
28801 char *kwnames[] = {
28802 (char *) "self",(char *) "s", NULL
28803 };
28804
28805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
28806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28807 {
28808 arg2 = wxString_in_helper(obj1);
28809 if (arg2 == NULL) SWIG_fail;
28810 temp2 = True;
28811 }
28812 {
28813 PyThreadState* __tstate = wxPyBeginAllowThreads();
28814 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
28815
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 resultobj = PyInt_FromLong((long)result);
28820 {
28821 if (temp2)
28822 delete arg2;
28823 }
28824 return resultobj;
28825 fail:
28826 {
28827 if (temp2)
28828 delete arg2;
28829 }
28830 return NULL;
28831 }
28832
28833
28834 static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
28835 PyObject *resultobj;
28836 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28837 int arg2 ;
28838 PyObject * obj0 = 0 ;
28839 char *kwnames[] = {
28840 (char *) "self",(char *) "n", NULL
28841 };
28842
28843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Select",kwnames,&obj0,&arg2)) goto fail;
28844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28845 {
28846 PyThreadState* __tstate = wxPyBeginAllowThreads();
28847 (arg1)->Select(arg2);
28848
28849 wxPyEndAllowThreads(__tstate);
28850 if (PyErr_Occurred()) SWIG_fail;
28851 }
28852 Py_INCREF(Py_None); resultobj = Py_None;
28853 return resultobj;
28854 fail:
28855 return NULL;
28856 }
28857
28858
28859 static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
28860 PyObject *resultobj;
28861 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28862 int result;
28863 PyObject * obj0 = 0 ;
28864 char *kwnames[] = {
28865 (char *) "self", NULL
28866 };
28867
28868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
28869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28870 {
28871 PyThreadState* __tstate = wxPyBeginAllowThreads();
28872 result = (int)((wxItemContainer const *)arg1)->GetSelection();
28873
28874 wxPyEndAllowThreads(__tstate);
28875 if (PyErr_Occurred()) SWIG_fail;
28876 }
28877 resultobj = PyInt_FromLong((long)result);
28878 return resultobj;
28879 fail:
28880 return NULL;
28881 }
28882
28883
28884 static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
28885 PyObject *resultobj;
28886 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28887 wxString result;
28888 PyObject * obj0 = 0 ;
28889 char *kwnames[] = {
28890 (char *) "self", NULL
28891 };
28892
28893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
28894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28895 {
28896 PyThreadState* __tstate = wxPyBeginAllowThreads();
28897 result = ((wxItemContainer const *)arg1)->GetStringSelection();
28898
28899 wxPyEndAllowThreads(__tstate);
28900 if (PyErr_Occurred()) SWIG_fail;
28901 }
28902 {
28903 #if wxUSE_UNICODE
28904 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28905 #else
28906 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28907 #endif
28908 }
28909 return resultobj;
28910 fail:
28911 return NULL;
28912 }
28913
28914
28915 static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
28916 PyObject *resultobj;
28917 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28918 int arg2 ;
28919 PyObject *result;
28920 PyObject * obj0 = 0 ;
28921 char *kwnames[] = {
28922 (char *) "self",(char *) "n", NULL
28923 };
28924
28925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetClientData",kwnames,&obj0,&arg2)) goto fail;
28926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28927 {
28928 PyThreadState* __tstate = wxPyBeginAllowThreads();
28929 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
28930
28931 wxPyEndAllowThreads(__tstate);
28932 if (PyErr_Occurred()) SWIG_fail;
28933 }
28934 resultobj = result;
28935 return resultobj;
28936 fail:
28937 return NULL;
28938 }
28939
28940
28941 static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
28942 PyObject *resultobj;
28943 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28944 int arg2 ;
28945 PyObject *arg3 = (PyObject *) 0 ;
28946 PyObject * obj0 = 0 ;
28947 PyObject * obj2 = 0 ;
28948 char *kwnames[] = {
28949 (char *) "self",(char *) "n",(char *) "clientData", NULL
28950 };
28951
28952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
28953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28954 arg3 = obj2;
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
28957 wxItemContainer_SetClientData(arg1,arg2,arg3);
28958
28959 wxPyEndAllowThreads(__tstate);
28960 if (PyErr_Occurred()) SWIG_fail;
28961 }
28962 Py_INCREF(Py_None); resultobj = Py_None;
28963 return resultobj;
28964 fail:
28965 return NULL;
28966 }
28967
28968
28969 static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
28970 PyObject *obj;
28971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28972 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
28973 Py_INCREF(obj);
28974 return Py_BuildValue((char *)"");
28975 }
28976 static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
28977 PyObject *obj;
28978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28979 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
28980 Py_INCREF(obj);
28981 return Py_BuildValue((char *)"");
28982 }
28983 static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28984 PyObject *resultobj;
28985 wxSizerItem *result;
28986 char *kwnames[] = {
28987 NULL
28988 };
28989
28990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
28991 {
28992 PyThreadState* __tstate = wxPyBeginAllowThreads();
28993 result = (wxSizerItem *)new wxSizerItem();
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_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29006 PyObject *resultobj;
29007 int arg1 ;
29008 int arg2 ;
29009 int arg3 ;
29010 int arg4 ;
29011 int arg5 ;
29012 wxObject *arg6 = (wxObject *) 0 ;
29013 wxSizerItem *result;
29014 PyObject * obj5 = 0 ;
29015 char *kwnames[] = {
29016 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29017 };
29018
29019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiiiiO:new_SizerItemSpacer",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
29020 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29021 {
29022 PyThreadState* __tstate = wxPyBeginAllowThreads();
29023 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
29024
29025 wxPyEndAllowThreads(__tstate);
29026 if (PyErr_Occurred()) SWIG_fail;
29027 }
29028 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29029 return resultobj;
29030 fail:
29031 return NULL;
29032 }
29033
29034
29035 static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29036 PyObject *resultobj;
29037 wxWindow *arg1 = (wxWindow *) 0 ;
29038 int arg2 ;
29039 int arg3 ;
29040 int arg4 ;
29041 wxObject *arg5 = (wxObject *) 0 ;
29042 wxSizerItem *result;
29043 PyObject * obj0 = 0 ;
29044 PyObject * obj4 = 0 ;
29045 char *kwnames[] = {
29046 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29047 };
29048
29049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29051 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29052 {
29053 PyThreadState* __tstate = wxPyBeginAllowThreads();
29054 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29055
29056 wxPyEndAllowThreads(__tstate);
29057 if (PyErr_Occurred()) SWIG_fail;
29058 }
29059 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29060 return resultobj;
29061 fail:
29062 return NULL;
29063 }
29064
29065
29066 static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29067 PyObject *resultobj;
29068 wxSizer *arg1 = (wxSizer *) 0 ;
29069 int arg2 ;
29070 int arg3 ;
29071 int arg4 ;
29072 wxObject *arg5 = (wxObject *) 0 ;
29073 wxSizerItem *result;
29074 PyObject * obj0 = 0 ;
29075 PyObject * obj4 = 0 ;
29076 char *kwnames[] = {
29077 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29078 };
29079
29080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemSizer",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29082 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29083 {
29084 PyThreadState* __tstate = wxPyBeginAllowThreads();
29085 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29086
29087 wxPyEndAllowThreads(__tstate);
29088 if (PyErr_Occurred()) SWIG_fail;
29089 }
29090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29091 return resultobj;
29092 fail:
29093 return NULL;
29094 }
29095
29096
29097 static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
29098 PyObject *resultobj;
29099 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29100 PyObject * obj0 = 0 ;
29101 char *kwnames[] = {
29102 (char *) "self", NULL
29103 };
29104
29105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
29106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29107 {
29108 PyThreadState* __tstate = wxPyBeginAllowThreads();
29109 (arg1)->DeleteWindows();
29110
29111 wxPyEndAllowThreads(__tstate);
29112 if (PyErr_Occurred()) SWIG_fail;
29113 }
29114 Py_INCREF(Py_None); resultobj = Py_None;
29115 return resultobj;
29116 fail:
29117 return NULL;
29118 }
29119
29120
29121 static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29122 PyObject *resultobj;
29123 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29124 PyObject * obj0 = 0 ;
29125 char *kwnames[] = {
29126 (char *) "self", NULL
29127 };
29128
29129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
29130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29131 {
29132 PyThreadState* __tstate = wxPyBeginAllowThreads();
29133 (arg1)->DetachSizer();
29134
29135 wxPyEndAllowThreads(__tstate);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 }
29138 Py_INCREF(Py_None); resultobj = Py_None;
29139 return resultobj;
29140 fail:
29141 return NULL;
29142 }
29143
29144
29145 static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29146 PyObject *resultobj;
29147 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29148 wxSize result;
29149 PyObject * obj0 = 0 ;
29150 char *kwnames[] = {
29151 (char *) "self", NULL
29152 };
29153
29154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
29155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29156 {
29157 PyThreadState* __tstate = wxPyBeginAllowThreads();
29158 result = (arg1)->GetSize();
29159
29160 wxPyEndAllowThreads(__tstate);
29161 if (PyErr_Occurred()) SWIG_fail;
29162 }
29163 {
29164 wxSize * resultptr;
29165 resultptr = new wxSize((wxSize &) result);
29166 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29167 }
29168 return resultobj;
29169 fail:
29170 return NULL;
29171 }
29172
29173
29174 static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
29175 PyObject *resultobj;
29176 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29177 wxSize result;
29178 PyObject * obj0 = 0 ;
29179 char *kwnames[] = {
29180 (char *) "self", NULL
29181 };
29182
29183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
29184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29185 {
29186 PyThreadState* __tstate = wxPyBeginAllowThreads();
29187 result = (arg1)->CalcMin();
29188
29189 wxPyEndAllowThreads(__tstate);
29190 if (PyErr_Occurred()) SWIG_fail;
29191 }
29192 {
29193 wxSize * resultptr;
29194 resultptr = new wxSize((wxSize &) result);
29195 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29196 }
29197 return resultobj;
29198 fail:
29199 return NULL;
29200 }
29201
29202
29203 static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
29204 PyObject *resultobj;
29205 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29206 wxPoint arg2 ;
29207 wxSize arg3 ;
29208 wxPoint *argp2 ;
29209 wxSize *argp3 ;
29210 PyObject * obj0 = 0 ;
29211 PyObject * obj1 = 0 ;
29212 PyObject * obj2 = 0 ;
29213 char *kwnames[] = {
29214 (char *) "self",(char *) "pos",(char *) "size", NULL
29215 };
29216
29217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
29218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29219 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29220 arg2 = *argp2;
29221 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29222 arg3 = *argp3;
29223 {
29224 PyThreadState* __tstate = wxPyBeginAllowThreads();
29225 (arg1)->SetDimension(arg2,arg3);
29226
29227 wxPyEndAllowThreads(__tstate);
29228 if (PyErr_Occurred()) SWIG_fail;
29229 }
29230 Py_INCREF(Py_None); resultobj = Py_None;
29231 return resultobj;
29232 fail:
29233 return NULL;
29234 }
29235
29236
29237 static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29238 PyObject *resultobj;
29239 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29240 wxSize result;
29241 PyObject * obj0 = 0 ;
29242 char *kwnames[] = {
29243 (char *) "self", NULL
29244 };
29245
29246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) 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 result = (arg1)->GetMinSize();
29251
29252 wxPyEndAllowThreads(__tstate);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 }
29255 {
29256 wxSize * resultptr;
29257 resultptr = new wxSize((wxSize &) result);
29258 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29259 }
29260 return resultobj;
29261 fail:
29262 return NULL;
29263 }
29264
29265
29266 static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29267 PyObject *resultobj;
29268 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29269 int arg2 ;
29270 int arg3 ;
29271 PyObject * obj0 = 0 ;
29272 char *kwnames[] = {
29273 (char *) "self",(char *) "x",(char *) "y", NULL
29274 };
29275
29276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetInitSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
29277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29278 {
29279 PyThreadState* __tstate = wxPyBeginAllowThreads();
29280 (arg1)->SetInitSize(arg2,arg3);
29281
29282 wxPyEndAllowThreads(__tstate);
29283 if (PyErr_Occurred()) SWIG_fail;
29284 }
29285 Py_INCREF(Py_None); resultobj = Py_None;
29286 return resultobj;
29287 fail:
29288 return NULL;
29289 }
29290
29291
29292 static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
29293 PyObject *resultobj;
29294 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29295 int arg2 ;
29296 int arg3 ;
29297 PyObject * obj0 = 0 ;
29298 char *kwnames[] = {
29299 (char *) "self",(char *) "width",(char *) "height", NULL
29300 };
29301
29302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetRatioWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
29303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29304 {
29305 PyThreadState* __tstate = wxPyBeginAllowThreads();
29306 (arg1)->SetRatio(arg2,arg3);
29307
29308 wxPyEndAllowThreads(__tstate);
29309 if (PyErr_Occurred()) SWIG_fail;
29310 }
29311 Py_INCREF(Py_None); resultobj = Py_None;
29312 return resultobj;
29313 fail:
29314 return NULL;
29315 }
29316
29317
29318 static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29319 PyObject *resultobj;
29320 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29321 wxSize arg2 ;
29322 wxSize *argp2 ;
29323 PyObject * obj0 = 0 ;
29324 PyObject * obj1 = 0 ;
29325 char *kwnames[] = {
29326 (char *) "self",(char *) "size", NULL
29327 };
29328
29329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
29330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29331 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29332 arg2 = *argp2;
29333 {
29334 PyThreadState* __tstate = wxPyBeginAllowThreads();
29335 (arg1)->SetRatio(arg2);
29336
29337 wxPyEndAllowThreads(__tstate);
29338 if (PyErr_Occurred()) SWIG_fail;
29339 }
29340 Py_INCREF(Py_None); resultobj = Py_None;
29341 return resultobj;
29342 fail:
29343 return NULL;
29344 }
29345
29346
29347 static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29348 PyObject *resultobj;
29349 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29350 float arg2 ;
29351 PyObject * obj0 = 0 ;
29352 char *kwnames[] = {
29353 (char *) "self",(char *) "ratio", NULL
29354 };
29355
29356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Of:SizerItem_SetRatio",kwnames,&obj0,&arg2)) goto fail;
29357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29358 {
29359 PyThreadState* __tstate = wxPyBeginAllowThreads();
29360 (arg1)->SetRatio(arg2);
29361
29362 wxPyEndAllowThreads(__tstate);
29363 if (PyErr_Occurred()) SWIG_fail;
29364 }
29365 Py_INCREF(Py_None); resultobj = Py_None;
29366 return resultobj;
29367 fail:
29368 return NULL;
29369 }
29370
29371
29372 static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29373 PyObject *resultobj;
29374 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29375 float result;
29376 PyObject * obj0 = 0 ;
29377 char *kwnames[] = {
29378 (char *) "self", NULL
29379 };
29380
29381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
29382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29383 {
29384 PyThreadState* __tstate = wxPyBeginAllowThreads();
29385 result = (float)(arg1)->GetRatio();
29386
29387 wxPyEndAllowThreads(__tstate);
29388 if (PyErr_Occurred()) SWIG_fail;
29389 }
29390 resultobj = PyFloat_FromDouble(result);
29391 return resultobj;
29392 fail:
29393 return NULL;
29394 }
29395
29396
29397 static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29398 PyObject *resultobj;
29399 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29400 bool result;
29401 PyObject * obj0 = 0 ;
29402 char *kwnames[] = {
29403 (char *) "self", NULL
29404 };
29405
29406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
29407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29408 {
29409 PyThreadState* __tstate = wxPyBeginAllowThreads();
29410 result = (bool)(arg1)->IsWindow();
29411
29412 wxPyEndAllowThreads(__tstate);
29413 if (PyErr_Occurred()) SWIG_fail;
29414 }
29415 resultobj = PyInt_FromLong((long)result);
29416 return resultobj;
29417 fail:
29418 return NULL;
29419 }
29420
29421
29422 static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29423 PyObject *resultobj;
29424 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29425 bool result;
29426 PyObject * obj0 = 0 ;
29427 char *kwnames[] = {
29428 (char *) "self", NULL
29429 };
29430
29431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
29432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29433 {
29434 PyThreadState* __tstate = wxPyBeginAllowThreads();
29435 result = (bool)(arg1)->IsSizer();
29436
29437 wxPyEndAllowThreads(__tstate);
29438 if (PyErr_Occurred()) SWIG_fail;
29439 }
29440 resultobj = PyInt_FromLong((long)result);
29441 return resultobj;
29442 fail:
29443 return NULL;
29444 }
29445
29446
29447 static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29448 PyObject *resultobj;
29449 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29450 bool result;
29451 PyObject * obj0 = 0 ;
29452 char *kwnames[] = {
29453 (char *) "self", NULL
29454 };
29455
29456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
29457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29458 {
29459 PyThreadState* __tstate = wxPyBeginAllowThreads();
29460 result = (bool)(arg1)->IsSpacer();
29461
29462 wxPyEndAllowThreads(__tstate);
29463 if (PyErr_Occurred()) SWIG_fail;
29464 }
29465 resultobj = PyInt_FromLong((long)result);
29466 return resultobj;
29467 fail:
29468 return NULL;
29469 }
29470
29471
29472 static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29473 PyObject *resultobj;
29474 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29475 int arg2 ;
29476 PyObject * obj0 = 0 ;
29477 char *kwnames[] = {
29478 (char *) "self",(char *) "proportion", NULL
29479 };
29480
29481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetProportion",kwnames,&obj0,&arg2)) goto fail;
29482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29483 {
29484 PyThreadState* __tstate = wxPyBeginAllowThreads();
29485 (arg1)->SetProportion(arg2);
29486
29487 wxPyEndAllowThreads(__tstate);
29488 if (PyErr_Occurred()) SWIG_fail;
29489 }
29490 Py_INCREF(Py_None); resultobj = Py_None;
29491 return resultobj;
29492 fail:
29493 return NULL;
29494 }
29495
29496
29497 static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29498 PyObject *resultobj;
29499 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29500 int result;
29501 PyObject * obj0 = 0 ;
29502 char *kwnames[] = {
29503 (char *) "self", NULL
29504 };
29505
29506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
29507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29508 {
29509 PyThreadState* __tstate = wxPyBeginAllowThreads();
29510 result = (int)(arg1)->GetProportion();
29511
29512 wxPyEndAllowThreads(__tstate);
29513 if (PyErr_Occurred()) SWIG_fail;
29514 }
29515 resultobj = PyInt_FromLong((long)result);
29516 return resultobj;
29517 fail:
29518 return NULL;
29519 }
29520
29521
29522 static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29523 PyObject *resultobj;
29524 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29525 int arg2 ;
29526 PyObject * obj0 = 0 ;
29527 char *kwnames[] = {
29528 (char *) "self",(char *) "flag", NULL
29529 };
29530
29531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetFlag",kwnames,&obj0,&arg2)) goto fail;
29532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29533 {
29534 PyThreadState* __tstate = wxPyBeginAllowThreads();
29535 (arg1)->SetFlag(arg2);
29536
29537 wxPyEndAllowThreads(__tstate);
29538 if (PyErr_Occurred()) SWIG_fail;
29539 }
29540 Py_INCREF(Py_None); resultobj = Py_None;
29541 return resultobj;
29542 fail:
29543 return NULL;
29544 }
29545
29546
29547 static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29548 PyObject *resultobj;
29549 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29550 int result;
29551 PyObject * obj0 = 0 ;
29552 char *kwnames[] = {
29553 (char *) "self", NULL
29554 };
29555
29556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
29557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29558 {
29559 PyThreadState* __tstate = wxPyBeginAllowThreads();
29560 result = (int)(arg1)->GetFlag();
29561
29562 wxPyEndAllowThreads(__tstate);
29563 if (PyErr_Occurred()) SWIG_fail;
29564 }
29565 resultobj = PyInt_FromLong((long)result);
29566 return resultobj;
29567 fail:
29568 return NULL;
29569 }
29570
29571
29572 static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
29573 PyObject *resultobj;
29574 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29575 int arg2 ;
29576 PyObject * obj0 = 0 ;
29577 char *kwnames[] = {
29578 (char *) "self",(char *) "border", NULL
29579 };
29580
29581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetBorder",kwnames,&obj0,&arg2)) goto fail;
29582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29583 {
29584 PyThreadState* __tstate = wxPyBeginAllowThreads();
29585 (arg1)->SetBorder(arg2);
29586
29587 wxPyEndAllowThreads(__tstate);
29588 if (PyErr_Occurred()) SWIG_fail;
29589 }
29590 Py_INCREF(Py_None); resultobj = Py_None;
29591 return resultobj;
29592 fail:
29593 return NULL;
29594 }
29595
29596
29597 static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
29598 PyObject *resultobj;
29599 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29600 int result;
29601 PyObject * obj0 = 0 ;
29602 char *kwnames[] = {
29603 (char *) "self", NULL
29604 };
29605
29606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
29607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29608 {
29609 PyThreadState* __tstate = wxPyBeginAllowThreads();
29610 result = (int)(arg1)->GetBorder();
29611
29612 wxPyEndAllowThreads(__tstate);
29613 if (PyErr_Occurred()) SWIG_fail;
29614 }
29615 resultobj = PyInt_FromLong((long)result);
29616 return resultobj;
29617 fail:
29618 return NULL;
29619 }
29620
29621
29622 static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29623 PyObject *resultobj;
29624 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29625 wxWindow *result;
29626 PyObject * obj0 = 0 ;
29627 char *kwnames[] = {
29628 (char *) "self", NULL
29629 };
29630
29631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
29632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29633 {
29634 PyThreadState* __tstate = wxPyBeginAllowThreads();
29635 result = (wxWindow *)(arg1)->GetWindow();
29636
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 {
29641 resultobj = wxPyMake_wxObject(result);
29642 }
29643 return resultobj;
29644 fail:
29645 return NULL;
29646 }
29647
29648
29649 static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29650 PyObject *resultobj;
29651 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29652 wxWindow *arg2 = (wxWindow *) 0 ;
29653 PyObject * obj0 = 0 ;
29654 PyObject * obj1 = 0 ;
29655 char *kwnames[] = {
29656 (char *) "self",(char *) "window", NULL
29657 };
29658
29659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
29660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29662 {
29663 PyThreadState* __tstate = wxPyBeginAllowThreads();
29664 (arg1)->SetWindow(arg2);
29665
29666 wxPyEndAllowThreads(__tstate);
29667 if (PyErr_Occurred()) SWIG_fail;
29668 }
29669 Py_INCREF(Py_None); resultobj = Py_None;
29670 return resultobj;
29671 fail:
29672 return NULL;
29673 }
29674
29675
29676 static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29677 PyObject *resultobj;
29678 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29679 wxSizer *result;
29680 PyObject * obj0 = 0 ;
29681 char *kwnames[] = {
29682 (char *) "self", NULL
29683 };
29684
29685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
29686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29687 {
29688 PyThreadState* __tstate = wxPyBeginAllowThreads();
29689 result = (wxSizer *)(arg1)->GetSizer();
29690
29691 wxPyEndAllowThreads(__tstate);
29692 if (PyErr_Occurred()) SWIG_fail;
29693 }
29694 {
29695 resultobj = wxPyMake_wxSizer(result);
29696 }
29697 return resultobj;
29698 fail:
29699 return NULL;
29700 }
29701
29702
29703 static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29704 PyObject *resultobj;
29705 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29706 wxSizer *arg2 = (wxSizer *) 0 ;
29707 PyObject * obj0 = 0 ;
29708 PyObject * obj1 = 0 ;
29709 char *kwnames[] = {
29710 (char *) "self",(char *) "sizer", NULL
29711 };
29712
29713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
29714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29715 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29716 {
29717 PyThreadState* __tstate = wxPyBeginAllowThreads();
29718 (arg1)->SetSizer(arg2);
29719
29720 wxPyEndAllowThreads(__tstate);
29721 if (PyErr_Occurred()) SWIG_fail;
29722 }
29723 Py_INCREF(Py_None); resultobj = Py_None;
29724 return resultobj;
29725 fail:
29726 return NULL;
29727 }
29728
29729
29730 static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29731 PyObject *resultobj;
29732 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29733 wxSize *result;
29734 PyObject * obj0 = 0 ;
29735 char *kwnames[] = {
29736 (char *) "self", NULL
29737 };
29738
29739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
29740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29741 {
29742 PyThreadState* __tstate = wxPyBeginAllowThreads();
29743 {
29744 wxSize const &_result_ref = (arg1)->GetSpacer();
29745 result = (wxSize *) &_result_ref;
29746 }
29747
29748 wxPyEndAllowThreads(__tstate);
29749 if (PyErr_Occurred()) SWIG_fail;
29750 }
29751 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
29752 return resultobj;
29753 fail:
29754 return NULL;
29755 }
29756
29757
29758 static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29759 PyObject *resultobj;
29760 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29761 wxSize *arg2 = 0 ;
29762 wxSize temp2 ;
29763 PyObject * obj0 = 0 ;
29764 PyObject * obj1 = 0 ;
29765 char *kwnames[] = {
29766 (char *) "self",(char *) "size", NULL
29767 };
29768
29769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
29770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29771 {
29772 arg2 = &temp2;
29773 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29774 }
29775 {
29776 PyThreadState* __tstate = wxPyBeginAllowThreads();
29777 (arg1)->SetSpacer((wxSize const &)*arg2);
29778
29779 wxPyEndAllowThreads(__tstate);
29780 if (PyErr_Occurred()) SWIG_fail;
29781 }
29782 Py_INCREF(Py_None); resultobj = Py_None;
29783 return resultobj;
29784 fail:
29785 return NULL;
29786 }
29787
29788
29789 static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29790 PyObject *resultobj;
29791 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29792 bool arg2 ;
29793 PyObject * obj0 = 0 ;
29794 PyObject * obj1 = 0 ;
29795 char *kwnames[] = {
29796 (char *) "self",(char *) "show", NULL
29797 };
29798
29799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
29800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29801 arg2 = PyInt_AsLong(obj1) ? true : false;
29802 if (PyErr_Occurred()) SWIG_fail;
29803 {
29804 PyThreadState* __tstate = wxPyBeginAllowThreads();
29805 (arg1)->Show(arg2);
29806
29807 wxPyEndAllowThreads(__tstate);
29808 if (PyErr_Occurred()) SWIG_fail;
29809 }
29810 Py_INCREF(Py_None); resultobj = Py_None;
29811 return resultobj;
29812 fail:
29813 return NULL;
29814 }
29815
29816
29817 static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
29818 PyObject *resultobj;
29819 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29820 bool result;
29821 PyObject * obj0 = 0 ;
29822 char *kwnames[] = {
29823 (char *) "self", NULL
29824 };
29825
29826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
29827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29828 {
29829 PyThreadState* __tstate = wxPyBeginAllowThreads();
29830 result = (bool)(arg1)->IsShown();
29831
29832 wxPyEndAllowThreads(__tstate);
29833 if (PyErr_Occurred()) SWIG_fail;
29834 }
29835 resultobj = PyInt_FromLong((long)result);
29836 return resultobj;
29837 fail:
29838 return NULL;
29839 }
29840
29841
29842 static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29843 PyObject *resultobj;
29844 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29845 wxPoint result;
29846 PyObject * obj0 = 0 ;
29847 char *kwnames[] = {
29848 (char *) "self", NULL
29849 };
29850
29851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
29852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29853 {
29854 PyThreadState* __tstate = wxPyBeginAllowThreads();
29855 result = (arg1)->GetPosition();
29856
29857 wxPyEndAllowThreads(__tstate);
29858 if (PyErr_Occurred()) SWIG_fail;
29859 }
29860 {
29861 wxPoint * resultptr;
29862 resultptr = new wxPoint((wxPoint &) result);
29863 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
29864 }
29865 return resultobj;
29866 fail:
29867 return NULL;
29868 }
29869
29870
29871 static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
29872 PyObject *resultobj;
29873 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29874 PyObject *result;
29875 PyObject * obj0 = 0 ;
29876 char *kwnames[] = {
29877 (char *) "self", NULL
29878 };
29879
29880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
29881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29882 {
29883 PyThreadState* __tstate = wxPyBeginAllowThreads();
29884 result = (PyObject *)wxSizerItem_GetUserData(arg1);
29885
29886 wxPyEndAllowThreads(__tstate);
29887 if (PyErr_Occurred()) SWIG_fail;
29888 }
29889 resultobj = result;
29890 return resultobj;
29891 fail:
29892 return NULL;
29893 }
29894
29895
29896 static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
29897 PyObject *obj;
29898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29899 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
29900 Py_INCREF(obj);
29901 return Py_BuildValue((char *)"");
29902 }
29903 static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29904 PyObject *resultobj;
29905 wxSizer *arg1 = (wxSizer *) 0 ;
29906 PyObject *arg2 = (PyObject *) 0 ;
29907 PyObject * obj0 = 0 ;
29908 PyObject * obj1 = 0 ;
29909 char *kwnames[] = {
29910 (char *) "self",(char *) "_self", NULL
29911 };
29912
29913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
29914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29915 arg2 = obj1;
29916 {
29917 PyThreadState* __tstate = wxPyBeginAllowThreads();
29918 wxSizer__setOORInfo(arg1,arg2);
29919
29920 wxPyEndAllowThreads(__tstate);
29921 if (PyErr_Occurred()) SWIG_fail;
29922 }
29923 Py_INCREF(Py_None); resultobj = Py_None;
29924 return resultobj;
29925 fail:
29926 return NULL;
29927 }
29928
29929
29930 static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
29931 PyObject *resultobj;
29932 wxSizer *arg1 = (wxSizer *) 0 ;
29933 PyObject *arg2 = (PyObject *) 0 ;
29934 int arg3 = (int) 0 ;
29935 int arg4 = (int) 0 ;
29936 int arg5 = (int) 0 ;
29937 PyObject *arg6 = (PyObject *) NULL ;
29938 PyObject * obj0 = 0 ;
29939 PyObject * obj1 = 0 ;
29940 PyObject * obj5 = 0 ;
29941 char *kwnames[] = {
29942 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29943 };
29944
29945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Add",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
29946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29947 arg2 = obj1;
29948 if (obj5) {
29949 arg6 = obj5;
29950 }
29951 {
29952 PyThreadState* __tstate = wxPyBeginAllowThreads();
29953 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
29954
29955 wxPyEndAllowThreads(__tstate);
29956 if (PyErr_Occurred()) SWIG_fail;
29957 }
29958 Py_INCREF(Py_None); resultobj = Py_None;
29959 return resultobj;
29960 fail:
29961 return NULL;
29962 }
29963
29964
29965 static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29966 PyObject *resultobj;
29967 wxSizer *arg1 = (wxSizer *) 0 ;
29968 int arg2 ;
29969 PyObject *arg3 = (PyObject *) 0 ;
29970 int arg4 = (int) 0 ;
29971 int arg5 = (int) 0 ;
29972 int arg6 = (int) 0 ;
29973 PyObject *arg7 = (PyObject *) NULL ;
29974 PyObject * obj0 = 0 ;
29975 PyObject * obj2 = 0 ;
29976 PyObject * obj6 = 0 ;
29977 char *kwnames[] = {
29978 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29979 };
29980
29981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|iiiO:Sizer_Insert",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6)) goto fail;
29982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29983 arg3 = obj2;
29984 if (obj6) {
29985 arg7 = obj6;
29986 }
29987 {
29988 PyThreadState* __tstate = wxPyBeginAllowThreads();
29989 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
29990
29991 wxPyEndAllowThreads(__tstate);
29992 if (PyErr_Occurred()) SWIG_fail;
29993 }
29994 Py_INCREF(Py_None); resultobj = Py_None;
29995 return resultobj;
29996 fail:
29997 return NULL;
29998 }
29999
30000
30001 static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
30002 PyObject *resultobj;
30003 wxSizer *arg1 = (wxSizer *) 0 ;
30004 PyObject *arg2 = (PyObject *) 0 ;
30005 int arg3 = (int) 0 ;
30006 int arg4 = (int) 0 ;
30007 int arg5 = (int) 0 ;
30008 PyObject *arg6 = (PyObject *) NULL ;
30009 PyObject * obj0 = 0 ;
30010 PyObject * obj1 = 0 ;
30011 PyObject * obj5 = 0 ;
30012 char *kwnames[] = {
30013 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30014 };
30015
30016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Prepend",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30018 arg2 = obj1;
30019 if (obj5) {
30020 arg6 = obj5;
30021 }
30022 {
30023 PyThreadState* __tstate = wxPyBeginAllowThreads();
30024 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
30025
30026 wxPyEndAllowThreads(__tstate);
30027 if (PyErr_Occurred()) SWIG_fail;
30028 }
30029 Py_INCREF(Py_None); resultobj = Py_None;
30030 return resultobj;
30031 fail:
30032 return NULL;
30033 }
30034
30035
30036 static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30037 PyObject *resultobj;
30038 wxSizer *arg1 = (wxSizer *) 0 ;
30039 PyObject *arg2 = (PyObject *) 0 ;
30040 bool result;
30041 PyObject * obj0 = 0 ;
30042 PyObject * obj1 = 0 ;
30043 char *kwnames[] = {
30044 (char *) "self",(char *) "item", NULL
30045 };
30046
30047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
30048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30049 arg2 = obj1;
30050 {
30051 PyThreadState* __tstate = wxPyBeginAllowThreads();
30052 result = (bool)wxSizer_Remove(arg1,arg2);
30053
30054 wxPyEndAllowThreads(__tstate);
30055 if (PyErr_Occurred()) SWIG_fail;
30056 }
30057 resultobj = PyInt_FromLong((long)result);
30058 return resultobj;
30059 fail:
30060 return NULL;
30061 }
30062
30063
30064 static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30065 PyObject *resultobj;
30066 wxSizer *arg1 = (wxSizer *) 0 ;
30067 PyObject *arg2 = (PyObject *) 0 ;
30068 wxSize *arg3 = 0 ;
30069 wxSize temp3 ;
30070 PyObject * obj0 = 0 ;
30071 PyObject * obj1 = 0 ;
30072 PyObject * obj2 = 0 ;
30073 char *kwnames[] = {
30074 (char *) "self",(char *) "item",(char *) "size", NULL
30075 };
30076
30077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30079 arg2 = obj1;
30080 {
30081 arg3 = &temp3;
30082 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
30083 }
30084 {
30085 PyThreadState* __tstate = wxPyBeginAllowThreads();
30086 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
30087
30088 wxPyEndAllowThreads(__tstate);
30089 if (PyErr_Occurred()) SWIG_fail;
30090 }
30091 Py_INCREF(Py_None); resultobj = Py_None;
30092 return resultobj;
30093 fail:
30094 return NULL;
30095 }
30096
30097
30098 static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30099 PyObject *resultobj;
30100 wxSizer *arg1 = (wxSizer *) 0 ;
30101 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30102 PyObject * obj0 = 0 ;
30103 PyObject * obj1 = 0 ;
30104 char *kwnames[] = {
30105 (char *) "self",(char *) "item", NULL
30106 };
30107
30108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
30109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30111 {
30112 PyThreadState* __tstate = wxPyBeginAllowThreads();
30113 (arg1)->Add(arg2);
30114
30115 wxPyEndAllowThreads(__tstate);
30116 if (PyErr_Occurred()) SWIG_fail;
30117 }
30118 Py_INCREF(Py_None); resultobj = Py_None;
30119 return resultobj;
30120 fail:
30121 return NULL;
30122 }
30123
30124
30125 static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30126 PyObject *resultobj;
30127 wxSizer *arg1 = (wxSizer *) 0 ;
30128 size_t arg2 ;
30129 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
30130 PyObject * obj0 = 0 ;
30131 PyObject * obj1 = 0 ;
30132 PyObject * obj2 = 0 ;
30133 char *kwnames[] = {
30134 (char *) "self",(char *) "index",(char *) "item", NULL
30135 };
30136
30137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30139 arg2 = (size_t) PyInt_AsLong(obj1);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30142 {
30143 PyThreadState* __tstate = wxPyBeginAllowThreads();
30144 (arg1)->Insert(arg2,arg3);
30145
30146 wxPyEndAllowThreads(__tstate);
30147 if (PyErr_Occurred()) SWIG_fail;
30148 }
30149 Py_INCREF(Py_None); resultobj = Py_None;
30150 return resultobj;
30151 fail:
30152 return NULL;
30153 }
30154
30155
30156 static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30157 PyObject *resultobj;
30158 wxSizer *arg1 = (wxSizer *) 0 ;
30159 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30160 PyObject * obj0 = 0 ;
30161 PyObject * obj1 = 0 ;
30162 char *kwnames[] = {
30163 (char *) "self",(char *) "item", NULL
30164 };
30165
30166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
30167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30169 {
30170 PyThreadState* __tstate = wxPyBeginAllowThreads();
30171 (arg1)->Prepend(arg2);
30172
30173 wxPyEndAllowThreads(__tstate);
30174 if (PyErr_Occurred()) SWIG_fail;
30175 }
30176 Py_INCREF(Py_None); resultobj = Py_None;
30177 return resultobj;
30178 fail:
30179 return NULL;
30180 }
30181
30182
30183 static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
30184 PyObject *resultobj;
30185 wxSizer *arg1 = (wxSizer *) 0 ;
30186 int arg2 ;
30187 int arg3 ;
30188 int arg4 ;
30189 int arg5 ;
30190 PyObject * obj0 = 0 ;
30191 char *kwnames[] = {
30192 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30193 };
30194
30195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Sizer_SetDimension",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
30196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30197 {
30198 PyThreadState* __tstate = wxPyBeginAllowThreads();
30199 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
30200
30201 wxPyEndAllowThreads(__tstate);
30202 if (PyErr_Occurred()) SWIG_fail;
30203 }
30204 Py_INCREF(Py_None); resultobj = Py_None;
30205 return resultobj;
30206 fail:
30207 return NULL;
30208 }
30209
30210
30211 static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30212 PyObject *resultobj;
30213 wxSizer *arg1 = (wxSizer *) 0 ;
30214 wxSize arg2 ;
30215 wxSize *argp2 ;
30216 PyObject * obj0 = 0 ;
30217 PyObject * obj1 = 0 ;
30218 char *kwnames[] = {
30219 (char *) "self",(char *) "size", NULL
30220 };
30221
30222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
30223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30224 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
30225 arg2 = *argp2;
30226 {
30227 PyThreadState* __tstate = wxPyBeginAllowThreads();
30228 (arg1)->SetMinSize(arg2);
30229
30230 wxPyEndAllowThreads(__tstate);
30231 if (PyErr_Occurred()) SWIG_fail;
30232 }
30233 Py_INCREF(Py_None); resultobj = Py_None;
30234 return resultobj;
30235 fail:
30236 return NULL;
30237 }
30238
30239
30240 static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30241 PyObject *resultobj;
30242 wxSizer *arg1 = (wxSizer *) 0 ;
30243 wxSize result;
30244 PyObject * obj0 = 0 ;
30245 char *kwnames[] = {
30246 (char *) "self", NULL
30247 };
30248
30249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
30250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30251 {
30252 PyThreadState* __tstate = wxPyBeginAllowThreads();
30253 result = (arg1)->GetSize();
30254
30255 wxPyEndAllowThreads(__tstate);
30256 if (PyErr_Occurred()) SWIG_fail;
30257 }
30258 {
30259 wxSize * resultptr;
30260 resultptr = new wxSize((wxSize &) result);
30261 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30262 }
30263 return resultobj;
30264 fail:
30265 return NULL;
30266 }
30267
30268
30269 static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30270 PyObject *resultobj;
30271 wxSizer *arg1 = (wxSizer *) 0 ;
30272 wxPoint result;
30273 PyObject * obj0 = 0 ;
30274 char *kwnames[] = {
30275 (char *) "self", NULL
30276 };
30277
30278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
30279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30280 {
30281 PyThreadState* __tstate = wxPyBeginAllowThreads();
30282 result = (arg1)->GetPosition();
30283
30284 wxPyEndAllowThreads(__tstate);
30285 if (PyErr_Occurred()) SWIG_fail;
30286 }
30287 {
30288 wxPoint * resultptr;
30289 resultptr = new wxPoint((wxPoint &) result);
30290 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30291 }
30292 return resultobj;
30293 fail:
30294 return NULL;
30295 }
30296
30297
30298 static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30299 PyObject *resultobj;
30300 wxSizer *arg1 = (wxSizer *) 0 ;
30301 wxSize result;
30302 PyObject * obj0 = 0 ;
30303 char *kwnames[] = {
30304 (char *) "self", NULL
30305 };
30306
30307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
30308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30309 {
30310 PyThreadState* __tstate = wxPyBeginAllowThreads();
30311 result = (arg1)->GetMinSize();
30312
30313 wxPyEndAllowThreads(__tstate);
30314 if (PyErr_Occurred()) SWIG_fail;
30315 }
30316 {
30317 wxSize * resultptr;
30318 resultptr = new wxSize((wxSize &) result);
30319 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30320 }
30321 return resultobj;
30322 fail:
30323 return NULL;
30324 }
30325
30326
30327 static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30328 PyObject *resultobj;
30329 wxSizer *arg1 = (wxSizer *) 0 ;
30330 PyObject * obj0 = 0 ;
30331 char *kwnames[] = {
30332 (char *) "self", NULL
30333 };
30334
30335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
30336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30337 {
30338 PyThreadState* __tstate = wxPyBeginAllowThreads();
30339 (arg1)->RecalcSizes();
30340
30341 wxPyEndAllowThreads(__tstate);
30342 if (PyErr_Occurred()) SWIG_fail;
30343 }
30344 Py_INCREF(Py_None); resultobj = Py_None;
30345 return resultobj;
30346 fail:
30347 return NULL;
30348 }
30349
30350
30351 static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30352 PyObject *resultobj;
30353 wxSizer *arg1 = (wxSizer *) 0 ;
30354 wxSize result;
30355 PyObject * obj0 = 0 ;
30356 char *kwnames[] = {
30357 (char *) "self", NULL
30358 };
30359
30360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
30361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30362 {
30363 PyThreadState* __tstate = wxPyBeginAllowThreads();
30364 result = (arg1)->CalcMin();
30365
30366 wxPyEndAllowThreads(__tstate);
30367 if (PyErr_Occurred()) SWIG_fail;
30368 }
30369 {
30370 wxSize * resultptr;
30371 resultptr = new wxSize((wxSize &) result);
30372 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30373 }
30374 return resultobj;
30375 fail:
30376 return NULL;
30377 }
30378
30379
30380 static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
30381 PyObject *resultobj;
30382 wxSizer *arg1 = (wxSizer *) 0 ;
30383 PyObject * obj0 = 0 ;
30384 char *kwnames[] = {
30385 (char *) "self", NULL
30386 };
30387
30388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
30389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30390 {
30391 PyThreadState* __tstate = wxPyBeginAllowThreads();
30392 (arg1)->Layout();
30393
30394 wxPyEndAllowThreads(__tstate);
30395 if (PyErr_Occurred()) SWIG_fail;
30396 }
30397 Py_INCREF(Py_None); resultobj = Py_None;
30398 return resultobj;
30399 fail:
30400 return NULL;
30401 }
30402
30403
30404 static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
30405 PyObject *resultobj;
30406 wxSizer *arg1 = (wxSizer *) 0 ;
30407 wxWindow *arg2 = (wxWindow *) 0 ;
30408 wxSize result;
30409 PyObject * obj0 = 0 ;
30410 PyObject * obj1 = 0 ;
30411 char *kwnames[] = {
30412 (char *) "self",(char *) "window", NULL
30413 };
30414
30415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
30416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30418 {
30419 PyThreadState* __tstate = wxPyBeginAllowThreads();
30420 result = (arg1)->Fit(arg2);
30421
30422 wxPyEndAllowThreads(__tstate);
30423 if (PyErr_Occurred()) SWIG_fail;
30424 }
30425 {
30426 wxSize * resultptr;
30427 resultptr = new wxSize((wxSize &) result);
30428 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30429 }
30430 return resultobj;
30431 fail:
30432 return NULL;
30433 }
30434
30435
30436 static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
30437 PyObject *resultobj;
30438 wxSizer *arg1 = (wxSizer *) 0 ;
30439 wxWindow *arg2 = (wxWindow *) 0 ;
30440 PyObject * obj0 = 0 ;
30441 PyObject * obj1 = 0 ;
30442 char *kwnames[] = {
30443 (char *) "self",(char *) "window", NULL
30444 };
30445
30446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
30447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30449 {
30450 PyThreadState* __tstate = wxPyBeginAllowThreads();
30451 (arg1)->FitInside(arg2);
30452
30453 wxPyEndAllowThreads(__tstate);
30454 if (PyErr_Occurred()) SWIG_fail;
30455 }
30456 Py_INCREF(Py_None); resultobj = Py_None;
30457 return resultobj;
30458 fail:
30459 return NULL;
30460 }
30461
30462
30463 static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30464 PyObject *resultobj;
30465 wxSizer *arg1 = (wxSizer *) 0 ;
30466 wxWindow *arg2 = (wxWindow *) 0 ;
30467 PyObject * obj0 = 0 ;
30468 PyObject * obj1 = 0 ;
30469 char *kwnames[] = {
30470 (char *) "self",(char *) "window", NULL
30471 };
30472
30473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
30474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30476 {
30477 PyThreadState* __tstate = wxPyBeginAllowThreads();
30478 (arg1)->SetSizeHints(arg2);
30479
30480 wxPyEndAllowThreads(__tstate);
30481 if (PyErr_Occurred()) SWIG_fail;
30482 }
30483 Py_INCREF(Py_None); resultobj = Py_None;
30484 return resultobj;
30485 fail:
30486 return NULL;
30487 }
30488
30489
30490 static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30491 PyObject *resultobj;
30492 wxSizer *arg1 = (wxSizer *) 0 ;
30493 wxWindow *arg2 = (wxWindow *) 0 ;
30494 PyObject * obj0 = 0 ;
30495 PyObject * obj1 = 0 ;
30496 char *kwnames[] = {
30497 (char *) "self",(char *) "window", NULL
30498 };
30499
30500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
30501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30503 {
30504 PyThreadState* __tstate = wxPyBeginAllowThreads();
30505 (arg1)->SetVirtualSizeHints(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_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30518 PyObject *resultobj;
30519 wxSizer *arg1 = (wxSizer *) 0 ;
30520 bool arg2 = (bool) False ;
30521 PyObject * obj0 = 0 ;
30522 PyObject * obj1 = 0 ;
30523 char *kwnames[] = {
30524 (char *) "self",(char *) "delete_windows", NULL
30525 };
30526
30527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
30528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30529 if (obj1) {
30530 arg2 = PyInt_AsLong(obj1) ? true : false;
30531 if (PyErr_Occurred()) SWIG_fail;
30532 }
30533 {
30534 PyThreadState* __tstate = wxPyBeginAllowThreads();
30535 (arg1)->Clear(arg2);
30536
30537 wxPyEndAllowThreads(__tstate);
30538 if (PyErr_Occurred()) SWIG_fail;
30539 }
30540 Py_INCREF(Py_None); resultobj = Py_None;
30541 return resultobj;
30542 fail:
30543 return NULL;
30544 }
30545
30546
30547 static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
30548 PyObject *resultobj;
30549 wxSizer *arg1 = (wxSizer *) 0 ;
30550 PyObject * obj0 = 0 ;
30551 char *kwnames[] = {
30552 (char *) "self", NULL
30553 };
30554
30555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
30556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30557 {
30558 PyThreadState* __tstate = wxPyBeginAllowThreads();
30559 (arg1)->DeleteWindows();
30560
30561 wxPyEndAllowThreads(__tstate);
30562 if (PyErr_Occurred()) SWIG_fail;
30563 }
30564 Py_INCREF(Py_None); resultobj = Py_None;
30565 return resultobj;
30566 fail:
30567 return NULL;
30568 }
30569
30570
30571 static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
30572 PyObject *resultobj;
30573 wxSizer *arg1 = (wxSizer *) 0 ;
30574 PyObject *result;
30575 PyObject * obj0 = 0 ;
30576 char *kwnames[] = {
30577 (char *) "self", NULL
30578 };
30579
30580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
30581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30582 {
30583 PyThreadState* __tstate = wxPyBeginAllowThreads();
30584 result = (PyObject *)wxSizer_GetChildren(arg1);
30585
30586 wxPyEndAllowThreads(__tstate);
30587 if (PyErr_Occurred()) SWIG_fail;
30588 }
30589 resultobj = result;
30590 return resultobj;
30591 fail:
30592 return NULL;
30593 }
30594
30595
30596 static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30597 PyObject *resultobj;
30598 wxSizer *arg1 = (wxSizer *) 0 ;
30599 PyObject *arg2 = (PyObject *) 0 ;
30600 bool arg3 = (bool) True ;
30601 PyObject * obj0 = 0 ;
30602 PyObject * obj1 = 0 ;
30603 PyObject * obj2 = 0 ;
30604 char *kwnames[] = {
30605 (char *) "self",(char *) "item",(char *) "show", NULL
30606 };
30607
30608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
30609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30610 arg2 = obj1;
30611 if (obj2) {
30612 arg3 = PyInt_AsLong(obj2) ? true : false;
30613 if (PyErr_Occurred()) SWIG_fail;
30614 }
30615 {
30616 PyThreadState* __tstate = wxPyBeginAllowThreads();
30617 wxSizer_Show(arg1,arg2,arg3);
30618
30619 wxPyEndAllowThreads(__tstate);
30620 if (PyErr_Occurred()) SWIG_fail;
30621 }
30622 Py_INCREF(Py_None); resultobj = Py_None;
30623 return resultobj;
30624 fail:
30625 return NULL;
30626 }
30627
30628
30629 static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30630 PyObject *resultobj;
30631 wxSizer *arg1 = (wxSizer *) 0 ;
30632 PyObject *arg2 = (PyObject *) 0 ;
30633 PyObject * obj0 = 0 ;
30634 PyObject * obj1 = 0 ;
30635 char *kwnames[] = {
30636 (char *) "self",(char *) "item", NULL
30637 };
30638
30639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
30640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30641 arg2 = obj1;
30642 {
30643 PyThreadState* __tstate = wxPyBeginAllowThreads();
30644 wxSizer_Hide(arg1,arg2);
30645
30646 wxPyEndAllowThreads(__tstate);
30647 if (PyErr_Occurred()) SWIG_fail;
30648 }
30649 Py_INCREF(Py_None); resultobj = Py_None;
30650 return resultobj;
30651 fail:
30652 return NULL;
30653 }
30654
30655
30656 static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
30657 PyObject *resultobj;
30658 wxSizer *arg1 = (wxSizer *) 0 ;
30659 PyObject *arg2 = (PyObject *) 0 ;
30660 bool result;
30661 PyObject * obj0 = 0 ;
30662 PyObject * obj1 = 0 ;
30663 char *kwnames[] = {
30664 (char *) "self",(char *) "item", NULL
30665 };
30666
30667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
30668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30669 arg2 = obj1;
30670 {
30671 PyThreadState* __tstate = wxPyBeginAllowThreads();
30672 result = (bool)wxSizer_IsShown(arg1,arg2);
30673
30674 wxPyEndAllowThreads(__tstate);
30675 if (PyErr_Occurred()) SWIG_fail;
30676 }
30677 resultobj = PyInt_FromLong((long)result);
30678 return resultobj;
30679 fail:
30680 return NULL;
30681 }
30682
30683
30684 static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
30685 PyObject *resultobj;
30686 wxSizer *arg1 = (wxSizer *) 0 ;
30687 bool arg2 ;
30688 PyObject * obj0 = 0 ;
30689 PyObject * obj1 = 0 ;
30690 char *kwnames[] = {
30691 (char *) "self",(char *) "show", NULL
30692 };
30693
30694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
30695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30696 arg2 = PyInt_AsLong(obj1) ? true : false;
30697 if (PyErr_Occurred()) SWIG_fail;
30698 {
30699 PyThreadState* __tstate = wxPyBeginAllowThreads();
30700 (arg1)->ShowItems(arg2);
30701
30702 wxPyEndAllowThreads(__tstate);
30703 if (PyErr_Occurred()) SWIG_fail;
30704 }
30705 Py_INCREF(Py_None); resultobj = Py_None;
30706 return resultobj;
30707 fail:
30708 return NULL;
30709 }
30710
30711
30712 static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
30713 PyObject *obj;
30714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30715 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
30716 Py_INCREF(obj);
30717 return Py_BuildValue((char *)"");
30718 }
30719 static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30720 PyObject *resultobj;
30721 wxPySizer *result;
30722 char *kwnames[] = {
30723 NULL
30724 };
30725
30726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
30727 {
30728 PyThreadState* __tstate = wxPyBeginAllowThreads();
30729 result = (wxPySizer *)new wxPySizer();
30730
30731 wxPyEndAllowThreads(__tstate);
30732 if (PyErr_Occurred()) SWIG_fail;
30733 }
30734 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPySizer, 1);
30735 return resultobj;
30736 fail:
30737 return NULL;
30738 }
30739
30740
30741 static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30742 PyObject *resultobj;
30743 wxPySizer *arg1 = (wxPySizer *) 0 ;
30744 PyObject *arg2 = (PyObject *) 0 ;
30745 PyObject *arg3 = (PyObject *) 0 ;
30746 PyObject * obj0 = 0 ;
30747 PyObject * obj1 = 0 ;
30748 PyObject * obj2 = 0 ;
30749 char *kwnames[] = {
30750 (char *) "self",(char *) "self",(char *) "_class", NULL
30751 };
30752
30753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
30754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPySizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30755 arg2 = obj1;
30756 arg3 = obj2;
30757 {
30758 PyThreadState* __tstate = wxPyBeginAllowThreads();
30759 (arg1)->_setCallbackInfo(arg2,arg3);
30760
30761 wxPyEndAllowThreads(__tstate);
30762 if (PyErr_Occurred()) SWIG_fail;
30763 }
30764 Py_INCREF(Py_None); resultobj = Py_None;
30765 return resultobj;
30766 fail:
30767 return NULL;
30768 }
30769
30770
30771 static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
30772 PyObject *obj;
30773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30774 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
30775 Py_INCREF(obj);
30776 return Py_BuildValue((char *)"");
30777 }
30778 static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30779 PyObject *resultobj;
30780 int arg1 = (int) wxHORIZONTAL ;
30781 wxBoxSizer *result;
30782 char *kwnames[] = {
30783 (char *) "orient", NULL
30784 };
30785
30786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_BoxSizer",kwnames,&arg1)) goto fail;
30787 {
30788 PyThreadState* __tstate = wxPyBeginAllowThreads();
30789 result = (wxBoxSizer *)new wxBoxSizer(arg1);
30790
30791 wxPyEndAllowThreads(__tstate);
30792 if (PyErr_Occurred()) SWIG_fail;
30793 }
30794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBoxSizer, 1);
30795 return resultobj;
30796 fail:
30797 return NULL;
30798 }
30799
30800
30801 static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
30802 PyObject *resultobj;
30803 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30804 int result;
30805 PyObject * obj0 = 0 ;
30806 char *kwnames[] = {
30807 (char *) "self", NULL
30808 };
30809
30810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
30811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30812 {
30813 PyThreadState* __tstate = wxPyBeginAllowThreads();
30814 result = (int)(arg1)->GetOrientation();
30815
30816 wxPyEndAllowThreads(__tstate);
30817 if (PyErr_Occurred()) SWIG_fail;
30818 }
30819 resultobj = PyInt_FromLong((long)result);
30820 return resultobj;
30821 fail:
30822 return NULL;
30823 }
30824
30825
30826 static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
30827 PyObject *resultobj;
30828 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30829 int arg2 ;
30830 PyObject * obj0 = 0 ;
30831 char *kwnames[] = {
30832 (char *) "self",(char *) "orient", NULL
30833 };
30834
30835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BoxSizer_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
30836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30837 {
30838 PyThreadState* __tstate = wxPyBeginAllowThreads();
30839 (arg1)->SetOrientation(arg2);
30840
30841 wxPyEndAllowThreads(__tstate);
30842 if (PyErr_Occurred()) SWIG_fail;
30843 }
30844 Py_INCREF(Py_None); resultobj = Py_None;
30845 return resultobj;
30846 fail:
30847 return NULL;
30848 }
30849
30850
30851 static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30852 PyObject *resultobj;
30853 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30854 PyObject * obj0 = 0 ;
30855 char *kwnames[] = {
30856 (char *) "self", NULL
30857 };
30858
30859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
30860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30861 {
30862 PyThreadState* __tstate = wxPyBeginAllowThreads();
30863 (arg1)->RecalcSizes();
30864
30865 wxPyEndAllowThreads(__tstate);
30866 if (PyErr_Occurred()) SWIG_fail;
30867 }
30868 Py_INCREF(Py_None); resultobj = Py_None;
30869 return resultobj;
30870 fail:
30871 return NULL;
30872 }
30873
30874
30875 static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30876 PyObject *resultobj;
30877 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30878 wxSize result;
30879 PyObject * obj0 = 0 ;
30880 char *kwnames[] = {
30881 (char *) "self", NULL
30882 };
30883
30884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
30885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30886 {
30887 PyThreadState* __tstate = wxPyBeginAllowThreads();
30888 result = (arg1)->CalcMin();
30889
30890 wxPyEndAllowThreads(__tstate);
30891 if (PyErr_Occurred()) SWIG_fail;
30892 }
30893 {
30894 wxSize * resultptr;
30895 resultptr = new wxSize((wxSize &) result);
30896 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30897 }
30898 return resultobj;
30899 fail:
30900 return NULL;
30901 }
30902
30903
30904 static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
30905 PyObject *obj;
30906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30907 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
30908 Py_INCREF(obj);
30909 return Py_BuildValue((char *)"");
30910 }
30911 static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30912 PyObject *resultobj;
30913 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
30914 int arg2 = (int) wxHORIZONTAL ;
30915 wxStaticBoxSizer *result;
30916 PyObject * obj0 = 0 ;
30917 char *kwnames[] = {
30918 (char *) "box",(char *) "orient", NULL
30919 };
30920
30921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_StaticBoxSizer",kwnames,&obj0,&arg2)) goto fail;
30922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30923 {
30924 PyThreadState* __tstate = wxPyBeginAllowThreads();
30925 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
30926
30927 wxPyEndAllowThreads(__tstate);
30928 if (PyErr_Occurred()) SWIG_fail;
30929 }
30930 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBoxSizer, 1);
30931 return resultobj;
30932 fail:
30933 return NULL;
30934 }
30935
30936
30937 static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
30938 PyObject *resultobj;
30939 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
30940 wxStaticBox *result;
30941 PyObject * obj0 = 0 ;
30942 char *kwnames[] = {
30943 (char *) "self", NULL
30944 };
30945
30946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
30947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30948 {
30949 PyThreadState* __tstate = wxPyBeginAllowThreads();
30950 result = (wxStaticBox *)(arg1)->GetStaticBox();
30951
30952 wxPyEndAllowThreads(__tstate);
30953 if (PyErr_Occurred()) SWIG_fail;
30954 }
30955 {
30956 resultobj = wxPyMake_wxObject(result);
30957 }
30958 return resultobj;
30959 fail:
30960 return NULL;
30961 }
30962
30963
30964 static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30965 PyObject *resultobj;
30966 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
30967 PyObject * obj0 = 0 ;
30968 char *kwnames[] = {
30969 (char *) "self", NULL
30970 };
30971
30972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
30973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30974 {
30975 PyThreadState* __tstate = wxPyBeginAllowThreads();
30976 (arg1)->RecalcSizes();
30977
30978 wxPyEndAllowThreads(__tstate);
30979 if (PyErr_Occurred()) SWIG_fail;
30980 }
30981 Py_INCREF(Py_None); resultobj = Py_None;
30982 return resultobj;
30983 fail:
30984 return NULL;
30985 }
30986
30987
30988 static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30989 PyObject *resultobj;
30990 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
30991 wxSize result;
30992 PyObject * obj0 = 0 ;
30993 char *kwnames[] = {
30994 (char *) "self", NULL
30995 };
30996
30997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
30998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30999 {
31000 PyThreadState* __tstate = wxPyBeginAllowThreads();
31001 result = (arg1)->CalcMin();
31002
31003 wxPyEndAllowThreads(__tstate);
31004 if (PyErr_Occurred()) SWIG_fail;
31005 }
31006 {
31007 wxSize * resultptr;
31008 resultptr = new wxSize((wxSize &) result);
31009 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31010 }
31011 return resultobj;
31012 fail:
31013 return NULL;
31014 }
31015
31016
31017 static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
31018 PyObject *obj;
31019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31020 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
31021 Py_INCREF(obj);
31022 return Py_BuildValue((char *)"");
31023 }
31024 static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31025 PyObject *resultobj;
31026 int arg1 = (int) 1 ;
31027 int arg2 = (int) 0 ;
31028 int arg3 = (int) 0 ;
31029 int arg4 = (int) 0 ;
31030 wxGridSizer *result;
31031 char *kwnames[] = {
31032 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31033 };
31034
31035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_GridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31036 {
31037 PyThreadState* __tstate = wxPyBeginAllowThreads();
31038 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
31039
31040 wxPyEndAllowThreads(__tstate);
31041 if (PyErr_Occurred()) SWIG_fail;
31042 }
31043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizer, 1);
31044 return resultobj;
31045 fail:
31046 return NULL;
31047 }
31048
31049
31050 static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31051 PyObject *resultobj;
31052 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31053 PyObject * obj0 = 0 ;
31054 char *kwnames[] = {
31055 (char *) "self", NULL
31056 };
31057
31058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31060 {
31061 PyThreadState* __tstate = wxPyBeginAllowThreads();
31062 (arg1)->RecalcSizes();
31063
31064 wxPyEndAllowThreads(__tstate);
31065 if (PyErr_Occurred()) SWIG_fail;
31066 }
31067 Py_INCREF(Py_None); resultobj = Py_None;
31068 return resultobj;
31069 fail:
31070 return NULL;
31071 }
31072
31073
31074 static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31075 PyObject *resultobj;
31076 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31077 wxSize result;
31078 PyObject * obj0 = 0 ;
31079 char *kwnames[] = {
31080 (char *) "self", NULL
31081 };
31082
31083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
31084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31085 {
31086 PyThreadState* __tstate = wxPyBeginAllowThreads();
31087 result = (arg1)->CalcMin();
31088
31089 wxPyEndAllowThreads(__tstate);
31090 if (PyErr_Occurred()) SWIG_fail;
31091 }
31092 {
31093 wxSize * resultptr;
31094 resultptr = new wxSize((wxSize &) result);
31095 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31096 }
31097 return resultobj;
31098 fail:
31099 return NULL;
31100 }
31101
31102
31103 static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31104 PyObject *resultobj;
31105 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31106 int arg2 ;
31107 PyObject * obj0 = 0 ;
31108 char *kwnames[] = {
31109 (char *) "self",(char *) "cols", NULL
31110 };
31111
31112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetCols",kwnames,&obj0,&arg2)) goto fail;
31113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31114 {
31115 PyThreadState* __tstate = wxPyBeginAllowThreads();
31116 (arg1)->SetCols(arg2);
31117
31118 wxPyEndAllowThreads(__tstate);
31119 if (PyErr_Occurred()) SWIG_fail;
31120 }
31121 Py_INCREF(Py_None); resultobj = Py_None;
31122 return resultobj;
31123 fail:
31124 return NULL;
31125 }
31126
31127
31128 static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31129 PyObject *resultobj;
31130 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31131 int arg2 ;
31132 PyObject * obj0 = 0 ;
31133 char *kwnames[] = {
31134 (char *) "self",(char *) "rows", NULL
31135 };
31136
31137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetRows",kwnames,&obj0,&arg2)) goto fail;
31138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31139 {
31140 PyThreadState* __tstate = wxPyBeginAllowThreads();
31141 (arg1)->SetRows(arg2);
31142
31143 wxPyEndAllowThreads(__tstate);
31144 if (PyErr_Occurred()) SWIG_fail;
31145 }
31146 Py_INCREF(Py_None); resultobj = Py_None;
31147 return resultobj;
31148 fail:
31149 return NULL;
31150 }
31151
31152
31153 static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31154 PyObject *resultobj;
31155 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31156 int arg2 ;
31157 PyObject * obj0 = 0 ;
31158 char *kwnames[] = {
31159 (char *) "self",(char *) "gap", NULL
31160 };
31161
31162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetVGap",kwnames,&obj0,&arg2)) goto fail;
31163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31164 {
31165 PyThreadState* __tstate = wxPyBeginAllowThreads();
31166 (arg1)->SetVGap(arg2);
31167
31168 wxPyEndAllowThreads(__tstate);
31169 if (PyErr_Occurred()) SWIG_fail;
31170 }
31171 Py_INCREF(Py_None); resultobj = Py_None;
31172 return resultobj;
31173 fail:
31174 return NULL;
31175 }
31176
31177
31178 static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31179 PyObject *resultobj;
31180 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31181 int arg2 ;
31182 PyObject * obj0 = 0 ;
31183 char *kwnames[] = {
31184 (char *) "self",(char *) "gap", NULL
31185 };
31186
31187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetHGap",kwnames,&obj0,&arg2)) goto fail;
31188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31189 {
31190 PyThreadState* __tstate = wxPyBeginAllowThreads();
31191 (arg1)->SetHGap(arg2);
31192
31193 wxPyEndAllowThreads(__tstate);
31194 if (PyErr_Occurred()) SWIG_fail;
31195 }
31196 Py_INCREF(Py_None); resultobj = Py_None;
31197 return resultobj;
31198 fail:
31199 return NULL;
31200 }
31201
31202
31203 static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31204 PyObject *resultobj;
31205 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31206 int result;
31207 PyObject * obj0 = 0 ;
31208 char *kwnames[] = {
31209 (char *) "self", NULL
31210 };
31211
31212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
31213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31214 {
31215 PyThreadState* __tstate = wxPyBeginAllowThreads();
31216 result = (int)(arg1)->GetCols();
31217
31218 wxPyEndAllowThreads(__tstate);
31219 if (PyErr_Occurred()) SWIG_fail;
31220 }
31221 resultobj = PyInt_FromLong((long)result);
31222 return resultobj;
31223 fail:
31224 return NULL;
31225 }
31226
31227
31228 static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31229 PyObject *resultobj;
31230 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31231 int result;
31232 PyObject * obj0 = 0 ;
31233 char *kwnames[] = {
31234 (char *) "self", NULL
31235 };
31236
31237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
31238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31239 {
31240 PyThreadState* __tstate = wxPyBeginAllowThreads();
31241 result = (int)(arg1)->GetRows();
31242
31243 wxPyEndAllowThreads(__tstate);
31244 if (PyErr_Occurred()) SWIG_fail;
31245 }
31246 resultobj = PyInt_FromLong((long)result);
31247 return resultobj;
31248 fail:
31249 return NULL;
31250 }
31251
31252
31253 static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31254 PyObject *resultobj;
31255 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31256 int result;
31257 PyObject * obj0 = 0 ;
31258 char *kwnames[] = {
31259 (char *) "self", NULL
31260 };
31261
31262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
31263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31264 {
31265 PyThreadState* __tstate = wxPyBeginAllowThreads();
31266 result = (int)(arg1)->GetVGap();
31267
31268 wxPyEndAllowThreads(__tstate);
31269 if (PyErr_Occurred()) SWIG_fail;
31270 }
31271 resultobj = PyInt_FromLong((long)result);
31272 return resultobj;
31273 fail:
31274 return NULL;
31275 }
31276
31277
31278 static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31279 PyObject *resultobj;
31280 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31281 int result;
31282 PyObject * obj0 = 0 ;
31283 char *kwnames[] = {
31284 (char *) "self", NULL
31285 };
31286
31287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
31288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31289 {
31290 PyThreadState* __tstate = wxPyBeginAllowThreads();
31291 result = (int)(arg1)->GetHGap();
31292
31293 wxPyEndAllowThreads(__tstate);
31294 if (PyErr_Occurred()) SWIG_fail;
31295 }
31296 resultobj = PyInt_FromLong((long)result);
31297 return resultobj;
31298 fail:
31299 return NULL;
31300 }
31301
31302
31303 static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
31304 PyObject *obj;
31305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31306 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
31307 Py_INCREF(obj);
31308 return Py_BuildValue((char *)"");
31309 }
31310 static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31311 PyObject *resultobj;
31312 int arg1 = (int) 1 ;
31313 int arg2 = (int) 0 ;
31314 int arg3 = (int) 0 ;
31315 int arg4 = (int) 0 ;
31316 wxFlexGridSizer *result;
31317 char *kwnames[] = {
31318 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31319 };
31320
31321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_FlexGridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31322 {
31323 PyThreadState* __tstate = wxPyBeginAllowThreads();
31324 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
31325
31326 wxPyEndAllowThreads(__tstate);
31327 if (PyErr_Occurred()) SWIG_fail;
31328 }
31329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFlexGridSizer, 1);
31330 return resultobj;
31331 fail:
31332 return NULL;
31333 }
31334
31335
31336 static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31337 PyObject *resultobj;
31338 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31339 PyObject * obj0 = 0 ;
31340 char *kwnames[] = {
31341 (char *) "self", NULL
31342 };
31343
31344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31346 {
31347 PyThreadState* __tstate = wxPyBeginAllowThreads();
31348 (arg1)->RecalcSizes();
31349
31350 wxPyEndAllowThreads(__tstate);
31351 if (PyErr_Occurred()) SWIG_fail;
31352 }
31353 Py_INCREF(Py_None); resultobj = Py_None;
31354 return resultobj;
31355 fail:
31356 return NULL;
31357 }
31358
31359
31360 static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31361 PyObject *resultobj;
31362 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31363 wxSize result;
31364 PyObject * obj0 = 0 ;
31365 char *kwnames[] = {
31366 (char *) "self", NULL
31367 };
31368
31369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
31370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31371 {
31372 PyThreadState* __tstate = wxPyBeginAllowThreads();
31373 result = (arg1)->CalcMin();
31374
31375 wxPyEndAllowThreads(__tstate);
31376 if (PyErr_Occurred()) SWIG_fail;
31377 }
31378 {
31379 wxSize * resultptr;
31380 resultptr = new wxSize((wxSize &) result);
31381 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31382 }
31383 return resultobj;
31384 fail:
31385 return NULL;
31386 }
31387
31388
31389 static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31390 PyObject *resultobj;
31391 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31392 size_t arg2 ;
31393 int arg3 = (int) 0 ;
31394 PyObject * obj0 = 0 ;
31395 PyObject * obj1 = 0 ;
31396 char *kwnames[] = {
31397 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31398 };
31399
31400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&arg3)) goto fail;
31401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31402 arg2 = (size_t) PyInt_AsLong(obj1);
31403 if (PyErr_Occurred()) SWIG_fail;
31404 {
31405 PyThreadState* __tstate = wxPyBeginAllowThreads();
31406 (arg1)->AddGrowableRow(arg2,arg3);
31407
31408 wxPyEndAllowThreads(__tstate);
31409 if (PyErr_Occurred()) SWIG_fail;
31410 }
31411 Py_INCREF(Py_None); resultobj = Py_None;
31412 return resultobj;
31413 fail:
31414 return NULL;
31415 }
31416
31417
31418 static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31419 PyObject *resultobj;
31420 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31421 size_t arg2 ;
31422 PyObject * obj0 = 0 ;
31423 PyObject * obj1 = 0 ;
31424 char *kwnames[] = {
31425 (char *) "self",(char *) "idx", NULL
31426 };
31427
31428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
31429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31430 arg2 = (size_t) PyInt_AsLong(obj1);
31431 if (PyErr_Occurred()) SWIG_fail;
31432 {
31433 PyThreadState* __tstate = wxPyBeginAllowThreads();
31434 (arg1)->RemoveGrowableRow(arg2);
31435
31436 wxPyEndAllowThreads(__tstate);
31437 if (PyErr_Occurred()) SWIG_fail;
31438 }
31439 Py_INCREF(Py_None); resultobj = Py_None;
31440 return resultobj;
31441 fail:
31442 return NULL;
31443 }
31444
31445
31446 static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31447 PyObject *resultobj;
31448 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31449 size_t arg2 ;
31450 int arg3 = (int) 0 ;
31451 PyObject * obj0 = 0 ;
31452 PyObject * obj1 = 0 ;
31453 char *kwnames[] = {
31454 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31455 };
31456
31457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&arg3)) goto fail;
31458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31459 arg2 = (size_t) PyInt_AsLong(obj1);
31460 if (PyErr_Occurred()) SWIG_fail;
31461 {
31462 PyThreadState* __tstate = wxPyBeginAllowThreads();
31463 (arg1)->AddGrowableCol(arg2,arg3);
31464
31465 wxPyEndAllowThreads(__tstate);
31466 if (PyErr_Occurred()) SWIG_fail;
31467 }
31468 Py_INCREF(Py_None); resultobj = Py_None;
31469 return resultobj;
31470 fail:
31471 return NULL;
31472 }
31473
31474
31475 static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31476 PyObject *resultobj;
31477 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31478 size_t arg2 ;
31479 PyObject * obj0 = 0 ;
31480 PyObject * obj1 = 0 ;
31481 char *kwnames[] = {
31482 (char *) "self",(char *) "idx", NULL
31483 };
31484
31485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
31486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31487 arg2 = (size_t) PyInt_AsLong(obj1);
31488 if (PyErr_Occurred()) SWIG_fail;
31489 {
31490 PyThreadState* __tstate = wxPyBeginAllowThreads();
31491 (arg1)->RemoveGrowableCol(arg2);
31492
31493 wxPyEndAllowThreads(__tstate);
31494 if (PyErr_Occurred()) SWIG_fail;
31495 }
31496 Py_INCREF(Py_None); resultobj = Py_None;
31497 return resultobj;
31498 fail:
31499 return NULL;
31500 }
31501
31502
31503 static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31504 PyObject *resultobj;
31505 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31506 int arg2 ;
31507 PyObject * obj0 = 0 ;
31508 char *kwnames[] = {
31509 (char *) "self",(char *) "direction", NULL
31510 };
31511
31512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&arg2)) goto fail;
31513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31514 {
31515 PyThreadState* __tstate = wxPyBeginAllowThreads();
31516 (arg1)->SetFlexibleDirection(arg2);
31517
31518 wxPyEndAllowThreads(__tstate);
31519 if (PyErr_Occurred()) SWIG_fail;
31520 }
31521 Py_INCREF(Py_None); resultobj = Py_None;
31522 return resultobj;
31523 fail:
31524 return NULL;
31525 }
31526
31527
31528 static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31529 PyObject *resultobj;
31530 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31531 int result;
31532 PyObject * obj0 = 0 ;
31533 char *kwnames[] = {
31534 (char *) "self", NULL
31535 };
31536
31537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
31538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31539 {
31540 PyThreadState* __tstate = wxPyBeginAllowThreads();
31541 result = (int)(arg1)->GetFlexibleDirection();
31542
31543 wxPyEndAllowThreads(__tstate);
31544 if (PyErr_Occurred()) SWIG_fail;
31545 }
31546 resultobj = PyInt_FromLong((long)result);
31547 return resultobj;
31548 fail:
31549 return NULL;
31550 }
31551
31552
31553 static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31554 PyObject *resultobj;
31555 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31556 int arg2 ;
31557 PyObject * obj0 = 0 ;
31558 char *kwnames[] = {
31559 (char *) "self",(char *) "mode", NULL
31560 };
31561
31562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&arg2)) goto fail;
31563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31564 {
31565 PyThreadState* __tstate = wxPyBeginAllowThreads();
31566 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
31567
31568 wxPyEndAllowThreads(__tstate);
31569 if (PyErr_Occurred()) SWIG_fail;
31570 }
31571 Py_INCREF(Py_None); resultobj = Py_None;
31572 return resultobj;
31573 fail:
31574 return NULL;
31575 }
31576
31577
31578 static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31579 PyObject *resultobj;
31580 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31581 int result;
31582 PyObject * obj0 = 0 ;
31583 char *kwnames[] = {
31584 (char *) "self", NULL
31585 };
31586
31587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
31588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31589 {
31590 PyThreadState* __tstate = wxPyBeginAllowThreads();
31591 result = (int)(arg1)->GetNonFlexibleGrowMode();
31592
31593 wxPyEndAllowThreads(__tstate);
31594 if (PyErr_Occurred()) SWIG_fail;
31595 }
31596 resultobj = PyInt_FromLong((long)result);
31597 return resultobj;
31598 fail:
31599 return NULL;
31600 }
31601
31602
31603 static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
31604 PyObject *resultobj;
31605 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31606 wxArrayInt *result;
31607 PyObject * obj0 = 0 ;
31608 char *kwnames[] = {
31609 (char *) "self", NULL
31610 };
31611
31612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
31613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31614 {
31615 PyThreadState* __tstate = wxPyBeginAllowThreads();
31616 {
31617 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
31618 result = (wxArrayInt *) &_result_ref;
31619 }
31620
31621 wxPyEndAllowThreads(__tstate);
31622 if (PyErr_Occurred()) SWIG_fail;
31623 }
31624 {
31625 resultobj = PyList_New(0);
31626 size_t idx;
31627 for (idx = 0; idx < result->GetCount(); idx += 1) {
31628 PyObject* val = PyInt_FromLong( result->Item(idx) );
31629 PyList_Append(resultobj, val);
31630 Py_DECREF(val);
31631 }
31632 }
31633 return resultobj;
31634 fail:
31635 return NULL;
31636 }
31637
31638
31639 static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
31640 PyObject *resultobj;
31641 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31642 wxArrayInt *result;
31643 PyObject * obj0 = 0 ;
31644 char *kwnames[] = {
31645 (char *) "self", NULL
31646 };
31647
31648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
31649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31650 {
31651 PyThreadState* __tstate = wxPyBeginAllowThreads();
31652 {
31653 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
31654 result = (wxArrayInt *) &_result_ref;
31655 }
31656
31657 wxPyEndAllowThreads(__tstate);
31658 if (PyErr_Occurred()) SWIG_fail;
31659 }
31660 {
31661 resultobj = PyList_New(0);
31662 size_t idx;
31663 for (idx = 0; idx < result->GetCount(); idx += 1) {
31664 PyObject* val = PyInt_FromLong( result->Item(idx) );
31665 PyList_Append(resultobj, val);
31666 Py_DECREF(val);
31667 }
31668 }
31669 return resultobj;
31670 fail:
31671 return NULL;
31672 }
31673
31674
31675 static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
31676 PyObject *obj;
31677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31678 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
31679 Py_INCREF(obj);
31680 return Py_BuildValue((char *)"");
31681 }
31682 static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
31683 PyObject *resultobj;
31684 int arg1 = (int) 0 ;
31685 int arg2 = (int) 0 ;
31686 wxGBPosition *result;
31687 char *kwnames[] = {
31688 (char *) "row",(char *) "col", NULL
31689 };
31690
31691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBPosition",kwnames,&arg1,&arg2)) goto fail;
31692 {
31693 PyThreadState* __tstate = wxPyBeginAllowThreads();
31694 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
31695
31696 wxPyEndAllowThreads(__tstate);
31697 if (PyErr_Occurred()) SWIG_fail;
31698 }
31699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBPosition, 1);
31700 return resultobj;
31701 fail:
31702 return NULL;
31703 }
31704
31705
31706 static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31707 PyObject *resultobj;
31708 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31709 int result;
31710 PyObject * obj0 = 0 ;
31711 char *kwnames[] = {
31712 (char *) "self", NULL
31713 };
31714
31715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
31716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31717 {
31718 PyThreadState* __tstate = wxPyBeginAllowThreads();
31719 result = (int)((wxGBPosition const *)arg1)->GetRow();
31720
31721 wxPyEndAllowThreads(__tstate);
31722 if (PyErr_Occurred()) SWIG_fail;
31723 }
31724 resultobj = PyInt_FromLong((long)result);
31725 return resultobj;
31726 fail:
31727 return NULL;
31728 }
31729
31730
31731 static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31732 PyObject *resultobj;
31733 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31734 int result;
31735 PyObject * obj0 = 0 ;
31736 char *kwnames[] = {
31737 (char *) "self", NULL
31738 };
31739
31740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
31741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31742 {
31743 PyThreadState* __tstate = wxPyBeginAllowThreads();
31744 result = (int)((wxGBPosition const *)arg1)->GetCol();
31745
31746 wxPyEndAllowThreads(__tstate);
31747 if (PyErr_Occurred()) SWIG_fail;
31748 }
31749 resultobj = PyInt_FromLong((long)result);
31750 return resultobj;
31751 fail:
31752 return NULL;
31753 }
31754
31755
31756 static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31757 PyObject *resultobj;
31758 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31759 int arg2 ;
31760 PyObject * obj0 = 0 ;
31761 char *kwnames[] = {
31762 (char *) "self",(char *) "row", NULL
31763 };
31764
31765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetRow",kwnames,&obj0,&arg2)) goto fail;
31766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31767 {
31768 PyThreadState* __tstate = wxPyBeginAllowThreads();
31769 (arg1)->SetRow(arg2);
31770
31771 wxPyEndAllowThreads(__tstate);
31772 if (PyErr_Occurred()) SWIG_fail;
31773 }
31774 Py_INCREF(Py_None); resultobj = Py_None;
31775 return resultobj;
31776 fail:
31777 return NULL;
31778 }
31779
31780
31781 static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31782 PyObject *resultobj;
31783 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31784 int arg2 ;
31785 PyObject * obj0 = 0 ;
31786 char *kwnames[] = {
31787 (char *) "self",(char *) "col", NULL
31788 };
31789
31790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetCol",kwnames,&obj0,&arg2)) goto fail;
31791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31792 {
31793 PyThreadState* __tstate = wxPyBeginAllowThreads();
31794 (arg1)->SetCol(arg2);
31795
31796 wxPyEndAllowThreads(__tstate);
31797 if (PyErr_Occurred()) SWIG_fail;
31798 }
31799 Py_INCREF(Py_None); resultobj = Py_None;
31800 return resultobj;
31801 fail:
31802 return NULL;
31803 }
31804
31805
31806 static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
31807 PyObject *resultobj;
31808 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31809 wxGBPosition *arg2 = 0 ;
31810 bool result;
31811 wxGBPosition temp2 ;
31812 PyObject * obj0 = 0 ;
31813 PyObject * obj1 = 0 ;
31814 char *kwnames[] = {
31815 (char *) "self",(char *) "p", NULL
31816 };
31817
31818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
31819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31820 {
31821 arg2 = &temp2;
31822 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
31823 }
31824 {
31825 PyThreadState* __tstate = wxPyBeginAllowThreads();
31826 result = (bool)((wxGBPosition const *)arg1)->operator ==((wxGBPosition const &)*arg2);
31827
31828 wxPyEndAllowThreads(__tstate);
31829 if (PyErr_Occurred()) SWIG_fail;
31830 }
31831 resultobj = PyInt_FromLong((long)result);
31832 return resultobj;
31833 fail:
31834 return NULL;
31835 }
31836
31837
31838 static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
31839 PyObject *resultobj;
31840 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31841 wxGBPosition *arg2 = 0 ;
31842 bool result;
31843 wxGBPosition temp2 ;
31844 PyObject * obj0 = 0 ;
31845 PyObject * obj1 = 0 ;
31846 char *kwnames[] = {
31847 (char *) "self",(char *) "p", NULL
31848 };
31849
31850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
31851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31852 {
31853 arg2 = &temp2;
31854 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
31855 }
31856 {
31857 PyThreadState* __tstate = wxPyBeginAllowThreads();
31858 result = (bool)((wxGBPosition const *)arg1)->operator !=((wxGBPosition const &)*arg2);
31859
31860 wxPyEndAllowThreads(__tstate);
31861 if (PyErr_Occurred()) SWIG_fail;
31862 }
31863 resultobj = PyInt_FromLong((long)result);
31864 return resultobj;
31865 fail:
31866 return NULL;
31867 }
31868
31869
31870 static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
31871 PyObject *resultobj;
31872 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31873 int arg2 = (int) 0 ;
31874 int arg3 = (int) 0 ;
31875 PyObject * obj0 = 0 ;
31876 char *kwnames[] = {
31877 (char *) "self",(char *) "row",(char *) "col", NULL
31878 };
31879
31880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBPosition_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
31881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31882 {
31883 PyThreadState* __tstate = wxPyBeginAllowThreads();
31884 wxGBPosition_Set(arg1,arg2,arg3);
31885
31886 wxPyEndAllowThreads(__tstate);
31887 if (PyErr_Occurred()) SWIG_fail;
31888 }
31889 Py_INCREF(Py_None); resultobj = Py_None;
31890 return resultobj;
31891 fail:
31892 return NULL;
31893 }
31894
31895
31896 static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
31897 PyObject *resultobj;
31898 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31899 PyObject *result;
31900 PyObject * obj0 = 0 ;
31901 char *kwnames[] = {
31902 (char *) "self", NULL
31903 };
31904
31905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
31906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31907 {
31908 PyThreadState* __tstate = wxPyBeginAllowThreads();
31909 result = (PyObject *)wxGBPosition_Get(arg1);
31910
31911 wxPyEndAllowThreads(__tstate);
31912 if (PyErr_Occurred()) SWIG_fail;
31913 }
31914 resultobj = result;
31915 return resultobj;
31916 fail:
31917 return NULL;
31918 }
31919
31920
31921 static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
31922 PyObject *obj;
31923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31924 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
31925 Py_INCREF(obj);
31926 return Py_BuildValue((char *)"");
31927 }
31928 static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
31929 PyObject *resultobj;
31930 int arg1 = (int) 1 ;
31931 int arg2 = (int) 1 ;
31932 wxGBSpan *result;
31933 char *kwnames[] = {
31934 (char *) "rowspan",(char *) "colspan", NULL
31935 };
31936
31937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBSpan",kwnames,&arg1,&arg2)) goto fail;
31938 {
31939 PyThreadState* __tstate = wxPyBeginAllowThreads();
31940 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
31941
31942 wxPyEndAllowThreads(__tstate);
31943 if (PyErr_Occurred()) SWIG_fail;
31944 }
31945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSpan, 1);
31946 return resultobj;
31947 fail:
31948 return NULL;
31949 }
31950
31951
31952 static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
31953 PyObject *resultobj;
31954 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
31955 int result;
31956 PyObject * obj0 = 0 ;
31957 char *kwnames[] = {
31958 (char *) "self", NULL
31959 };
31960
31961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
31962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31963 {
31964 PyThreadState* __tstate = wxPyBeginAllowThreads();
31965 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
31966
31967 wxPyEndAllowThreads(__tstate);
31968 if (PyErr_Occurred()) SWIG_fail;
31969 }
31970 resultobj = PyInt_FromLong((long)result);
31971 return resultobj;
31972 fail:
31973 return NULL;
31974 }
31975
31976
31977 static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
31978 PyObject *resultobj;
31979 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
31980 int result;
31981 PyObject * obj0 = 0 ;
31982 char *kwnames[] = {
31983 (char *) "self", NULL
31984 };
31985
31986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
31987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31988 {
31989 PyThreadState* __tstate = wxPyBeginAllowThreads();
31990 result = (int)((wxGBSpan const *)arg1)->GetColspan();
31991
31992 wxPyEndAllowThreads(__tstate);
31993 if (PyErr_Occurred()) SWIG_fail;
31994 }
31995 resultobj = PyInt_FromLong((long)result);
31996 return resultobj;
31997 fail:
31998 return NULL;
31999 }
32000
32001
32002 static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32003 PyObject *resultobj;
32004 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32005 int arg2 ;
32006 PyObject * obj0 = 0 ;
32007 char *kwnames[] = {
32008 (char *) "self",(char *) "rowspan", NULL
32009 };
32010
32011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetRowspan",kwnames,&obj0,&arg2)) goto fail;
32012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32013 {
32014 PyThreadState* __tstate = wxPyBeginAllowThreads();
32015 (arg1)->SetRowspan(arg2);
32016
32017 wxPyEndAllowThreads(__tstate);
32018 if (PyErr_Occurred()) SWIG_fail;
32019 }
32020 Py_INCREF(Py_None); resultobj = Py_None;
32021 return resultobj;
32022 fail:
32023 return NULL;
32024 }
32025
32026
32027 static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32028 PyObject *resultobj;
32029 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32030 int arg2 ;
32031 PyObject * obj0 = 0 ;
32032 char *kwnames[] = {
32033 (char *) "self",(char *) "colspan", NULL
32034 };
32035
32036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetColspan",kwnames,&obj0,&arg2)) goto fail;
32037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32038 {
32039 PyThreadState* __tstate = wxPyBeginAllowThreads();
32040 (arg1)->SetColspan(arg2);
32041
32042 wxPyEndAllowThreads(__tstate);
32043 if (PyErr_Occurred()) SWIG_fail;
32044 }
32045 Py_INCREF(Py_None); resultobj = Py_None;
32046 return resultobj;
32047 fail:
32048 return NULL;
32049 }
32050
32051
32052 static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32053 PyObject *resultobj;
32054 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32055 wxGBSpan *arg2 = 0 ;
32056 bool result;
32057 wxGBSpan temp2 ;
32058 PyObject * obj0 = 0 ;
32059 PyObject * obj1 = 0 ;
32060 char *kwnames[] = {
32061 (char *) "self",(char *) "o", NULL
32062 };
32063
32064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
32065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32066 {
32067 arg2 = &temp2;
32068 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32069 }
32070 {
32071 PyThreadState* __tstate = wxPyBeginAllowThreads();
32072 result = (bool)((wxGBSpan const *)arg1)->operator ==((wxGBSpan const &)*arg2);
32073
32074 wxPyEndAllowThreads(__tstate);
32075 if (PyErr_Occurred()) SWIG_fail;
32076 }
32077 resultobj = PyInt_FromLong((long)result);
32078 return resultobj;
32079 fail:
32080 return NULL;
32081 }
32082
32083
32084 static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32085 PyObject *resultobj;
32086 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32087 wxGBSpan *arg2 = 0 ;
32088 bool result;
32089 wxGBSpan temp2 ;
32090 PyObject * obj0 = 0 ;
32091 PyObject * obj1 = 0 ;
32092 char *kwnames[] = {
32093 (char *) "self",(char *) "o", NULL
32094 };
32095
32096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
32097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32098 {
32099 arg2 = &temp2;
32100 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32101 }
32102 {
32103 PyThreadState* __tstate = wxPyBeginAllowThreads();
32104 result = (bool)((wxGBSpan const *)arg1)->operator !=((wxGBSpan const &)*arg2);
32105
32106 wxPyEndAllowThreads(__tstate);
32107 if (PyErr_Occurred()) SWIG_fail;
32108 }
32109 resultobj = PyInt_FromLong((long)result);
32110 return resultobj;
32111 fail:
32112 return NULL;
32113 }
32114
32115
32116 static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32117 PyObject *resultobj;
32118 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32119 int arg2 = (int) 1 ;
32120 int arg3 = (int) 1 ;
32121 PyObject * obj0 = 0 ;
32122 char *kwnames[] = {
32123 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32124 };
32125
32126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBSpan_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32128 {
32129 PyThreadState* __tstate = wxPyBeginAllowThreads();
32130 wxGBSpan_Set(arg1,arg2,arg3);
32131
32132 wxPyEndAllowThreads(__tstate);
32133 if (PyErr_Occurred()) SWIG_fail;
32134 }
32135 Py_INCREF(Py_None); resultobj = Py_None;
32136 return resultobj;
32137 fail:
32138 return NULL;
32139 }
32140
32141
32142 static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
32143 PyObject *resultobj;
32144 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32145 PyObject *result;
32146 PyObject * obj0 = 0 ;
32147 char *kwnames[] = {
32148 (char *) "self", NULL
32149 };
32150
32151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
32152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32153 {
32154 PyThreadState* __tstate = wxPyBeginAllowThreads();
32155 result = (PyObject *)wxGBSpan_Get(arg1);
32156
32157 wxPyEndAllowThreads(__tstate);
32158 if (PyErr_Occurred()) SWIG_fail;
32159 }
32160 resultobj = result;
32161 return resultobj;
32162 fail:
32163 return NULL;
32164 }
32165
32166
32167 static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
32168 PyObject *obj;
32169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32170 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
32171 Py_INCREF(obj);
32172 return Py_BuildValue((char *)"");
32173 }
32174 static int _wrap_DefaultSpan_set(PyObject *_val) {
32175 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
32176 return 1;
32177 }
32178
32179
32180 static PyObject *_wrap_DefaultSpan_get() {
32181 PyObject *pyobj;
32182
32183 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSpan, SWIGTYPE_p_wxGBSpan, 0);
32184 return pyobj;
32185 }
32186
32187
32188 static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32189 PyObject *resultobj;
32190 wxGBSizerItem *result;
32191 char *kwnames[] = {
32192 NULL
32193 };
32194
32195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
32196 {
32197 PyThreadState* __tstate = wxPyBeginAllowThreads();
32198 result = (wxGBSizerItem *)new wxGBSizerItem();
32199
32200 wxPyEndAllowThreads(__tstate);
32201 if (PyErr_Occurred()) SWIG_fail;
32202 }
32203 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32204 return resultobj;
32205 fail:
32206 return NULL;
32207 }
32208
32209
32210 static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32211 PyObject *resultobj;
32212 wxWindow *arg1 = (wxWindow *) 0 ;
32213 wxGBPosition *arg2 = 0 ;
32214 wxGBSpan *arg3 = 0 ;
32215 int arg4 ;
32216 int arg5 ;
32217 wxObject *arg6 = (wxObject *) 0 ;
32218 wxGBSizerItem *result;
32219 wxGBPosition temp2 ;
32220 wxGBSpan temp3 ;
32221 PyObject * obj0 = 0 ;
32222 PyObject * obj1 = 0 ;
32223 PyObject * obj2 = 0 ;
32224 PyObject * obj5 = 0 ;
32225 char *kwnames[] = {
32226 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32227 };
32228
32229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32231 {
32232 arg2 = &temp2;
32233 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32234 }
32235 {
32236 arg3 = &temp3;
32237 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32238 }
32239 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32240 {
32241 PyThreadState* __tstate = wxPyBeginAllowThreads();
32242 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32243
32244 wxPyEndAllowThreads(__tstate);
32245 if (PyErr_Occurred()) SWIG_fail;
32246 }
32247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32248 return resultobj;
32249 fail:
32250 return NULL;
32251 }
32252
32253
32254 static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32255 PyObject *resultobj;
32256 wxSizer *arg1 = (wxSizer *) 0 ;
32257 wxGBPosition *arg2 = 0 ;
32258 wxGBSpan *arg3 = 0 ;
32259 int arg4 ;
32260 int arg5 ;
32261 wxObject *arg6 = (wxObject *) 0 ;
32262 wxGBSizerItem *result;
32263 wxGBPosition temp2 ;
32264 wxGBSpan temp3 ;
32265 PyObject * obj0 = 0 ;
32266 PyObject * obj1 = 0 ;
32267 PyObject * obj2 = 0 ;
32268 PyObject * obj5 = 0 ;
32269 char *kwnames[] = {
32270 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32271 };
32272
32273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32275 {
32276 arg2 = &temp2;
32277 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32278 }
32279 {
32280 arg3 = &temp3;
32281 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32282 }
32283 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32284 {
32285 PyThreadState* __tstate = wxPyBeginAllowThreads();
32286 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32287
32288 wxPyEndAllowThreads(__tstate);
32289 if (PyErr_Occurred()) SWIG_fail;
32290 }
32291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32292 return resultobj;
32293 fail:
32294 return NULL;
32295 }
32296
32297
32298 static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32299 PyObject *resultobj;
32300 int arg1 ;
32301 int arg2 ;
32302 wxGBPosition *arg3 = 0 ;
32303 wxGBSpan *arg4 = 0 ;
32304 int arg5 ;
32305 int arg6 ;
32306 wxObject *arg7 = (wxObject *) 0 ;
32307 wxGBSizerItem *result;
32308 wxGBPosition temp3 ;
32309 wxGBSpan temp4 ;
32310 PyObject * obj2 = 0 ;
32311 PyObject * obj3 = 0 ;
32312 PyObject * obj6 = 0 ;
32313 char *kwnames[] = {
32314 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32315 };
32316
32317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames,&arg1,&arg2,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32318 {
32319 arg3 = &temp3;
32320 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32321 }
32322 {
32323 arg4 = &temp4;
32324 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32325 }
32326 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32327 {
32328 PyThreadState* __tstate = wxPyBeginAllowThreads();
32329 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32330
32331 wxPyEndAllowThreads(__tstate);
32332 if (PyErr_Occurred()) SWIG_fail;
32333 }
32334 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32335 return resultobj;
32336 fail:
32337 return NULL;
32338 }
32339
32340
32341 static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32342 PyObject *resultobj;
32343 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32344 wxGBPosition result;
32345 PyObject * obj0 = 0 ;
32346 char *kwnames[] = {
32347 (char *) "self", NULL
32348 };
32349
32350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
32351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32352 {
32353 PyThreadState* __tstate = wxPyBeginAllowThreads();
32354 result = ((wxGBSizerItem const *)arg1)->GetPos();
32355
32356 wxPyEndAllowThreads(__tstate);
32357 if (PyErr_Occurred()) SWIG_fail;
32358 }
32359 {
32360 wxGBPosition * resultptr;
32361 resultptr = new wxGBPosition((wxGBPosition &) result);
32362 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32363 }
32364 return resultobj;
32365 fail:
32366 return NULL;
32367 }
32368
32369
32370 static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32371 PyObject *resultobj;
32372 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32373 wxGBSpan result;
32374 PyObject * obj0 = 0 ;
32375 char *kwnames[] = {
32376 (char *) "self", NULL
32377 };
32378
32379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
32380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32381 {
32382 PyThreadState* __tstate = wxPyBeginAllowThreads();
32383 result = ((wxGBSizerItem const *)arg1)->GetSpan();
32384
32385 wxPyEndAllowThreads(__tstate);
32386 if (PyErr_Occurred()) SWIG_fail;
32387 }
32388 {
32389 wxGBSpan * resultptr;
32390 resultptr = new wxGBSpan((wxGBSpan &) result);
32391 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
32392 }
32393 return resultobj;
32394 fail:
32395 return NULL;
32396 }
32397
32398
32399 static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32400 PyObject *resultobj;
32401 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32402 wxGBPosition *arg2 = 0 ;
32403 bool result;
32404 wxGBPosition temp2 ;
32405 PyObject * obj0 = 0 ;
32406 PyObject * obj1 = 0 ;
32407 char *kwnames[] = {
32408 (char *) "self",(char *) "pos", NULL
32409 };
32410
32411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
32412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32413 {
32414 arg2 = &temp2;
32415 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32416 }
32417 {
32418 PyThreadState* __tstate = wxPyBeginAllowThreads();
32419 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
32420
32421 wxPyEndAllowThreads(__tstate);
32422 if (PyErr_Occurred()) SWIG_fail;
32423 }
32424 resultobj = PyInt_FromLong((long)result);
32425 return resultobj;
32426 fail:
32427 return NULL;
32428 }
32429
32430
32431 static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32432 PyObject *resultobj;
32433 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32434 wxGBSpan *arg2 = 0 ;
32435 bool result;
32436 wxGBSpan temp2 ;
32437 PyObject * obj0 = 0 ;
32438 PyObject * obj1 = 0 ;
32439 char *kwnames[] = {
32440 (char *) "self",(char *) "span", NULL
32441 };
32442
32443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
32444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32445 {
32446 arg2 = &temp2;
32447 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32448 }
32449 {
32450 PyThreadState* __tstate = wxPyBeginAllowThreads();
32451 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
32452
32453 wxPyEndAllowThreads(__tstate);
32454 if (PyErr_Occurred()) SWIG_fail;
32455 }
32456 resultobj = PyInt_FromLong((long)result);
32457 return resultobj;
32458 fail:
32459 return NULL;
32460 }
32461
32462
32463 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
32464 PyObject *resultobj;
32465 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32466 wxGBSizerItem *arg2 = 0 ;
32467 bool result;
32468 PyObject * obj0 = 0 ;
32469 PyObject * obj1 = 0 ;
32470
32471 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
32472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32473 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32474 if (arg2 == NULL) {
32475 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32476 }
32477 {
32478 PyThreadState* __tstate = wxPyBeginAllowThreads();
32479 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
32480
32481 wxPyEndAllowThreads(__tstate);
32482 if (PyErr_Occurred()) SWIG_fail;
32483 }
32484 resultobj = PyInt_FromLong((long)result);
32485 return resultobj;
32486 fail:
32487 return NULL;
32488 }
32489
32490
32491 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
32492 PyObject *resultobj;
32493 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32494 wxGBPosition *arg2 = 0 ;
32495 wxGBSpan *arg3 = 0 ;
32496 bool result;
32497 wxGBPosition temp2 ;
32498 wxGBSpan temp3 ;
32499 PyObject * obj0 = 0 ;
32500 PyObject * obj1 = 0 ;
32501 PyObject * obj2 = 0 ;
32502
32503 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
32504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32505 {
32506 arg2 = &temp2;
32507 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32508 }
32509 {
32510 arg3 = &temp3;
32511 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32512 }
32513 {
32514 PyThreadState* __tstate = wxPyBeginAllowThreads();
32515 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
32516
32517 wxPyEndAllowThreads(__tstate);
32518 if (PyErr_Occurred()) SWIG_fail;
32519 }
32520 resultobj = PyInt_FromLong((long)result);
32521 return resultobj;
32522 fail:
32523 return NULL;
32524 }
32525
32526
32527 static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
32528 int argc;
32529 PyObject *argv[4];
32530 int ii;
32531
32532 argc = PyObject_Length(args);
32533 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
32534 argv[ii] = PyTuple_GetItem(args,ii);
32535 }
32536 if (argc == 2) {
32537 int _v;
32538 {
32539 void *ptr;
32540 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32541 _v = 0;
32542 PyErr_Clear();
32543 } else {
32544 _v = 1;
32545 }
32546 }
32547 if (_v) {
32548 {
32549 void *ptr;
32550 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32551 _v = 0;
32552 PyErr_Clear();
32553 } else {
32554 _v = 1;
32555 }
32556 }
32557 if (_v) {
32558 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
32559 }
32560 }
32561 }
32562 if (argc == 3) {
32563 int _v;
32564 {
32565 void *ptr;
32566 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32567 _v = 0;
32568 PyErr_Clear();
32569 } else {
32570 _v = 1;
32571 }
32572 }
32573 if (_v) {
32574 {
32575 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
32576 }
32577 if (_v) {
32578 {
32579 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
32580 }
32581 if (_v) {
32582 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
32583 }
32584 }
32585 }
32586 }
32587
32588 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
32589 return NULL;
32590 }
32591
32592
32593 static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32594 PyObject *resultobj;
32595 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32596 int *arg2 = 0 ;
32597 int *arg3 = 0 ;
32598 PyObject * obj0 = 0 ;
32599 PyObject * obj1 = 0 ;
32600 PyObject * obj2 = 0 ;
32601 char *kwnames[] = {
32602 (char *) "self",(char *) "row",(char *) "col", NULL
32603 };
32604
32605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
32606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32608 if (arg2 == NULL) {
32609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32610 }
32611 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32612 if (arg3 == NULL) {
32613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32614 }
32615 {
32616 PyThreadState* __tstate = wxPyBeginAllowThreads();
32617 (arg1)->GetEndPos(*arg2,*arg3);
32618
32619 wxPyEndAllowThreads(__tstate);
32620 if (PyErr_Occurred()) SWIG_fail;
32621 }
32622 Py_INCREF(Py_None); resultobj = Py_None;
32623 return resultobj;
32624 fail:
32625 return NULL;
32626 }
32627
32628
32629 static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32630 PyObject *resultobj;
32631 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32632 wxGridBagSizer *result;
32633 PyObject * obj0 = 0 ;
32634 char *kwnames[] = {
32635 (char *) "self", NULL
32636 };
32637
32638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
32639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32640 {
32641 PyThreadState* __tstate = wxPyBeginAllowThreads();
32642 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
32643
32644 wxPyEndAllowThreads(__tstate);
32645 if (PyErr_Occurred()) SWIG_fail;
32646 }
32647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 0);
32648 return resultobj;
32649 fail:
32650 return NULL;
32651 }
32652
32653
32654 static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32655 PyObject *resultobj;
32656 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32657 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
32658 PyObject * obj0 = 0 ;
32659 PyObject * obj1 = 0 ;
32660 char *kwnames[] = {
32661 (char *) "self",(char *) "sizer", NULL
32662 };
32663
32664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
32665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32667 {
32668 PyThreadState* __tstate = wxPyBeginAllowThreads();
32669 (arg1)->SetGBSizer(arg2);
32670
32671 wxPyEndAllowThreads(__tstate);
32672 if (PyErr_Occurred()) SWIG_fail;
32673 }
32674 Py_INCREF(Py_None); resultobj = Py_None;
32675 return resultobj;
32676 fail:
32677 return NULL;
32678 }
32679
32680
32681 static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
32682 PyObject *obj;
32683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32684 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
32685 Py_INCREF(obj);
32686 return Py_BuildValue((char *)"");
32687 }
32688 static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32689 PyObject *resultobj;
32690 int arg1 = (int) 0 ;
32691 int arg2 = (int) 0 ;
32692 wxGridBagSizer *result;
32693 char *kwnames[] = {
32694 (char *) "vgap",(char *) "hgap", NULL
32695 };
32696
32697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridBagSizer",kwnames,&arg1,&arg2)) goto fail;
32698 {
32699 PyThreadState* __tstate = wxPyBeginAllowThreads();
32700 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
32701
32702 wxPyEndAllowThreads(__tstate);
32703 if (PyErr_Occurred()) SWIG_fail;
32704 }
32705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 1);
32706 return resultobj;
32707 fail:
32708 return NULL;
32709 }
32710
32711
32712 static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
32713 PyObject *resultobj;
32714 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32715 PyObject *arg2 = (PyObject *) 0 ;
32716 wxGBPosition *arg3 = 0 ;
32717 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
32718 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
32719 int arg5 = (int) 0 ;
32720 int arg6 = (int) 0 ;
32721 PyObject *arg7 = (PyObject *) NULL ;
32722 bool result;
32723 wxGBPosition temp3 ;
32724 wxGBSpan temp4 ;
32725 PyObject * obj0 = 0 ;
32726 PyObject * obj1 = 0 ;
32727 PyObject * obj2 = 0 ;
32728 PyObject * obj3 = 0 ;
32729 PyObject * obj6 = 0 ;
32730 char *kwnames[] = {
32731 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32732 };
32733
32734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32736 arg2 = obj1;
32737 {
32738 arg3 = &temp3;
32739 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32740 }
32741 if (obj3) {
32742 {
32743 arg4 = &temp4;
32744 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32745 }
32746 }
32747 if (obj6) {
32748 arg7 = obj6;
32749 }
32750 {
32751 PyThreadState* __tstate = wxPyBeginAllowThreads();
32752 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32753
32754 wxPyEndAllowThreads(__tstate);
32755 if (PyErr_Occurred()) SWIG_fail;
32756 }
32757 resultobj = PyInt_FromLong((long)result);
32758 return resultobj;
32759 fail:
32760 return NULL;
32761 }
32762
32763
32764 static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32765 PyObject *resultobj;
32766 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32767 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
32768 bool result;
32769 PyObject * obj0 = 0 ;
32770 PyObject * obj1 = 0 ;
32771 char *kwnames[] = {
32772 (char *) "self",(char *) "item", NULL
32773 };
32774
32775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
32776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32778 {
32779 PyThreadState* __tstate = wxPyBeginAllowThreads();
32780 result = (bool)(arg1)->Add(arg2);
32781
32782 wxPyEndAllowThreads(__tstate);
32783 if (PyErr_Occurred()) SWIG_fail;
32784 }
32785 resultobj = PyInt_FromLong((long)result);
32786 return resultobj;
32787 fail:
32788 return NULL;
32789 }
32790
32791
32792 static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32793 PyObject *resultobj;
32794 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32795 wxSize result;
32796 PyObject * obj0 = 0 ;
32797 char *kwnames[] = {
32798 (char *) "self", NULL
32799 };
32800
32801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
32802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32803 {
32804 PyThreadState* __tstate = wxPyBeginAllowThreads();
32805 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
32806
32807 wxPyEndAllowThreads(__tstate);
32808 if (PyErr_Occurred()) SWIG_fail;
32809 }
32810 {
32811 wxSize * resultptr;
32812 resultptr = new wxSize((wxSize &) result);
32813 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
32814 }
32815 return resultobj;
32816 fail:
32817 return NULL;
32818 }
32819
32820
32821 static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32822 PyObject *resultobj;
32823 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32824 wxSize *arg2 = 0 ;
32825 wxSize temp2 ;
32826 PyObject * obj0 = 0 ;
32827 PyObject * obj1 = 0 ;
32828 char *kwnames[] = {
32829 (char *) "self",(char *) "sz", NULL
32830 };
32831
32832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
32833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32834 {
32835 arg2 = &temp2;
32836 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32837 }
32838 {
32839 PyThreadState* __tstate = wxPyBeginAllowThreads();
32840 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
32841
32842 wxPyEndAllowThreads(__tstate);
32843 if (PyErr_Occurred()) SWIG_fail;
32844 }
32845 Py_INCREF(Py_None); resultobj = Py_None;
32846 return resultobj;
32847 fail:
32848 return NULL;
32849 }
32850
32851
32852 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
32853 PyObject *resultobj;
32854 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32855 wxWindow *arg2 = (wxWindow *) 0 ;
32856 wxGBPosition result;
32857 PyObject * obj0 = 0 ;
32858 PyObject * obj1 = 0 ;
32859
32860 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32863 {
32864 PyThreadState* __tstate = wxPyBeginAllowThreads();
32865 result = (arg1)->GetItemPosition(arg2);
32866
32867 wxPyEndAllowThreads(__tstate);
32868 if (PyErr_Occurred()) SWIG_fail;
32869 }
32870 {
32871 wxGBPosition * resultptr;
32872 resultptr = new wxGBPosition((wxGBPosition &) result);
32873 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32874 }
32875 return resultobj;
32876 fail:
32877 return NULL;
32878 }
32879
32880
32881 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
32882 PyObject *resultobj;
32883 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32884 wxSizer *arg2 = (wxSizer *) 0 ;
32885 wxGBPosition result;
32886 PyObject * obj0 = 0 ;
32887 PyObject * obj1 = 0 ;
32888
32889 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) 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__SWIG_2(PyObject *self, PyObject *args) {
32911 PyObject *resultobj;
32912 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32913 size_t arg2 ;
32914 wxGBPosition result;
32915 PyObject * obj0 = 0 ;
32916 PyObject * obj1 = 0 ;
32917
32918 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32920 arg2 = (size_t) PyInt_AsLong(obj1);
32921 if (PyErr_Occurred()) SWIG_fail;
32922 {
32923 PyThreadState* __tstate = wxPyBeginAllowThreads();
32924 result = (arg1)->GetItemPosition(arg2);
32925
32926 wxPyEndAllowThreads(__tstate);
32927 if (PyErr_Occurred()) SWIG_fail;
32928 }
32929 {
32930 wxGBPosition * resultptr;
32931 resultptr = new wxGBPosition((wxGBPosition &) result);
32932 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32933 }
32934 return resultobj;
32935 fail:
32936 return NULL;
32937 }
32938
32939
32940 static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
32941 int argc;
32942 PyObject *argv[3];
32943 int ii;
32944
32945 argc = PyObject_Length(args);
32946 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
32947 argv[ii] = PyTuple_GetItem(args,ii);
32948 }
32949 if (argc == 2) {
32950 int _v;
32951 {
32952 void *ptr;
32953 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
32954 _v = 0;
32955 PyErr_Clear();
32956 } else {
32957 _v = 1;
32958 }
32959 }
32960 if (_v) {
32961 {
32962 void *ptr;
32963 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
32964 _v = 0;
32965 PyErr_Clear();
32966 } else {
32967 _v = 1;
32968 }
32969 }
32970 if (_v) {
32971 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
32972 }
32973 }
32974 }
32975 if (argc == 2) {
32976 int _v;
32977 {
32978 void *ptr;
32979 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
32980 _v = 0;
32981 PyErr_Clear();
32982 } else {
32983 _v = 1;
32984 }
32985 }
32986 if (_v) {
32987 {
32988 void *ptr;
32989 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
32990 _v = 0;
32991 PyErr_Clear();
32992 } else {
32993 _v = 1;
32994 }
32995 }
32996 if (_v) {
32997 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
32998 }
32999 }
33000 }
33001 if (argc == 2) {
33002 int _v;
33003 {
33004 void *ptr;
33005 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33006 _v = 0;
33007 PyErr_Clear();
33008 } else {
33009 _v = 1;
33010 }
33011 }
33012 if (_v) {
33013 {
33014 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33015 }
33016 if (_v) {
33017 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
33018 }
33019 }
33020 }
33021
33022 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33023 return NULL;
33024 }
33025
33026
33027 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33028 PyObject *resultobj;
33029 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33030 wxWindow *arg2 = (wxWindow *) 0 ;
33031 wxGBPosition *arg3 = 0 ;
33032 bool result;
33033 wxGBPosition temp3 ;
33034 PyObject * obj0 = 0 ;
33035 PyObject * obj1 = 0 ;
33036 PyObject * obj2 = 0 ;
33037
33038 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33041 {
33042 arg3 = &temp3;
33043 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33044 }
33045 {
33046 PyThreadState* __tstate = wxPyBeginAllowThreads();
33047 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33048
33049 wxPyEndAllowThreads(__tstate);
33050 if (PyErr_Occurred()) SWIG_fail;
33051 }
33052 resultobj = PyInt_FromLong((long)result);
33053 return resultobj;
33054 fail:
33055 return NULL;
33056 }
33057
33058
33059 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33060 PyObject *resultobj;
33061 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33062 wxSizer *arg2 = (wxSizer *) 0 ;
33063 wxGBPosition *arg3 = 0 ;
33064 bool result;
33065 wxGBPosition temp3 ;
33066 PyObject * obj0 = 0 ;
33067 PyObject * obj1 = 0 ;
33068 PyObject * obj2 = 0 ;
33069
33070 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33073 {
33074 arg3 = &temp3;
33075 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33076 }
33077 {
33078 PyThreadState* __tstate = wxPyBeginAllowThreads();
33079 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33080
33081 wxPyEndAllowThreads(__tstate);
33082 if (PyErr_Occurred()) SWIG_fail;
33083 }
33084 resultobj = PyInt_FromLong((long)result);
33085 return resultobj;
33086 fail:
33087 return NULL;
33088 }
33089
33090
33091 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33092 PyObject *resultobj;
33093 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33094 size_t arg2 ;
33095 wxGBPosition *arg3 = 0 ;
33096 bool result;
33097 wxGBPosition temp3 ;
33098 PyObject * obj0 = 0 ;
33099 PyObject * obj1 = 0 ;
33100 PyObject * obj2 = 0 ;
33101
33102 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33104 arg2 = (size_t) PyInt_AsLong(obj1);
33105 if (PyErr_Occurred()) SWIG_fail;
33106 {
33107 arg3 = &temp3;
33108 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33109 }
33110 {
33111 PyThreadState* __tstate = wxPyBeginAllowThreads();
33112 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33113
33114 wxPyEndAllowThreads(__tstate);
33115 if (PyErr_Occurred()) SWIG_fail;
33116 }
33117 resultobj = PyInt_FromLong((long)result);
33118 return resultobj;
33119 fail:
33120 return NULL;
33121 }
33122
33123
33124 static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
33125 int argc;
33126 PyObject *argv[4];
33127 int ii;
33128
33129 argc = PyObject_Length(args);
33130 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33131 argv[ii] = PyTuple_GetItem(args,ii);
33132 }
33133 if (argc == 3) {
33134 int _v;
33135 {
33136 void *ptr;
33137 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33138 _v = 0;
33139 PyErr_Clear();
33140 } else {
33141 _v = 1;
33142 }
33143 }
33144 if (_v) {
33145 {
33146 void *ptr;
33147 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33148 _v = 0;
33149 PyErr_Clear();
33150 } else {
33151 _v = 1;
33152 }
33153 }
33154 if (_v) {
33155 {
33156 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33157 }
33158 if (_v) {
33159 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
33160 }
33161 }
33162 }
33163 }
33164 if (argc == 3) {
33165 int _v;
33166 {
33167 void *ptr;
33168 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33169 _v = 0;
33170 PyErr_Clear();
33171 } else {
33172 _v = 1;
33173 }
33174 }
33175 if (_v) {
33176 {
33177 void *ptr;
33178 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33179 _v = 0;
33180 PyErr_Clear();
33181 } else {
33182 _v = 1;
33183 }
33184 }
33185 if (_v) {
33186 {
33187 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33188 }
33189 if (_v) {
33190 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
33191 }
33192 }
33193 }
33194 }
33195 if (argc == 3) {
33196 int _v;
33197 {
33198 void *ptr;
33199 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33200 _v = 0;
33201 PyErr_Clear();
33202 } else {
33203 _v = 1;
33204 }
33205 }
33206 if (_v) {
33207 {
33208 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33209 }
33210 if (_v) {
33211 {
33212 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33213 }
33214 if (_v) {
33215 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
33216 }
33217 }
33218 }
33219 }
33220
33221 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33222 return NULL;
33223 }
33224
33225
33226 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33227 PyObject *resultobj;
33228 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33229 wxWindow *arg2 = (wxWindow *) 0 ;
33230 wxGBSpan result;
33231 PyObject * obj0 = 0 ;
33232 PyObject * obj1 = 0 ;
33233
33234 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33237 {
33238 PyThreadState* __tstate = wxPyBeginAllowThreads();
33239 result = (arg1)->GetItemSpan(arg2);
33240
33241 wxPyEndAllowThreads(__tstate);
33242 if (PyErr_Occurred()) SWIG_fail;
33243 }
33244 {
33245 wxGBSpan * resultptr;
33246 resultptr = new wxGBSpan((wxGBSpan &) result);
33247 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33248 }
33249 return resultobj;
33250 fail:
33251 return NULL;
33252 }
33253
33254
33255 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33256 PyObject *resultobj;
33257 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33258 wxSizer *arg2 = (wxSizer *) 0 ;
33259 wxGBSpan result;
33260 PyObject * obj0 = 0 ;
33261 PyObject * obj1 = 0 ;
33262
33263 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) 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__SWIG_2(PyObject *self, PyObject *args) {
33285 PyObject *resultobj;
33286 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33287 size_t arg2 ;
33288 wxGBSpan result;
33289 PyObject * obj0 = 0 ;
33290 PyObject * obj1 = 0 ;
33291
33292 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33294 arg2 = (size_t) PyInt_AsLong(obj1);
33295 if (PyErr_Occurred()) SWIG_fail;
33296 {
33297 PyThreadState* __tstate = wxPyBeginAllowThreads();
33298 result = (arg1)->GetItemSpan(arg2);
33299
33300 wxPyEndAllowThreads(__tstate);
33301 if (PyErr_Occurred()) SWIG_fail;
33302 }
33303 {
33304 wxGBSpan * resultptr;
33305 resultptr = new wxGBSpan((wxGBSpan &) result);
33306 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33307 }
33308 return resultobj;
33309 fail:
33310 return NULL;
33311 }
33312
33313
33314 static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
33315 int argc;
33316 PyObject *argv[3];
33317 int ii;
33318
33319 argc = PyObject_Length(args);
33320 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33321 argv[ii] = PyTuple_GetItem(args,ii);
33322 }
33323 if (argc == 2) {
33324 int _v;
33325 {
33326 void *ptr;
33327 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33328 _v = 0;
33329 PyErr_Clear();
33330 } else {
33331 _v = 1;
33332 }
33333 }
33334 if (_v) {
33335 {
33336 void *ptr;
33337 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33338 _v = 0;
33339 PyErr_Clear();
33340 } else {
33341 _v = 1;
33342 }
33343 }
33344 if (_v) {
33345 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
33346 }
33347 }
33348 }
33349 if (argc == 2) {
33350 int _v;
33351 {
33352 void *ptr;
33353 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33354 _v = 0;
33355 PyErr_Clear();
33356 } else {
33357 _v = 1;
33358 }
33359 }
33360 if (_v) {
33361 {
33362 void *ptr;
33363 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33364 _v = 0;
33365 PyErr_Clear();
33366 } else {
33367 _v = 1;
33368 }
33369 }
33370 if (_v) {
33371 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
33372 }
33373 }
33374 }
33375 if (argc == 2) {
33376 int _v;
33377 {
33378 void *ptr;
33379 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33380 _v = 0;
33381 PyErr_Clear();
33382 } else {
33383 _v = 1;
33384 }
33385 }
33386 if (_v) {
33387 {
33388 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33389 }
33390 if (_v) {
33391 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
33392 }
33393 }
33394 }
33395
33396 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33397 return NULL;
33398 }
33399
33400
33401 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33402 PyObject *resultobj;
33403 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33404 wxWindow *arg2 = (wxWindow *) 0 ;
33405 wxGBSpan *arg3 = 0 ;
33406 bool result;
33407 wxGBSpan temp3 ;
33408 PyObject * obj0 = 0 ;
33409 PyObject * obj1 = 0 ;
33410 PyObject * obj2 = 0 ;
33411
33412 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33414 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33415 {
33416 arg3 = &temp3;
33417 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33418 }
33419 {
33420 PyThreadState* __tstate = wxPyBeginAllowThreads();
33421 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33422
33423 wxPyEndAllowThreads(__tstate);
33424 if (PyErr_Occurred()) SWIG_fail;
33425 }
33426 resultobj = PyInt_FromLong((long)result);
33427 return resultobj;
33428 fail:
33429 return NULL;
33430 }
33431
33432
33433 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33434 PyObject *resultobj;
33435 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33436 wxSizer *arg2 = (wxSizer *) 0 ;
33437 wxGBSpan *arg3 = 0 ;
33438 bool result;
33439 wxGBSpan temp3 ;
33440 PyObject * obj0 = 0 ;
33441 PyObject * obj1 = 0 ;
33442 PyObject * obj2 = 0 ;
33443
33444 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33447 {
33448 arg3 = &temp3;
33449 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33450 }
33451 {
33452 PyThreadState* __tstate = wxPyBeginAllowThreads();
33453 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33454
33455 wxPyEndAllowThreads(__tstate);
33456 if (PyErr_Occurred()) SWIG_fail;
33457 }
33458 resultobj = PyInt_FromLong((long)result);
33459 return resultobj;
33460 fail:
33461 return NULL;
33462 }
33463
33464
33465 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33466 PyObject *resultobj;
33467 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33468 size_t arg2 ;
33469 wxGBSpan *arg3 = 0 ;
33470 bool result;
33471 wxGBSpan temp3 ;
33472 PyObject * obj0 = 0 ;
33473 PyObject * obj1 = 0 ;
33474 PyObject * obj2 = 0 ;
33475
33476 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33478 arg2 = (size_t) PyInt_AsLong(obj1);
33479 if (PyErr_Occurred()) SWIG_fail;
33480 {
33481 arg3 = &temp3;
33482 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33483 }
33484 {
33485 PyThreadState* __tstate = wxPyBeginAllowThreads();
33486 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33487
33488 wxPyEndAllowThreads(__tstate);
33489 if (PyErr_Occurred()) SWIG_fail;
33490 }
33491 resultobj = PyInt_FromLong((long)result);
33492 return resultobj;
33493 fail:
33494 return NULL;
33495 }
33496
33497
33498 static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
33499 int argc;
33500 PyObject *argv[4];
33501 int ii;
33502
33503 argc = PyObject_Length(args);
33504 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33505 argv[ii] = PyTuple_GetItem(args,ii);
33506 }
33507 if (argc == 3) {
33508 int _v;
33509 {
33510 void *ptr;
33511 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33512 _v = 0;
33513 PyErr_Clear();
33514 } else {
33515 _v = 1;
33516 }
33517 }
33518 if (_v) {
33519 {
33520 void *ptr;
33521 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33522 _v = 0;
33523 PyErr_Clear();
33524 } else {
33525 _v = 1;
33526 }
33527 }
33528 if (_v) {
33529 {
33530 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33531 }
33532 if (_v) {
33533 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
33534 }
33535 }
33536 }
33537 }
33538 if (argc == 3) {
33539 int _v;
33540 {
33541 void *ptr;
33542 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33543 _v = 0;
33544 PyErr_Clear();
33545 } else {
33546 _v = 1;
33547 }
33548 }
33549 if (_v) {
33550 {
33551 void *ptr;
33552 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33553 _v = 0;
33554 PyErr_Clear();
33555 } else {
33556 _v = 1;
33557 }
33558 }
33559 if (_v) {
33560 {
33561 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33562 }
33563 if (_v) {
33564 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
33565 }
33566 }
33567 }
33568 }
33569 if (argc == 3) {
33570 int _v;
33571 {
33572 void *ptr;
33573 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33574 _v = 0;
33575 PyErr_Clear();
33576 } else {
33577 _v = 1;
33578 }
33579 }
33580 if (_v) {
33581 {
33582 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33583 }
33584 if (_v) {
33585 {
33586 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33587 }
33588 if (_v) {
33589 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
33590 }
33591 }
33592 }
33593 }
33594
33595 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
33596 return NULL;
33597 }
33598
33599
33600 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
33601 PyObject *resultobj;
33602 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33603 wxWindow *arg2 = (wxWindow *) 0 ;
33604 wxGBSizerItem *result;
33605 PyObject * obj0 = 0 ;
33606 PyObject * obj1 = 0 ;
33607
33608 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
33609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33611 {
33612 PyThreadState* __tstate = wxPyBeginAllowThreads();
33613 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
33614
33615 wxPyEndAllowThreads(__tstate);
33616 if (PyErr_Occurred()) SWIG_fail;
33617 }
33618 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33619 return resultobj;
33620 fail:
33621 return NULL;
33622 }
33623
33624
33625 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
33626 PyObject *resultobj;
33627 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33628 wxSizer *arg2 = (wxSizer *) 0 ;
33629 wxGBSizerItem *result;
33630 PyObject * obj0 = 0 ;
33631 PyObject * obj1 = 0 ;
33632
33633 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
33634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33635 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33636 {
33637 PyThreadState* __tstate = wxPyBeginAllowThreads();
33638 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
33639
33640 wxPyEndAllowThreads(__tstate);
33641 if (PyErr_Occurred()) SWIG_fail;
33642 }
33643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33644 return resultobj;
33645 fail:
33646 return NULL;
33647 }
33648
33649
33650 static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
33651 int argc;
33652 PyObject *argv[3];
33653 int ii;
33654
33655 argc = PyObject_Length(args);
33656 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33657 argv[ii] = PyTuple_GetItem(args,ii);
33658 }
33659 if (argc == 2) {
33660 int _v;
33661 {
33662 void *ptr;
33663 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33664 _v = 0;
33665 PyErr_Clear();
33666 } else {
33667 _v = 1;
33668 }
33669 }
33670 if (_v) {
33671 {
33672 void *ptr;
33673 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33674 _v = 0;
33675 PyErr_Clear();
33676 } else {
33677 _v = 1;
33678 }
33679 }
33680 if (_v) {
33681 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
33682 }
33683 }
33684 }
33685 if (argc == 2) {
33686 int _v;
33687 {
33688 void *ptr;
33689 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33690 _v = 0;
33691 PyErr_Clear();
33692 } else {
33693 _v = 1;
33694 }
33695 }
33696 if (_v) {
33697 {
33698 void *ptr;
33699 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33700 _v = 0;
33701 PyErr_Clear();
33702 } else {
33703 _v = 1;
33704 }
33705 }
33706 if (_v) {
33707 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
33708 }
33709 }
33710 }
33711
33712 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
33713 return NULL;
33714 }
33715
33716
33717 static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
33718 PyObject *resultobj;
33719 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33720 wxGBPosition *arg2 = 0 ;
33721 wxGBSizerItem *result;
33722 wxGBPosition temp2 ;
33723 PyObject * obj0 = 0 ;
33724 PyObject * obj1 = 0 ;
33725 char *kwnames[] = {
33726 (char *) "self",(char *) "pos", NULL
33727 };
33728
33729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
33730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33731 {
33732 arg2 = &temp2;
33733 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33734 }
33735 {
33736 PyThreadState* __tstate = wxPyBeginAllowThreads();
33737 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
33738
33739 wxPyEndAllowThreads(__tstate);
33740 if (PyErr_Occurred()) SWIG_fail;
33741 }
33742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33743 return resultobj;
33744 fail:
33745 return NULL;
33746 }
33747
33748
33749 static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
33750 PyObject *resultobj;
33751 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33752 wxPoint *arg2 = 0 ;
33753 wxGBSizerItem *result;
33754 wxPoint temp2 ;
33755 PyObject * obj0 = 0 ;
33756 PyObject * obj1 = 0 ;
33757 char *kwnames[] = {
33758 (char *) "self",(char *) "pt", NULL
33759 };
33760
33761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
33762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33763 {
33764 arg2 = &temp2;
33765 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33766 }
33767 {
33768 PyThreadState* __tstate = wxPyBeginAllowThreads();
33769 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
33770
33771 wxPyEndAllowThreads(__tstate);
33772 if (PyErr_Occurred()) SWIG_fail;
33773 }
33774 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33775 return resultobj;
33776 fail:
33777 return NULL;
33778 }
33779
33780
33781 static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
33782 PyObject *resultobj;
33783 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33784 wxObject *arg2 = (wxObject *) 0 ;
33785 wxGBSizerItem *result;
33786 PyObject * obj0 = 0 ;
33787 PyObject * obj1 = 0 ;
33788 char *kwnames[] = {
33789 (char *) "self",(char *) "userData", NULL
33790 };
33791
33792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
33793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33794 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33795 {
33796 PyThreadState* __tstate = wxPyBeginAllowThreads();
33797 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
33798
33799 wxPyEndAllowThreads(__tstate);
33800 if (PyErr_Occurred()) SWIG_fail;
33801 }
33802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33803 return resultobj;
33804 fail:
33805 return NULL;
33806 }
33807
33808
33809 static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
33810 PyObject *resultobj;
33811 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33812 PyObject * obj0 = 0 ;
33813 char *kwnames[] = {
33814 (char *) "self", NULL
33815 };
33816
33817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
33818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33819 {
33820 PyThreadState* __tstate = wxPyBeginAllowThreads();
33821 (arg1)->RecalcSizes();
33822
33823 wxPyEndAllowThreads(__tstate);
33824 if (PyErr_Occurred()) SWIG_fail;
33825 }
33826 Py_INCREF(Py_None); resultobj = Py_None;
33827 return resultobj;
33828 fail:
33829 return NULL;
33830 }
33831
33832
33833 static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
33834 PyObject *resultobj;
33835 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33836 wxSize result;
33837 PyObject * obj0 = 0 ;
33838 char *kwnames[] = {
33839 (char *) "self", NULL
33840 };
33841
33842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
33843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33844 {
33845 PyThreadState* __tstate = wxPyBeginAllowThreads();
33846 result = (arg1)->CalcMin();
33847
33848 wxPyEndAllowThreads(__tstate);
33849 if (PyErr_Occurred()) SWIG_fail;
33850 }
33851 {
33852 wxSize * resultptr;
33853 resultptr = new wxSize((wxSize &) result);
33854 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33855 }
33856 return resultobj;
33857 fail:
33858 return NULL;
33859 }
33860
33861
33862 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
33863 PyObject *resultobj;
33864 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33865 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
33866 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
33867 bool result;
33868 PyObject * obj0 = 0 ;
33869 PyObject * obj1 = 0 ;
33870 PyObject * obj2 = 0 ;
33871
33872 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
33873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33874 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33875 if (obj2) {
33876 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33877 }
33878 {
33879 PyThreadState* __tstate = wxPyBeginAllowThreads();
33880 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
33881
33882 wxPyEndAllowThreads(__tstate);
33883 if (PyErr_Occurred()) SWIG_fail;
33884 }
33885 resultobj = PyInt_FromLong((long)result);
33886 return resultobj;
33887 fail:
33888 return NULL;
33889 }
33890
33891
33892 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
33893 PyObject *resultobj;
33894 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33895 wxGBPosition *arg2 = 0 ;
33896 wxGBSpan *arg3 = 0 ;
33897 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
33898 bool result;
33899 wxGBPosition temp2 ;
33900 wxGBSpan temp3 ;
33901 PyObject * obj0 = 0 ;
33902 PyObject * obj1 = 0 ;
33903 PyObject * obj2 = 0 ;
33904 PyObject * obj3 = 0 ;
33905
33906 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
33907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33908 {
33909 arg2 = &temp2;
33910 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33911 }
33912 {
33913 arg3 = &temp3;
33914 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33915 }
33916 if (obj3) {
33917 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33918 }
33919 {
33920 PyThreadState* __tstate = wxPyBeginAllowThreads();
33921 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
33922
33923 wxPyEndAllowThreads(__tstate);
33924 if (PyErr_Occurred()) SWIG_fail;
33925 }
33926 resultobj = PyInt_FromLong((long)result);
33927 return resultobj;
33928 fail:
33929 return NULL;
33930 }
33931
33932
33933 static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
33934 int argc;
33935 PyObject *argv[5];
33936 int ii;
33937
33938 argc = PyObject_Length(args);
33939 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
33940 argv[ii] = PyTuple_GetItem(args,ii);
33941 }
33942 if ((argc >= 2) && (argc <= 3)) {
33943 int _v;
33944 {
33945 void *ptr;
33946 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33947 _v = 0;
33948 PyErr_Clear();
33949 } else {
33950 _v = 1;
33951 }
33952 }
33953 if (_v) {
33954 {
33955 void *ptr;
33956 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33957 _v = 0;
33958 PyErr_Clear();
33959 } else {
33960 _v = 1;
33961 }
33962 }
33963 if (_v) {
33964 if (argc <= 2) {
33965 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
33966 }
33967 {
33968 void *ptr;
33969 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33970 _v = 0;
33971 PyErr_Clear();
33972 } else {
33973 _v = 1;
33974 }
33975 }
33976 if (_v) {
33977 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
33978 }
33979 }
33980 }
33981 }
33982 if ((argc >= 3) && (argc <= 4)) {
33983 int _v;
33984 {
33985 void *ptr;
33986 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33987 _v = 0;
33988 PyErr_Clear();
33989 } else {
33990 _v = 1;
33991 }
33992 }
33993 if (_v) {
33994 {
33995 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
33996 }
33997 if (_v) {
33998 {
33999 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34000 }
34001 if (_v) {
34002 if (argc <= 3) {
34003 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34004 }
34005 {
34006 void *ptr;
34007 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34008 _v = 0;
34009 PyErr_Clear();
34010 } else {
34011 _v = 1;
34012 }
34013 }
34014 if (_v) {
34015 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34016 }
34017 }
34018 }
34019 }
34020 }
34021
34022 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34023 return NULL;
34024 }
34025
34026
34027 static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
34028 PyObject *obj;
34029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34030 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
34031 Py_INCREF(obj);
34032 return Py_BuildValue((char *)"");
34033 }
34034 static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
34035 PyObject *resultobj;
34036 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34037 int arg2 ;
34038 wxWindow *arg3 = (wxWindow *) 0 ;
34039 int arg4 ;
34040 int arg5 = (int) 0 ;
34041 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
34042 PyObject * obj0 = 0 ;
34043 PyObject * obj2 = 0 ;
34044 char *kwnames[] = {
34045 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34046 };
34047
34048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6)) goto fail;
34049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34050 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34051 {
34052 PyThreadState* __tstate = wxPyBeginAllowThreads();
34053 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
34054
34055 wxPyEndAllowThreads(__tstate);
34056 if (PyErr_Occurred()) SWIG_fail;
34057 }
34058 Py_INCREF(Py_None); resultobj = Py_None;
34059 return resultobj;
34060 fail:
34061 return NULL;
34062 }
34063
34064
34065 static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34066 PyObject *resultobj;
34067 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34068 wxWindow *arg2 = (wxWindow *) 0 ;
34069 int arg3 = (int) 0 ;
34070 PyObject * obj0 = 0 ;
34071 PyObject * obj1 = 0 ;
34072 char *kwnames[] = {
34073 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34074 };
34075
34076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34079 {
34080 PyThreadState* __tstate = wxPyBeginAllowThreads();
34081 (arg1)->LeftOf(arg2,arg3);
34082
34083 wxPyEndAllowThreads(__tstate);
34084 if (PyErr_Occurred()) SWIG_fail;
34085 }
34086 Py_INCREF(Py_None); resultobj = Py_None;
34087 return resultobj;
34088 fail:
34089 return NULL;
34090 }
34091
34092
34093 static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34094 PyObject *resultobj;
34095 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34096 wxWindow *arg2 = (wxWindow *) 0 ;
34097 int arg3 = (int) 0 ;
34098 PyObject * obj0 = 0 ;
34099 PyObject * obj1 = 0 ;
34100 char *kwnames[] = {
34101 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34102 };
34103
34104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34107 {
34108 PyThreadState* __tstate = wxPyBeginAllowThreads();
34109 (arg1)->RightOf(arg2,arg3);
34110
34111 wxPyEndAllowThreads(__tstate);
34112 if (PyErr_Occurred()) SWIG_fail;
34113 }
34114 Py_INCREF(Py_None); resultobj = Py_None;
34115 return resultobj;
34116 fail:
34117 return NULL;
34118 }
34119
34120
34121 static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
34122 PyObject *resultobj;
34123 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34124 wxWindow *arg2 = (wxWindow *) 0 ;
34125 int arg3 = (int) 0 ;
34126 PyObject * obj0 = 0 ;
34127 PyObject * obj1 = 0 ;
34128 char *kwnames[] = {
34129 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34130 };
34131
34132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&arg3)) goto fail;
34133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34135 {
34136 PyThreadState* __tstate = wxPyBeginAllowThreads();
34137 (arg1)->Above(arg2,arg3);
34138
34139 wxPyEndAllowThreads(__tstate);
34140 if (PyErr_Occurred()) SWIG_fail;
34141 }
34142 Py_INCREF(Py_None); resultobj = Py_None;
34143 return resultobj;
34144 fail:
34145 return NULL;
34146 }
34147
34148
34149 static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
34150 PyObject *resultobj;
34151 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34152 wxWindow *arg2 = (wxWindow *) 0 ;
34153 int arg3 = (int) 0 ;
34154 PyObject * obj0 = 0 ;
34155 PyObject * obj1 = 0 ;
34156 char *kwnames[] = {
34157 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34158 };
34159
34160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&arg3)) goto fail;
34161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34163 {
34164 PyThreadState* __tstate = wxPyBeginAllowThreads();
34165 (arg1)->Below(arg2,arg3);
34166
34167 wxPyEndAllowThreads(__tstate);
34168 if (PyErr_Occurred()) SWIG_fail;
34169 }
34170 Py_INCREF(Py_None); resultobj = Py_None;
34171 return resultobj;
34172 fail:
34173 return NULL;
34174 }
34175
34176
34177 static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
34178 PyObject *resultobj;
34179 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34180 wxWindow *arg2 = (wxWindow *) 0 ;
34181 int arg3 ;
34182 int arg4 = (int) 0 ;
34183 PyObject * obj0 = 0 ;
34184 PyObject * obj1 = 0 ;
34185 char *kwnames[] = {
34186 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34187 };
34188
34189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34192 {
34193 PyThreadState* __tstate = wxPyBeginAllowThreads();
34194 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
34195
34196 wxPyEndAllowThreads(__tstate);
34197 if (PyErr_Occurred()) SWIG_fail;
34198 }
34199 Py_INCREF(Py_None); resultobj = Py_None;
34200 return resultobj;
34201 fail:
34202 return NULL;
34203 }
34204
34205
34206 static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34207 PyObject *resultobj;
34208 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34209 wxWindow *arg2 = (wxWindow *) 0 ;
34210 int arg3 ;
34211 int arg4 ;
34212 PyObject * obj0 = 0 ;
34213 PyObject * obj1 = 0 ;
34214 char *kwnames[] = {
34215 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34216 };
34217
34218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34221 {
34222 PyThreadState* __tstate = wxPyBeginAllowThreads();
34223 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
34224
34225 wxPyEndAllowThreads(__tstate);
34226 if (PyErr_Occurred()) SWIG_fail;
34227 }
34228 Py_INCREF(Py_None); resultobj = Py_None;
34229 return resultobj;
34230 fail:
34231 return NULL;
34232 }
34233
34234
34235 static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
34236 PyObject *resultobj;
34237 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34238 int arg2 ;
34239 PyObject * obj0 = 0 ;
34240 char *kwnames[] = {
34241 (char *) "self",(char *) "val", NULL
34242 };
34243
34244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&arg2)) goto fail;
34245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34246 {
34247 PyThreadState* __tstate = wxPyBeginAllowThreads();
34248 (arg1)->Absolute(arg2);
34249
34250 wxPyEndAllowThreads(__tstate);
34251 if (PyErr_Occurred()) SWIG_fail;
34252 }
34253 Py_INCREF(Py_None); resultobj = Py_None;
34254 return resultobj;
34255 fail:
34256 return NULL;
34257 }
34258
34259
34260 static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
34261 PyObject *resultobj;
34262 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34263 PyObject * obj0 = 0 ;
34264 char *kwnames[] = {
34265 (char *) "self", NULL
34266 };
34267
34268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
34269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34270 {
34271 PyThreadState* __tstate = wxPyBeginAllowThreads();
34272 (arg1)->Unconstrained();
34273
34274 wxPyEndAllowThreads(__tstate);
34275 if (PyErr_Occurred()) SWIG_fail;
34276 }
34277 Py_INCREF(Py_None); resultobj = Py_None;
34278 return resultobj;
34279 fail:
34280 return NULL;
34281 }
34282
34283
34284 static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
34285 PyObject *resultobj;
34286 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34287 PyObject * obj0 = 0 ;
34288 char *kwnames[] = {
34289 (char *) "self", NULL
34290 };
34291
34292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
34293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34294 {
34295 PyThreadState* __tstate = wxPyBeginAllowThreads();
34296 (arg1)->AsIs();
34297
34298 wxPyEndAllowThreads(__tstate);
34299 if (PyErr_Occurred()) SWIG_fail;
34300 }
34301 Py_INCREF(Py_None); resultobj = Py_None;
34302 return resultobj;
34303 fail:
34304 return NULL;
34305 }
34306
34307
34308 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34309 PyObject *resultobj;
34310 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34311 wxWindow *result;
34312 PyObject * obj0 = 0 ;
34313 char *kwnames[] = {
34314 (char *) "self", NULL
34315 };
34316
34317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
34318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34319 {
34320 PyThreadState* __tstate = wxPyBeginAllowThreads();
34321 result = (wxWindow *)(arg1)->GetOtherWindow();
34322
34323 wxPyEndAllowThreads(__tstate);
34324 if (PyErr_Occurred()) SWIG_fail;
34325 }
34326 {
34327 resultobj = wxPyMake_wxObject(result);
34328 }
34329 return resultobj;
34330 fail:
34331 return NULL;
34332 }
34333
34334
34335 static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34336 PyObject *resultobj;
34337 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34338 int result;
34339 PyObject * obj0 = 0 ;
34340 char *kwnames[] = {
34341 (char *) "self", NULL
34342 };
34343
34344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
34345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34346 {
34347 PyThreadState* __tstate = wxPyBeginAllowThreads();
34348 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
34349
34350 wxPyEndAllowThreads(__tstate);
34351 if (PyErr_Occurred()) SWIG_fail;
34352 }
34353 resultobj = PyInt_FromLong((long)result);
34354 return resultobj;
34355 fail:
34356 return NULL;
34357 }
34358
34359
34360 static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34361 PyObject *resultobj;
34362 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34363 int arg2 ;
34364 PyObject * obj0 = 0 ;
34365 char *kwnames[] = {
34366 (char *) "self",(char *) "which", NULL
34367 };
34368
34369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&arg2)) goto fail;
34370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34371 {
34372 PyThreadState* __tstate = wxPyBeginAllowThreads();
34373 (arg1)->SetEdge((wxEdge )arg2);
34374
34375 wxPyEndAllowThreads(__tstate);
34376 if (PyErr_Occurred()) SWIG_fail;
34377 }
34378 Py_INCREF(Py_None); resultobj = Py_None;
34379 return resultobj;
34380 fail:
34381 return NULL;
34382 }
34383
34384
34385 static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34386 PyObject *resultobj;
34387 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34388 int arg2 ;
34389 PyObject * obj0 = 0 ;
34390 char *kwnames[] = {
34391 (char *) "self",(char *) "v", NULL
34392 };
34393
34394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&arg2)) goto fail;
34395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34396 {
34397 PyThreadState* __tstate = wxPyBeginAllowThreads();
34398 (arg1)->SetValue(arg2);
34399
34400 wxPyEndAllowThreads(__tstate);
34401 if (PyErr_Occurred()) SWIG_fail;
34402 }
34403 Py_INCREF(Py_None); resultobj = Py_None;
34404 return resultobj;
34405 fail:
34406 return NULL;
34407 }
34408
34409
34410 static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34411 PyObject *resultobj;
34412 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34413 int result;
34414 PyObject * obj0 = 0 ;
34415 char *kwnames[] = {
34416 (char *) "self", NULL
34417 };
34418
34419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
34420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34421 {
34422 PyThreadState* __tstate = wxPyBeginAllowThreads();
34423 result = (int)(arg1)->GetMargin();
34424
34425 wxPyEndAllowThreads(__tstate);
34426 if (PyErr_Occurred()) SWIG_fail;
34427 }
34428 resultobj = PyInt_FromLong((long)result);
34429 return resultobj;
34430 fail:
34431 return NULL;
34432 }
34433
34434
34435 static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34436 PyObject *resultobj;
34437 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34438 int arg2 ;
34439 PyObject * obj0 = 0 ;
34440 char *kwnames[] = {
34441 (char *) "self",(char *) "m", NULL
34442 };
34443
34444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&arg2)) goto fail;
34445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34446 {
34447 PyThreadState* __tstate = wxPyBeginAllowThreads();
34448 (arg1)->SetMargin(arg2);
34449
34450 wxPyEndAllowThreads(__tstate);
34451 if (PyErr_Occurred()) SWIG_fail;
34452 }
34453 Py_INCREF(Py_None); resultobj = Py_None;
34454 return resultobj;
34455 fail:
34456 return NULL;
34457 }
34458
34459
34460 static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34461 PyObject *resultobj;
34462 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34463 int result;
34464 PyObject * obj0 = 0 ;
34465 char *kwnames[] = {
34466 (char *) "self", NULL
34467 };
34468
34469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
34470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34471 {
34472 PyThreadState* __tstate = wxPyBeginAllowThreads();
34473 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
34474
34475 wxPyEndAllowThreads(__tstate);
34476 if (PyErr_Occurred()) SWIG_fail;
34477 }
34478 resultobj = PyInt_FromLong((long)result);
34479 return resultobj;
34480 fail:
34481 return NULL;
34482 }
34483
34484
34485 static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
34486 PyObject *resultobj;
34487 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34488 int result;
34489 PyObject * obj0 = 0 ;
34490 char *kwnames[] = {
34491 (char *) "self", NULL
34492 };
34493
34494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
34495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34496 {
34497 PyThreadState* __tstate = wxPyBeginAllowThreads();
34498 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
34499
34500 wxPyEndAllowThreads(__tstate);
34501 if (PyErr_Occurred()) SWIG_fail;
34502 }
34503 resultobj = PyInt_FromLong((long)result);
34504 return resultobj;
34505 fail:
34506 return NULL;
34507 }
34508
34509
34510 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34511 PyObject *resultobj;
34512 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34513 int result;
34514 PyObject * obj0 = 0 ;
34515 char *kwnames[] = {
34516 (char *) "self", NULL
34517 };
34518
34519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
34520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34521 {
34522 PyThreadState* __tstate = wxPyBeginAllowThreads();
34523 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
34524
34525 wxPyEndAllowThreads(__tstate);
34526 if (PyErr_Occurred()) SWIG_fail;
34527 }
34528 resultobj = PyInt_FromLong((long)result);
34529 return resultobj;
34530 fail:
34531 return NULL;
34532 }
34533
34534
34535 static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34536 PyObject *resultobj;
34537 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34538 bool result;
34539 PyObject * obj0 = 0 ;
34540 char *kwnames[] = {
34541 (char *) "self", NULL
34542 };
34543
34544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
34545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34546 {
34547 PyThreadState* __tstate = wxPyBeginAllowThreads();
34548 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
34549
34550 wxPyEndAllowThreads(__tstate);
34551 if (PyErr_Occurred()) SWIG_fail;
34552 }
34553 resultobj = PyInt_FromLong((long)result);
34554 return resultobj;
34555 fail:
34556 return NULL;
34557 }
34558
34559
34560 static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34561 PyObject *resultobj;
34562 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34563 bool arg2 ;
34564 PyObject * obj0 = 0 ;
34565 PyObject * obj1 = 0 ;
34566 char *kwnames[] = {
34567 (char *) "self",(char *) "d", NULL
34568 };
34569
34570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
34571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34572 arg2 = PyInt_AsLong(obj1) ? true : false;
34573 if (PyErr_Occurred()) SWIG_fail;
34574 {
34575 PyThreadState* __tstate = wxPyBeginAllowThreads();
34576 (arg1)->SetDone(arg2);
34577
34578 wxPyEndAllowThreads(__tstate);
34579 if (PyErr_Occurred()) SWIG_fail;
34580 }
34581 Py_INCREF(Py_None); resultobj = Py_None;
34582 return resultobj;
34583 fail:
34584 return NULL;
34585 }
34586
34587
34588 static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
34589 PyObject *resultobj;
34590 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34591 int result;
34592 PyObject * obj0 = 0 ;
34593 char *kwnames[] = {
34594 (char *) "self", NULL
34595 };
34596
34597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
34598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34599 {
34600 PyThreadState* __tstate = wxPyBeginAllowThreads();
34601 result = (int)(arg1)->GetRelationship();
34602
34603 wxPyEndAllowThreads(__tstate);
34604 if (PyErr_Occurred()) SWIG_fail;
34605 }
34606 resultobj = PyInt_FromLong((long)result);
34607 return resultobj;
34608 fail:
34609 return NULL;
34610 }
34611
34612
34613 static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
34614 PyObject *resultobj;
34615 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34616 int arg2 ;
34617 PyObject * obj0 = 0 ;
34618 char *kwnames[] = {
34619 (char *) "self",(char *) "r", NULL
34620 };
34621
34622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&arg2)) goto fail;
34623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34624 {
34625 PyThreadState* __tstate = wxPyBeginAllowThreads();
34626 (arg1)->SetRelationship((wxRelationship )arg2);
34627
34628 wxPyEndAllowThreads(__tstate);
34629 if (PyErr_Occurred()) SWIG_fail;
34630 }
34631 Py_INCREF(Py_None); resultobj = Py_None;
34632 return resultobj;
34633 fail:
34634 return NULL;
34635 }
34636
34637
34638 static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
34639 PyObject *resultobj;
34640 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34641 wxWindow *arg2 = (wxWindow *) 0 ;
34642 bool result;
34643 PyObject * obj0 = 0 ;
34644 PyObject * obj1 = 0 ;
34645 char *kwnames[] = {
34646 (char *) "self",(char *) "otherW", NULL
34647 };
34648
34649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) 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_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34652 {
34653 PyThreadState* __tstate = wxPyBeginAllowThreads();
34654 result = (bool)(arg1)->ResetIfWin(arg2);
34655
34656 wxPyEndAllowThreads(__tstate);
34657 if (PyErr_Occurred()) SWIG_fail;
34658 }
34659 resultobj = PyInt_FromLong((long)result);
34660 return resultobj;
34661 fail:
34662 return NULL;
34663 }
34664
34665
34666 static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
34667 PyObject *resultobj;
34668 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34669 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
34670 wxWindow *arg3 = (wxWindow *) 0 ;
34671 bool result;
34672 PyObject * obj0 = 0 ;
34673 PyObject * obj1 = 0 ;
34674 PyObject * obj2 = 0 ;
34675 char *kwnames[] = {
34676 (char *) "self",(char *) "constraints",(char *) "win", NULL
34677 };
34678
34679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
34680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34682 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34683 {
34684 PyThreadState* __tstate = wxPyBeginAllowThreads();
34685 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
34686
34687 wxPyEndAllowThreads(__tstate);
34688 if (PyErr_Occurred()) SWIG_fail;
34689 }
34690 resultobj = PyInt_FromLong((long)result);
34691 return resultobj;
34692 fail:
34693 return NULL;
34694 }
34695
34696
34697 static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34698 PyObject *resultobj;
34699 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34700 int arg2 ;
34701 wxWindow *arg3 = (wxWindow *) 0 ;
34702 wxWindow *arg4 = (wxWindow *) 0 ;
34703 int result;
34704 PyObject * obj0 = 0 ;
34705 PyObject * obj2 = 0 ;
34706 PyObject * obj3 = 0 ;
34707 char *kwnames[] = {
34708 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
34709 };
34710
34711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
34712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34713 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34714 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34715 {
34716 PyThreadState* __tstate = wxPyBeginAllowThreads();
34717 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
34718
34719 wxPyEndAllowThreads(__tstate);
34720 if (PyErr_Occurred()) SWIG_fail;
34721 }
34722 resultobj = PyInt_FromLong((long)result);
34723 return resultobj;
34724 fail:
34725 return NULL;
34726 }
34727
34728
34729 static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
34730 PyObject *obj;
34731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34732 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
34733 Py_INCREF(obj);
34734 return Py_BuildValue((char *)"");
34735 }
34736 static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34737 PyObject *resultobj;
34738 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34739 wxIndividualLayoutConstraint *result;
34740 PyObject * obj0 = 0 ;
34741 char *kwnames[] = {
34742 (char *) "self", NULL
34743 };
34744
34745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
34746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34747 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
34748
34749 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34750 return resultobj;
34751 fail:
34752 return NULL;
34753 }
34754
34755
34756 static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34757 PyObject *resultobj;
34758 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34759 wxIndividualLayoutConstraint *result;
34760 PyObject * obj0 = 0 ;
34761 char *kwnames[] = {
34762 (char *) "self", NULL
34763 };
34764
34765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
34766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34767 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
34768
34769 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34770 return resultobj;
34771 fail:
34772 return NULL;
34773 }
34774
34775
34776 static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34777 PyObject *resultobj;
34778 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34779 wxIndividualLayoutConstraint *result;
34780 PyObject * obj0 = 0 ;
34781 char *kwnames[] = {
34782 (char *) "self", NULL
34783 };
34784
34785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
34786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34787 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
34788
34789 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34790 return resultobj;
34791 fail:
34792 return NULL;
34793 }
34794
34795
34796 static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34797 PyObject *resultobj;
34798 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34799 wxIndividualLayoutConstraint *result;
34800 PyObject * obj0 = 0 ;
34801 char *kwnames[] = {
34802 (char *) "self", NULL
34803 };
34804
34805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
34806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34807 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
34808
34809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34810 return resultobj;
34811 fail:
34812 return NULL;
34813 }
34814
34815
34816 static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34817 PyObject *resultobj;
34818 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34819 wxIndividualLayoutConstraint *result;
34820 PyObject * obj0 = 0 ;
34821 char *kwnames[] = {
34822 (char *) "self", NULL
34823 };
34824
34825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
34826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34827 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
34828
34829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34830 return resultobj;
34831 fail:
34832 return NULL;
34833 }
34834
34835
34836 static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34837 PyObject *resultobj;
34838 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34839 wxIndividualLayoutConstraint *result;
34840 PyObject * obj0 = 0 ;
34841 char *kwnames[] = {
34842 (char *) "self", NULL
34843 };
34844
34845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
34846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34847 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
34848
34849 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34850 return resultobj;
34851 fail:
34852 return NULL;
34853 }
34854
34855
34856 static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34857 PyObject *resultobj;
34858 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34859 wxIndividualLayoutConstraint *result;
34860 PyObject * obj0 = 0 ;
34861 char *kwnames[] = {
34862 (char *) "self", NULL
34863 };
34864
34865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
34866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34867 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
34868
34869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34870 return resultobj;
34871 fail:
34872 return NULL;
34873 }
34874
34875
34876 static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34877 PyObject *resultobj;
34878 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34879 wxIndividualLayoutConstraint *result;
34880 PyObject * obj0 = 0 ;
34881 char *kwnames[] = {
34882 (char *) "self", NULL
34883 };
34884
34885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
34886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34887 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
34888
34889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34890 return resultobj;
34891 fail:
34892 return NULL;
34893 }
34894
34895
34896 static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
34897 PyObject *resultobj;
34898 wxLayoutConstraints *result;
34899 char *kwnames[] = {
34900 NULL
34901 };
34902
34903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
34904 {
34905 PyThreadState* __tstate = wxPyBeginAllowThreads();
34906 result = (wxLayoutConstraints *)new wxLayoutConstraints();
34907
34908 wxPyEndAllowThreads(__tstate);
34909 if (PyErr_Occurred()) SWIG_fail;
34910 }
34911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 1);
34912 return resultobj;
34913 fail:
34914 return NULL;
34915 }
34916
34917
34918 static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
34919 PyObject *resultobj;
34920 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34921 wxWindow *arg2 = (wxWindow *) 0 ;
34922 int *arg3 = (int *) 0 ;
34923 bool result;
34924 int temp3 ;
34925 PyObject * obj0 = 0 ;
34926 PyObject * obj1 = 0 ;
34927 char *kwnames[] = {
34928 (char *) "self",(char *) "win", NULL
34929 };
34930
34931 arg3 = &temp3;
34932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
34933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34935 {
34936 PyThreadState* __tstate = wxPyBeginAllowThreads();
34937 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
34938
34939 wxPyEndAllowThreads(__tstate);
34940 if (PyErr_Occurred()) SWIG_fail;
34941 }
34942 resultobj = PyInt_FromLong((long)result);
34943 {
34944 PyObject *o = PyInt_FromLong((long) (*arg3));
34945 resultobj = t_output_helper(resultobj,o);
34946 }
34947 return resultobj;
34948 fail:
34949 return NULL;
34950 }
34951
34952
34953 static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
34954 PyObject *resultobj;
34955 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34956 bool result;
34957 PyObject * obj0 = 0 ;
34958 char *kwnames[] = {
34959 (char *) "self", NULL
34960 };
34961
34962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
34963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34964 {
34965 PyThreadState* __tstate = wxPyBeginAllowThreads();
34966 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
34967
34968 wxPyEndAllowThreads(__tstate);
34969 if (PyErr_Occurred()) SWIG_fail;
34970 }
34971 resultobj = PyInt_FromLong((long)result);
34972 return resultobj;
34973 fail:
34974 return NULL;
34975 }
34976
34977
34978 static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
34979 PyObject *obj;
34980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34981 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
34982 Py_INCREF(obj);
34983 return Py_BuildValue((char *)"");
34984 }
34985 static PyMethodDef SwigMethods[] = {
34986 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
34987 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
34988 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
34989 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
34990 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
34991 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
34992 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
34993 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
34994 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
34995 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
34996 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
34997 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
34998 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
34999 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
35000 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
35001 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
35002 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
35003 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
35004 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
35005 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
35006 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
35007 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
35008 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
35009 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
35010 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
35011 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
35012 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
35013 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
35014 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
35015 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
35016 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
35017 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
35018 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
35019 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
35020 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
35021 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
35022 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
35023 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
35024 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
35025 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
35026 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
35027 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
35028 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
35029 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
35030 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
35031 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
35032 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
35033 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
35034 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
35035 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
35036 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
35037 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
35038 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
35039 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
35040 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
35041 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
35042 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
35043 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
35044 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
35045 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
35046 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
35047 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
35048 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
35049 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
35050 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
35051 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
35052 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
35053 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
35054 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
35055 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
35056 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
35057 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
35058 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
35059 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
35060 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
35061 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
35062 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
35063 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
35064 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
35065 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
35066 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
35067 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
35068 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
35069 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
35070 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
35071 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
35072 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
35073 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
35074 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
35075 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
35076 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
35077 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
35078 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
35079 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
35080 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
35081 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
35082 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
35083 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
35084 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
35085 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
35086 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
35087 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
35088 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
35089 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
35090 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
35091 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35092 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
35093 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35094 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
35095 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
35096 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
35097 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
35098 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
35099 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
35100 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
35101 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
35102 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
35103 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
35104 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
35105 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
35106 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
35107 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
35108 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
35109 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
35110 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
35111 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
35112 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
35113 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
35114 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
35115 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
35116 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
35117 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
35118 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
35119 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
35120 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
35121 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
35122 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
35123 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
35124 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
35125 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
35126 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
35127 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
35128 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
35129 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
35130 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
35131 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
35132 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
35133 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
35134 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
35135 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35136 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
35137 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35138 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
35139 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
35140 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
35141 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
35142 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35143 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35144 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35145 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35146 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35147 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
35148 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
35149 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35150 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
35151 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
35152 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
35153 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
35154 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
35155 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
35156 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
35157 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
35158 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
35159 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
35160 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
35161 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
35162 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
35163 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
35164 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
35165 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
35166 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35167 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35168 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
35169 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
35170 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35171 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35172 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35173 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35174 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
35175 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
35176 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
35177 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
35178 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
35179 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
35180 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35181 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35182 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35183 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35184 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
35185 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
35186 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
35187 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
35188 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35189 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
35190 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
35191 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
35192 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
35193 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
35194 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
35195 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
35196 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
35197 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35198 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
35199 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
35200 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
35201 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
35202 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
35203 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
35204 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
35205 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
35206 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
35207 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
35208 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
35209 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
35210 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
35211 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
35212 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
35213 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
35214 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
35215 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
35216 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
35217 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
35218 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
35219 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35220 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
35221 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
35222 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
35223 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
35224 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
35225 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
35226 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
35227 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
35228 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
35229 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
35230 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
35231 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
35232 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
35233 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
35234 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
35235 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
35236 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
35237 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
35238 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35239 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35240 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
35241 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
35242 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35243 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35244 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
35245 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
35246 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
35247 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
35248 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
35249 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
35250 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
35251 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
35252 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
35253 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
35254 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
35255 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
35256 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
35257 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
35258 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
35259 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
35260 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
35261 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
35262 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
35263 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
35264 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
35265 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
35266 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
35267 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
35268 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
35269 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
35270 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
35271 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
35272 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
35273 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
35274 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
35275 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
35276 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
35277 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
35278 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
35279 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
35280 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
35281 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
35282 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
35283 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
35284 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
35285 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
35286 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
35287 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
35288 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
35289 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
35290 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
35291 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
35292 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
35293 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
35294 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35295 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
35296 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35297 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35298 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35299 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
35300 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
35301 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35302 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
35303 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
35304 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
35305 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
35306 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
35307 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
35308 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
35309 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
35310 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
35311 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
35312 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
35313 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
35314 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
35315 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
35316 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
35317 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
35318 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
35319 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
35320 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
35321 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
35322 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
35323 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
35324 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35325 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35326 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
35327 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35328 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35329 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
35330 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
35331 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
35332 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
35333 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
35334 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
35335 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
35336 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
35337 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
35338 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
35339 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
35340 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
35341 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
35342 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
35343 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35344 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
35345 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
35346 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
35347 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
35348 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35349 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35350 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35351 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35352 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
35353 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
35354 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35355 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35356 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35357 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35358 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
35359 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
35360 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
35361 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
35362 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
35363 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
35364 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
35365 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
35366 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
35367 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35368 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35369 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35370 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35371 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
35372 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
35373 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
35374 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
35375 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
35376 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
35377 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
35378 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
35379 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
35380 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
35381 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
35382 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
35383 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
35384 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
35385 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
35386 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
35387 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35388 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35389 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
35390 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35391 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35392 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
35393 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
35394 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
35395 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
35396 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35397 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35398 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35399 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35400 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
35401 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
35402 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
35403 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
35404 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
35405 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
35406 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35407 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35408 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35409 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35410 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35411 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35412 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35413 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35414 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
35415 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
35416 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
35417 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
35418 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
35419 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
35420 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
35421 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
35422 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35423 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35424 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
35425 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
35426 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
35427 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
35428 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
35429 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35430 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35431 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35432 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35433 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
35434 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
35435 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
35436 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
35437 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
35438 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35439 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35440 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35441 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35442 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35443 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35444 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35445 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35446 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
35447 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
35448 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35449 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35450 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35451 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35452 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35453 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35454 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35455 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35456 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
35457 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
35458 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
35459 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
35460 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
35461 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
35462 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
35463 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
35464 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
35465 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35466 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35467 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
35468 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
35469 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
35470 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35471 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35472 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
35473 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
35474 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35475 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35476 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35477 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35478 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
35479 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
35480 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35481 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35482 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
35483 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
35484 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
35485 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
35486 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
35487 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
35488 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
35489 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
35490 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
35491 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35492 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
35493 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
35494 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
35495 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35496 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
35497 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
35498 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
35499 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
35500 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
35501 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
35502 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
35503 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
35504 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
35505 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
35506 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
35507 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
35508 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35509 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35510 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35511 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
35512 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
35513 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
35514 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
35515 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
35516 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
35517 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
35518 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
35519 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
35520 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
35521 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
35522 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
35523 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
35524 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35525 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
35526 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
35527 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
35528 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
35529 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
35530 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
35531 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
35532 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
35533 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
35534 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
35535 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
35536 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
35537 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
35538 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35539 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35540 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
35541 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
35542 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35543 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35544 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
35545 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
35546 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
35547 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
35548 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
35549 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
35550 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
35551 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
35552 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
35553 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35554 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35555 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
35556 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
35557 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35558 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35559 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
35560 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
35561 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
35562 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
35563 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
35564 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
35565 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35566 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35567 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
35568 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
35569 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35570 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
35571 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
35572 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35573 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
35574 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
35575 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35576 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35577 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
35578 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
35579 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
35580 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
35581 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35582 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35583 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
35584 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
35585 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
35586 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
35587 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
35588 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
35589 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
35590 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
35591 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
35592 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
35593 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
35594 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
35595 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
35596 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
35597 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35598 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
35599 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
35600 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
35601 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
35602 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
35603 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
35604 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
35605 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35606 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
35607 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
35608 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
35609 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
35610 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
35611 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
35612 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
35613 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
35614 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
35615 { (char *)"PyApp_OnIdle", (PyCFunction) _wrap_PyApp_OnIdle, METH_VARARGS | METH_KEYWORDS },
35616 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
35617 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
35618 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
35619 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
35620 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
35621 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
35622 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
35623 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
35624 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
35625 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
35626 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
35627 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
35628 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
35629 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
35630 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
35631 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
35632 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
35633 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
35634 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
35635 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
35636 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
35637 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
35638 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
35639 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
35640 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
35641 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
35642 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
35643 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
35644 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
35645 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
35646 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
35647 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
35648 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
35649 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
35650 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
35651 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
35652 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
35653 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
35654 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
35655 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
35656 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
35657 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
35658 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
35659 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
35660 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
35661 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
35662 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
35663 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
35664 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
35665 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
35666 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
35667 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
35668 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
35669 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
35670 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
35671 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
35672 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
35673 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
35674 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
35675 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
35676 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
35677 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
35678 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35679 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
35680 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
35681 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
35682 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
35683 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
35684 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
35685 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
35686 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
35687 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
35688 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
35689 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
35690 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
35691 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
35692 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
35693 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
35694 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
35695 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
35696 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
35697 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
35698 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
35699 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
35700 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
35701 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
35702 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
35703 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
35704 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
35705 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
35706 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
35707 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
35708 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
35709 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
35710 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
35711 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35712 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
35713 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
35714 { (char *)"Window_SetWindowStyle", (PyCFunction) _wrap_Window_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
35715 { (char *)"Window_GetWindowStyle", (PyCFunction) _wrap_Window_GetWindowStyle, METH_VARARGS | METH_KEYWORDS },
35716 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
35717 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
35718 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
35719 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
35720 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
35721 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
35722 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
35723 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
35724 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
35725 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
35726 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
35727 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
35728 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
35729 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
35730 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
35731 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
35732 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
35733 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
35734 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
35735 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
35736 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
35737 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
35738 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
35739 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
35740 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
35741 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
35742 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
35743 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
35744 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
35745 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
35746 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
35747 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
35748 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
35749 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
35750 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
35751 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
35752 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
35753 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
35754 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
35755 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
35756 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
35757 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
35758 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
35759 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
35760 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
35761 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
35762 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
35763 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
35764 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
35765 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
35766 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
35767 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
35768 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
35769 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
35770 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
35771 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
35772 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
35773 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
35774 { (char *)"Window_isExposedRect", (PyCFunction) _wrap_Window_isExposedRect, METH_VARARGS | METH_KEYWORDS },
35775 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
35776 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
35777 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
35778 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
35779 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
35780 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
35781 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
35782 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
35783 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
35784 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
35785 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
35786 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
35787 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
35788 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
35789 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
35790 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
35791 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
35792 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
35793 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
35794 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
35795 { (char *)"Window_GetBorderFlags", (PyCFunction) _wrap_Window_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
35796 { (char *)"Window_GetBorder", (PyCFunction) _wrap_Window_GetBorder, METH_VARARGS | METH_KEYWORDS },
35797 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
35798 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
35799 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
35800 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
35801 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
35802 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
35803 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
35804 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
35805 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
35806 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
35807 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
35808 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
35809 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
35810 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
35811 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
35812 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
35813 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
35814 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
35815 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
35816 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
35817 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
35818 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
35819 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
35820 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
35821 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
35822 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
35823 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
35824 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
35825 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
35826 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
35827 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
35828 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
35829 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
35830 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
35831 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
35832 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
35833 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
35834 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
35835 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
35836 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
35837 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
35838 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
35839 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
35840 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
35841 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
35842 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
35843 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
35844 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
35845 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
35846 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
35847 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
35848 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35849 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
35850 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
35851 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
35852 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
35853 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
35854 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
35855 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
35856 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
35857 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
35858 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
35859 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
35860 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
35861 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
35862 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
35863 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
35864 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
35865 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
35866 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
35867 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
35868 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
35869 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
35870 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
35871 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
35872 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
35873 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
35874 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
35875 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
35876 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
35877 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
35878 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
35879 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
35880 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
35881 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
35882 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
35883 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35884 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
35885 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
35886 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
35887 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
35888 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
35889 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
35890 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
35891 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
35892 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
35893 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
35894 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
35895 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
35896 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
35897 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
35898 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
35899 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
35900 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
35901 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
35902 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
35903 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
35904 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
35905 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
35906 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
35907 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
35908 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
35909 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
35910 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
35911 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
35912 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
35913 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
35914 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
35915 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
35916 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
35917 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
35918 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
35919 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
35920 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
35921 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
35922 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35923 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
35924 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
35925 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
35926 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
35927 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
35928 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
35929 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
35930 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
35931 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
35932 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
35933 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
35934 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
35935 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
35936 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
35937 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
35938 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
35939 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
35940 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
35941 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
35942 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
35943 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
35944 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
35945 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
35946 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
35947 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
35948 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
35949 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35950 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
35951 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
35952 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
35953 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
35954 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
35955 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
35956 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
35957 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
35958 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
35959 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
35960 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
35961 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
35962 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
35963 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
35964 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
35965 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
35966 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
35967 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
35968 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
35969 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
35970 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
35971 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
35972 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
35973 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
35974 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
35975 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
35976 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
35977 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
35978 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
35979 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
35980 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
35981 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
35982 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
35983 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
35984 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
35985 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
35986 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
35987 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
35988 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
35989 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
35990 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
35991 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
35992 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
35993 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
35994 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
35995 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
35996 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
35997 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
35998 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
35999 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
36000 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
36001 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
36002 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
36003 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
36004 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
36005 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
36006 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
36007 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
36008 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
36009 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
36010 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
36011 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
36012 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
36013 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
36014 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
36015 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
36016 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
36017 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
36018 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
36019 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
36020 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
36021 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
36022 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
36023 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
36024 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
36025 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
36026 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
36027 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36028 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
36029 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
36030 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
36031 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
36032 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
36033 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
36034 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36035 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36036 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36037 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
36038 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
36039 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
36040 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36041 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36042 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
36043 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36044 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
36045 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
36046 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
36047 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
36048 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
36049 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
36050 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
36051 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36052 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
36053 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
36054 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36055 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36056 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36057 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36058 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
36059 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
36060 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
36061 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36062 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36063 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
36064 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
36065 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36066 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36067 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
36068 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
36069 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
36070 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
36071 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
36072 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
36073 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
36074 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
36075 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
36076 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
36077 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36078 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36079 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
36080 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
36081 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
36082 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
36083 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36084 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36085 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36086 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36087 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
36088 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
36089 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
36090 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
36091 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
36092 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
36093 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
36094 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
36095 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
36096 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
36097 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
36098 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
36099 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
36100 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
36101 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
36102 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
36103 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
36104 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
36105 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
36106 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
36107 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
36108 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
36109 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
36110 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
36111 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36112 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36113 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36114 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
36115 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
36116 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
36117 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
36118 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
36119 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
36120 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
36121 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
36122 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
36123 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
36124 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
36125 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36126 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36127 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36128 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
36129 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
36130 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
36131 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
36132 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
36133 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
36134 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
36135 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
36136 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36137 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36138 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
36139 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
36140 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
36141 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
36142 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
36143 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
36144 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
36145 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
36146 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
36147 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
36148 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
36149 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
36150 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
36151 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
36152 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
36153 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
36154 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
36155 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
36156 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
36157 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
36158 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
36159 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
36160 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
36161 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
36162 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
36163 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
36164 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
36165 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
36166 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
36167 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
36168 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
36169 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
36170 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
36171 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
36172 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
36173 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
36174 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
36175 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
36176 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
36177 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
36178 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
36179 { NULL, NULL }
36180 };
36181
36182
36183 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36184
36185 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
36186 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
36187 }
36188 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
36189 return (void *)((wxSizer *) ((wxBoxSizer *) x));
36190 }
36191 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
36192 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
36193 }
36194 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
36195 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36196 }
36197 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
36198 return (void *)((wxSizer *) ((wxGridSizer *) x));
36199 }
36200 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
36201 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
36202 }
36203 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36204 return (void *)((wxSizer *) ((wxPySizer *) x));
36205 }
36206 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
36207 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
36208 }
36209 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36210 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36211 }
36212 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36213 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36214 }
36215 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36216 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36217 }
36218 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36219 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36220 }
36221 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36222 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36223 }
36224 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36225 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36226 }
36227 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36228 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36229 }
36230 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36231 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36232 }
36233 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36234 return (void *)((wxEvent *) ((wxPyEvent *) x));
36235 }
36236 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36237 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36238 }
36239 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36240 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36241 }
36242 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36243 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36244 }
36245 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36246 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36247 }
36248 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36249 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36250 }
36251 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36252 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36253 }
36254 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36255 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36256 }
36257 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36258 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36259 }
36260 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36261 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36262 }
36263 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36264 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36265 }
36266 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36267 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36268 }
36269 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36270 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36271 }
36272 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36273 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36274 }
36275 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36276 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36277 }
36278 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36279 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36280 }
36281 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36282 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36283 }
36284 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36285 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36286 }
36287 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36288 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36289 }
36290 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36291 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36292 }
36293 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36294 return (void *)((wxEvent *) ((wxShowEvent *) x));
36295 }
36296 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36297 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36298 }
36299 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36300 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36301 }
36302 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36303 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36304 }
36305 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36306 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36307 }
36308 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36309 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36310 }
36311 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36312 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36313 }
36314 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
36315 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
36316 }
36317 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
36318 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
36319 }
36320 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
36321 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
36322 }
36323 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36324 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36325 }
36326 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36327 return (void *)((wxControl *) ((wxControlWithItems *) x));
36328 }
36329 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36330 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36331 }
36332 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36333 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36334 }
36335 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36336 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36337 }
36338 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36339 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36340 }
36341 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36342 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36343 }
36344 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36345 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36346 }
36347 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36348 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36349 }
36350 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36351 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36352 }
36353 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
36354 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
36355 }
36356 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
36357 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
36358 }
36359 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
36360 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
36361 }
36362 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
36363 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
36364 }
36365 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
36366 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
36367 }
36368 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
36369 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36370 }
36371 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
36372 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
36373 }
36374 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
36375 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
36376 }
36377 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
36378 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36379 }
36380 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
36381 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36382 }
36383 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
36384 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
36385 }
36386 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
36387 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
36388 }
36389 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
36390 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
36391 }
36392 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
36393 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
36394 }
36395 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
36396 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
36397 }
36398 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
36399 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
36400 }
36401 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
36402 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
36403 }
36404 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
36405 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
36406 }
36407 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
36408 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
36409 }
36410 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
36411 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
36412 }
36413 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
36414 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
36415 }
36416 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36417 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36418 }
36419 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36420 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36421 }
36422 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36423 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36424 }
36425 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36426 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36427 }
36428 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36429 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36430 }
36431 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36432 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36433 }
36434 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36435 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36436 }
36437 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36438 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36439 }
36440 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36442 }
36443 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36444 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36445 }
36446 static void *_p_wxSizerTo_p_wxObject(void *x) {
36447 return (void *)((wxObject *) ((wxSizer *) x));
36448 }
36449 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36450 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36451 }
36452 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36453 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36454 }
36455 static void *_p_wxMenuTo_p_wxObject(void *x) {
36456 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36457 }
36458 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36459 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36460 }
36461 static void *_p_wxImageTo_p_wxObject(void *x) {
36462 return (void *)((wxObject *) ((wxImage *) x));
36463 }
36464 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36465 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36466 }
36467 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36468 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36469 }
36470 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36471 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36472 }
36473 static void *_p_wxWindowTo_p_wxObject(void *x) {
36474 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36475 }
36476 static void *_p_wxControlTo_p_wxObject(void *x) {
36477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36478 }
36479 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36480 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36481 }
36482 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36483 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36484 }
36485 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36486 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36487 }
36488 static void *_p_wxEventTo_p_wxObject(void *x) {
36489 return (void *)((wxObject *) ((wxEvent *) x));
36490 }
36491 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36492 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36493 }
36494 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36495 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36496 }
36497 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36498 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36499 }
36500 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36501 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36502 }
36503 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36504 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36505 }
36506 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36507 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36508 }
36509 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36510 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36511 }
36512 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36513 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36514 }
36515 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36517 }
36518 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36519 return (void *)((wxObject *) ((wxEvtHandler *) x));
36520 }
36521 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36522 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36523 }
36524 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36525 return (void *)((wxObject *) ((wxImageHandler *) x));
36526 }
36527 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36528 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36529 }
36530 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36531 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36532 }
36533 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36534 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36535 }
36536 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36537 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36538 }
36539 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36540 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36541 }
36542 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36543 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36544 }
36545 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36546 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36547 }
36548 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36549 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36550 }
36551 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36552 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36553 }
36554 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36555 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36556 }
36557 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36558 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36559 }
36560 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36561 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36562 }
36563 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36564 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36565 }
36566 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36567 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36568 }
36569 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36570 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36571 }
36572 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36573 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36574 }
36575 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36576 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36577 }
36578 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36579 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36580 }
36581 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36582 return (void *)((wxObject *) ((wxFileSystem *) x));
36583 }
36584 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36585 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36586 }
36587 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36588 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36589 }
36590 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36591 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36592 }
36593 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36594 return (void *)((wxObject *) ((wxSizerItem *) x));
36595 }
36596 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36597 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36598 }
36599 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36600 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36601 }
36602 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36603 return (void *)((wxObject *) ((wxFSFile *) x));
36604 }
36605 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36606 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36607 }
36608 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36609 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36610 }
36611 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36612 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36613 }
36614 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36615 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36616 }
36617 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36619 }
36620 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36621 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36622 }
36623 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36624 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36625 }
36626 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36627 return (void *)((wxObject *) ((wxMenuItem *) x));
36628 }
36629 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36630 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36631 }
36632 static void *_p_wxControlTo_p_wxWindow(void *x) {
36633 return (void *)((wxWindow *) ((wxControl *) x));
36634 }
36635 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36636 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36637 }
36638 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36639 return (void *)((wxWindow *) ((wxMenuBar *) x));
36640 }
36641 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36642 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36643 }
36644 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36645 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36646 }
36647 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36648 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36649 }
36650 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36651 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36652 }
36653 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36654 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36655 }
36656 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36657 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36658 }
36659 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36660 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36661 }
36662 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36663 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36664 }
36665 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36666 return (void *)((wxValidator *) ((wxPyValidator *) x));
36667 }
36668 static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
36669 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
36670 static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem},{0}};
36671 static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
36672 static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
36673 static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
36674 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}};
36675 static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer},{0}};
36676 static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
36677 static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
36678 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
36679 static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
36680 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
36681 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}};
36682 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}};
36683 static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer},{"_p_wxFlexGridSizer"},{0}};
36684 static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
36685 static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
36686 static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
36687 static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
36688 static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
36689 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
36690 static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
36691 static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
36692 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
36693 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
36694 static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
36695 static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
36696 static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
36697 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
36698 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
36699 static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
36700 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
36701 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
36702 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
36703 static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
36704 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
36705 static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
36706 static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
36707 static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
36708 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
36709 static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
36710 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
36711 static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
36712 static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
36713 static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
36714 static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
36715 static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
36716 static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
36717 static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
36718 static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
36719 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
36720 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
36721 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
36722 static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
36723 static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
36724 static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
36725 static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
36726 static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
36727 static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
36728 static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
36729 static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
36730 static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
36731 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}};
36732 static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler},{0}};
36733 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}};
36734 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}};
36735 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}};
36736 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}};
36737 static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
36738 static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
36739 static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
36740 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
36741 static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
36742 static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
36743 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
36744 static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
36745 static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
36746 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
36747 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
36748 static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
36749 static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36750 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
36751 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
36752 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}};
36753 static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
36754 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
36755 static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
36756 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
36757 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
36758 static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
36759 static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
36760 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}};
36761 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
36762 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
36763 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
36764 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
36765 static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
36766 static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
36767 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36768 static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
36769 static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
36770 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
36771 static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
36772 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}};
36773 static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
36774 static swig_type_info _swigt__p_wxDropTarget[] = {{"_p_wxDropTarget", 0, "wxDropTarget *", 0},{"_p_wxDropTarget"},{0}};
36775 static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
36776 static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
36777 static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
36778 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
36779 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
36780 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
36781 static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
36782
36783 static swig_type_info *swig_types_initial[] = {
36784 _swigt__p_wxLayoutConstraints,
36785 _swigt__p_wxRealPoint,
36786 _swigt__p_wxSizerItem,
36787 _swigt__p_wxGBSizerItem,
36788 _swigt__p_wxScrollEvent,
36789 _swigt__p_wxIndividualLayoutConstraint,
36790 _swigt__p_wxSizer,
36791 _swigt__p_wxBoxSizer,
36792 _swigt__p_wxStaticBoxSizer,
36793 _swigt__p_wxGridBagSizer,
36794 _swigt__p_wxAcceleratorEntry,
36795 _swigt__p_wxUpdateUIEvent,
36796 _swigt__p_wxMenu,
36797 _swigt__p_wxEvent,
36798 _swigt__p_wxGridSizer,
36799 _swigt__p_wxFlexGridSizer,
36800 _swigt__p_wxInitDialogEvent,
36801 _swigt__p_wxItemContainer,
36802 _swigt__p_wxNcPaintEvent,
36803 _swigt__p_wxPaintEvent,
36804 _swigt__p_wxSysColourChangedEvent,
36805 _swigt__p_wxMouseCaptureChangedEvent,
36806 _swigt__p_wxDisplayChangedEvent,
36807 _swigt__p_wxPaletteChangedEvent,
36808 _swigt__p_wxControl,
36809 _swigt__p_wxFont,
36810 _swigt__p_wxMenuBarBase,
36811 _swigt__p_wxSetCursorEvent,
36812 _swigt__p_wxFSFile,
36813 _swigt__p_wxCaret,
36814 _swigt__p_wxRegion,
36815 _swigt__p_wxPoint2D,
36816 _swigt__p_int,
36817 _swigt__p_wxSize,
36818 _swigt__p_wxDC,
36819 _swigt__p_wxPySizer,
36820 _swigt__p_wxNotifyEvent,
36821 _swigt__p_wxPyEvent,
36822 _swigt__p_wxPropagationDisabler,
36823 _swigt__p_wxAppTraits,
36824 _swigt__p_wxArrayString,
36825 _swigt__p_wxShowEvent,
36826 _swigt__p_wxToolTip,
36827 _swigt__p_wxMaximizeEvent,
36828 _swigt__p_wxIconizeEvent,
36829 _swigt__p_wxActivateEvent,
36830 _swigt__p_wxMoveEvent,
36831 _swigt__p_wxSizeEvent,
36832 _swigt__p_wxQueryNewPaletteEvent,
36833 _swigt__p_wxWindowCreateEvent,
36834 _swigt__p_wxIdleEvent,
36835 _swigt__p_wxMenuItem,
36836 _swigt__p_wxStaticBox,
36837 _swigt__p_long,
36838 _swigt__p_wxTIFFHandler,
36839 _swigt__p_wxXPMHandler,
36840 _swigt__p_wxPNMHandler,
36841 _swigt__p_wxJPEGHandler,
36842 _swigt__p_wxPCXHandler,
36843 _swigt__p_wxGIFHandler,
36844 _swigt__p_wxPNGHandler,
36845 _swigt__p_wxANIHandler,
36846 _swigt__p_wxMemoryFSHandler,
36847 _swigt__p_wxEvtHandler,
36848 _swigt__p_wxCURHandler,
36849 _swigt__p_wxICOHandler,
36850 _swigt__p_wxBMPHandler,
36851 _swigt__p_wxImageHandler,
36852 _swigt__p_wxFileSystemHandler,
36853 _swigt__p_wxPyFileSystemHandler,
36854 _swigt__p_wxInternetFSHandler,
36855 _swigt__p_wxZipFSHandler,
36856 _swigt__p_wxRect,
36857 _swigt__p_wxGBSpan,
36858 _swigt__p_wxPropagateOnce,
36859 _swigt__p_wxAcceleratorTable,
36860 _swigt__p_wxGBPosition,
36861 _swigt__p_wxImage,
36862 _swigt__p_wxFrame,
36863 _swigt__p_wxScrollWinEvent,
36864 _swigt__p_wxImageHistogram,
36865 _swigt__p_byte,
36866 _swigt__p_wxPoint,
36867 _swigt__p_wxCursor,
36868 _swigt__p_wxObject,
36869 _swigt__p_wxPyInputStream,
36870 _swigt__p_wxOutputStream,
36871 _swigt__p_wxInputStream,
36872 _swigt__p_wxDateTime,
36873 _swigt__p_wxKeyEvent,
36874 _swigt__p_wxNavigationKeyEvent,
36875 _swigt__p_wxWindowDestroyEvent,
36876 _swigt__p_wxWindow,
36877 _swigt__p_wxMenuBar,
36878 _swigt__p_wxString,
36879 _swigt__p_wxFileSystem,
36880 _swigt__p_wxBitmap,
36881 _swigt__p_wxMenuEvent,
36882 _swigt__p_wxContextMenuEvent,
36883 _swigt__p_unsigned_char,
36884 _swigt__p_wxCloseEvent,
36885 _swigt__p_wxEraseEvent,
36886 _swigt__p_wxMouseEvent,
36887 _swigt__p_wxPyApp,
36888 _swigt__p_wxCommandEvent,
36889 _swigt__p_wxPyCommandEvent,
36890 _swigt__p_wxDropTarget,
36891 _swigt__p_wxChildFocusEvent,
36892 _swigt__p_wxFocusEvent,
36893 _swigt__p_wxDropFilesEvent,
36894 _swigt__p_wxControlWithItems,
36895 _swigt__p_wxColour,
36896 _swigt__p_wxValidator,
36897 _swigt__p_wxPyValidator,
36898 0
36899 };
36900
36901
36902 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36903
36904 static swig_const_info swig_const_table[] = {
36905 { SWIG_PY_INT, (char *)"NOT_FOUND", (long) wxNOT_FOUND, 0, 0, 0},
36906 { SWIG_PY_INT, (char *)"VSCROLL", (long) wxVSCROLL, 0, 0, 0},
36907 { SWIG_PY_INT, (char *)"HSCROLL", (long) wxHSCROLL, 0, 0, 0},
36908 { SWIG_PY_INT, (char *)"CAPTION", (long) wxCAPTION, 0, 0, 0},
36909 { SWIG_PY_INT, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER, 0, 0, 0},
36910 { SWIG_PY_INT, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER, 0, 0, 0},
36911 { SWIG_PY_INT, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER, 0, 0, 0},
36912 { SWIG_PY_INT, (char *)"BORDER", (long) wxBORDER, 0, 0, 0},
36913 { SWIG_PY_INT, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER, 0, 0, 0},
36914 { SWIG_PY_INT, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER, 0, 0, 0},
36915 { SWIG_PY_INT, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW, 0, 0, 0},
36916 { SWIG_PY_INT, (char *)"NO_BORDER", (long) wxNO_BORDER, 0, 0, 0},
36917 { SWIG_PY_INT, (char *)"USER_COLOURS", (long) wxUSER_COLOURS, 0, 0, 0},
36918 { SWIG_PY_INT, (char *)"NO_3D", (long) wxNO_3D, 0, 0, 0},
36919 { SWIG_PY_INT, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL, 0, 0, 0},
36920 { SWIG_PY_INT, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS, 0, 0, 0},
36921 { SWIG_PY_INT, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW, 0, 0, 0},
36922 { SWIG_PY_INT, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME, 0, 0, 0},
36923 { SWIG_PY_INT, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN, 0, 0, 0},
36924 { SWIG_PY_INT, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN, 0, 0, 0},
36925 { SWIG_PY_INT, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP, 0, 0, 0},
36926 { SWIG_PY_INT, (char *)"ICONIZE", (long) wxICONIZE, 0, 0, 0},
36927 { SWIG_PY_INT, (char *)"MINIMIZE", (long) wxMINIMIZE, 0, 0, 0},
36928 { SWIG_PY_INT, (char *)"MAXIMIZE", (long) wxMAXIMIZE, 0, 0, 0},
36929 { SWIG_PY_INT, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX, 0, 0, 0},
36930 { SWIG_PY_INT, (char *)"THICK_FRAME", (long) wxTHICK_FRAME, 0, 0, 0},
36931 { SWIG_PY_INT, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU, 0, 0, 0},
36932 { SWIG_PY_INT, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX, 0, 0, 0},
36933 { SWIG_PY_INT, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX, 0, 0, 0},
36934 { SWIG_PY_INT, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ, 0, 0, 0},
36935 { SWIG_PY_INT, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT, 0, 0, 0},
36936 { SWIG_PY_INT, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX, 0, 0, 0},
36937 { SWIG_PY_INT, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER, 0, 0, 0},
36938 { SWIG_PY_INT, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL, 0, 0, 0},
36939 { SWIG_PY_INT, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS, 0, 0, 0},
36940 { SWIG_PY_INT, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT, 0, 0, 0},
36941 { SWIG_PY_INT, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE, 0, 0, 0},
36942 { SWIG_PY_INT, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE, 0, 0, 0},
36943 { SWIG_PY_INT, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW, 0, 0, 0},
36944 { SWIG_PY_INT, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT, 0, 0, 0},
36945 { SWIG_PY_INT, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU, 0, 0, 0},
36946 { SWIG_PY_INT, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR, 0, 0, 0},
36947 { SWIG_PY_INT, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED, 0, 0, 0},
36948 { SWIG_PY_INT, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN, 0, 0, 0},
36949 { SWIG_PY_INT, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM, 0, 0, 0},
36950 { SWIG_PY_INT, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT, 0, 0, 0},
36951 { SWIG_PY_INT, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE, 0, 0, 0},
36952 { SWIG_PY_INT, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE, 0, 0, 0},
36953 { SWIG_PY_INT, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN, 0, 0, 0},
36954 { SWIG_PY_INT, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS, 0, 0, 0},
36955 { SWIG_PY_INT, (char *)"RETAINED", (long) wxRETAINED, 0, 0, 0},
36956 { SWIG_PY_INT, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE, 0, 0, 0},
36957 { SWIG_PY_INT, (char *)"COLOURED", (long) wxCOLOURED, 0, 0, 0},
36958 { SWIG_PY_INT, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH, 0, 0, 0},
36959 { SWIG_PY_INT, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB, 0, 0, 0},
36960 { SWIG_PY_INT, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB, 0, 0, 0},
36961 { SWIG_PY_INT, (char *)"LB_SORT", (long) wxLB_SORT, 0, 0, 0},
36962 { SWIG_PY_INT, (char *)"LB_SINGLE", (long) wxLB_SINGLE, 0, 0, 0},
36963 { SWIG_PY_INT, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE, 0, 0, 0},
36964 { SWIG_PY_INT, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED, 0, 0, 0},
36965 { SWIG_PY_INT, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW, 0, 0, 0},
36966 { SWIG_PY_INT, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL, 0, 0, 0},
36967 { SWIG_PY_INT, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER, 0, 0, 0},
36968 { SWIG_PY_INT, (char *)"PASSWORD", (long) wxPASSWORD, 0, 0, 0},
36969 { SWIG_PY_INT, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE, 0, 0, 0},
36970 { SWIG_PY_INT, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN, 0, 0, 0},
36971 { SWIG_PY_INT, (char *)"CB_SORT", (long) wxCB_SORT, 0, 0, 0},
36972 { SWIG_PY_INT, (char *)"CB_READONLY", (long) wxCB_READONLY, 0, 0, 0},
36973 { SWIG_PY_INT, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL, 0, 0, 0},
36974 { SWIG_PY_INT, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL, 0, 0, 0},
36975 { SWIG_PY_INT, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS, 0, 0, 0},
36976 { SWIG_PY_INT, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS, 0, 0, 0},
36977 { SWIG_PY_INT, (char *)"RB_GROUP", (long) wxRB_GROUP, 0, 0, 0},
36978 { SWIG_PY_INT, (char *)"RB_SINGLE", (long) wxRB_SINGLE, 0, 0, 0},
36979 { SWIG_PY_INT, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL, 0, 0, 0},
36980 { SWIG_PY_INT, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL, 0, 0, 0},
36981 { SWIG_PY_INT, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS, 0, 0, 0},
36982 { SWIG_PY_INT, (char *)"SL_LABELS", (long) wxSL_LABELS, 0, 0, 0},
36983 { SWIG_PY_INT, (char *)"SL_LEFT", (long) wxSL_LEFT, 0, 0, 0},
36984 { SWIG_PY_INT, (char *)"SL_TOP", (long) wxSL_TOP, 0, 0, 0},
36985 { SWIG_PY_INT, (char *)"SL_RIGHT", (long) wxSL_RIGHT, 0, 0, 0},
36986 { SWIG_PY_INT, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM, 0, 0, 0},
36987 { SWIG_PY_INT, (char *)"SL_BOTH", (long) wxSL_BOTH, 0, 0, 0},
36988 { SWIG_PY_INT, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE, 0, 0, 0},
36989 { SWIG_PY_INT, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL, 0, 0, 0},
36990 { SWIG_PY_INT, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL, 0, 0, 0},
36991 { SWIG_PY_INT, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP, 0, 0, 0},
36992 { SWIG_PY_INT, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE, 0, 0, 0},
36993 { SWIG_PY_INT, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE, 0, 0, 0},
36994 { SWIG_PY_INT, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER, 0, 0, 0},
36995 { SWIG_PY_INT, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE, 0, 0, 0},
36996 { SWIG_PY_INT, (char *)"WINDING_RULE", (long) wxWINDING_RULE, 0, 0, 0},
36997 { SWIG_PY_INT, (char *)"TOOL_TOP", (long) wxTOOL_TOP, 0, 0, 0},
36998 { SWIG_PY_INT, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM, 0, 0, 0},
36999 { SWIG_PY_INT, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT, 0, 0, 0},
37000 { SWIG_PY_INT, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT, 0, 0, 0},
37001 { SWIG_PY_INT, (char *)"OK", (long) wxOK, 0, 0, 0},
37002 { SWIG_PY_INT, (char *)"YES_NO", (long) wxYES_NO, 0, 0, 0},
37003 { SWIG_PY_INT, (char *)"CANCEL", (long) wxCANCEL, 0, 0, 0},
37004 { SWIG_PY_INT, (char *)"YES", (long) wxYES, 0, 0, 0},
37005 { SWIG_PY_INT, (char *)"NO", (long) wxNO, 0, 0, 0},
37006 { SWIG_PY_INT, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT, 0, 0, 0},
37007 { SWIG_PY_INT, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT, 0, 0, 0},
37008 { SWIG_PY_INT, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION, 0, 0, 0},
37009 { SWIG_PY_INT, (char *)"ICON_HAND", (long) wxICON_HAND, 0, 0, 0},
37010 { SWIG_PY_INT, (char *)"ICON_QUESTION", (long) wxICON_QUESTION, 0, 0, 0},
37011 { SWIG_PY_INT, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION, 0, 0, 0},
37012 { SWIG_PY_INT, (char *)"ICON_STOP", (long) wxICON_STOP, 0, 0, 0},
37013 { SWIG_PY_INT, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK, 0, 0, 0},
37014 { SWIG_PY_INT, (char *)"ICON_MASK", (long) wxICON_MASK, 0, 0, 0},
37015 { SWIG_PY_INT, (char *)"ICON_WARNING", (long) wxICON_WARNING, 0, 0, 0},
37016 { SWIG_PY_INT, (char *)"ICON_ERROR", (long) wxICON_ERROR, 0, 0, 0},
37017 { SWIG_PY_INT, (char *)"FORWARD", (long) wxFORWARD, 0, 0, 0},
37018 { SWIG_PY_INT, (char *)"BACKWARD", (long) wxBACKWARD, 0, 0, 0},
37019 { SWIG_PY_INT, (char *)"RESET", (long) wxRESET, 0, 0, 0},
37020 { SWIG_PY_INT, (char *)"HELP", (long) wxHELP, 0, 0, 0},
37021 { SWIG_PY_INT, (char *)"MORE", (long) wxMORE, 0, 0, 0},
37022 { SWIG_PY_INT, (char *)"SETUP", (long) wxSETUP, 0, 0, 0},
37023 { SWIG_PY_INT, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH, 0, 0, 0},
37024 { SWIG_PY_INT, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT, 0, 0, 0},
37025 { SWIG_PY_INT, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO, 0, 0, 0},
37026 { SWIG_PY_INT, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING, 0, 0, 0},
37027 { SWIG_PY_INT, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE, 0, 0, 0},
37028 { SWIG_PY_INT, (char *)"PORTRAIT", (long) wxPORTRAIT, 0, 0, 0},
37029 { SWIG_PY_INT, (char *)"LANDSCAPE", (long) wxLANDSCAPE, 0, 0, 0},
37030 { SWIG_PY_INT, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH, 0, 0, 0},
37031 { SWIG_PY_INT, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM, 0, 0, 0},
37032 { SWIG_PY_INT, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW, 0, 0, 0},
37033 { SWIG_PY_INT, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT, 0, 0, 0},
37034 { SWIG_PY_INT, (char *)"ID_ANY", (long) wxID_ANY, 0, 0, 0},
37035 { SWIG_PY_INT, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR, 0, 0, 0},
37036 { SWIG_PY_INT, (char *)"ID_LOWEST", (long) wxID_LOWEST, 0, 0, 0},
37037 { SWIG_PY_INT, (char *)"ID_OPEN", (long) wxID_OPEN, 0, 0, 0},
37038 { SWIG_PY_INT, (char *)"ID_CLOSE", (long) wxID_CLOSE, 0, 0, 0},
37039 { SWIG_PY_INT, (char *)"ID_NEW", (long) wxID_NEW, 0, 0, 0},
37040 { SWIG_PY_INT, (char *)"ID_SAVE", (long) wxID_SAVE, 0, 0, 0},
37041 { SWIG_PY_INT, (char *)"ID_SAVEAS", (long) wxID_SAVEAS, 0, 0, 0},
37042 { SWIG_PY_INT, (char *)"ID_REVERT", (long) wxID_REVERT, 0, 0, 0},
37043 { SWIG_PY_INT, (char *)"ID_EXIT", (long) wxID_EXIT, 0, 0, 0},
37044 { SWIG_PY_INT, (char *)"ID_UNDO", (long) wxID_UNDO, 0, 0, 0},
37045 { SWIG_PY_INT, (char *)"ID_REDO", (long) wxID_REDO, 0, 0, 0},
37046 { SWIG_PY_INT, (char *)"ID_HELP", (long) wxID_HELP, 0, 0, 0},
37047 { SWIG_PY_INT, (char *)"ID_PRINT", (long) wxID_PRINT, 0, 0, 0},
37048 { SWIG_PY_INT, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP, 0, 0, 0},
37049 { SWIG_PY_INT, (char *)"ID_PREVIEW", (long) wxID_PREVIEW, 0, 0, 0},
37050 { SWIG_PY_INT, (char *)"ID_ABOUT", (long) wxID_ABOUT, 0, 0, 0},
37051 { SWIG_PY_INT, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS, 0, 0, 0},
37052 { SWIG_PY_INT, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS, 0, 0, 0},
37053 { SWIG_PY_INT, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES, 0, 0, 0},
37054 { SWIG_PY_INT, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT, 0, 0, 0},
37055 { SWIG_PY_INT, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL, 0, 0, 0},
37056 { SWIG_PY_INT, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES, 0, 0, 0},
37057 { SWIG_PY_INT, (char *)"ID_CUT", (long) wxID_CUT, 0, 0, 0},
37058 { SWIG_PY_INT, (char *)"ID_COPY", (long) wxID_COPY, 0, 0, 0},
37059 { SWIG_PY_INT, (char *)"ID_PASTE", (long) wxID_PASTE, 0, 0, 0},
37060 { SWIG_PY_INT, (char *)"ID_CLEAR", (long) wxID_CLEAR, 0, 0, 0},
37061 { SWIG_PY_INT, (char *)"ID_FIND", (long) wxID_FIND, 0, 0, 0},
37062 { SWIG_PY_INT, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE, 0, 0, 0},
37063 { SWIG_PY_INT, (char *)"ID_SELECTALL", (long) wxID_SELECTALL, 0, 0, 0},
37064 { SWIG_PY_INT, (char *)"ID_DELETE", (long) wxID_DELETE, 0, 0, 0},
37065 { SWIG_PY_INT, (char *)"ID_REPLACE", (long) wxID_REPLACE, 0, 0, 0},
37066 { SWIG_PY_INT, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL, 0, 0, 0},
37067 { SWIG_PY_INT, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES, 0, 0, 0},
37068 { SWIG_PY_INT, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS, 0, 0, 0},
37069 { SWIG_PY_INT, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS, 0, 0, 0},
37070 { SWIG_PY_INT, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS, 0, 0, 0},
37071 { SWIG_PY_INT, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST, 0, 0, 0},
37072 { SWIG_PY_INT, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE, 0, 0, 0},
37073 { SWIG_PY_INT, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME, 0, 0, 0},
37074 { SWIG_PY_INT, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE, 0, 0, 0},
37075 { SWIG_PY_INT, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE, 0, 0, 0},
37076 { SWIG_PY_INT, (char *)"ID_FILE1", (long) wxID_FILE1, 0, 0, 0},
37077 { SWIG_PY_INT, (char *)"ID_FILE2", (long) wxID_FILE2, 0, 0, 0},
37078 { SWIG_PY_INT, (char *)"ID_FILE3", (long) wxID_FILE3, 0, 0, 0},
37079 { SWIG_PY_INT, (char *)"ID_FILE4", (long) wxID_FILE4, 0, 0, 0},
37080 { SWIG_PY_INT, (char *)"ID_FILE5", (long) wxID_FILE5, 0, 0, 0},
37081 { SWIG_PY_INT, (char *)"ID_FILE6", (long) wxID_FILE6, 0, 0, 0},
37082 { SWIG_PY_INT, (char *)"ID_FILE7", (long) wxID_FILE7, 0, 0, 0},
37083 { SWIG_PY_INT, (char *)"ID_FILE8", (long) wxID_FILE8, 0, 0, 0},
37084 { SWIG_PY_INT, (char *)"ID_FILE9", (long) wxID_FILE9, 0, 0, 0},
37085 { SWIG_PY_INT, (char *)"ID_OK", (long) wxID_OK, 0, 0, 0},
37086 { SWIG_PY_INT, (char *)"ID_CANCEL", (long) wxID_CANCEL, 0, 0, 0},
37087 { SWIG_PY_INT, (char *)"ID_APPLY", (long) wxID_APPLY, 0, 0, 0},
37088 { SWIG_PY_INT, (char *)"ID_YES", (long) wxID_YES, 0, 0, 0},
37089 { SWIG_PY_INT, (char *)"ID_NO", (long) wxID_NO, 0, 0, 0},
37090 { SWIG_PY_INT, (char *)"ID_STATIC", (long) wxID_STATIC, 0, 0, 0},
37091 { SWIG_PY_INT, (char *)"ID_FORWARD", (long) wxID_FORWARD, 0, 0, 0},
37092 { SWIG_PY_INT, (char *)"ID_BACKWARD", (long) wxID_BACKWARD, 0, 0, 0},
37093 { SWIG_PY_INT, (char *)"ID_DEFAULT", (long) wxID_DEFAULT, 0, 0, 0},
37094 { SWIG_PY_INT, (char *)"ID_MORE", (long) wxID_MORE, 0, 0, 0},
37095 { SWIG_PY_INT, (char *)"ID_SETUP", (long) wxID_SETUP, 0, 0, 0},
37096 { SWIG_PY_INT, (char *)"ID_RESET", (long) wxID_RESET, 0, 0, 0},
37097 { SWIG_PY_INT, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP, 0, 0, 0},
37098 { SWIG_PY_INT, (char *)"ID_YESTOALL", (long) wxID_YESTOALL, 0, 0, 0},
37099 { SWIG_PY_INT, (char *)"ID_NOTOALL", (long) wxID_NOTOALL, 0, 0, 0},
37100 { SWIG_PY_INT, (char *)"ID_ABORT", (long) wxID_ABORT, 0, 0, 0},
37101 { SWIG_PY_INT, (char *)"ID_RETRY", (long) wxID_RETRY, 0, 0, 0},
37102 { SWIG_PY_INT, (char *)"ID_IGNORE", (long) wxID_IGNORE, 0, 0, 0},
37103 { SWIG_PY_INT, (char *)"ID_HIGHEST", (long) wxID_HIGHEST, 0, 0, 0},
37104 { SWIG_PY_INT, (char *)"OPEN", (long) wxOPEN, 0, 0, 0},
37105 { SWIG_PY_INT, (char *)"SAVE", (long) wxSAVE, 0, 0, 0},
37106 { SWIG_PY_INT, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY, 0, 0, 0},
37107 { SWIG_PY_INT, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT, 0, 0, 0},
37108 { SWIG_PY_INT, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST, 0, 0, 0},
37109 { SWIG_PY_INT, (char *)"MULTIPLE", (long) wxMULTIPLE, 0, 0, 0},
37110 { SWIG_PY_INT, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR, 0, 0, 0},
37111 { SWIG_PY_INT, (char *)"ACCEL_ALT", (long) wxACCEL_ALT, 0, 0, 0},
37112 { SWIG_PY_INT, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL, 0, 0, 0},
37113 { SWIG_PY_INT, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT, 0, 0, 0},
37114 { SWIG_PY_INT, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL, 0, 0, 0},
37115 { SWIG_PY_INT, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE, 0, 0, 0},
37116 { SWIG_PY_INT, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL, 0, 0, 0},
37117 { SWIG_PY_INT, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT, 0, 0, 0},
37118 { SWIG_PY_INT, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME, 0, 0, 0},
37119 { SWIG_PY_INT, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME, 0, 0, 0},
37120 { SWIG_PY_INT, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME, 0, 0, 0},
37121 { SWIG_PY_INT, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON, 0, 0, 0},
37122 { SWIG_PY_INT, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE, 0, 0, 0},
37123 { SWIG_PY_INT, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF, 0, 0, 0},
37124 { SWIG_PY_INT, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE, 0, 0, 0},
37125 { SWIG_PY_INT, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE, 0, 0, 0},
37126 { SWIG_PY_INT, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL, 0, 0, 0},
37127 { SWIG_PY_INT, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL, 0, 0, 0},
37128 { SWIG_PY_INT, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY, 0, 0, 0},
37129 { SWIG_PY_INT, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS, 0, 0, 0},
37130 { SWIG_PY_INT, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT, 0, 0, 0},
37131 { SWIG_PY_INT, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND, 0, 0, 0},
37132 { SWIG_PY_INT, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE, 0, 0, 0},
37133 { SWIG_PY_INT, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES, 0, 0, 0},
37134 { SWIG_PY_INT, (char *)"MM_TEXT", (long) wxMM_TEXT, 0, 0, 0},
37135 { SWIG_PY_INT, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC, 0, 0, 0},
37136 { SWIG_PY_INT, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC, 0, 0, 0},
37137 { SWIG_PY_INT, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH, 0, 0, 0},
37138 { SWIG_PY_INT, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH, 0, 0, 0},
37139 { SWIG_PY_INT, (char *)"MM_TWIPS", (long) wxMM_TWIPS, 0, 0, 0},
37140 { SWIG_PY_INT, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC, 0, 0, 0},
37141 { SWIG_PY_INT, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC, 0, 0, 0},
37142 { SWIG_PY_INT, (char *)"MM_POINTS", (long) wxMM_POINTS, 0, 0, 0},
37143 { SWIG_PY_INT, (char *)"MM_METRIC", (long) wxMM_METRIC, 0, 0, 0},
37144 { SWIG_PY_INT, (char *)"CENTRE", (long) wxCENTRE, 0, 0, 0},
37145 { SWIG_PY_INT, (char *)"CENTER", (long) wxCENTER, 0, 0, 0},
37146 { SWIG_PY_INT, (char *)"HORIZONTAL", (long) wxHORIZONTAL, 0, 0, 0},
37147 { SWIG_PY_INT, (char *)"VERTICAL", (long) wxVERTICAL, 0, 0, 0},
37148 { SWIG_PY_INT, (char *)"BOTH", (long) wxBOTH, 0, 0, 0},
37149 { SWIG_PY_INT, (char *)"LEFT", (long) wxLEFT, 0, 0, 0},
37150 { SWIG_PY_INT, (char *)"RIGHT", (long) wxRIGHT, 0, 0, 0},
37151 { SWIG_PY_INT, (char *)"UP", (long) wxUP, 0, 0, 0},
37152 { SWIG_PY_INT, (char *)"DOWN", (long) wxDOWN, 0, 0, 0},
37153 { SWIG_PY_INT, (char *)"TOP", (long) wxTOP, 0, 0, 0},
37154 { SWIG_PY_INT, (char *)"BOTTOM", (long) wxBOTTOM, 0, 0, 0},
37155 { SWIG_PY_INT, (char *)"NORTH", (long) wxNORTH, 0, 0, 0},
37156 { SWIG_PY_INT, (char *)"SOUTH", (long) wxSOUTH, 0, 0, 0},
37157 { SWIG_PY_INT, (char *)"WEST", (long) wxWEST, 0, 0, 0},
37158 { SWIG_PY_INT, (char *)"EAST", (long) wxEAST, 0, 0, 0},
37159 { SWIG_PY_INT, (char *)"ALL", (long) wxALL, 0, 0, 0},
37160 { SWIG_PY_INT, (char *)"ALIGN_NOT", (long) wxALIGN_NOT, 0, 0, 0},
37161 { SWIG_PY_INT, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL, 0, 0, 0},
37162 { SWIG_PY_INT, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL, 0, 0, 0},
37163 { SWIG_PY_INT, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT, 0, 0, 0},
37164 { SWIG_PY_INT, (char *)"ALIGN_TOP", (long) wxALIGN_TOP, 0, 0, 0},
37165 { SWIG_PY_INT, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT, 0, 0, 0},
37166 { SWIG_PY_INT, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM, 0, 0, 0},
37167 { SWIG_PY_INT, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL, 0, 0, 0},
37168 { SWIG_PY_INT, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL, 0, 0, 0},
37169 { SWIG_PY_INT, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER, 0, 0, 0},
37170 { SWIG_PY_INT, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE, 0, 0, 0},
37171 { SWIG_PY_INT, (char *)"ALIGN_MASK", (long) wxALIGN_MASK, 0, 0, 0},
37172 { SWIG_PY_INT, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT, 0, 0, 0},
37173 { SWIG_PY_INT, (char *)"SHRINK", (long) wxSHRINK, 0, 0, 0},
37174 { SWIG_PY_INT, (char *)"GROW", (long) wxGROW, 0, 0, 0},
37175 { SWIG_PY_INT, (char *)"EXPAND", (long) wxEXPAND, 0, 0, 0},
37176 { SWIG_PY_INT, (char *)"SHAPED", (long) wxSHAPED, 0, 0, 0},
37177 { SWIG_PY_INT, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE, 0, 0, 0},
37178 { SWIG_PY_INT, (char *)"TILE", (long) wxTILE, 0, 0, 0},
37179 { SWIG_PY_INT, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT, 0, 0, 0},
37180 { SWIG_PY_INT, (char *)"BORDER_NONE", (long) wxBORDER_NONE, 0, 0, 0},
37181 { SWIG_PY_INT, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC, 0, 0, 0},
37182 { SWIG_PY_INT, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE, 0, 0, 0},
37183 { SWIG_PY_INT, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED, 0, 0, 0},
37184 { SWIG_PY_INT, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN, 0, 0, 0},
37185 { SWIG_PY_INT, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE, 0, 0, 0},
37186 { SWIG_PY_INT, (char *)"BORDER_MASK", (long) wxBORDER_MASK, 0, 0, 0},
37187 { SWIG_PY_INT, (char *)"DEFAULT", (long) wxDEFAULT, 0, 0, 0},
37188 { SWIG_PY_INT, (char *)"DECORATIVE", (long) wxDECORATIVE, 0, 0, 0},
37189 { SWIG_PY_INT, (char *)"ROMAN", (long) wxROMAN, 0, 0, 0},
37190 { SWIG_PY_INT, (char *)"SCRIPT", (long) wxSCRIPT, 0, 0, 0},
37191 { SWIG_PY_INT, (char *)"SWISS", (long) wxSWISS, 0, 0, 0},
37192 { SWIG_PY_INT, (char *)"MODERN", (long) wxMODERN, 0, 0, 0},
37193 { SWIG_PY_INT, (char *)"TELETYPE", (long) wxTELETYPE, 0, 0, 0},
37194 { SWIG_PY_INT, (char *)"VARIABLE", (long) wxVARIABLE, 0, 0, 0},
37195 { SWIG_PY_INT, (char *)"FIXED", (long) wxFIXED, 0, 0, 0},
37196 { SWIG_PY_INT, (char *)"NORMAL", (long) wxNORMAL, 0, 0, 0},
37197 { SWIG_PY_INT, (char *)"LIGHT", (long) wxLIGHT, 0, 0, 0},
37198 { SWIG_PY_INT, (char *)"BOLD", (long) wxBOLD, 0, 0, 0},
37199 { SWIG_PY_INT, (char *)"ITALIC", (long) wxITALIC, 0, 0, 0},
37200 { SWIG_PY_INT, (char *)"SLANT", (long) wxSLANT, 0, 0, 0},
37201 { SWIG_PY_INT, (char *)"SOLID", (long) wxSOLID, 0, 0, 0},
37202 { SWIG_PY_INT, (char *)"DOT", (long) wxDOT, 0, 0, 0},
37203 { SWIG_PY_INT, (char *)"LONG_DASH", (long) wxLONG_DASH, 0, 0, 0},
37204 { SWIG_PY_INT, (char *)"SHORT_DASH", (long) wxSHORT_DASH, 0, 0, 0},
37205 { SWIG_PY_INT, (char *)"DOT_DASH", (long) wxDOT_DASH, 0, 0, 0},
37206 { SWIG_PY_INT, (char *)"USER_DASH", (long) wxUSER_DASH, 0, 0, 0},
37207 { SWIG_PY_INT, (char *)"TRANSPARENT", (long) wxTRANSPARENT, 0, 0, 0},
37208 { SWIG_PY_INT, (char *)"STIPPLE", (long) wxSTIPPLE, 0, 0, 0},
37209 { SWIG_PY_INT, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH, 0, 0, 0},
37210 { SWIG_PY_INT, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH, 0, 0, 0},
37211 { SWIG_PY_INT, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH, 0, 0, 0},
37212 { SWIG_PY_INT, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH, 0, 0, 0},
37213 { SWIG_PY_INT, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH, 0, 0, 0},
37214 { SWIG_PY_INT, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH, 0, 0, 0},
37215 { SWIG_PY_INT, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL, 0, 0, 0},
37216 { SWIG_PY_INT, (char *)"JOIN_MITER", (long) wxJOIN_MITER, 0, 0, 0},
37217 { SWIG_PY_INT, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND, 0, 0, 0},
37218 { SWIG_PY_INT, (char *)"CAP_ROUND", (long) wxCAP_ROUND, 0, 0, 0},
37219 { SWIG_PY_INT, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING, 0, 0, 0},
37220 { SWIG_PY_INT, (char *)"CAP_BUTT", (long) wxCAP_BUTT, 0, 0, 0},
37221 { SWIG_PY_INT, (char *)"CLEAR", (long) wxCLEAR, 0, 0, 0},
37222 { SWIG_PY_INT, (char *)"XOR", (long) wxXOR, 0, 0, 0},
37223 { SWIG_PY_INT, (char *)"INVERT", (long) wxINVERT, 0, 0, 0},
37224 { SWIG_PY_INT, (char *)"OR_REVERSE", (long) wxOR_REVERSE, 0, 0, 0},
37225 { SWIG_PY_INT, (char *)"AND_REVERSE", (long) wxAND_REVERSE, 0, 0, 0},
37226 { SWIG_PY_INT, (char *)"COPY", (long) wxCOPY, 0, 0, 0},
37227 { SWIG_PY_INT, (char *)"AND", (long) wxAND, 0, 0, 0},
37228 { SWIG_PY_INT, (char *)"AND_INVERT", (long) wxAND_INVERT, 0, 0, 0},
37229 { SWIG_PY_INT, (char *)"NO_OP", (long) wxNO_OP, 0, 0, 0},
37230 { SWIG_PY_INT, (char *)"NOR", (long) wxNOR, 0, 0, 0},
37231 { SWIG_PY_INT, (char *)"EQUIV", (long) wxEQUIV, 0, 0, 0},
37232 { SWIG_PY_INT, (char *)"SRC_INVERT", (long) wxSRC_INVERT, 0, 0, 0},
37233 { SWIG_PY_INT, (char *)"OR_INVERT", (long) wxOR_INVERT, 0, 0, 0},
37234 { SWIG_PY_INT, (char *)"NAND", (long) wxNAND, 0, 0, 0},
37235 { SWIG_PY_INT, (char *)"OR", (long) wxOR, 0, 0, 0},
37236 { SWIG_PY_INT, (char *)"SET", (long) wxSET, 0, 0, 0},
37237 { SWIG_PY_INT, (char *)"WXK_BACK", (long) WXK_BACK, 0, 0, 0},
37238 { SWIG_PY_INT, (char *)"WXK_TAB", (long) WXK_TAB, 0, 0, 0},
37239 { SWIG_PY_INT, (char *)"WXK_RETURN", (long) WXK_RETURN, 0, 0, 0},
37240 { SWIG_PY_INT, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE, 0, 0, 0},
37241 { SWIG_PY_INT, (char *)"WXK_SPACE", (long) WXK_SPACE, 0, 0, 0},
37242 { SWIG_PY_INT, (char *)"WXK_DELETE", (long) WXK_DELETE, 0, 0, 0},
37243 { SWIG_PY_INT, (char *)"WXK_START", (long) WXK_START, 0, 0, 0},
37244 { SWIG_PY_INT, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON, 0, 0, 0},
37245 { SWIG_PY_INT, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON, 0, 0, 0},
37246 { SWIG_PY_INT, (char *)"WXK_CANCEL", (long) WXK_CANCEL, 0, 0, 0},
37247 { SWIG_PY_INT, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON, 0, 0, 0},
37248 { SWIG_PY_INT, (char *)"WXK_CLEAR", (long) WXK_CLEAR, 0, 0, 0},
37249 { SWIG_PY_INT, (char *)"WXK_SHIFT", (long) WXK_SHIFT, 0, 0, 0},
37250 { SWIG_PY_INT, (char *)"WXK_ALT", (long) WXK_ALT, 0, 0, 0},
37251 { SWIG_PY_INT, (char *)"WXK_CONTROL", (long) WXK_CONTROL, 0, 0, 0},
37252 { SWIG_PY_INT, (char *)"WXK_MENU", (long) WXK_MENU, 0, 0, 0},
37253 { SWIG_PY_INT, (char *)"WXK_PAUSE", (long) WXK_PAUSE, 0, 0, 0},
37254 { SWIG_PY_INT, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL, 0, 0, 0},
37255 { SWIG_PY_INT, (char *)"WXK_PRIOR", (long) WXK_PRIOR, 0, 0, 0},
37256 { SWIG_PY_INT, (char *)"WXK_NEXT", (long) WXK_NEXT, 0, 0, 0},
37257 { SWIG_PY_INT, (char *)"WXK_END", (long) WXK_END, 0, 0, 0},
37258 { SWIG_PY_INT, (char *)"WXK_HOME", (long) WXK_HOME, 0, 0, 0},
37259 { SWIG_PY_INT, (char *)"WXK_LEFT", (long) WXK_LEFT, 0, 0, 0},
37260 { SWIG_PY_INT, (char *)"WXK_UP", (long) WXK_UP, 0, 0, 0},
37261 { SWIG_PY_INT, (char *)"WXK_RIGHT", (long) WXK_RIGHT, 0, 0, 0},
37262 { SWIG_PY_INT, (char *)"WXK_DOWN", (long) WXK_DOWN, 0, 0, 0},
37263 { SWIG_PY_INT, (char *)"WXK_SELECT", (long) WXK_SELECT, 0, 0, 0},
37264 { SWIG_PY_INT, (char *)"WXK_PRINT", (long) WXK_PRINT, 0, 0, 0},
37265 { SWIG_PY_INT, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE, 0, 0, 0},
37266 { SWIG_PY_INT, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT, 0, 0, 0},
37267 { SWIG_PY_INT, (char *)"WXK_INSERT", (long) WXK_INSERT, 0, 0, 0},
37268 { SWIG_PY_INT, (char *)"WXK_HELP", (long) WXK_HELP, 0, 0, 0},
37269 { SWIG_PY_INT, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0, 0, 0, 0},
37270 { SWIG_PY_INT, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1, 0, 0, 0},
37271 { SWIG_PY_INT, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2, 0, 0, 0},
37272 { SWIG_PY_INT, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3, 0, 0, 0},
37273 { SWIG_PY_INT, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4, 0, 0, 0},
37274 { SWIG_PY_INT, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5, 0, 0, 0},
37275 { SWIG_PY_INT, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6, 0, 0, 0},
37276 { SWIG_PY_INT, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7, 0, 0, 0},
37277 { SWIG_PY_INT, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8, 0, 0, 0},
37278 { SWIG_PY_INT, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9, 0, 0, 0},
37279 { SWIG_PY_INT, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY, 0, 0, 0},
37280 { SWIG_PY_INT, (char *)"WXK_ADD", (long) WXK_ADD, 0, 0, 0},
37281 { SWIG_PY_INT, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR, 0, 0, 0},
37282 { SWIG_PY_INT, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT, 0, 0, 0},
37283 { SWIG_PY_INT, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL, 0, 0, 0},
37284 { SWIG_PY_INT, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE, 0, 0, 0},
37285 { SWIG_PY_INT, (char *)"WXK_F1", (long) WXK_F1, 0, 0, 0},
37286 { SWIG_PY_INT, (char *)"WXK_F2", (long) WXK_F2, 0, 0, 0},
37287 { SWIG_PY_INT, (char *)"WXK_F3", (long) WXK_F3, 0, 0, 0},
37288 { SWIG_PY_INT, (char *)"WXK_F4", (long) WXK_F4, 0, 0, 0},
37289 { SWIG_PY_INT, (char *)"WXK_F5", (long) WXK_F5, 0, 0, 0},
37290 { SWIG_PY_INT, (char *)"WXK_F6", (long) WXK_F6, 0, 0, 0},
37291 { SWIG_PY_INT, (char *)"WXK_F7", (long) WXK_F7, 0, 0, 0},
37292 { SWIG_PY_INT, (char *)"WXK_F8", (long) WXK_F8, 0, 0, 0},
37293 { SWIG_PY_INT, (char *)"WXK_F9", (long) WXK_F9, 0, 0, 0},
37294 { SWIG_PY_INT, (char *)"WXK_F10", (long) WXK_F10, 0, 0, 0},
37295 { SWIG_PY_INT, (char *)"WXK_F11", (long) WXK_F11, 0, 0, 0},
37296 { SWIG_PY_INT, (char *)"WXK_F12", (long) WXK_F12, 0, 0, 0},
37297 { SWIG_PY_INT, (char *)"WXK_F13", (long) WXK_F13, 0, 0, 0},
37298 { SWIG_PY_INT, (char *)"WXK_F14", (long) WXK_F14, 0, 0, 0},
37299 { SWIG_PY_INT, (char *)"WXK_F15", (long) WXK_F15, 0, 0, 0},
37300 { SWIG_PY_INT, (char *)"WXK_F16", (long) WXK_F16, 0, 0, 0},
37301 { SWIG_PY_INT, (char *)"WXK_F17", (long) WXK_F17, 0, 0, 0},
37302 { SWIG_PY_INT, (char *)"WXK_F18", (long) WXK_F18, 0, 0, 0},
37303 { SWIG_PY_INT, (char *)"WXK_F19", (long) WXK_F19, 0, 0, 0},
37304 { SWIG_PY_INT, (char *)"WXK_F20", (long) WXK_F20, 0, 0, 0},
37305 { SWIG_PY_INT, (char *)"WXK_F21", (long) WXK_F21, 0, 0, 0},
37306 { SWIG_PY_INT, (char *)"WXK_F22", (long) WXK_F22, 0, 0, 0},
37307 { SWIG_PY_INT, (char *)"WXK_F23", (long) WXK_F23, 0, 0, 0},
37308 { SWIG_PY_INT, (char *)"WXK_F24", (long) WXK_F24, 0, 0, 0},
37309 { SWIG_PY_INT, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK, 0, 0, 0},
37310 { SWIG_PY_INT, (char *)"WXK_SCROLL", (long) WXK_SCROLL, 0, 0, 0},
37311 { SWIG_PY_INT, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP, 0, 0, 0},
37312 { SWIG_PY_INT, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN, 0, 0, 0},
37313 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE, 0, 0, 0},
37314 { SWIG_PY_INT, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB, 0, 0, 0},
37315 { SWIG_PY_INT, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER, 0, 0, 0},
37316 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1, 0, 0, 0},
37317 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2, 0, 0, 0},
37318 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3, 0, 0, 0},
37319 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4, 0, 0, 0},
37320 { SWIG_PY_INT, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME, 0, 0, 0},
37321 { SWIG_PY_INT, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT, 0, 0, 0},
37322 { SWIG_PY_INT, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP, 0, 0, 0},
37323 { SWIG_PY_INT, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT, 0, 0, 0},
37324 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN, 0, 0, 0},
37325 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR, 0, 0, 0},
37326 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP, 0, 0, 0},
37327 { SWIG_PY_INT, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT, 0, 0, 0},
37328 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN, 0, 0, 0},
37329 { SWIG_PY_INT, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END, 0, 0, 0},
37330 { SWIG_PY_INT, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN, 0, 0, 0},
37331 { SWIG_PY_INT, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT, 0, 0, 0},
37332 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE, 0, 0, 0},
37333 { SWIG_PY_INT, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL, 0, 0, 0},
37334 { SWIG_PY_INT, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY, 0, 0, 0},
37335 { SWIG_PY_INT, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD, 0, 0, 0},
37336 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR, 0, 0, 0},
37337 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT, 0, 0, 0},
37338 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL, 0, 0, 0},
37339 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE, 0, 0, 0},
37340 { SWIG_PY_INT, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT, 0, 0, 0},
37341 { SWIG_PY_INT, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT, 0, 0, 0},
37342 { SWIG_PY_INT, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU, 0, 0, 0},
37343 { SWIG_PY_INT, (char *)"PAPER_NONE", (long) wxPAPER_NONE, 0, 0, 0},
37344 { SWIG_PY_INT, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER, 0, 0, 0},
37345 { SWIG_PY_INT, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL, 0, 0, 0},
37346 { SWIG_PY_INT, (char *)"PAPER_A4", (long) wxPAPER_A4, 0, 0, 0},
37347 { SWIG_PY_INT, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET, 0, 0, 0},
37348 { SWIG_PY_INT, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET, 0, 0, 0},
37349 { SWIG_PY_INT, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET, 0, 0, 0},
37350 { SWIG_PY_INT, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL, 0, 0, 0},
37351 { SWIG_PY_INT, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID, 0, 0, 0},
37352 { SWIG_PY_INT, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER, 0, 0, 0},
37353 { SWIG_PY_INT, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT, 0, 0, 0},
37354 { SWIG_PY_INT, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE, 0, 0, 0},
37355 { SWIG_PY_INT, (char *)"PAPER_A3", (long) wxPAPER_A3, 0, 0, 0},
37356 { SWIG_PY_INT, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL, 0, 0, 0},
37357 { SWIG_PY_INT, (char *)"PAPER_A5", (long) wxPAPER_A5, 0, 0, 0},
37358 { SWIG_PY_INT, (char *)"PAPER_B4", (long) wxPAPER_B4, 0, 0, 0},
37359 { SWIG_PY_INT, (char *)"PAPER_B5", (long) wxPAPER_B5, 0, 0, 0},
37360 { SWIG_PY_INT, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO, 0, 0, 0},
37361 { SWIG_PY_INT, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO, 0, 0, 0},
37362 { SWIG_PY_INT, (char *)"PAPER_10X14", (long) wxPAPER_10X14, 0, 0, 0},
37363 { SWIG_PY_INT, (char *)"PAPER_11X17", (long) wxPAPER_11X17, 0, 0, 0},
37364 { SWIG_PY_INT, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE, 0, 0, 0},
37365 { SWIG_PY_INT, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9, 0, 0, 0},
37366 { SWIG_PY_INT, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10, 0, 0, 0},
37367 { SWIG_PY_INT, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11, 0, 0, 0},
37368 { SWIG_PY_INT, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12, 0, 0, 0},
37369 { SWIG_PY_INT, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14, 0, 0, 0},
37370 { SWIG_PY_INT, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL, 0, 0, 0},
37371 { SWIG_PY_INT, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5, 0, 0, 0},
37372 { SWIG_PY_INT, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3, 0, 0, 0},
37373 { SWIG_PY_INT, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4, 0, 0, 0},
37374 { SWIG_PY_INT, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6, 0, 0, 0},
37375 { SWIG_PY_INT, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65, 0, 0, 0},
37376 { SWIG_PY_INT, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4, 0, 0, 0},
37377 { SWIG_PY_INT, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5, 0, 0, 0},
37378 { SWIG_PY_INT, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6, 0, 0, 0},
37379 { SWIG_PY_INT, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY, 0, 0, 0},
37380 { SWIG_PY_INT, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH, 0, 0, 0},
37381 { SWIG_PY_INT, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL, 0, 0, 0},
37382 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US, 0, 0, 0},
37383 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN, 0, 0, 0},
37384 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN, 0, 0, 0},
37385 { SWIG_PY_INT, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4, 0, 0, 0},
37386 { SWIG_PY_INT, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD, 0, 0, 0},
37387 { SWIG_PY_INT, (char *)"PAPER_9X11", (long) wxPAPER_9X11, 0, 0, 0},
37388 { SWIG_PY_INT, (char *)"PAPER_10X11", (long) wxPAPER_10X11, 0, 0, 0},
37389 { SWIG_PY_INT, (char *)"PAPER_15X11", (long) wxPAPER_15X11, 0, 0, 0},
37390 { SWIG_PY_INT, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE, 0, 0, 0},
37391 { SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA, 0, 0, 0},
37392 { SWIG_PY_INT, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA, 0, 0, 0},
37393 { SWIG_PY_INT, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA, 0, 0, 0},
37394 { SWIG_PY_INT, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA, 0, 0, 0},
37395 { SWIG_PY_INT, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE, 0, 0, 0},
37396 { SWIG_PY_INT, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE, 0, 0, 0},
37397 { SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE, 0, 0, 0},
37398 { SWIG_PY_INT, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS, 0, 0, 0},
37399 { SWIG_PY_INT, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS, 0, 0, 0},
37400 { SWIG_PY_INT, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS, 0, 0, 0},
37401 { SWIG_PY_INT, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS, 0, 0, 0},
37402 { SWIG_PY_INT, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE, 0, 0, 0},
37403 { SWIG_PY_INT, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE, 0, 0, 0},
37404 { SWIG_PY_INT, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA, 0, 0, 0},
37405 { SWIG_PY_INT, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA, 0, 0, 0},
37406 { SWIG_PY_INT, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA, 0, 0, 0},
37407 { SWIG_PY_INT, (char *)"PAPER_A2", (long) wxPAPER_A2, 0, 0, 0},
37408 { SWIG_PY_INT, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE, 0, 0, 0},
37409 { SWIG_PY_INT, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE, 0, 0, 0},
37410 { SWIG_PY_INT, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX, 0, 0, 0},
37411 { SWIG_PY_INT, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL, 0, 0, 0},
37412 { SWIG_PY_INT, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL, 0, 0, 0},
37413 { SWIG_PY_INT, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR, 0, 0, 0},
37414 { SWIG_PY_INT, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL, 0, 0, 0},
37415 { SWIG_PY_INT, (char *)"ITEM_CHECK", (long) wxITEM_CHECK, 0, 0, 0},
37416 { SWIG_PY_INT, (char *)"ITEM_RADIO", (long) wxITEM_RADIO, 0, 0, 0},
37417 { SWIG_PY_INT, (char *)"ITEM_MAX", (long) wxITEM_MAX, 0, 0, 0},
37418 { SWIG_PY_INT, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE, 0, 0, 0},
37419 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST, 0, 0, 0},
37420 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1, 0, 0, 0},
37421 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2, 0, 0, 0},
37422 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1, 0, 0, 0},
37423 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2, 0, 0, 0},
37424 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB, 0, 0, 0},
37425 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1, 0, 0, 0},
37426 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2, 0, 0, 0},
37427 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST, 0, 0, 0},
37428 { SWIG_PY_INT, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE, 0, 0, 0},
37429 { SWIG_PY_INT, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE, 0, 0, 0},
37430 { SWIG_PY_INT, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR, 0, 0, 0},
37431 { SWIG_PY_INT, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR, 0, 0, 0},
37432 { SWIG_PY_INT, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER, 0, 0, 0},
37433 { SWIG_PY_INT, (char *)"HT_MAX", (long) wxHT_MAX, 0, 0, 0},
37434 { SWIG_PY_INT, (char *)"MOD_NONE", (long) wxMOD_NONE, 0, 0, 0},
37435 { SWIG_PY_INT, (char *)"MOD_ALT", (long) wxMOD_ALT, 0, 0, 0},
37436 { SWIG_PY_INT, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL, 0, 0, 0},
37437 { SWIG_PY_INT, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT, 0, 0, 0},
37438 { SWIG_PY_INT, (char *)"MOD_WIN", (long) wxMOD_WIN, 0, 0, 0},
37439 { SWIG_PY_INT, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE, 0, 0, 0},
37440 { SWIG_PY_INT, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE, 0, 0, 0},
37441 { SWIG_PY_INT, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE, 0, 0, 0},
37442 { SWIG_PY_INT, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID, 0, 0, 0},
37443 { SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP, 0, 0, 0},
37444 { SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE, 0, 0, 0},
37445 { SWIG_PY_INT, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE, 0, 0, 0},
37446 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO, 0, 0, 0},
37447 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE, 0, 0, 0},
37448 { SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR, 0, 0, 0},
37449 { SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE, 0, 0, 0},
37450 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM, 0, 0, 0},
37451 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA, 0, 0, 0},
37452 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM, 0, 0, 0},
37453 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA, 0, 0, 0},
37454 { SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF, 0, 0, 0},
37455 { SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE, 0, 0, 0},
37456 { SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF, 0, 0, 0},
37457 { SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE, 0, 0, 0},
37458 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG, 0, 0, 0},
37459 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE, 0, 0, 0},
37460 { SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG, 0, 0, 0},
37461 { SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE, 0, 0, 0},
37462 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM, 0, 0, 0},
37463 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE, 0, 0, 0},
37464 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX, 0, 0, 0},
37465 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE, 0, 0, 0},
37466 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT, 0, 0, 0},
37467 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE, 0, 0, 0},
37468 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON, 0, 0, 0},
37469 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE, 0, 0, 0},
37470 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI, 0, 0, 0},
37471 { SWIG_PY_INT, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF, 0, 0, 0},
37472 { SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR, 0, 0, 0},
37473 { SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE, 0, 0, 0},
37474 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY, 0, 0, 0},
37475 { SWIG_PY_INT, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE, 0, 0, 0},
37476 { SWIG_PY_INT, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW, 0, 0, 0},
37477 { SWIG_PY_INT, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW, 0, 0, 0},
37478 { SWIG_PY_INT, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE, 0, 0, 0},
37479 { SWIG_PY_INT, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR, 0, 0, 0},
37480 { SWIG_PY_INT, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS, 0, 0, 0},
37481 { SWIG_PY_INT, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND, 0, 0, 0},
37482 { SWIG_PY_INT, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM, 0, 0, 0},
37483 { SWIG_PY_INT, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON, 0, 0, 0},
37484 { SWIG_PY_INT, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER, 0, 0, 0},
37485 { SWIG_PY_INT, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON, 0, 0, 0},
37486 { SWIG_PY_INT, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY, 0, 0, 0},
37487 { SWIG_PY_INT, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH, 0, 0, 0},
37488 { SWIG_PY_INT, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL, 0, 0, 0},
37489 { SWIG_PY_INT, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT, 0, 0, 0},
37490 { SWIG_PY_INT, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT, 0, 0, 0},
37491 { SWIG_PY_INT, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW, 0, 0, 0},
37492 { SWIG_PY_INT, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON, 0, 0, 0},
37493 { SWIG_PY_INT, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW, 0, 0, 0},
37494 { SWIG_PY_INT, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS, 0, 0, 0},
37495 { SWIG_PY_INT, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE, 0, 0, 0},
37496 { SWIG_PY_INT, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE, 0, 0, 0},
37497 { SWIG_PY_INT, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING, 0, 0, 0},
37498 { SWIG_PY_INT, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN, 0, 0, 0},
37499 { SWIG_PY_INT, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT, 0, 0, 0},
37500 { SWIG_PY_INT, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH, 0, 0, 0},
37501 { SWIG_PY_INT, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK, 0, 0, 0},
37502 { SWIG_PY_INT, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT, 0, 0, 0},
37503 { SWIG_PY_INT, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW, 0, 0, 0},
37504 { SWIG_PY_INT, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT, 0, 0, 0},
37505 { SWIG_PY_INT, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX, 0, 0, 0},
37506 { SWIG_PY_INT, (char *)"FromStart", (long) wxFromStart, 0, 0, 0},
37507 { SWIG_PY_INT, (char *)"FromCurrent", (long) wxFromCurrent, 0, 0, 0},
37508 { SWIG_PY_INT, (char *)"FromEnd", (long) wxFromEnd, 0, 0, 0},
37509 { SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES, 0, 0, 0},
37510 { SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM, 0, 0, 0},
37511 { SWIG_PY_INT, (char *)"BMP_24BPP", (long) wxBMP_24BPP, 0, 0, 0},
37512 { SWIG_PY_INT, (char *)"BMP_8BPP", (long) wxBMP_8BPP, 0, 0, 0},
37513 { SWIG_PY_INT, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY, 0, 0, 0},
37514 { SWIG_PY_INT, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY, 0, 0, 0},
37515 { SWIG_PY_INT, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED, 0, 0, 0},
37516 { SWIG_PY_INT, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE, 0, 0, 0},
37517 { SWIG_PY_INT, (char *)"BMP_4BPP", (long) wxBMP_4BPP, 0, 0, 0},
37518 { SWIG_PY_INT, (char *)"BMP_1BPP", (long) wxBMP_1BPP, 0, 0, 0},
37519 { SWIG_PY_INT, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW, 0, 0, 0},
37520 { SWIG_PY_INT, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE, 0, 0, 0},
37521 { SWIG_PY_INT, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX, 0, 0, 0},
37522 { SWIG_PY_INT, (char *)"wxEVT_NULL", (long) wxEVT_NULL, 0, 0, 0},
37523 { SWIG_PY_INT, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST, 0, 0, 0},
37524 { SWIG_PY_INT, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST, 0, 0, 0},
37525 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED, 0, 0, 0},
37526 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED, 0, 0, 0},
37527 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED, 0, 0, 0},
37528 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED, 0, 0, 0},
37529 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 0, 0, 0},
37530 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 0, 0, 0},
37531 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED, 0, 0, 0},
37532 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED, 0, 0, 0},
37533 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED, 0, 0, 0},
37534 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED, 0, 0, 0},
37535 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED, 0, 0, 0},
37536 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED, 0, 0, 0},
37537 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED, 0, 0, 0},
37538 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED, 0, 0, 0},
37539 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED, 0, 0, 0},
37540 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER, 0, 0, 0},
37541 { SWIG_PY_INT, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN, 0, 0, 0},
37542 { SWIG_PY_INT, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP, 0, 0, 0},
37543 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN, 0, 0, 0},
37544 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP, 0, 0, 0},
37545 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN, 0, 0, 0},
37546 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP, 0, 0, 0},
37547 { SWIG_PY_INT, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION, 0, 0, 0},
37548 { SWIG_PY_INT, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW, 0, 0, 0},
37549 { SWIG_PY_INT, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW, 0, 0, 0},
37550 { SWIG_PY_INT, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK, 0, 0, 0},
37551 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK, 0, 0, 0},
37552 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK, 0, 0, 0},
37553 { SWIG_PY_INT, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS, 0, 0, 0},
37554 { SWIG_PY_INT, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS, 0, 0, 0},
37555 { SWIG_PY_INT, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS, 0, 0, 0},
37556 { SWIG_PY_INT, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL, 0, 0, 0},
37557 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN, 0, 0, 0},
37558 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP, 0, 0, 0},
37559 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN, 0, 0, 0},
37560 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP, 0, 0, 0},
37561 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN, 0, 0, 0},
37562 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP, 0, 0, 0},
37563 { SWIG_PY_INT, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION, 0, 0, 0},
37564 { SWIG_PY_INT, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW, 0, 0, 0},
37565 { SWIG_PY_INT, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW, 0, 0, 0},
37566 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK, 0, 0, 0},
37567 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK, 0, 0, 0},
37568 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK, 0, 0, 0},
37569 { SWIG_PY_INT, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR, 0, 0, 0},
37570 { SWIG_PY_INT, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK, 0, 0, 0},
37571 { SWIG_PY_INT, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY, 0, 0, 0},
37572 { SWIG_PY_INT, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN, 0, 0, 0},
37573 { SWIG_PY_INT, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP, 0, 0, 0},
37574 { SWIG_PY_INT, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY, 0, 0, 0},
37575 { SWIG_PY_INT, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR, 0, 0, 0},
37576 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP, 0, 0, 0},
37577 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM, 0, 0, 0},
37578 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP, 0, 0, 0},
37579 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN, 0, 0, 0},
37580 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP, 0, 0, 0},
37581 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN, 0, 0, 0},
37582 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK, 0, 0, 0},
37583 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE, 0, 0, 0},
37584 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL, 0, 0, 0},
37585 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP, 0, 0, 0},
37586 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM, 0, 0, 0},
37587 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP, 0, 0, 0},
37588 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN, 0, 0, 0},
37589 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP, 0, 0, 0},
37590 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN, 0, 0, 0},
37591 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK, 0, 0, 0},
37592 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE, 0, 0, 0},
37593 { SWIG_PY_INT, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE, 0, 0, 0},
37594 { SWIG_PY_INT, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE, 0, 0, 0},
37595 { SWIG_PY_INT, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW, 0, 0, 0},
37596 { SWIG_PY_INT, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION, 0, 0, 0},
37597 { SWIG_PY_INT, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION, 0, 0, 0},
37598 { SWIG_PY_INT, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP, 0, 0, 0},
37599 { SWIG_PY_INT, (char *)"wxEVT_POWER", (long) wxEVT_POWER, 0, 0, 0},
37600 { SWIG_PY_INT, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE, 0, 0, 0},
37601 { SWIG_PY_INT, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE, 0, 0, 0},
37602 { SWIG_PY_INT, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY, 0, 0, 0},
37603 { SWIG_PY_INT, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW, 0, 0, 0},
37604 { SWIG_PY_INT, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE, 0, 0, 0},
37605 { SWIG_PY_INT, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE, 0, 0, 0},
37606 { SWIG_PY_INT, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED, 0, 0, 0},
37607 { SWIG_PY_INT, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT, 0, 0, 0},
37608 { SWIG_PY_INT, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND, 0, 0, 0},
37609 { SWIG_PY_INT, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT, 0, 0, 0},
37610 { SWIG_PY_INT, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON, 0, 0, 0},
37611 { SWIG_PY_INT, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN, 0, 0, 0},
37612 { SWIG_PY_INT, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE, 0, 0, 0},
37613 { SWIG_PY_INT, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT, 0, 0, 0},
37614 { SWIG_PY_INT, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU, 0, 0, 0},
37615 { SWIG_PY_INT, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED, 0, 0, 0},
37616 { SWIG_PY_INT, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED, 0, 0, 0},
37617 { SWIG_PY_INT, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED, 0, 0, 0},
37618 { SWIG_PY_INT, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE, 0, 0, 0},
37619 { SWIG_PY_INT, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED, 0, 0, 0},
37620 { SWIG_PY_INT, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES, 0, 0, 0},
37621 { SWIG_PY_INT, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM, 0, 0, 0},
37622 { SWIG_PY_INT, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM, 0, 0, 0},
37623 { SWIG_PY_INT, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM, 0, 0, 0},
37624 { SWIG_PY_INT, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG, 0, 0, 0},
37625 { SWIG_PY_INT, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE, 0, 0, 0},
37626 { SWIG_PY_INT, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI, 0, 0, 0},
37627 { SWIG_PY_INT, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING, 0, 0, 0},
37628 { SWIG_PY_INT, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING, 0, 0, 0},
37629 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK, 0, 0, 0},
37630 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK, 0, 0, 0},
37631 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK, 0, 0, 0},
37632 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK, 0, 0, 0},
37633 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS, 0, 0, 0},
37634 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS, 0, 0, 0},
37635 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER, 0, 0, 0},
37636 { SWIG_PY_INT, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY, 0, 0, 0},
37637 { SWIG_PY_INT, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE, 0, 0, 0},
37638 { SWIG_PY_INT, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT, 0, 0, 0},
37639 { SWIG_PY_INT, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE, 0, 0, 0},
37640 { SWIG_PY_INT, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT, 0, 0, 0},
37641 { SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL, 0, 0, 0},
37642 { SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED, 0, 0, 0},
37643 { SWIG_PY_INT, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL, 0, 0, 0},
37644 { SWIG_PY_INT, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED, 0, 0, 0},
37645 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS, 0, 0, 0},
37646 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION, 0, 0, 0},
37647 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG, 0, 0, 0},
37648 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG, 0, 0, 0},
37649 { SWIG_PY_INT, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS, 0, 0, 0},
37650 { SWIG_PY_INT, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT, 0, 0, 0},
37651 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE, 0, 0, 0},
37652 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED, 0, 0, 0},
37653 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL, 0, 0, 0},
37654 { SWIG_PY_INT, (char *)"Left", (long) wxLeft, 0, 0, 0},
37655 { SWIG_PY_INT, (char *)"Top", (long) wxTop, 0, 0, 0},
37656 { SWIG_PY_INT, (char *)"Right", (long) wxRight, 0, 0, 0},
37657 { SWIG_PY_INT, (char *)"Bottom", (long) wxBottom, 0, 0, 0},
37658 { SWIG_PY_INT, (char *)"Width", (long) wxWidth, 0, 0, 0},
37659 { SWIG_PY_INT, (char *)"Height", (long) wxHeight, 0, 0, 0},
37660 { SWIG_PY_INT, (char *)"Centre", (long) wxCentre, 0, 0, 0},
37661 { SWIG_PY_INT, (char *)"Center", (long) wxCenter, 0, 0, 0},
37662 { SWIG_PY_INT, (char *)"CentreX", (long) wxCentreX, 0, 0, 0},
37663 { SWIG_PY_INT, (char *)"CentreY", (long) wxCentreY, 0, 0, 0},
37664 { SWIG_PY_INT, (char *)"Unconstrained", (long) wxUnconstrained, 0, 0, 0},
37665 { SWIG_PY_INT, (char *)"AsIs", (long) wxAsIs, 0, 0, 0},
37666 { SWIG_PY_INT, (char *)"PercentOf", (long) wxPercentOf, 0, 0, 0},
37667 { SWIG_PY_INT, (char *)"Above", (long) wxAbove, 0, 0, 0},
37668 { SWIG_PY_INT, (char *)"Below", (long) wxBelow, 0, 0, 0},
37669 { SWIG_PY_INT, (char *)"LeftOf", (long) wxLeftOf, 0, 0, 0},
37670 { SWIG_PY_INT, (char *)"RightOf", (long) wxRightOf, 0, 0, 0},
37671 { SWIG_PY_INT, (char *)"SameAs", (long) wxSameAs, 0, 0, 0},
37672 { SWIG_PY_INT, (char *)"Absolute", (long) wxAbsolute, 0, 0, 0},
37673 {0}};
37674
37675 #ifdef __cplusplus
37676 }
37677 #endif
37678
37679 #ifdef __cplusplus
37680 extern "C"
37681 #endif
37682 SWIGEXPORT(void) SWIG_init(void) {
37683 static PyObject *SWIG_globals = 0;
37684 static int typeinit = 0;
37685 PyObject *m, *d;
37686 int i;
37687 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37688 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37689 d = PyModule_GetDict(m);
37690
37691 if (!typeinit) {
37692 for (i = 0; swig_types_initial[i]; i++) {
37693 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37694 }
37695 typeinit = 1;
37696 }
37697 SWIG_InstallConstants(d,swig_const_table);
37698
37699
37700 #ifndef wxPyUSE_EXPORT
37701 // Make our API structure a CObject so other modules can import it
37702 // from this module.
37703 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
37704 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
37705 Py_XDECREF(cobj);
37706 #endif
37707
37708 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37709 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
37710 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
37711
37712 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
37713
37714
37715 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
37716
37717 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
37718 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
37719 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
37720 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
37721 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
37722 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
37723 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
37724 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
37725 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
37726 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
37727 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
37728 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
37729 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
37730 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
37731 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
37732 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
37733 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
37734 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
37735 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
37736 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
37737 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
37738 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
37739 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
37740 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
37741 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
37742 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
37743 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
37744 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
37745 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
37746 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
37747 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
37748 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
37749 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
37750 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
37751 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
37752 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
37753 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
37754 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
37755 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
37756 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
37757 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
37758 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
37759 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
37760 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
37761 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
37762 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
37763 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
37764 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
37765 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
37766 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
37767 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
37768 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
37769 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
37770 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
37771 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
37772 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
37773 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
37774 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
37775 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
37776 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
37777 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
37778 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
37779 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
37780 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
37781 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
37782 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
37783 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
37784 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
37785 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
37786 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
37787 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
37788 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
37789 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
37790 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
37791 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
37792 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
37793 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
37794 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
37795 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
37796 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
37797 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
37798 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
37799 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
37800 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
37801 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
37802 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
37803 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
37804 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
37805 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
37806 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
37807 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
37808 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
37809 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
37810 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
37811 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
37812 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
37813 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
37814 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
37815 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
37816 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
37817 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
37818 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
37819 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
37820 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
37821 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
37822 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
37823 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
37824 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
37825 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
37826 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
37827 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
37828 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
37829 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
37830 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
37831 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
37832 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
37833 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
37834 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
37835 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
37836 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
37837 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
37838 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
37839 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
37840
37841 // Initialize threading, some globals and such
37842 __wxPyPreStart(d);
37843
37844
37845 // Although these are defined in __version__ they need to be here too so
37846 // that an assert can be done to ensure that the wxPython and the wxWindows
37847 // versions match.
37848 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
37849 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
37850 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
37851
37852 }
37853